On 07/27/2010 10:47 PM, Paul McNett wrote: > On 7/27/10 11:46 AM, Ed Leafe wrote: > >> On Jul 27, 2010, at 2:43 PM, Mark Veldhuis wrote: >> >> >>> It is in >>> >>> /home/mark/dabo/ide/wizards/AppWizard/AppWizard.py >>> >>> where the install of dabo put it. This is Ubuntu 10.4, and I used the >>> filebrowser and double clicked the .py ... I run it from a terminal and it >>> gives the same message. >>> >>> if not self.Form.createApp(): >>> File "AppWizard.py", line 639, in createApp >>> f.write(self.getMain(ci.Name, selTb[0], appName)) >>> File "AppWizard.py", line 1006, in getMain >>> "spec-main.py.txt")).read() % locals() >>> IOError: [Errno 2] No such file or directory: >>> '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/spec-main.py.txt' >>> >> OK, I'm going to leave this one for Paul. I have no idea why it's >> looking in the wx directory for the template files. >> > I'm at a loss, too. Mark, can you open up a terminal and: > > cd /home/mark/dabo/ide/wizards/AppWizard/AppWizard.py > python > import sys > import os > print sys.path > print os.getcwd() > > ...and copy/paste the output ? > > Paul > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users > Searchable Archives: http://leafe.com/archives/search/dabo-users > This message: http://leafe.com/archives/byMID/[email protected] > > here it comes, greetings, Mark
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> import os >>> print sys.path ['', '/home/mark/lib/python', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages'] >>> print os.getcwd() /home/mark/dabo/ide/wizards/AppWizard >>> _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
