[wxPython-mac] Problems with wx.Process & wx.Execute

John Jackson jjackson at pobox.com
Tue Mar 11 17:26:36 PDT 2008


I ran the same code under Windows, and it worked fine. (Well, at  
least as fine as VirtualPC works...) So, it's a Mac problem...

On Mar 11, 2008, at 12:08 PM, John Jackson wrote:

> I've been trying to use wx.Process to launch a Django from a  
> wxPython application with no luck.
>
> What I see in my log are messages such as
>
> 11:36:46: Starting server with command:
> /Library/Frameworks/Python.framework/Versions/Current/bin/python ~/ 
> Source/Mine/DjangoTest/mysite/manage.py runserver
> 11:36:46: Debug: wxMacExecute Bad bundle: /Library/Frameworks/ 
> Python.framework/Versions/Current/bin/python
> 11:36:46: Debug: pid=22933
> 11:36:46: Debug: Successfully added notification to the runloop
> 11:36:46: DjangoStarter: serverPID "22933" started.
> 11:36:46: Debug: Process ended
>
> I'm also sometimes seeing GetOutputStream() returning a stream, and  
> sometimes not, even when Exists() is False.
>
> Googling "wxMacExecute Bad bundle" returns some hits, but nothing  
> that helped. There was a request by Robin for a sample,  
> application, but none seemed to be offered.
>
> So, see below for a sample application. You'll need to have Django  
> installed, and then either modify the command to point to a site,  
> or use the "Set Server Command" button to do the same.
>
> I'm going to try this under Windows and see if the same results  
> happen.


______________
John Jackson





More information about the wxpython-mac mailing list