[PD-dev] [ pure-data-Bugs-3601127 ] "Tcl Invalid Command Name error" and frozen GOP gui

SourceForge.net noreply at sourceforge.net
Wed Jan 16 16:29:09 CET 2013


Bugs item #3601127, was opened at 2013-01-16 07:29
Message generated for change (Tracker Item Submitted) made by marcod2
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3601127&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Graph-On-Parent
Group: v0.43
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marco Donnarumma (marcod2)
Assigned to: Nobody/Anonymous (nobody)
Summary: "Tcl Invalid Command Name error" and frozen GOP gui 

Initial Comment:
Pd-extended 0.43.4
Linux Ubuntu Lucid 10.04
built-in sound

From time to time when launching my Xth Sense [1] patch this error appears:

(Tcl) INVALID COMMAND NAME: invalid command name ".x9c4d3b0.c"
while executing
".x9c4d3b0.c create image 900 776 -image a4304c0PHOTOIMAGE -tags a4304c0PHOTO
 ("uplevel" body line 283)
 invoked from within
"uplevel #0 $cmds_from_pd"

as far as I can understand, it might be related to nested GOP subpatches.
In fact, the GUI of the "analysis" GOP (at the bottom right of the "Deck") freezes (although data crunching still works).
Then Pd can't be close (although still running properly), and you end up killing it.

I've got GOP abstractions embedded in a parent GOP abstraction, and I load the latter into a parent GOP, which in turn is loaded into a subpatch.
I know it sounds clumsy, but modularity like this works nicely for updating the whole software without changing the main patch.
It worked perfectly fine with pd-ext 0.42.5.

Hans-Christoph Steiner replied me on the list that he identified the bug in the iemgui lib, and posted this:

$ grep PHOTOIMAGE externals/iem/iemgui/src/*.c | grep 'create image'
externals/iem/iemgui/src/hfadl_scale.c:
        sys_vgui(".x%lx.c create image %d %d -image %lxPHOTOIMAGE -tags %lxPHOTO\n",
externals/iem/iemgui/src/hfadr_scale.c:
        sys_vgui(".x%lx.c create image %d %d -image %lxPHOTOIMAGE -tags %lxPHOTO\n",
externals/iem/iemgui/src/iem_image.c:
        sys_vgui(".x%lx.c create image %d %d -image %lxPHOTOIMAGE -tags %lxPHOTO\n",
externals/iem/iemgui/src/vfad_scale.c:
        sys_vgui(".x%x.c create image %d %d -image %xPHOTOIMAGE -tags %xPHOTO\n",

hope this help, 
the patch is not usable this way,

thanks for your help,
Marco Donnarumma

[1] http://res.marcodonnarumma.com/projects/xth-sense/#download
need to install the xth-sense-lib to run the Xth Sense software

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3601127&group_id=55736



More information about the Pd-dev mailing list