The code in this traceback has nothing to do with postgresql but is
related to reading data from the socket.
What is the code that causes the problem?

On Oct 17, 9:30 am, Manuele <[email protected]> wrote:
> Hi *,
> I cannot understand why the same function if run with mysql gives me the
> subsequent error while it works fine with postgres. The controller
> function uploads in db from an xls file a huge numbre of record.
> Heve you got something to suggest maybe about the db connection options
> to use?
>
> Traceback (most recent call last):
>    File "/data/www/meteoproject_all/web2py-1.99.2/gluon/main.py", line
> 444, in wsgibase
>      parse_get_post_vars(request, environ)
>    File "/data/www/meteoproject_all/web2py-1.99.2/gluon/main.py", line
> 277, in parse_get_post_vars
>      request.body = copystream_progress(request) ### stores request body
>    File "/data/www/meteoproject_all/web2py-1.99.2/gluon/main.py", line
> 145, in copystream_progress
>      copystream(source, dest, size, chunk_size)
>    File "/data/www/meteoproject_all/web2py-1.99.2/gluon/fileutils.py",
> line 376, in copystream
>      data = src.read(chunk_size)
>    File "/usr/lib64/python2.6/socket.py", line 353, in read
>      data = self._sock.recv(left)
> timeout: timed out
>
> thanks a lot
>
>      Manuele

Reply via email to