Upgraded to 2.10.3-stable+timestamp.2015.04.02.21.42.07 (Running on nginx/1.4.6, Python 2.7.6)
...still having the same problem with record versioning. -Jim On Thursday, April 2, 2015 at 4:37:03 PM UTC-5, Jim S wrote: > > Version 2.10.1-stable+timestamp.2015.04.01.03.27.40 > > I have one table with record versioning turned on. I get the following in > my nginx setup... > > nginx 502 Bad Gateway > > Looking in the nginx log I see: > > 2015/04/02 15:37:13 [error] 1040#0: *67 upstream prematurely closed > connection while reading response header from upstream, client: > 10.10.2.126, server: ss15, request: "POST > /contacts/index/edit/contact/5221?district_id=0&search_text=steil&tag_id=0&_signature=81d4b0ab8a5bf5f05de6ed17c6203596d5883f76 > > HTTP/1.1", upstream: "uwsgi://unix:///tmp/web2py.socket:", host: "ss15", > referrer: " > https://ss15/contacts/index/edit/contact/5221?district_id=0&search_text=steil&tag_id=0&_signature=81d4b0ab8a5bf5f05de6ed17c6203596d5883f76 > " > > If I comment out this line: > > db.contact._enable_record_versioning() > > Then it works fine. > > It works fine on my production server running Version > 2.9.5-stable+timestamp.2014.03.16.02.35.39 > > nginx 1.4.6 on both systems > uwsgi version 2.0.6 on the system that works > uwsgi version 2.0.10 on the system exhibiting the problem > > If I run with the built-in rocket server, I see the same behavior. > > Here is the traceback when running on rocket: > > ERROR:Rocket.Errors.Thread-2:Traceback (most recent call last): > File "C:\prod\web2py\gluon\rocket.py", line 1337, in run > self.run_app(conn) > File "C:\prod\web2py\gluon\rocket.py", line 1838, in run_app > output = self.app(environ, self.start_response) > File "C:\prod\web2py\gluon\main.py", line 652, in app_with_logging > ret[0] = wsgiapp(environ, responder2) > File "C:\prod\web2py\gluon\main.py", line 563, in wsgibase > return wsgibase(new_environ, responder) > File "C:\prod\web2py\gluon\main.py", line 533, in wsgibase > if request.body: > File "C:\prod\web2py\gluon\globals.py", line 268, in body > self._body = copystream_progress(self) > File "C:\prod\web2py\gluon\globals.py", line 125, in copystream_progress > copystream(source, dest, size, chunk_size) > File "C:\prod\web2py\gluon\fileutils.py", line 426, in copystream > data = src.read(size) > > ValueError: I/O operation on closed file > > Please let me know if you need more information to help with this issue. > > -Jim > > > On Wednesday, April 1, 2015 at 11:03:20 AM UTC-5, Massimo Di Pierro wrote: >> >> Please report here upgrading issues to web2py 2.10.2 >> >> from which version? >> which os? >> which python version? >> what is the problem? complete traceback >> > -- 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.