[PD-dev] [ pure-data-Patches-3011815 ] Path editor cannot edit bad paths

SourceForge.net noreply at sourceforge.net
Mon Jun 7 00:44:48 CEST 2010


Patches item #3011815, was opened at 2010-06-05 10:15
Message generated for change (Comment added) made by danomatika
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3011815&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: pd-extended
Group: None
>Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Dan Wilcox (danomatika)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: Path editor cannot edit bad paths

Initial Comment:
Running Pd-Extended 0.42.5 rc1 on Mac OSX 10.6.3

I moved some local lib folders and tried to update them in the Path editor. Selecting one of these paths and hitting Edit... results in a TK error dialog with the following message: Error: Bad directory "/Users/path/to/old/folder...". I cannot edit the path within PD, which is annoying.

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

>Comment By: Dan Wilcox (danomatika)
Date: 2010-06-06 17:44

Message:
Looks good, although you spelled my name wrong :D

Also, I added the console print for feedback as to why you'd be looking at
a dialog box in the home dir instead of the given path. Ideally, the bad
path should be parsed to find the nearest good location. For instance, if
the end folder name has been changed, the dialog box *should* start one
level down.

The current version is a quick fix so at least the editor is useable in
this case.

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

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-06-06 17:29

Message:
Accepted in an edited form, the error message seemed too much for such a
little thing.  I also added it to 0.43 while I was at it. Here's the
commit:

http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=13603


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

Comment By: Dan Wilcox (danomatika)
Date: 2010-06-05 11:06

Message:
I added PathEditor.patch for pd-tk which adds a check on existing paths
before editing them. If they don't exist, an error message is printed to
::pdwindow::error and the dialog path is set to the home dir.

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

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




More information about the Pd-dev mailing list