Hi,

I'm trying to create simple application setup wizard and I encountered a 
problem.
My code is:
         conn = dabo.db.dConnection(self.connectInfo)
         cursor = conn.getDaboCursor()
         cursor.execute("select * from users")

For SQLite backend everything works fine, but for PostgreSQL,
execute raises an exception:
      File "c:\python25\lib\site-packages\dabo\db\dCursorMixin.py", line 
332, in execute
         raise dException.DBQueryException(errMsg, sql)
     dabo.dException.DBQueryException: current transaction is aborted, 
commands ignored until end of transaction block
     SQL: select * from users

Pure psycopg2 cursor also works correctly, but Dabo cursor don't.
What I'm doing wrong?

-- 
Regards
Jacek Kałucki



_______________________________________________
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]

Reply via email to