[dabo-users] sqlite3 error

Author: Jim Byrnes

Posted: 2010-09-30 at 17:49:33

I am handcoding a Dabo app. When I run it I get the following error:

Traceback (most recent call last):

File "dMask.py", line 66, in <module>

testBizobj = TestBizobj(conn)

File "/usr/local/lib/python2.6/dist-packages/dabo/biz/dBizobj.py",

line 51, in __init__

self.setConnection(conn)

File "/usr/local/lib/python2.6/dist-packages/dabo/biz/dBizobj.py",

line 129, in setConnection

self.dbapiCursorClass = self._cursorFactory.getDictCursorClass()

AttributeError: 'sqlite3.Connection' object has no attribute

'getDictCursorClass'

Version info: Platform: GTK

Python Version: 2.6.5 on linux2

Dabo Version: Version 0.9.2; Revision ~5924

UI Version: 2.8.11.0 on wxGTK (gtk2)

Sqlite3 was installed with Ubuntu Lucid so it should be version 3.6.22-1

Thanks, Jim

_______________________________________________

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/4CA505ED.904@comcast.net

©2010 Jim Byrnes