From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2005-01-05 15:09:00
|
On Mon, 3 Jan 2005 11:36:01 +0530, Luanne Coutinho wrote: >However, the dist directory does get created and I can see the exe. >When I try to run the exe, this is the output I get: > >Traceback (most recent call last): > File "AutoPhoto.py", line 181, in ? > File "PythonCard\model.pyc", line 337, in __init__ > File "PythonCard\resource.pyc", line 48, in getResource > File "PythonCard\resource.pyc", line 86, in __init__ > File "PythonCard\resource.pyc", line 91, in __init__ > File "PythonCard\resource.pyc", line 91, in __init__ > File "PythonCard\resource.pyc", line 96, in __init__ > File "PythonCard\resource.pyc", line 139, in enforceSpec > File "PythonCard\resource.pyc", line 30, in loadComponentModule >ImportError: cannot import module 'button > >What am I doing wrong? It looks like you're missing "button" from the list of imported PythonCard components: from PythonCard.Components import button I forgot to include the staticline component a couple of days ago when using the McMillan Installer and got a virtually identical traceback when running the app. Neil |