Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-15 Thread Dethe Elza
On 15-Oct-06, at 1:07 PM, Ronald Oussoren wrote: > Ok, nice to hear that. PyObjC has changed my life for the better, and I'm still just scratching the surface. The hard part is that I've become dependent on it, so when something doesn't work, everything I'm doing comes to a screeching halt

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-15 Thread Ronald Oussoren
On Oct 15, 2006, at 8:23 PM, Dethe Elza wrote: On 15-Oct-06, at 9:26 AM, Ronald Oussoren wrote: I've done a clean install of python, py2app, PyObjC and related packages and can now reproduce your problem. Thanks so much! I hope I've also fixed the problem in revision 47 of py2app. It t

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-15 Thread Dethe Elza
On 15-Oct-06, at 9:26 AM, Ronald Oussoren wrote: > I've done a clean install of python, py2app, PyObjC and related > packages and can now reproduce your problem. Thanks so much! > I hope I've also fixed the problem in revision 47 of py2app. It > turns out the app stub and bundle stub use a

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-15 Thread Ronald Oussoren
On Oct 13, 2006, at 7:35 PM, Dethe Elza wrote: One thing that you could try: insert 'import sys; print sys.path' at the top of __boot__.py (in the Resources directory of the saver) to see the value of sys.path. That value seems to be wrong. This is a very good clue. Here is the sys.pa

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-13 Thread Dethe Elza
On 12-Oct-06, at 10:44 PM, Ronald Oussoren wrote: > Reverting to an older version should work as well, with the caveat > that the latest pre-setuptools version of py2app has some problems > w.r.t. universal binaries (which is why Bob switched to the current > version). OK, well I need unive

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Ronald Oussoren
On Oct 13, 2006, at 1:15 AM, Dethe Elza wrote: So still no idea why it's working for you, but not for me. Anything else you can think of? I followed the instructions in the py2app docs for removing old versions of py2app. If everything is encapsulated in the .egg, perhaps I can rever

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Dethe Elza
On 12-Oct-06, at 2:56 PM, Ronald Oussoren wrote: > I have macholib 1.2, modulegraph 0.7.1, altgraph 0.6.8 and py2app > 0.3.5, all fresh checkouts from svn. OK, I now have those versions as well, via easy_install [module]==dev on each one. I had tried building them all from svn the other day,

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Ronald Oussoren
On Oct 12, 2006, at 11:40 PM, Dethe Elza wrote: On 12-Oct-06, at 2:15 PM, Ronald Oussoren wrote: What are you using to test? I've tested with the SillyBalls screensaver in PyObjC's examples directory (Examples/Plugins/ SillyBallsSaver). I've been testing with my screensaver, Pastels, but

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Dethe Elza
On 12-Oct-06, at 2:15 PM, Ronald Oussoren wrote: > What are you using to test? I've tested with the SillyBalls > screensaver in PyObjC's examples directory (Examples/Plugins/ > SillyBallsSaver). I've been testing with my screensaver, Pastels, but I just tried with SillyBalls and it also fail

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Ronald Oussoren
On Oct 12, 2006, at 11:06 PM, Dethe Elza wrote: On 12-Oct-06, at 1:44 PM, Bob Ippolito wrote: Also if you think that you'll need to hack on py2app at all you'd be better off checking out the source and then "python setup.py develop". That way the egg is your checkout so it's trivial to upd

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Dethe Elza
On 12-Oct-06, at 1:44 PM, Bob Ippolito wrote: > Also if you think that you'll need to hack on py2app at all you'd be > better off checking out the source and then "python setup.py develop". > That way the egg is your checkout so it's trivial to update and hack > on. Good advice. I'm still quite

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Dethe Elza
On 12-Oct-06, at 1:33 PM, Ronald Oussoren wrote: >>> Could you try again with the latest version of py2app, that is >>> subversion revision 46. Using 'easy_install py2app==dev' should >>> do the trick. >> >> When I try that (after a long time) get a stack trace as follows: > > Why are you usin

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Bob Ippolito
On 10/12/06, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On Oct 12, 2006, at 7:58 PM, Dethe Elza wrote: > > > On 12-Oct-06, at 10:08 AM, Ronald Oussoren wrote: > > > >> Could you try again with the latest version of py2app, that is > >> subversion revision 46. Using 'easy_install py2app==dev' sh

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Ronald Oussoren
On Oct 12, 2006, at 7:58 PM, Dethe Elza wrote: On 12-Oct-06, at 10:08 AM, Ronald Oussoren wrote: Could you try again with the latest version of py2app, that is subversion revision 46. Using 'easy_install py2app==dev' should do the trick. When I try that (after a long time) get a stack tr

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Dethe Elza
On 12-Oct-06, at 10:08 AM, Ronald Oussoren wrote: > Could you try again with the latest version of py2app, that is > subversion revision 46. Using 'easy_install py2app==dev' should do > the trick. When I try that (after a long time) get a stack trace as follows: delza$ easy_install py2app==d

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Ronald Oussoren
On Oct 12, 2006, at 7:15 PM, Dethe Elza wrote: On 12-Oct-06, at 9:49 AM, Bob Ippolito wrote: plist thing just doesn't happen? Doesn't appear to. The plugin bootstrap is broken. They won't start. So where do I look? This used to work beautifully. Is the plugin bootstrap the __boot__.py

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Dethe Elza
On 12-Oct-06, at 9:49 AM, Bob Ippolito wrote: > plist thing just doesn't happen? Doesn't appear to. > The plugin bootstrap is broken. They won't start. So where do I look? This used to work beautifully. Is the plugin bootstrap the __boot__.py file or is it in C or Objective-C? Do we know

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Bob Ippolito
On 10/12/06, Dethe Elza <[EMAIL PROTECTED]> wrote: > On 12-Oct-06, at 9:49 AM, Bob Ippolito wrote: > > > plist thing just doesn't happen? > > Doesn't appear to. I still don't know what you're talking about. > > The plugin bootstrap is broken. They won't start. > > So where do I look? This used t

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Ronald Oussoren
On Oct 12, 2006, at 6:49 AM, Dethe Elza wrote: [.. description of a problem ...] When I try to load the above screensaver I get the console messages: 'import site' failed; use -v for traceback Traceback (most recent call last): File "/Users/delza/Library/Screen Savers/PastelsView.saver/ Co

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Bob Ippolito
On 10/12/06, Dethe Elza <[EMAIL PROTECTED]> wrote: > On 12-Oct-06, at 3:01 AM, Bob Ippolito wrote: > > > Plugins are currently broken. This is a known issue... patches > > accepted, I'm not sure when I'll have time to get to it. > > Can you give any more specifics about how it is broken. I'm tryin

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Dethe Elza
On 12-Oct-06, at 3:01 AM, Bob Ippolito wrote: > Plugins are currently broken. This is a known issue... patches > accepted, I'm not sure when I'll have time to get to it. Can you give any more specifics about how it is broken. I'm trying to write an article about how easy it is to build plugins

Re: [Pythonmac-SIG] Building plugins with py2app

2006-10-12 Thread Bob Ippolito
On 10/11/06, Dethe Elza <[EMAIL PROTECTED]> wrote: > Hi folks, > > I'm switching to to a recent py2app and moving to use setuptools- > based builds instead of distutils. I've had several problems, but > since I've been coding here and there in spare moments (including on > the bus in the mornings)

[Pythonmac-SIG] Building plugins with py2app

2006-10-11 Thread Dethe Elza
Hi folks, I'm switching to to a recent py2app and moving to use setuptools- based builds instead of distutils. I've had several problems, but since I've been coding here and there in spare moments (including on the bus in the mornings), I haven't done a very good job of documenting them, I