I have updated to the latest version but I'm still getting the error.
I think the error has nothing to do with web2py but with the rocket
webserver. What do you think?
web2py™ Version 1.90.6 (2010-12-20 17:36:54)
Python Python 2.5.2: /usr/bin/python
Traceback (most recent call last):
File "/home/dv/web2py/gluon/main.py", line 382, in wsgibase
parse_get_post_vars(request, environ)
File "/home/dv/web2py/gluon/main.py", line 257, in
parse_get_post_vars
request.body = copystream_progress(request) ### stores request
body
File "/home/deepview/web2py/gluon/main.py", line 130, in
copystream_progress
copystream(source, dest, size, chunk_size)
File "/home/deepview/web2py/gluon/fileutils.py", line 331, in
copystream
data = src.read(chunk_size)
File "/usr/lib/python2.5/socket.py", line 328, in read
data = self._sock.recv(left)
File "/usr/lib/python2.5/site-packages/ssl/__init__.py", line 97, in
<lambda>
self.recv = lambda x, flags=0: SSLSocket.recv(self, x, flags)
File "/usr/lib/python2.5/site-packages/ssl/__init__.py", line 221,
in recv
raise x
SSLError: The read operation timed out
On Dec 20, 6:31 pm, mdipierro <[email protected]> wrote:
> Something very bad happened. That file comes with web2py and is never
> overwritten. It should contain the version.
>
> My advice is backup everything, upgrade to 1.90.6 (posted now), check
> if you can reproduce the error.
>
> Massimo
>
> On Dec 20, 11:21 am, Dan <[email protected]> wrote:
>
>
>
> > ...this file is empty?
>
> > On Dec 20, 3:30 pm, mdipierro <[email protected]> wrote:
>
> > > it is in the file web2py/VERSION
>
> > > On Dec 20, 7:35 am, Dan <[email protected]> wrote:
>
> > > > Hi Massimo,
>
> > > > thanks a lot for your reply.
>
> > > > I can't find the current installed version nummer. My setup is like 4
> > > > month old. The admin area has still the old design.
>
> > > > The system is running on a debian 5 linux system with Python 2.5.2.
>
> > > > Is this a known issue in any version?
>
> > > > Thanks again!
>
> > > > On Dec 20, 9:12 am, mdipierro <[email protected]> wrote:
>
> > > > > Is this with the most recent version or also with the previous
> > > > > version.
>
> > > > > What os?
>
> > > > > massimo
>
> > > > > On Dec 20, 12:46 am, Dan <[email protected]> wrote:
>
> > > > > > Hi,
>
> > > > > > I'm using web2py with the Rocket webserver over SSL. Every now and
> > > > > > than I'm getting this error message when I'm uploading a file. If
> > > > > > I'm
> > > > > > trying to upload the same file some seconds later everything is
> > > > > > working.
>
> > > > > > Any hints on that strange error? Should I migrate to lighttp?
>
> > > > > > Error traceback
> > > > > > Traceback (most recent call last):
> > > > > > File "/home/dv/web2py/gluon/main.py", line 339, in wsgibase
> > > > > > parse_get_post_vars(request, environ)
> > > > > > File "/home/dv/web2py/gluon/main.py", line 222, in
> > > > > > parse_get_post_vars
> > > > > > request.body = copystream_progress(request) ### stores request
> > > > > > body
> > > > > > File "/home/dv/web2py/gluon/main.py", line 95, in
> > > > > > copystream_progress
> > > > > > copystream(source, dest, size, chunk_size)
> > > > > > File "/home/dv/web2py/gluon/fileutils.py", line 304, in copystream
> > > > > > data = src.read(chunk_size)
> > > > > > File "/usr/lib/python2.5/socket.py", line 328, in read
> > > > > > data = self._sock.recv(left)
> > > > > > File "/usr/lib/python2.5/site-packages/ssl/__init__.py", line 97,
> > > > > > in
> > > > > > <lambda>
> > > > > > self.recv = lambda x, flags=0: SSLSocket.recv(self, x, flags)
> > > > > > File "/usr/lib/python2.5/site-packages/ssl/__init__.py", line 221,
> > > > > > in recv
> > > > > > raise x
> > > > > > SSLError: The read operation timed out