Good day,
current environment : python 2.7.6.1 and web2py 2.9.11
updating to : python 2.7.6.1 and web2py 2.15.4
Does the older version of python could be creating the following error :
"Value error : insecure string pickle"
Here is the traceback.
Traceback (most recent call last):
File "P:\web2py_2_15\gluon\restricted.py", line 219, in restricted
exec(ccode, environment)
File "P:/web2py_2_15/applications/Batterie/models/db.py", line 51, in
<module>
auth.define_tables(username=False, signature=False)
File "P:\web2py_2_15\gluon\tools.py", line 2216, in define_tables
super(Auth, self).define_tables(username, signature, migrate,
fake_migrate)._table_signature_list
File "P:\web2py_2_15\gluon\authapi.py", line 350, in define_tables
format='%(first_name)s %(last_name)s (%(id)s)'))
File "P:\web2py_2_15\gluon\packages\dal\pydal\base.py", line 587, in
define_table
table = self.lazy_define_table(tablename, *fields, **args)
File "P:\web2py_2_15\gluon\packages\dal\pydal\base.py", line 621, in
lazy_define_table
polymodel=polymodel)
File "P:\web2py_2_15\gluon\packages\dal\pydal\adapters\base.py", line
797, in create_table
return self.migrator.create_table(*args, **kwargs)
File "P:\web2py_2_15\gluon\packages\dal\pydal\migrator.py", line 295, in
create_table
sql_fields_old = pickle.load(tfile)
File "P:\python\PythonDevKey\Portables\Portable Python
2.7.6.1\App\lib\pickle.py", line 1378, in load
return Unpickler(file).load()
File "P:\python\PythonDevKey\Portables\Portable Python
2.7.6.1\App\lib\pickle.py", line 858, in load
dispatch[key](self)
File "P:\python\PythonDevKey\Portables\Portable Python
2.7.6.1\App\lib\pickle.py", line 966, in load_string
raise ValueError, "insecure string pickle"
ValueError: insecure string pickle
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.