[wxPython-mac] [Pythonmac-SIG] Re: [wxPython-users] wxPythonOSX for Python 2.3a1

Robin Dunn robin@alldunn.com
Thu, 30 Jan 2003 08:19:05 -0800


Francois Granger wrote:
> At 21:39 -0800 28/01/2003, in message [Pythonmac-SIG] Re: 
> 
> I got an error message at end about permissions:
> 
> error: 
> /Library/Frameworks/Python.framework/Versions/2.3/bin/install-pythoncard.py: 
> Permission denied

Hmmm...  I made the site-packages writeable by admin but didn't think 
anywhere else would be necessary.  I'll change that.

> 
> No error message.
> 
> When I do "Openwith" -> "PythonLauncher" for codeeditor.py in the 
> Finder, I get:
> 
> [fbg:~] fgranger% "/usr/local/bin/python" 

BTW, you probably want to either change that to a .pyw file extension, 
or change PythonLauncher to use /usr/local/bin/pythonw so that the 
codeeditor can interact with the GUI properly.

> "/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCardPrototype/components/codeeditor.py" 
> && echo Exit status: $? && exit 1
> 16:28:35: Debug: wxMac library installation name is 
> '/usr/local/lib/libwx_macd-2.4.0.dylib'
> 16:28:35: Debug: wxMac resources file name is 
> '/usr/local/lib/libwx_macd-2.4.0.rsrc'
> Traceback (most recent call last):
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCardPrototype/components/codeeditor.py", 
> line 11, in ?
>     from wxPython import stc, wx

Try changing the order of these imports.  If this is the first time that 
wx is imported then importing other wx modules before it could cause a 
problem like this.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!