Auch this is a major problem. It is a breakage of backward
compatibility due to one of the new functions. Back to work....

On Oct 29, 5:19 pm, Wes James <compte...@gmail.com> wrote:
> I've been having problems with t3 with 1.69.1 using sqlite and
> postgres.  With sqlite I get this when logging in to t3 wiki
>
> Traceback (most recent call last):
>   File "gluon/main.py", line 440, in wsgibase
>     session._try_store_on_disk(request, response)
>   File "gluon/globals.py", line 368, in _try_store_on_disk
>     cPickle.dump(dict(self), response.session_file)
>   File "/usr/local2/lib/python2.5/copy_reg.py", line 73, in _reduce_ex
>     getstate = self.__getstate__
>   File "gluon/sql.py", line 1295, in __getattr__
>     self.__allocate()
>   File "gluon/sql.py", line 1291, in __allocate
>     self._record=self._table[int(self)]
>   File "gluon/sql.py", line 1387, in __getitem__
>     return self._db(self.id == key).select().first()
>   File "gluon/sql.py", line 2789, in select
>     r = response(query)
>   File "gluon/sql.py", line 2784, in response
>     self._db._execute(query)
>   File "gluon/sql.py", line 775, in <lambda>
>     self._execute = lambda *a, **b: self._cursor.execute(*a, **b)
> ProgrammingError: Cannot operate on a closed database.
>
> With postgres I get this after logging in to t3 wiki:
>
> Traceback (most recent call last):
>   File "/Volumes/qlRAID/opt/web2py/gluon/main.py", line 440, in wsgibase
>     session._try_store_on_disk(request, response)
>   File "/Volumes/qlRAID/opt/web2py/gluon/globals.py", line 368, in
> _try_store_on_disk
>     cPickle.dump(dict(self), response.session_file)
>   File "/usr/local2/lib/python2.5/copy_reg.py", line 73, in _reduce_ex
>     getstate = self.__getstate__
>   File "/Volumes/qlRAID/opt/web2py/gluon/sql.py", line 1295, in __getattr__
>     self.__allocate()
>   File "/Volumes/qlRAID/opt/web2py/gluon/sql.py", line 1291, in __allocate
>     self._record=self._table[int(self)]
>   File "/Volumes/qlRAID/opt/web2py/gluon/sql.py", line 1387, in __getitem__
>     return self._db(self.id == key).select().first()
>   File "/Volumes/qlRAID/opt/web2py/gluon/sql.py", line 2789, in select
>     r = response(query)
>   File "/Volumes/qlRAID/opt/web2py/gluon/sql.py", line 2784, in response
>     self._db._execute(query)
>   File "/Volumes/qlRAID/opt/web2py/gluon/sql.py", line 838, in <lambda>
>     self._execute = lambda *a, **b: self._cursor.execute(*a, **b)
> InterfaceError: cursor already closed
>
> I went back to 1.68.1 and these work fine again.  I can run the app
> and do searches, but as soon as I try to log in I get the above
> errors.
>
> thx,
>
> -wes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to