What web2py version? This was an old problem where the ticket was trying to pickle a helper into an error file and the helper was not pickleable for some reason. I believe this was fixed in a recent stable version.
On Sunday, 31 March 2013 22:36:24 UTC-5, Joe Barnhart wrote: > > Sorry to surface such an old thread, but I'm having this exact problem > right now. It is clearly something data dependent, since this web2py > system has performed flawlessly for a long time. I can't help thinking its > something related to my "compiling" and "uncompiling" the application one > time when the process failed, and I had to remove the "compiled" directory > manually. Ever since, I've had this error when I try to look at ANY error > tickets. Bizarre. Here's a sample of my stack at failure: > > Traceback (most recent call last): > File "/var/www/web2py/gluon/restricted.py", line 212, in restricted > exec ccode in environment > File "/var/www/web2py/applications/admin/controllers/default.py" > <http://localhost:8080/admin/default/edit/admin/controllers/default.py>, line > 1782, in <module> > File "/var/www/web2py/gluon/globals.py", line 194, in <lambda> > self._caller = lambda f: f() > File "/var/www/web2py/applications/admin/controllers/default.py" > <http://localhost:8080/admin/default/edit/admin/controllers/default.py>, line > 1412, in errors > error = pickle.load(fullpath_file) > File "/usr/lib/python2.6/pickle.py", line 1370, in load > return Unpickler(file).load() > File "/usr/lib/python2.6/pickle.py", line 858, in load > dispatch[key](self) > File "/usr/lib/python2.6/pickle.py", line 1215, in load_build > setstate = getattr(inst, "__setstate__", None) > File "/var/www/web2py/gluon/html.py", line 604, in __getattr__ > return getattr(str(self), name) > File "/var/www/web2py/gluon/html.py", line 589, in __str__ > return self.xml() > File "/var/www/web2py/gluon/html.py", line 586, in xml > return self.text > File "/var/www/web2py/gluon/html.py", line 604, in __getattr__ > return getattr(str(self), name) > File "/var/www/web2py/gluon/html.py", line 589, in __str__ > > ... wash, rince, repeat... > > > > On Tuesday, October 23, 2012 1:07:05 PM UTC-7, Marin Pranjić wrote: >> >> I was trying to read the tickets. >> >> <type 'exceptions.RuntimeError'> maximum recursion depth exceeded >> >> >> (2, 2, 1, datetime.datetime(2012, 10, 21, 10, 54, 10), 'stable') >> >> >> Traceback (most recent call last): >> File "/home/www-data/web2py/gluon/restricted.py", line 212, in restricted >> exec ccode in environment >> File "/home/www-data/web2py/applications/admin/controllers/default.py" >> <https://interestid.com/admin/default/edit/admin/controllers/default.py>, >> line 1775, in <module> >> File "/home/www-data/web2py/gluon/globals.py", line 188, in <lambda> >> self._caller = lambda f: f() >> File "/home/www-data/web2py/applications/admin/controllers/default.py" >> <https://interestid.com/admin/default/edit/admin/controllers/default.py>, >> line 1401, in errors >> error = pickle.load(fullpath_file) >> File "/usr/lib/python2.7/pickle.py", line 1378, in load >> return Unpickler(file).load() >> File "/usr/lib/python2.7/pickle.py", line 858, in load >> dispatch[key](self) >> File "/usr/lib/python2.7/pickle.py", line 1215, in load_build >> setstate = getattr(inst, "__setstate__", None) >> File "/home/www-data/web2py/gluon/html.py", line 600, in __getattr__ >> return getattr(str(self), name) >> File "/home/www-data/web2py/gluon/html.py", line 585, in __str__ >> return self.xml() >> File "/home/www-data/web2py/gluon/html.py", line 582, in xml >> >> >> Note: last three lines repeat (600, 585, 582, 600, 585, 582, 600...) >> >> -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

