Hello all- 
New to Dabo and Python. Just beginning to experiment with both, I have been 
working through the Dabo tutorials, and reading Dive in Python . I have been 
learngin a lot, and having a great time. But I wanted to build a quick app 
using the AppWizard, but met with some difficulty. At first, I could not get 
the database (SQL Server 2005) connected, but I worked through that. However, 
after clicking 'Next' button on the wizard, I receive this output from the 
python window in the background: 

Traceback (most recent call last): 
File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\ui\uiwx\dControl 
Mixin.py", line 27, in _onWxHit 
self.raiseEvent(dEvents.Hit, evt, *args, **kwargs) 
File "C:\Python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\ui\uiwx\dPemMixi 
n.py", line 949, in raiseEvent 
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs) 
File "C:\Python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\lib\eventMixin.p 
y", line 93, in raiseEvent 
bindingFunction(event) 
File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\ui\dialogs\Wizar 
d.py", line 124, in onNext 
self.CurrentPage += pg.nextPage() 
File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\ui\dialogs\Wizar 
d.py", line 291, in _setCurrPage 
ok = self._pages[self._currentPage].onLeavePage(direction) 
File "C:\Program Files\Dabo\ide\wizards\AppWizard\AppWizard.py", line 302, in 
onLeavePage 
cursor = self.Form.cursor = conn.getDaboCursor(ci.getDictCursorClass()) 
File "C:\Python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\db\dConnection.p 
y", line 67, in getDaboCursor 
crs = bo.getCursor(DaboCursor) 
File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\db\dBackend.py", 
line 72, in getCursor 
return cursorClass(self._connection) 
File "C:\Python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\db\dConnection.p 
y", line 64, in __init__ 
apply(cursorClass.__init__,(self,) + args, kwargs) 
TypeError: __init__() takes exactly 3 arguments (2 given) 

Meanwhile, the gui stays at the 'Database Parameters' screen and becomes 
unresponsive. As I mentioned, I'm trying to learn Python along with Dabo, and 
it's going well. However, the code indicated is beyond my abilities at present. 
Can anyone give me some advice/support/help? Not asking for a lot of 
hand-holding, but if you recognize this issue as a common one, or can point me 
to a helpdul resource it would be most appreciated. 

By the way, I'm running Python 2.5, Dabo 0.9.2 (have received some web 
updates), Windows XP SP3, MS SQL Server 2005 (on a remote machine). If I missed 
an important detail, let me know. 

Also, this doesn't happen when I use the Dabo AppWizard against the DaboDev 
sample MySQL databases. They work fine. So perhaps it has to do with the 
pyMSSQL, or dbMsSQL, or with my specific database? 




Jamie Adams 
________________________________________________________ 

Liquis, Inc. 

400 Parker Drive, Suite 1110, Austin, TX 78728 
phone 512.299.9634, ext 103 -- fax 512.873.0575 
_______________________________________________________ 

http://www.liquis.com/ 
http://www.liquisbi.com/ 
http://stores.ebay.com/Liquis-High-Tech-Equipment 


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/23235552.461259948396897.javamail.sys...@jamie-mobile

Reply via email to