On 03/11/2014 12:29 PM, Jack wrote:
Hello,

I need help to understand this problem (see below) and solve it.
It seems to work fine with Pd-Ext 0.42.5 (but not with Pd-Ext 0.43.4).

That leads me to believe it has something to do with the GUI rewrite, which happened between 0.42 and 0.43.

Here's the relevant code-- line 90 in source/TUIO/TuioClient.cpp

        if (socket!=NULL) {
                if (!socket->IsBound()) {
                        delete socket;
                        socket = NULL;
                } else std::cout << "listening to TUIO messages on UDP port " << port << std::endl;
        }

***

Somehow std::cout must be printing to the console in 0.42 and sending to the gui (i.e., tcl) in 0.43.

If you send a GUI message to tcl it interprets the first word as a command.  That's why you get the error below.

I don't know enough about c++ to give you a fix, but I'm sure someone else on the list does.

Btw the relevant code is here:
http://sourceforge.net/projects/reactivision/files/TUIO%201.0/TUIO-Clients%201.4/TUIO_PureData-1.4.zip/download?use_mirror=tenet&download=

Then unzip the nested source.zip.

-Jonathan

Thanx.
++

Jack



Le 16/04/2013 12:08, Marco Donnarumma a écrit :
I can confirm, the GUI doesn't show up at all on my machine too.
Linux Lucid 10.04 pd-ext 0.43.4



--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
Embodied Audio-Visual Interaction Research Team.
Department of Computing, Goldsmiths University of London
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Portfolio: http://marcodonnarumma.com
Research: http://res.marcodonnarumma.com
Director: http://www.liveperformersmeeting.net

Subject: [PD] Tcl invalid command with [TuioClient] and Pd-extended
        0.43.4
To: PD List <pd-list@iem.at>
Message-ID: <516C5543.2070005@rybn.org>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I am working on a patch in which i use [TuioClient] with Pd-extended 0.43.4
When i open this patch, i get in the Pd console :

Invalid command name 'listening'
    while executing
"listening to TUIO messages on UDP port 3333"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $cmds_from_pd"

Then, very often, there is no GUI and i can't use the patch.
How I can make this patch work (attached) all the time for an
installation (with TuioClient.pd_darwin from tuio.org) ?

My configuration :
MacMini with MacOSX.7.5
Pd-extended 0.43.4

Thanx.
++

Jack



_______________________________________________
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