Please open a ticket about this.
On Wednesday, 12 September 2012 07:06:33 UTC-5, Alexei Vinidiktov wrote:
>
> 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
>
--