I've been looking inside the app created with pd and it seems that I've fixed the problem.
I opened the file "APP/Contents/org.puredata.pd.plist" and saw that PD was trying to open my patch (that was in the "extra" folder, inside it's own folder, the one from which I wanted the app to be created from) from a wrong location. For some reason, PD was expecting the patch and it's containing folder to be named the same. In this case, it was asking to open a file located in a folder that didn't exist (a folder with the patch's name). I simply changed the wrong folder's name for the write one and everything seems to work fine. Any ideas about this? Am I missing something?
Ignacio
Hmm, strange, it works for me. I think it probably would not be happy
with spaces in the name of the folder or the patch. Can you give more
details?
.hc
On Jul 5, 2009, at 6:39 AM, Ignacio Viano wrote:
I've been looking inside the app created with pd and it seems that
I've fixed the problem.I opened the file "APP/Contents/org.puredata.pd.plist" and saw that
PD was trying to open my patch (that was in the "extra" folder,
inside it's own folder, the one from which I wanted the app to be
created from) from a wrong location. For some reason, PD was
expecting the patch and it's containing folder to be named the same.
In this case, it was asking to open a file located in a folder that
didn't exist (a folder with the patch's name). I simply changed the
wrong folder's name for the write one and everything seems to work
fine. Any ideas about this? Am I missing something?Ignacio _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I spent 33 years and four months in active military service and during
that period I spent most of my time as a high class muscle man for Big
Business, for Wall Street and the bankers. - General Smedley Butler
Well, that was one of the problems the first time it failed, but once the spaces were gone, the app wouldn't load the patch neither.
PD seems to locate the folder in:
APP/Contents/Resouces/extra/FOLDER/NECESARY_FILES_AND_PATCH
I've found in the file "org.puredata.pd.plist" a command that seemed trying to open this
../NECESARY_FILES_AND_PATCH/NECESARY_FILES_AND_PATCH
instead of this
../FOLDER/NECESARY_FILES_AND_PATCH
I simply modified that path and everything gone ok, even though I still don't know why it doesn't work fine automatically.
Ignacio
Ah, ok, that was the hint I needed. I think I fixed it. Try
uncompressing and putting the attached pd.tk into Pd-extended.app/
Contents/Resources/bin/pd.tk or use the attached patch if you like
that kind of thing. I checked in the fix here:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=...
.hc
On Jul 7, 2009, at 11:48 AM, Ignacio Viano wrote:
Well, that was one of the problems the first time it failed, but
once the spaces were gone, the app wouldn't load the patch neither.PD seems to locate the folder in:
APP/Contents/Resouces/extra/FOLDER/NECESARY_FILES_AND_PATCH
I've found in the file "org.puredata.pd.plist" a command that seemed
trying to open this../NECESARY_FILES_AND_PATCH/NECESARY_FILES_AND_PATCH
instead of this
../FOLDER/NECESARY_FILES_AND_PATCH
I simply modified that path and everything gone ok, even though I
still don't know why it doesn't work fine automatically.Ignacio
Looking at things from a more basic level, you can come up with a more
direct solution... It may sound small in theory, but it in practice,
it can change entire economies. - Amy Smith
Well Hans, thank you very much for your help. A couple of things about building apps problems.
1- Your fix made the folder to be named always "app-auto-load", write? Well, that fixes the bug, but completely kills all the references of the "../FOLDER_NAME/FILE" form in the patch, creating a new bug (I think). What do you think about it?
2- I accidentally saved the app in the same folder that was being built into an app. The result was a recursive app with itself inside itself inside itself…I had to force PD to quit. May be there should be a protection or at least a warning message.
Ignacio
On Jul 7, 2009, at 5:34 PM, Ignacio Viano wrote:
Well Hans, thank you very much for your help. A couple of things
about building apps problems.
Thanks for the testing and bug reports!
1- Your fix made the folder to be named always "app-auto-load",
write? Well, that fixes the bug, but completely kills all the
references of the "../FOLDER_NAME/FILE" form in the patch, creating
a new bug (I think). What do you think about it?
I don't see why ../FOLDER_NAME/FILE would be useful. Why not just use
'FILE'?
2- I accidentally saved the app in the same folder that was being
built into an app. The result was a recursive app with itself inside
itself inside itself…I had to force PD to quit. May be there should
be a protection or at least a warning message.
Ha, good to know. Could you post a bug report and I'll check it out
when I get a chance. In Pd-extended, go to the Help menu, then choose
"report bug".
.hc
There is no way to peace, peace is the way. -A.J. Muste
You are right. I've always used ../FOLDER/FILE reference and didn't realize that it could be done just like FILE. It's time to modify some patches.
As for the bug report, I was not allowed to do it. I get this error:
Error - Choose a Group ERROR - No group_id was chosen. But I am choosing a category (pd-extended) and a group (v0.41)!
This is funny: problems when reporting problems when reporting problems…just like the problem I want to report.
Ignacio
The categories and group stuff doesn't matter, just getting a good
title and lots of info in the body are the important parts.
Sourceforge just changed their site again, so perhaps there was a
glitch. Pleas try it again. :)
.hc
On Jul 8, 2009, at 9:56 AM, Ignacio Viano wrote:
You are right. I've always used ../FOLDER/FILE reference and didn't
realize that it could be done just like FILE. It's time to modify
some patches.As for the bug report, I was not allowed to do it. I get this error:
Error - Choose a Group ERROR - No group_id was chosen.
But I am choosing a category (pd-extended) and a group (v0.41)!
This is funny: problems when reporting problems when reporting
problems…just like the problem I want to report.Ignacio
"It is convenient to imagine a power beyond us because that means we
don't have to examine our own lives.", from "The Idols of
Environmentalism", by Curtis White
OK, it's done. The number is 2820511.
Ignacio