I am hosting my Web2py app on PA and have an issue that web2py comes with an error when importing copy_reg which web2py apparently needs. In previous versions this was no issue. I can import copy_reg from the python2.7 prompt.
The trace back is as follows: Traceback (most recent call last):
File "/home/richdijk/web2py/gluon/restricted.py", line 220, in restricted
exec ccode in environment
File "/home/richdijk/web2py/applications/im/models/db.py", line 78, in <module>
auth.define_tables(username=False, signature=False)
File "/home/richdijk/web2py/gluon/tools.py", line 1784, in define_tables
format='%(first_name)s %(last_name)s (%(id)s)'))
File "/home/richdijk/web2py/gluon/dal.py", line 8223, in define_table
table = self.lazy_define_table(tablename,*fields,**args)
File "/home/richdijk/web2py/gluon/dal.py", line 8260, in lazy_define_table
polymodel=polymodel)
File "/home/richdijk/web2py/gluon/dal.py", line 1122, in create_table
sql_fields_old = pickle.load(tfile)
File "/home/richdijk/web2py/gluon/custom_import.py", line 92, in custom_importer
return base_importer(pname, globals, locals, fromlist, level)
ImportError: No module named copy_reg
Does anybody have a resolution for this? Thank you
btw, I try to use the web2py debugger for checking import of copy_reg from the web2py console, but the debugger seems to 'hang' . Should it work?