ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
Re: [wxpython-users] py2app Mac
by Robin Dunn other posts by this author
May 8 2008 9:16AM messages near this date
[wxpython-users] py2app Mac | Re: [wxpython-users] py2app Mac
Mariano Di Felice wrote:
>  Hi,
>     I'm working with py2app in MacOSX ( tiger intel ), and I would like 
>  build an app.
>  When I launch:
>  python myscript.py py2app will raise this exception:
>  
>  Traceback (most recent call last):
>   File "/Users/mar/Desktop/py2app-0.3.6/py2app/build_app.py", line 548, 
>  in _run
>     self.run_normal()
>   File "/Users/mar/Desktop/py2app-0.3.6/py2app/build_app.py", line 600, 
>  in run_normal
>     mf = self.get_modulefinder()
>   File "/Users/mar/Desktop/py2app-0.3.6/py2app/build_app.py", line 508, 
>  in get_modulefinder
>     debug=debug,
>   File "build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py", 
>  line 243, in find_modules
>     find_needed_modules(mf, scripts, includes, packages)
>   File "build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py", 
>  line 179, in find_needed_modules
>     path = m.packagepath[0]
>  TypeError: 'NoneType' object is unsubscriptable

Some of these paths seem a bit squirrelly.  Are you sure you have py2app 
and it's dependencies installed correctly?


>  
>  I've found that if I comment remove "_imaging" from packages, py2app 
>  work properly, but, when I start my app in another Mac, an error will be 
>  raised in console containing:
>  "Import Error: The _imaging C module is not installed"

What if you just specify 'PIL' instead?


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

_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Chester
Werner F. Bruhin
Mariano Di Felice
Robin Dunn
Robin Dunn
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Chester
Tim Roberts
Chester
Werner F. Bruhin
Chester

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved