On 07/27/2010 02:28 PM, Ed Leafe wrote:
> On Jul 26, 2010, at 5:36 PM, Mark Veldhuis wrote:
>
>
>> First a thank you to the developpers of Dabo, I am hopeful and excited
>> to realise some plans programming Python and databases!
>> I followed the Pycon tutorial all the way to the appwizard demo, where I
>> ran into a problem. I tried 3 ways of connecting to a database without
>> good result: the furthest I got with SQLite.
>> -I installed SQLite, created a database and started the appwizard. I
>> connected to the database, checked the tables and continued to the
>> create app lication page, I selected Finish. The appwizard keeps at that
>> page until I cancel. I see there is a folder created, with 8 empty
>> subfolders and an empty .py doc
>> -maybe it is helpful to mention the other results, I followed the
>> example (pycon database at dabodev.com) and the appwizard froze after
>> Next on the database parameter page. I installed mysql server and
>> created a database in it, appwizard froze at the same point.
>>
> Was there any output to the terminal window from which you launched
> AppWizard? Sounds like something is preventing the templates from being
> populated and written to disk.
>
>
> -- Ed Leafe
>
>
>
> _______________________________________________
> 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 is:
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dControlMixin.py",
line 27, in _onWxHit
self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dPemMixin.py", line
980, in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "/usr/local/lib/python2.6/dist-packages/dabo/lib/eventMixin.py",
line 93, in raiseEvent
bindingFunction(event)
File
"/usr/local/lib/python2.6/dist-packages/dabo/ui/dialogs/Wizard.py", line
122, in onNext
self._finish()
File
"/usr/local/lib/python2.6/dist-packages/dabo/ui/dialogs/Wizard.py", line
138, in _finish
ok = pg.onLeavePage("forward")
File "/home/mark/dabo/ide/wizards/AppWizard/AppWizard.py", line 549,
in onLeavePage
if not self.Form.createApp():
File "/home/mark/dabo/ide/wizards/AppWizard/AppWizard.py", line 639,
in createApp
f.write(self.getMain(ci.Name, selTb[0], appName))
File "/home/mark/dabo/ide/wizards/AppWizard/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'
_______________________________________________
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]