Hi, juggling with the class designer. Do quickStart(), then open CD and
"Add Controls from Data Environment", create connection and save it
under "..\db", select fields, finish wizard, put self.requery() in
afterInitAll() and "Save Runnable App" under "..\ui".
Error message :
--------------------------------------------------------------------------------------------
X:\Python\Prueba\Python\Pruebas\TablasVarias2>python
c:\Python25\Lib\site-packag
es\dabo\IDE\ClassDesigner.py
Traceback (most recent call last):
File "C:\Python25\lib\site-packages\dabo\ui\uiwx\dMenuItem.py", line
57, in __
onWxHit
File "C:\Python25\lib\site-packages\dabo\dabo\ui\uiwx\dPemMixin.py",
line 947,
in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "C:\Python25\lib\site-packages\dabo\lib\eventMixin.py", line 93,
in raise
Event
File "c:\Python25\Lib\site-packages\dabo\IDE\ClassDesigner.py", line
1819, in
onSaveRunnable
codecs.open(out, "w", encoding="utf-8").write(code)
NameError: global name 'codecs' is not defined
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Platform: Win
Python Version: 2.5.2 on win32
Dabo Version: Version 0.9.1; Revision ~5070
UI Version: 2.8.8.1 on wxMSW
--------------------------------------------------------------------------------------------
_______________________________________________
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]