From: Bruce L. <la...@do...> - 2004-08-20 16:15:28
|
I am having some errors on moving an enhanced chat sample from the prototype to the pythonCard 0.8. The program actually runs in python fine but when I try to open the resource file in the resourceEditor I get the following error. (the program and the resoruce files are attached). Suggestions appreciated as I have grow attached to pythonCard and would like to continue with it. Traceback (most recent call last): File "C:\Python23\lib\site-packages\PythonCard\menu.py", line 205, in _dispatc h handler(background, aWxEvent) File "C:\Python23\Lib\site- packages\PythonCard\tools\resourceEditor\resourceEd itor.py", line 1007, in on_menuFileOpen_select self.doOpenFile() File "C:\Python23\Lib\site- packages\PythonCard\tools\resourceEditor\resourceEd itor.py", line 988, in doOpenFile self.openFile(result.paths[0]) File "C:\Python23\Lib\site- packages\PythonCard\tools\resourceEditor\resourceEd itor.py", line 966, in openFile rsrc = resource.ResourceFile(path).getResource() File "C:\Python23\lib\site-packages\PythonCard\resource.py", line 48, in getRe source return Resource( self.dictionary ) File "C:\Python23\lib\site-packages\PythonCard\resource.py", line 86, in __ini t__ aDictionary[key] = Resource(value) File "C:\Python23\lib\site-packages\PythonCard\resource.py", line 96, in __ini t__ self.enforceSpec(aDictionary) File "C:\Python23\lib\site-packages\PythonCard\resource.py", line 139, in enfo rceSpec loadComponentModule( typeStr.lower() ) File "C:\Python23\lib\site-packages\PythonCard\resource.py", line 30, in loadC omponentModule raise ImportError, message ImportError: cannot import module 'stack Homepage http://Bruce-Landon.douglas.bc.ca Weblog http://radio.weblogs.com/0101747/ Comparative Analysis http://www.edutools.info/landonline/ |