Error 'module' object has no attribute 'Reference_unpickler'

57 views
Skip to first unread message

Ian W. Scott

unread,
Sep 15, 2015, 2:25:13 PM9/15/15
to web2py-users
Hi. I just tried to access the admin/errors/appname page and I got the following error:

<type 'exceptions.AttributeError'> 'module' object has no attribute 'Reference_unpickler'


Traceback (most recent call last):
 
File "/home/ianwscott/webapps/web2py/web2py/gluon/restricted.py", line 227, in restricted
 
exec ccode in environment
 
File "/home/ianwscott/webapps/web2py/web2py/applications/admin/controllers/default.py", line 1969, in <module>
 
File "/home/ianwscott/webapps/web2py/web2py/gluon/globals.py", line 412, in <lambda>
 
self._caller = lambda f: f()
 
File "/home/ianwscott/webapps/web2py/web2py/applications/admin/controllers/default.py", line 1579, in errors
 error
= pickle.load(fullpath_file)
 
File "/usr/local/lib/python2.7/pickle.py", line 1378, in load
 
return Unpickler(file).load()
 
File "/usr/local/lib/python2.7/pickle.py", line 858, in load
 dispatch
[key](self)
 
File "/usr/local/lib/python2.7/pickle.py", line 1090, in load_global
 klass
= self.find_class(module, name)
 
File "/usr/local/lib/python2.7/pickle.py", line 1126, in find_class
 klass
= getattr(mod, name)
AttributeError: 'module' object has no attribute 'Reference_unpickler'

Any suggestions as to what is causing this? I'm using the following version and config:

2.11.2-stable+timestamp.2015.05.30.16.33.24
(Running on Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.9, Python 2.7.9)

Ian W. Scott

unread,
Sep 15, 2015, 2:56:23 PM9/15/15
to web2py-users
Update: I upgraded to 2.12.3-stable and am still having the same issue. But I just checked and I can access the errors page for other apps on the same installation. The issue doesn't seem to be the presence of old error reports created by an earlier web2py version because those other apps have some error reports up to 3 years old. I haven't messed with the error reporting system at all, so I'm not sure why this app would throw the error.

Ian
Reply all
Reply to author
Forward
0 new messages