Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread Stefan Holmer
As far as I know, I am using Python 2.4.3. Maybe 2.3 hasn't been uninstalled? Bob Ippolito skrev: > Yes, Python 2.3 on Mac OS X 10.4 i386 is indeed broken for most things > in Carbon.*, especially Apple Events. Use Universal Python 2.4.3. > > http://pythonmac.org/packages/py24-fat/ > > -bob > >

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread Bob Ippolito
You definitely DO NOT want to uninstall 2.3. The quickest way to figure out which Python installation you're using is to start python and see what it says. Perhaps you should look into it... maybe even re-install universal python 2.4.3 to make sure. -bob On Jul 15, 2006, at 1:54 AM, Stefan H

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread Stefan Holmer
Ok, well, then I'm pretty sure I'm actually using 2.4.3. Bob Ippolito skrev: > You definitely DO NOT want to uninstall 2.3. > > The quickest way to figure out which Python installation you're using > is to start python and see what it says. Perhaps you should look into > it... maybe even re-inst

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread has
Stefan Holmer wrote: > Ok, well, then I'm pretty sure I'm actually using 2.4.3. I sent Ronald a patch for argvemulator in May. I believe it's in the 2.5 beta; I don't know if it's been applied to any 2.4.x releases yet; you'd need to ask. All the other AE modules except Carbon.AE are complet

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread Ronald Oussoren
On Jul 15, 2006, at 1:42 PM, has wrote: > Stefan Holmer wrote: > >> Ok, well, then I'm pretty sure I'm actually using 2.4.3. > > I sent Ronald a patch for argvemulator in May. I believe it's in the > 2.5 beta; I don't know if it's been applied to any 2.4.x releases > yet; you'd need to ask. It's

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread Stefan Holmer
So, I've rewritten using aemreceive.sfba instead, though I've still got the problem where I'm not caching an event when I'm trying to "open with..." when the program is closed. If the program has already been started, this works fine. This is the line which installs the eventhandler: installeve

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread Bob Ippolito
On Jul 15, 2006, at 4:42 AM, has wrote: > Stefan Holmer wrote: > >> Ok, well, then I'm pretty sure I'm actually using 2.4.3. > > I sent Ronald a patch for argvemulator in May. I believe it's in the > 2.5 beta; I don't know if it's been applied to any 2.4.x releases > yet; you'd need to ask. Wher

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread Ronald Oussoren
On Jul 15, 2006, at 6:31 PM, Bob Ippolito wrote: > > On Jul 15, 2006, at 4:42 AM, has wrote: > >> Stefan Holmer wrote: >> >>> Ok, well, then I'm pretty sure I'm actually using 2.4.3. >> >> I sent Ronald a patch for argvemulator in May. I believe it's in the >> 2.5 beta; I don't know if it's been

[Pythonmac-SIG] how big is fat?

2006-07-15 Thread Charles Hartman
I have an app from a year ago that needed one tweak. When I build it on a PowerBook G4 with Python 2.4.1 (Mar 23 2005 build) and wxPython 2.6.3.0, using --strip in the 'python setup.py py2app' command, I get an executable of 16Mb. (For some reason I don't understand, this is already 5Mb big

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread has
Stefan Holmer wrote: > So, I've rewritten using aemreceive.sfba instead, though I've still > got the problem where I'm not caching an event when I'm trying to > "open with..." when the program is closed. I think LaunchServices can sometimes be a bit sluggish registering new apps. Also, have

Re: [Pythonmac-SIG] how big is fat?

2006-07-15 Thread Bob Ippolito
On Jul 15, 2006, at 9:47 AM, Charles Hartman wrote: > I have an app from a year ago that needed one tweak. When I build it > on a PowerBook G4 with Python 2.4.1 (Mar 23 2005 build) and wxPython > 2.6.3.0, using --strip in the 'python setup.py py2app' command, I get > an executable of 16Mb. (For s

Re: [Pythonmac-SIG] Problem with open_app Action Event

2006-07-15 Thread Stefan Holmer
The icon does highlight when I drag a jpg-file over it. And it works fine just dragging a jpg-file to the dock-icon when the program has been started, but if the program has not been started it doesn't work. This is really bugging me, can't understand what makes the difference... has skrev: > S

Re: [Pythonmac-SIG] how big is fat?

2006-07-15 Thread Charles Hartman
Absolutely right -- thanks, Bob! That brings it down to 16Mb. By the way, Get Info still reports it as a PowerPC app (when built with Universal Python and wxPython and the new py2app, on an Intel iMac). How come? Should I worry about that? Might it be a good idea to remove the reference link

Re: [Pythonmac-SIG] how big is fat?

2006-07-15 Thread Bob Ippolito
On Jul 15, 2006, at 10:48 AM, Charles Hartman wrote: > Absolutely right -- thanks, Bob! That brings it down to 16Mb. By > the way, Get Info still reports it as a PowerPC app (when built > with Universal Python and wxPython and the new py2app, on an Intel > iMac). How come? Should I worry ab

Re: [Pythonmac-SIG] how big is fat?

2006-07-15 Thread Bob Ippolito
On Jul 15, 2006, at 10:58 AM, Bob Ippolito wrote: > > On Jul 15, 2006, at 10:48 AM, Charles Hartman wrote: > >> Absolutely right -- thanks, Bob! That brings it down to 16Mb. By >> the way, Get Info still reports it as a PowerPC app (when built >> with Universal Python and wxPython and the new py2

Re: [Pythonmac-SIG] how big is fat?

2006-07-15 Thread Charles Hartman
On Jul 15, 2006, at 2:05 PM, Bob Ippolito wrote:Says universal here, don't know what the problem is with your app. It does strangely enough default to open using Rosetta though, no idea why it's doing that. Looks like I had set LSPrefersPPC to True by default. If you want apps to run natively by d

Re: [Pythonmac-SIG] how big is fat?

2006-07-15 Thread Bob Ippolito
On Jul 15, 2006, at 1:41 PM, Charles Hartman wrote:On Jul 15, 2006, at 2:05 PM, Bob Ippolito wrote:Says universal here, don't know what the problem is with your app. Itdoes strangely enough default to open using Rosetta though, no ideawhy it's doing that. Looks like I had set LSPrefersPPC to True b