<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Jonathan,<br>
      <br>
      Thanx for the explanations. I will dig in this c++ code.<br>
      ++<br>
      <br>
      Jack<br>
      <br>
      <br>
      <br>
      Le 11/03/2014 18:23, Jonathan Wilkes a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:531F4685.5080001@yahoo.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 03/11/2014 12:29 PM, Jack wrote:<br>
      </div>
      <blockquote cite="mid:531F39E0.9090901@rybn.org" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Hello,<br>
          <br>
          I need help to understand this problem (see below) and solve
          it.<br>
          It seems to work fine with Pd-Ext 0.42.5 (but not with Pd-Ext
          0.43.4).<br>
        </div>
      </blockquote>
      <br>
      That leads me to believe it has something to do with the GUI
      rewrite, which happened between 0.42 and 0.43.<br>
      <br>
      Here's the relevant code-- line 90 in source/TUIO/TuioClient.cpp<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (socket!=NULL) {<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!socket-&gt;IsBound()) {<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delete socket;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; socket = NULL;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else std::cout &lt;&lt; "listening to TUIO
      messages on UDP port " &lt;&lt; port &lt;&lt; std::endl;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
      <br>
      ***<br>
      <br>
      Somehow std::cout must be printing to the console in 0.42 and
      sending to the gui (i.e., tcl) in 0.43.<br>
      <br>
      If you send a GUI message to tcl it interprets the first word as a
      command.&nbsp; That's why you get the error below.<br>
      <br>
      I don't know enough about c++ to give you a fix, but I'm sure
      someone else on the list does.<br>
      <br>
      Btw the relevant code is here:<br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://sourceforge.net/projects/reactivision/files/TUIO%201.0/TUIO-Clients%201.4/TUIO_PureData-1.4.zip/download?use_mirror=tenet&amp;download=">http://sourceforge.net/projects/reactivision/files/TUIO%201.0/TUIO-Clients%201.4/TUIO_PureData-1.4.zip/download?use_mirror=tenet&amp;download=</a><br>
      <br>
      Then unzip the nested source.zip.<br>
      <br>
      -Jonathan<br>
      <br>
      <blockquote cite="mid:531F39E0.9090901@rybn.org" type="cite">
        <div class="moz-cite-prefix"> Thanx.<br>
          ++<br>
          <br>
          Jack<br>
          <br>
          <br>
          <br>
          Le 16/04/2013 12:08, Marco Donnarumma a &eacute;crit&nbsp;:<br>
        </div>
        <blockquote
cite="mid:CAJTYuatNZkCp7rjQVgK=73bGjArrUJTuVdxLPX948H9-NpXfrg@mail.gmail.com"
          type="cite">
          <div dir="ltr">
            <div>
              <div>I can confirm, the GUI doesn't show up at all on my
                machine too.<br>
              </div>
              Linux Lucid 10.04 pd-ext 0.43.4<br>
              <br>
            </div>
            <br>
            <div class="gmail_extra"> <br clear="all">
              <div>--<br>
                Marco Donnarumma<br>
                New Media + Sonic Arts Practitioner, Performer, Teacher,
                Director.<br>
                Embodied Audio-Visual Interaction Research Team.<br>
                Department of Computing, Goldsmiths University of London<br>
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
                Portfolio: <a moz-do-not-send="true"
                  href="http://marcodonnarumma.com" target="_blank">http://marcodonnarumma.com</a><br>
                Research: <a moz-do-not-send="true"
                  href="http://res.marcodonnarumma.com" target="_blank">http://res.marcodonnarumma.com</a><br>
                Director: <a moz-do-not-send="true"
                  href="http://www.liveperformersmeeting.net"
                  target="_blank">http://www.liveperformersmeeting.net</a></div>
              <br>
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Subject: [PD] Tcl invalid command with [TuioClient]
                  and Pd-extended<br>
                  &nbsp; &nbsp; &nbsp; &nbsp; 0.43.4<br>
                  To: PD List &lt;<a moz-do-not-send="true"
                    href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>&gt;<br>
                  Message-ID: &lt;<a moz-do-not-send="true"
                    href="mailto:516C5543.2070005@rybn.org"
                    target="_blank">516C5543.2070005@rybn.org</a>&gt;<br>
                  Content-Type: text/plain; charset="iso-8859-1"<br>
                  <br>
                  Hello,<br>
                  <br>
                  I am working on a patch in which i use [TuioClient]
                  with Pd-extended 0.43.4<br>
                  When i open this patch, i get in the Pd console :<br>
                  <br>
                  Invalid command name 'listening'<br>
                  &nbsp; &nbsp; while executing<br>
                  "listening to TUIO messages on UDP port 3333"<br>
                  &nbsp; &nbsp; ("uplevel" body line 1)<br>
                  &nbsp; &nbsp; invoked from within<br>
                  "uplevel #0 $cmds_from_pd"<br>
                  <br>
                  Then, very often, there is no GUI and i can't use the
                  patch.<br>
                  How I can make this patch work (attached) all the time
                  for an<br>
                  installation (with TuioClient.pd_darwin from <a
                    moz-do-not-send="true" href="http://tuio.org"
                    target="_blank">tuio.org</a>) ?<br>
                  <br>
                  My configuration :<br>
                  MacMini with MacOSX.7.5<br>
                  Pd-extended 0.43.4<br>
                  <br>
                  Thanx.<br>
                  ++<br>
                  <br>
                  Jack<br>
                  <br>
                </blockquote>
              </div>
            </div>
          </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>