Hi,
this is Ubuntu 12.04. Managed to reproduce the error in the interpreter, here goes the session.

Python 2.7.3 (default, Apr 10 2013, 05:46:21)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Imported NumPy 1.6.1, SciPy 0.9.0, Matplotlib 1.1.1rc
Type "scientific" for more details.
>>> import os

>>> import dabo
>>> ci = dabo.db.dConnectInfo(DbType='SQLite')
>>> ci.Database = 'ProXimax.db'
>>> conn = dabo.db.dConnection(ci).getConnection()
>>> class TarjetasBizobj(dabo.biz.dBizobj):
...     def afterInit(self):
...         self.DataSource = 'Tarjetas'
...         self.KeyField = "pkid"
...         self.addField("pkId")
...         self.addField("NroTarjeta")
...         self.addField("Apellido")
...         self.addField("Nombre")
...         self.addField("Ubicacion")
...         self.addField("Observaciones")
...
>>> biz = TarjetasBizobj(conn)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.9-py2.7.egg/dabo/biz/dBizobj.py", line 56, in __init__
    self.setConnection(conn)
File "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.9-py2.7.egg/dabo/biz/dBizobj.py", line 133, in setConnection
    self.dbapiCursorClass = self._cursorFactory.getDictCursorClass()
AttributeError: 'DictConnection' object has no attribute 'getDictCursorClass'
>>> cur = conn.cursor()
>>> cur
<dabo.db.dbSQLite.DictCursor object at 0xb570f43c>
>>> cur.execute('PRAGMA table_info(Tarjetas)')
<dabo.db.dbSQLite.DictCursor object at 0xb570f43c>
>>> cur.fetchall()
[{'name': 'pkid', 'cid': 0, 'dflt_value': None, 'notnull': 0, 'pk': 1, 'type': 'INTEGER'}, {'name': 'NroTarjeta', 'cid': 1, 'dflt_value': None, 'notnull': 0, 'pk': 0, 'type': 'INTEGER'}, {'name': 'Apellido', 'cid': 2, 'dflt_value': None, 'notnull': 0, 'pk': 0, 'type': 'TEXT'}, {'name': 'Nombre', 'cid': 3, 'dflt_value': None, 'notnull': 0, 'pk': 0, 'type': 'TEXT'}, {'name': 'Ubicacion', 'cid': 4, 'dflt_value': None, 'notnull': 0, 'pk': 0, 'type': 'TEXT'}, {'name': 'Observaciones', 'cid': 5, 'dflt_value': None, 'notnull': 0, 'pk': 0, 'type': 'TEXT'}]
>>> import dabo.version as version
>>> version.__version__
'0.9.9'
>>>


Any ideas on what I am missing?
TIA


_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/51f2cce8.7050...@gmail.com

Reply via email to