Bugs item #2959373, was opened at 2010-02-25 22:26 Message generated for change (Settings changed) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2959373...
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: externals
Group: v0.42 Status: Pending Resolution: Fixed
Priority: 5 Private: No Submitted By: Jonathan Wilkes (jancsika1)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: pddplink doesn't handle relative paths correctly
Initial Comment: The attached example shows the problem clearly. If you use the link in main.pd it will open ./myPatch.pd, but myPatch.pd will erroneously inherit the path of the canvas that contains the link. Thus helperAbstraction won't create because ./folder is not searched.
You can see this clearly in the window heading of myPatch.pd after you follow the link: it lists the object as "./folder/myPatch.pd" and the path as that of main.pd. But if you make an object [./folder/myPatch.pd] in main.pd and open it, you can see it correctly lists the object as "myPatch.pd" and makes ./folder part of the path. This is what pddplink should do, too.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-04-12 23:10
Message: Fixed with this commit: http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=...
And also fixed it within the menu_doc_open command in pd-extended and pd-gui-rewrite: http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2959373...