Re: [PD] inconsistencies in msgfile
Mathieu Bouchard wrote: On Thu, 30 Aug 2007, [EMAIL PROTECTED] wrote: i have not checked that now, but i am pretty sure, that it does support files with spaces. however, there is a limitation (that can be worked around) on pd's ability to create a symbol containing spaces. It can also be fixed. If you edit the source code of pd, you only have to change two lines to fix the saving of spaces in symbols, but somehow so far it has been easier for everybody to write several hundred mails fine. please submit a patch to the patch-tracker at sourceforge. (or send your 2 lines of code directly to me, if you prefer it that way) mfa.dr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] inconsistencies in msgfile
hi. Quoting Thomas O Fredericks [EMAIL PROTECTED]: I also experienced many inconsistencies with msgfile. But I do not think it has to do with spaces. If you add data to a msgfile then send a write /test message, it answers error: msgfile : failed to open /test! this is not an inconsitency. you probaly do not have write-rights in / ?? When you try to read with read /test it answers error: msgfile_read: unable to open test/test! this is not an inconsistency either. msgfile uses pd's search-paths to search for the file. if pd cannot find a file test it will also look for test/test. so if there was a file /test msgfile would just open it. fmga.dsr IOhannes This message was sent using IMP, the Internet Messaging Program. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] inconsistencies in msgfile
Quoting João Miguel Pais [EMAIL PROTECTED]: Hi, I was checking out msgfile (zexy 2.1), and there are some inconsistencies that I can't work out: - the read message doesn't work with paths/files that have spaces in them [that's not an inconsistency, but it's something that should be standard nowadays] i have not checked that now, but i am pretty sure, that it does support files with spaces. however, there is a limitation (that can be worked around) on pd's ability to create a symbol containing spaces. - when opening the attached file with |read ... cr(, msgfile behaves differently in pd vanilla 0.40-2 and pd extended 0.39-2-t5 (the .dll file only exists once, it's the one compiled with pd-extended). In pd extended the file opens, but it disregards the cr command - and the attached file appears condensed in 3 or 4 lines. In pd-vanilla the message unable to lseek appears. are you absolutely sure that the same .dll is used? if so: weird... mfg.adr IOhannes does someone gets the same results as I do? Joao -- Friedenstr. 58 10249 Berlin Deutschland Tel +49 30 42020091 Mob +49 162 6843570 [EMAIL PROTECTED] skype: jmmmpjmmmp http://www.puredata.org/Members/jmmmp IBM Thinkpad R51, XP, Pd-Ext-0.39-2-t5 This message was sent using IMP, the Internet Messaging Program. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] inconsistencies in msgfile
Quoting João Miguel Pais [EMAIL PROTECTED]: Hi, I was checking out msgfile (zexy 2.1), and there are some now that's an old version of zexy, btw... mfga.dsr IOhannes This message was sent using IMP, the Internet Messaging Program. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] inconsistencies in msgfile
this is not an inconsitency. you probaly do not have write-rights in / ?? Yeah, I actually figured it out after sending the message *my bad* But I did experience some weird stuff once. I will have to found out how to recreate the errors! But for now, I cannot. Sorry for the erroneous bug report! Tom On 8/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi. Quoting Thomas O Fredericks [EMAIL PROTECTED]: I also experienced many inconsistencies with msgfile. But I do not think it has to do with spaces. If you add data to a msgfile then send a write /test message, it answers error: msgfile : failed to open /test! this is not an inconsitency. you probaly do not have write-rights in / ?? When you try to read with read /test it answers error: msgfile_read: unable to open test/test! this is not an inconsistency either. msgfile uses pd's search-paths to search for the file. if pd cannot find a file test it will also look for test/test. so if there was a file /test msgfile would just open it. fmga.dsr IOhannes This message was sent using IMP, the Internet Messaging Program. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] inconsistencies in msgfile
On Thu, 2007-08-30 at 12:29 -0400, Mathieu Bouchard wrote: On Thu, 30 Aug 2007, [EMAIL PROTECTED] wrote: i have not checked that now, but i am pretty sure, that it does support files with spaces. however, there is a limitation (that can be worked around) on pd's ability to create a symbol containing spaces. It can also be fixed. If you edit the source code of pd, you only have to change two lines to fix the saving of spaces in symbols, but somehow so far it has been easier for everybody to write several hundred mails about the topic instead, and figuring out workarounds, teaching workshop students about not using spaces, and pondering whether it's a bug at all and how to think of it as a feature. sometimes i label [cnv]'s and other gui objects with symbols containing spaces, often just because of cosmetic reasons. however, it needs a lot of work around it, because before saving the patch, you have to send 'label empty' first, otherwise the properties of the gui completely get screwed. and after loading the patch again, you need to set the label again, of course. i didn't know, that it would be such an easy fix in the source of pd. so many people are using pd everyday, that i believe, just this little fix would save a huge amount of man hours every year, so that it is _really_ worth it. just my two cents. roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] inconsistencies in msgfile
On Wed, 2007-08-29 at 06:58 +0200, João Miguel Pais wrote: Hi, I was checking out msgfile (zexy 2.1), and there are some inconsistencies that I can't work out: - the read message doesn't work with paths/files that have spaces in them [that's not an inconsistency, but it's something that should be standard nowadays] true, but i am not sure if it can be considered as a problem of [msgfile], but rather of pd in general, since there is no escape mechanism. i am even not sure, if it would be a good idea, that [msgfile] would accept lists, what you are actually requesting. btw: afaik, you _can_ open files with a space in the path, but you need to create the symbol accordingly. for example, if you use [openpane] to get the path, it works, because [msgfile] gets a symbol containing spaces instead of a list in that case. alternatively you could also use [list2symbol] (which is also part of zexy) to create symbols with spaces, if you don't want to use [openpanel]. roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] inconsistencies in msgfile
Hi, I was checking out msgfile (zexy 2.1), and there are some inconsistencies that I can't work out: - the read message doesn't work with paths/files that have spaces in them [that's not an inconsistency, but it's something that should be standard nowadays] - when opening the attached file with |read ... cr(, msgfile behaves differently in pd vanilla 0.40-2 and pd extended 0.39-2-t5 (the .dll file only exists once, it's the one compiled with pd-extended). In pd extended the file opens, but it disregards the cr command - and the attached file appears condensed in 3 or 4 lines. In pd-vanilla the message unable to lseek appears. does someone gets the same results as I do? Joao -- Friedenstr. 58 10249 Berlin Deutschland Tel +49 30 42020091 Mob +49 162 6843570 [EMAIL PROTECTED] skype: jmmmpjmmmp http://www.puredata.org/Members/jmmmp IBM Thinkpad R51, XP, Pd-Ext-0.39-2-t5# Format der Partitur: # Dateneingang: Note-Modul,# das spielt (==Stelle auf dem Takt) # Dauer der Puls (Viertel / Achtel / usw.) # Takt # Tempo # Lautstärke (0-1) # Ende: end (danach braucht man den # nicht) # Kommentare: # Kommentare fängen mit # an # keine ;# oder ,# ohne der # benutzen # Alle wiederholte Zahlen müssen nicht wieder geschrieben werden (hauptsächlich Tempo und Dauer jeder Note). # Für mehrere Informationen,# Partiturbeispiel anschauen (Duo,# Takte 1-49),# oder 707-4997 anrufen (1.5 Eu / Min). # TAKTE 01-49 t 120 tc 60 4 1 1 1 2 ;# 1 --- 1 1 1 1 2 ;# 2 1 1 1 1 3 end___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] inconsistencies in msgfile
hi, maybe list2symbol (l2s) will help you get the spaces in there? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list