[Pythonmac-SIG] py2app and PythonCard

Bob Ippolito bob at redivi.com
Sat Oct 23 17:48:53 CEST 2004


This is sort of a bug in py2app.  You are using software that uses PIL,  
but you do not have PIL installed.  You'll need to install PIL or wait  
for the next release of PIL which will resolve this issue.

On Oct 23, 2004, at 11:05, Charles Hartman wrote:

> In my bumbling search for an environment in which to write Python GUI  
> apps (about two steps short of deserting to Java), I've been trying  
> PythonCard. To use its debugging (etc) facilities, one has to use its  
> framework (another layer! along with wxPython, my GUI framework). I  
> worked through a tutorial app so as to see what a final executable  
> might look like in terms of size. But py2app gives this traceback,  
> which I'm too ignorant to make very much sense of:
>
>   File "setup.py", line 23, in ?
>     setup(
>   File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/distutils/core.py", line 149, in setup
>     dist.run_commands()
>   File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/distutils/dist.py", line 907, in run_commands
>     self.run_command(cmd)
>   File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/distutils/dist.py", line 927, in run_command
>     cmd_obj.run()
>   File "/purelib/py2app/build_app.py", line 264, in run
>   File "/purelib/py2app/build_app.py", line 315, in _run
>   File "/purelib/py2app/recipes/PIL/__init__.py", line 41, in check
>   File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/posixpath.py", line 119, in dirname
>     return split(p)[0]
>   File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/posixpath.py", line 77, in split
>     i = p.rfind('/') + 1
> AttributeError: 'NoneType' object has no attribute 'rfind'
>
> Is this a simple problem, or a stumbling block? Any kind advice  
> appreciated.
>
> Charles Hartman
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list