On 07/28/2010 02:01 AM, Paul McNett wrote: > On 7/27/10 3:35 PM, Mark Veldhuis wrote: > >> 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 >> >>> >> > That all looks fine to me. Do you see a bunch of spec-*.py.txt files in the > AppWizard > directory? > > 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] > > The contents of the AppWizard directory:
AppWizard.py spec-Grd.py.txt spec-App.py.txt spec-main.exe.manifest spec-BizBase.py.txt spec-main.py.txt spec-biz__init__.py.txt spec-MenFileOpen.py.txt spec-Biz.py.txt spec-MenReports.py.txt spec-buildmac spec-PagBase.py.txt spec-buildwin.bat spec-PagEditBase.py.txt spec-db__init__.py.txt spec-PagEdit.py.txt spec-FrmBase.py.txt spec-PagSelectBase.py.txt spec-FrmMain.py.txt spec-PagSelect.py.txt spec-Frm.py.txt spec-sampleReport.rfxml spec-FrmReportBase.py.txt spec-setup.py.txt spec-FrmReportSample.py.txt spec-ui__init__.py.txt spec-getSampleDataSet.py.txt spec-__version__.py.txt spec-GrdBase.py.txt Mark _______________________________________________ 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]
