hello
I am trying to write a message in pd with a curly braces { } to build some lilypond syntax but I got the message " keycode 123: dropped"
and the { don't print..
if I try to convert byte to string with [bytes2any] pd freezes...
Does someone have an idea what's happening?
my pd is 0.41 extended and my locale keyboard is pt_BR (abnt)
thanx
glerm
if I try to convert byte to string with [bytes2any] pd freezes...
In fact sending 123 to a [makefilename %c] connected from a number box will also freeze Pd (0.41.4-extended-rc4 on Windows XP)
Interestingly if 123 (or 125) appear in the number box without being input from the user Pd doesn't always freeze if it doesn'tbut something strange happens. See attached patch.
Kind regards, Lorenzo
#N canvas 433 90 450 424 10; #X obj 181 117 + 1; #X obj 148 39 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 148 146 mod 126; #X floatatom 147 198 5 0 0 0 - - -; #X obj 192 230 makefilename %c; #X obj 147 254 pack f s; #X symbolatom 215 253 10 0 0 0 - - -; #X obj 148 171 + 1; #X obj 55 88 f; #X obj 37 63 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X floatatom 69 61 5 0 0 0 - - -; #X floatatom 199 40 5 0 0 0 - - -; #X obj 78 284 print code_char; #X text 35 42 set to; #X text 238 34 set to higher (e.g. 2000) ; to see what happens ; at 123; #X msg 114 88 0; #X obj 148 117 f 0; #X text 280 253 <- look here at 123 - 125; #X msg 199 14 500; #X obj 148 65 metro 500; #X msg 231 14 2000; #X msg 167 15 200; #X connect 0 0 16 1; #X connect 1 0 19 0; #X connect 2 0 7 0; #X connect 3 0 4 0; #X connect 3 0 5 0; #X connect 4 0 5 1; #X connect 4 0 6 0; #X connect 5 0 12 0; #X connect 7 0 3 0; #X connect 8 0 16 1; #X connect 9 0 8 0; #X connect 10 0 8 1; #X connect 11 0 19 1; #X connect 15 0 16 1; #X connect 16 0 0 0; #X connect 16 0 2 0; #X connect 18 0 11 0; #X connect 19 0 16 0; #X connect 20 0 11 0; #X connect 21 0 11 0;
Same here on Ubuntu 9.04, Pd version 0.41.4-extended. Sending [123( to [makefilename %c] freeze Pd. ++
Jack
Le vendredi 10 juillet 2009 à 11:21 +0200, Lorenzo a écrit :
if I try to convert byte to string with [bytes2any] pd freezes...
In fact sending 123 to a [makefilename %c] connected from a number box will also freeze Pd (0.41.4-extended-rc4 on Windows XP)
Interestingly if 123 (or 125) appear in the number box without being input from the user Pd doesn't always freeze if it doesn'tbut something strange happens. See attached patch.
Kind regards, Lorenzo
pièce jointe document texte brut (ascii_test.pd) #N canvas 433 90 450 424 10; #X obj 181 117 + 1; #X obj 148 39 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 148 146 mod 126; #X floatatom 147 198 5 0 0 0 - - -; #X obj 192 230 makefilename %c; #X obj 147 254 pack f s; #X symbolatom 215 253 10 0 0 0 - - -; #X obj 148 171 + 1; #X obj 55 88 f; #X obj 37 63 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X floatatom 69 61 5 0 0 0 - - -; #X floatatom 199 40 5 0 0 0 - - -; #X obj 78 284 print code_char; #X text 35 42 set to; #X text 238 34 set to higher (e.g. 2000) ; to see what happens ; at 123; #X msg 114 88 0; #X obj 148 117 f 0; #X text 280 253 <- look here at 123 - 125; #X msg 199 14 500; #X obj 148 65 metro 500; #X msg 231 14 2000; #X msg 167 15 200; #X connect 0 0 16 1; #X connect 1 0 19 0; #X connect 2 0 7 0; #X connect 3 0 4 0; #X connect 3 0 5 0; #X connect 4 0 5 1; #X connect 4 0 6 0; #X connect 5 0 12 0; #X connect 7 0 3 0; #X connect 8 0 16 1; #X connect 9 0 8 0; #X connect 10 0 8 1; #X connect 11 0 19 1; #X connect 15 0 16 1; #X connect 16 0 0 0; #X connect 16 0 2 0; #X connect 18 0 11 0; #X connect 19 0 16 0; #X connect 20 0 11 0; #X connect 21 0 11 0; _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Jack wrote:
Same here on Ubuntu 9.04, Pd version 0.41.4-extended. Sending [123( to [makefilename %c] freeze Pd.
it's not by any chance one of these? http://sourceforge.net/tracker/index.php?func=detail&aid=1531757&gro... http://sourceforge.net/tracker/index.php?func=detail&aid=1548932&gro... http://sourceforge.net/tracker/index.php?func=detail&aid=1359216&gro...
mhasdtr IOhannes
Ja, natürlich ! ;) I have never have a look at the bug tracker. Better late than never. ++
Jack
Le vendredi 10 juillet 2009 à 11:59 +0200, IOhannes m zmoelnig a écrit :
Jack wrote:
Same here on Ubuntu 9.04, Pd version 0.41.4-extended. Sending [123( to [makefilename %c] freeze Pd.
it's not by any chance one of these? http://sourceforge.net/tracker/index.php?func=detail&aid=1531757&gro... http://sourceforge.net/tracker/index.php?func=detail&aid=1548932&gro... http://sourceforge.net/tracker/index.php?func=detail&aid=1359216&gro...
mhasdtr IOhannes
glerm soares wrote:
hello
I am trying to write a message in pd with a curly braces { } to build some lilypond syntax but I got the message " keycode 123: dropped"
and the { don't print..
unfortunately Pd's quoting mechanism is somewhat broken, therefore you basically cannot use any curly braces. (for user input, Pd tries to prevent you from entering these illglyphs, thus you get the "keycode 123: dropped" message; however, using other techniques like [makefilename] or [bytes2any] you can bypass this safety net)
if I try to convert byte to string with [bytes2any] pd freezes...
i guess this is not quite true. [bytes2any] should work just fine, only if you try to display the result in one or any way, the pd-gui will freeze.
fmgasrd IOhannes
On Jul 10, 2009, at 6:09 AM, IOhannes m zmoelnig wrote:
glerm soares wrote:
hello I am trying to write a message in pd with a curly braces { } to
build some lilypond syntax but I got the message " keycode 123: dropped" and the { don't print..unfortunately Pd's quoting mechanism is somewhat broken, therefore
you basically cannot use any curly braces. (for user input, Pd tries to prevent you from entering these
illglyphs, thus you get the "keycode 123: dropped" message; however,
using other techniques like [makefilename] or [bytes2any] you can
bypass this safety net)
This should be possible to fix, and its one of the goals with the pd-
devel effort. Now that the GUI side is pure Tcl, that should make the
quoting issue easier to address.
.hc
if I try to convert byte to string with [bytes2any] pd freezes...
i guess this is not quite true. [bytes2any] should work just fine, only if you try to display the
result in one or any way, the pd-gui will freeze.fmgasrd IOhannes _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Terrorism is not an enemy. It cannot be defeated. It's a tactic.
It's about as sensible to say we declare war on night attacks and
expect we're going to win that war. We're not going to win the war on
terrorism. - retired U.S. Army general, William Odom
I am trying to write a message in pd with a curly braces { } to build some lilypond syntax but I got the message " keycode 123: dropped"
Meanwhile as I guess lilypond syntax will be used in non-real time context, you could work around this by marking- up the braces you need for the lilypond syntax and then pass the created file through a script which "corrects" it.
Lorenzo