[PD-dev] [ pure-data-Bugs-1738708 ] won't open files with $0 in file name

SourceForge.net noreply at sourceforge.net
Mon Jun 18 09:45:19 CEST 2007


Bugs item #1738708, was opened at 2007-06-17 18:53
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1738708&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: puredata
Group: v0.40.2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: won't open files with $0 in file name

Initial Comment:

In Pd-0.40-2, it won't open a file that has a $0 in the filename.  This works fine on Pd-0.39.2-extended-rc4 and Pd-0.39-2.

This is on Mac OS X/Intel 10.4.9

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

>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-06-18 09:45

Message:
Logged In: YES 
user_id=564396
Originator: NO

so this time to concentrate on objects with "$0" in them, e.g. [parent$0]
or [array-with-$0]

these do not load anymore on recent versions of pd, since the $0 is
expanded at runtime, therefore pd is in fact looking for an object e.g.
[parent1004] (which it cannot find).
i do not see any solution for this, unless you do not want in-symbol
expansion of $args (which i think we all agreed is a good thing to have).

obviously one could make a special rule for $0 in object names (this is:
the 0th argument of an object box; all other arguments should be treated
"normally"); but i do think that this is counterproductive ($args are
complicated to understand anyhow; adding exception rules will make things
only worse)

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

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-06-18 09:40

Message:
Logged In: YES 
user_id=564396
Originator: NO

could you add an example? i am not sure how you try to open the file:
- via the file->open menu?
- via a message?
- as abstraction?
- ...?


what is the expected behaviour in the light of the extended
$arg-expansion?
(e.g is it related to the [parent$0] problem? there won't be a solution
for this until we there is an escaping mechanism)


i am not sure i can reproduce any problem with the attached file on
0.40-1: it downloads as "array" (without extension), so i had to rename it
to array.pd; but i guess this has exactly undone the problem you described.

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

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




More information about the Pd-dev mailing list