hi all, hi miller
sorry, that i am *not* through yet with this topic. i still don't quite see through the system of the helppatches and how and in which order they are searched. anyway, i noticed a difference to 0.39, if not a bug. it seems that pd-0.40 cannot find helpfiles from some externals anymore, or in more accurate words: it actucally *finds* the helppatches, but it does not open them. showing helpfiles still works on pd's own objects and some externals like iemmatrix or gridflow.
example:
a) i have all zexy-helpfiles in: /usr/local/lib/pd/doc/5.reference/help-zexy/
b) so the helpfile of [date] is this: /usr/local/lib/pd/doc/5.reference/help-zexy/date.pd
c) then i start pd with '-verbose'-flag and create a [date].
d) right-click on [date] -> help.
the pd windows says:
<paste> tried /usr/local/lib/pd/extra/zexy/date-help.pd and failed tried /home/roman/netpd/doc/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-gridflow/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-iemmatrix/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/zexy/date-help.pd and failed tried /usr/local/lib/pd/extra/zexy/date-help.pd and failed tried /usr/local/lib/pd/extra/help-zexy/date.pd and failed tried /home/roman/netpd/doc/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-gridflow/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-iemmatrix/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-zexy/date.pd and succeeded </paste>
everything ok so far, since it could find the appropriate help-file, but the terminal (stderr) says:
<paste> open: /usr/local/lib/pd/doc/5.reference/help-zexy/help-zexy/date.pd: No such file or directory help-zexy/date.pd: No such file or directory </paste>
and pd doesn't open this non-existing file, of course.
this is *only* on 0.40 and only with externals, which add their directory name to the searchpath (like zexy, Gem, iemlibs).
roman
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Hi Roman,
OK, I might have found the problem but perhaps you should test the fix to make sure it works with your particular helppath...
in s_path.c, line 346, change:
glob_evalfile(0, gensym((char*)realname), gensym(dirbuf));
to:
glob_evalfile(0, gensym((char*)basename), gensym(dirbuf));
Can you check this? thanks Miller
On Tue, Sep 05, 2006 at 01:11:24AM +0200, Roman Haefeli wrote:
hi all, hi miller
sorry, that i am *not* through yet with this topic. i still don't quite see through the system of the helppatches and how and in which order they are searched. anyway, i noticed a difference to 0.39, if not a bug. it seems that pd-0.40 cannot find helpfiles from some externals anymore, or in more accurate words: it actucally *finds* the helppatches, but it does not open them. showing helpfiles still works on pd's own objects and some externals like iemmatrix or gridflow.
example:
a) i have all zexy-helpfiles in: /usr/local/lib/pd/doc/5.reference/help-zexy/
b) so the helpfile of [date] is this: /usr/local/lib/pd/doc/5.reference/help-zexy/date.pd
c) then i start pd with '-verbose'-flag and create a [date].
d) right-click on [date] -> help.
the pd windows says:
<paste> tried /usr/local/lib/pd/extra/zexy/date-help.pd and failed tried /home/roman/netpd/doc/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-gridflow/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-iemmatrix/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/zexy/date-help.pd and failed tried /usr/local/lib/pd/extra/zexy/date-help.pd and failed tried /usr/local/lib/pd/extra/help-zexy/date.pd and failed tried /home/roman/netpd/doc/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-gridflow/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-iemmatrix/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-zexy/date.pd and succeeded </paste>
everything ok so far, since it could find the appropriate help-file, but the terminal (stderr) says:
<paste> open: /usr/local/lib/pd/doc/5.reference/help-zexy/help-zexy/date.pd: No such file or directory help-zexy/date.pd: No such file or directory </paste>
and pd doesn't open this non-existing file, of course.
this is *only* on 0.40 and only with externals, which add their directory name to the searchpath (like zexy, Gem, iemlibs).
roman
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi miller
it works. thanks :-)
roman
On Tue, 2006-09-05 at 08:59 -0700, Miller Puckette wrote:
Hi Roman,
OK, I might have found the problem but perhaps you should test the fix to make sure it works with your particular helppath...
in s_path.c, line 346, change:
glob_evalfile(0, gensym((char*)realname), gensym(dirbuf));
to:
glob_evalfile(0, gensym((char*)basename), gensym(dirbuf));
Can you check this? thanks Miller
On Tue, Sep 05, 2006 at 01:11:24AM +0200, Roman Haefeli wrote:
hi all, hi miller
sorry, that i am *not* through yet with this topic. i still don't quite see through the system of the helppatches and how and in which order they are searched. anyway, i noticed a difference to 0.39, if not a bug. it seems that pd-0.40 cannot find helpfiles from some externals anymore, or in more accurate words: it actucally *finds* the helppatches, but it does not open them. showing helpfiles still works on pd's own objects and some externals like iemmatrix or gridflow.
example:
a) i have all zexy-helpfiles in: /usr/local/lib/pd/doc/5.reference/help-zexy/
b) so the helpfile of [date] is this: /usr/local/lib/pd/doc/5.reference/help-zexy/date.pd
c) then i start pd with '-verbose'-flag and create a [date].
d) right-click on [date] -> help.
the pd windows says:
<paste> tried /usr/local/lib/pd/extra/zexy/date-help.pd and failed tried /home/roman/netpd/doc/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-gridflow/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-iemmatrix/zexy/date-help.pd and failed tried /usr/local/lib/pd/doc/5.reference/zexy/date-help.pd and failed tried /usr/local/lib/pd/extra/zexy/date-help.pd and failed tried /usr/local/lib/pd/extra/help-zexy/date.pd and failed tried /home/roman/netpd/doc/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-gridflow/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-iemmatrix/help-zexy/date.pd and failed tried /usr/local/lib/pd/doc/5.reference/help-zexy/date.pd and succeeded </paste>
everything ok so far, since it could find the appropriate help-file, but the terminal (stderr) says:
<paste> open: /usr/local/lib/pd/doc/5.reference/help-zexy/help-zexy/date.pd: No such file or directory help-zexy/date.pd: No such file or directory </paste>
and pd doesn't open this non-existing file, of course.
this is *only* on 0.40 and only with externals, which add their directory name to the searchpath (like zexy, Gem, iemlibs).
roman
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de