Having a similar issue this morning.
OS: windows 10.
Python distribution: Anaconda
Have an older project under version 2.9.11 / 214.09.15.23.35.11 which runs
OK
Have downloaded a fresh copy of web2py from source this morning, and
installed in a freshly created directory (c:\w2p_12 rather than c:\web2py).
Copied the application from the original folder to c:\w2p_12\applications\
Version
web2py™ Version 2.13.4-stable+timestamp.2015.12.26.04.59.39
Python Python 2.7.10: C:\Anaconda\pythonw.exe (prefix: C:\Anaconda)
Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Traceback (most recent call last):
File "C:\w2p_12\gluon\restricted.py", line 227, in restricted
exec ccode in environment
File "C:/w2p_12/applications/csm02_4/models/db_ship.py"
<http://127.0.0.1:8000/admin/default/edit/csm02_4/models/db_ship.py>, line 204,
in <module>
db.charge.id.writable = db.charge.id.readable = False
File "C:\Anaconda\lib\site-packages\pydal\base.py", line 920, in __getattr__
return self.lazy_define_table(tablename, *fields, **args)
File "C:\Anaconda\lib\site-packages\pydal\base.py", line 873, in
lazy_define_table
polymodel=polymodel)
File "C:\Anaconda\lib\site-packages\pydal\adapters\base.py", line 500, in
create_table
sql_fields_old = pickle.load(tfile)
File "C:\w2p_12\gluon\custom_import.py", line 95, in custom_importer
return base_importer(pname, globals, locals, fromlist, level)
ImportError: No module named copy_reg
--
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.