Closed agraef closed 5 years ago
I should add that I'm using Tcl/Tk 8.6 on this machine (as probably most people do these days). I don't know whether this bug affects older versions, but I strongly suspect it does.
Ok, as this is just a single-line change which can be reverted easily, I'm going to merge now.
You can reproduce this error as follows: Launch pd-l2ork from a terminal, invoke the help browser (Ctrl+B), then click on the
External Pd libraries
link. You'll see the following error message in the terminal:This results in the entry for zexy looking like this in the help browser (at the very bottom of the "External libraries" page):
Looking at the code of
print_libdirs
in search-plugin.tcl:1442, the culprit is thejoin
call in this line:The zexy-meta.pd file contains this line which causes the issue:
Obviously the
join
command misinterprets the-message
string there as a command option which it doesn't want there, hence the cryptic error message. (Who thinks that "everything is just text" makes for a good programming language design, haha.)Just replacing the dash with a space solves the issue (looks better anyway I'd say, and hopefully IOhannes won't mind that little change). No error message from the browser any more and the zexy entry now looks sane:
So this PR modifies the zexy-meta.pd file in the manner described above, so that it doesn't throw off the help browser's
print_libdirs
routine any more. I'm sure that there's a clever and robust way to resolve this in the Tcl code itself, but I don't know it, and this works for me. If anyone has a brighter idea how to solve this, then please do...