Thanks Derek

I changed the driver to psycopg2 and since then I got no problems. Mariano 
Reingart gave this advice. I would recommend that everybody use psycopg2 in 
deployment.

Thanks.

Em sábado, 5 de abril de 2014 10h13min06s UTC-3, Mobility escreveu:
>
>
> Versionweb2py™Version 2.9.5-stable+timestamp.2014.03.16.02.35.39PythonPython 
> 2.7.5: /usr/bin/python (prefix: 
> /System/Library/Frameworks/Python.framework/Versions/2.7)Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
> 14.
> 15.
> 16.
> 17.
> 18.
> 19.
> 20.
> 21.
> 22.
> 23.
> 24.
> 25.
> 26.
> 27.
>
> Traceback (most recent call last):
>   File "/Library/Server/web2py/gluon/main.py", line 539, in wsgibase
>     BaseAdapter.close_all_instances('rollback')
>   File "/Library/Server/web2py/gluon/dal.py", line 600, in close_all_instances
>     db._adapter.close(action)
>   File "/Library/Server/web2py/gluon/dal.py", line 580, in close
>     getattr(self, action)()
>   File "/Library/Server/web2py/gluon/dal.py", line 1923, in rollback
>     return self.connection.rollback()
>   File "/Library/Server/web2py/gluon/contrib/pg8000/dbapi.py", line 455, in 
> _fn
>     return fn(self, *args, **kwargs)
>   File "/Library/Server/web2py/gluon/contrib/pg8000/dbapi.py", line 551, in 
> rollback
>     self.conn.rollback()
>   File "/Library/Server/web2py/gluon/contrib/pg8000/interface.py", line 622, 
> in rollback
>     self._rollback.execute()
>   File "/Library/Server/web2py/gluon/contrib/pg8000/interface.py", line 166, 
> in execute
>     self.c.close_portal(self._portal_name)
>   File "/Library/Server/web2py/gluon/contrib/pg8000/protocol.py", line 1326, 
> in close_portal
>     reader.handle_messages()
>   File "/Library/Server/web2py/gluon/contrib/pg8000/protocol.py", line 906, 
> in handle_messages
>     msg = self._conn._read_message()
>   File "/Library/Server/web2py/gluon/contrib/pg8000/protocol.py", line 1033, 
> in _read_message
>     bytes = self._read_bytes(5)
>   File "/Library/Server/web2py/gluon/contrib/pg8000/protocol.py", line 1021, 
> in _read_bytes
>     self._sock_buf = self._sock.recv(1024)
> timeout: timed out
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to