web2py 2.0.8 Firebird driver fdb error

183 views
Skip to first unread message

Alexei Vinidiktov

unread,
Sep 12, 2012, 8:06:05 AM9/12/12
to web...@googlegroups.com
I'm trying to use the new fdb driver for Firebird with web2py 2.0.8 but I'm getting this error when I load a page:

<class 'fdb.fbcore.ProgrammingError'>(Transaction object is not active) 

TRACEBACK


1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.

Traceback (most recent call last):
File "C:\Users\alexei\Dev\web2py\vocabilis.net-2.0.8\gluon\main.py", line 538, in wsgibase
BaseAdapter.close_all_instances('commit')
File "C:\Users\alexei\Dev\web2py\vocabilis.net-2.0.8\gluon\dal.py", line 510, in close_all_instances
getattr(instance, action)()
File "C:\Users\alexei\Dev\web2py\vocabilis.net-2.0.8\gluon\dal.py", line 1618, in commit
return self.connection.commit()
File "C:\Python27\lib\site-packages\fdb\fbcore.py", line 1084, in commit
self._main_transaction.commit(retaining)
File "C:\Python27\lib\site-packages\fdb\fbcore.py", line 2385, in commit
self.__check_active()
File "C:\Python27\lib\site-packages\fdb\fbcore.py", line 2316, in __check_active
raise ProgrammingError("Transaction object is not active")
ProgrammingError: Transaction object is not active
Code listing
2311.
2312.
2313.
2314.
2315.
2316.

2317.
2318.
2319.
2320.
        self._cursors.remove(cursor_ref)
def __get_closed(self):
return self._tr_handle == None
def
__check_active(self):
if self._tr_handle == None:
raise ProgrammingError("Transaction object is not active")

def __con_in_list(self,connection):
for con in self._connections:
if con() == connection:
return True

I have Python 2.7.2 and fdb 0.8.5 on Windows 8 RC.

--
Alexei Vinidiktov

Massimo Di Pierro

unread,
Sep 12, 2012, 8:43:15 AM9/12/12
to web...@googlegroups.com
Please open a ticket about this.

Adrian Marius Popa

unread,
Sep 26, 2012, 9:30:01 AM9/26/12
to web...@googlegroups.com
It might be a fbd driver issue wait for fdb 0.8.6 version ~ next week and test it after that 
 

--
Alexei Vinidiktov

Alexei Vinidiktov

unread,
Sep 27, 2012, 3:41:05 AM9/27/12
to web...@googlegroups.com
OK, thanks. Will wait for and test the next version. 

--
Alexei Vinidiktov

Jose

unread,
Oct 5, 2012, 6:34:16 PM10/5/12
to web...@googlegroups.com
the new version 0.9, solves this problem


 Jose
Reply all
Reply to author
Forward
0 new messages