I get
<type 'exceptions.ImportError'> No module named __builtin__
when I copy application perfectly running on Windows from web2py 2.12.3 to
2.14.3.
Did the same with another application without a problem.
Any idea ?
Version
web2py™ Version 2.14.3-stable+timestamp.2016.03.26.23.02.02
Python Python 2.7.9: C:\Dev\web\web2py_win\web2py_2_14_3\web2py.exe
(prefix: C:\Python27)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Traceback (most recent call last):
File "C:\Dev\web\web2py_win\web2py_2_14_3\gluon\restricted.py", line 227, in
restricted
exec ccode in environment
File
"C:/Dev/web/web2py_win/web2py_2_14_3/applications/napno/models/tables.py"
<http://192.168.1.200:8000/admin/edit/napno/models/tables.py>, line 176, in
<module>
format = '%(first_name)s'+' '+'%(last_name)s')
File "C:\Dev\web\web2py_win\web2py_2_14_3\gluon\packages\dal\pydal\base.py",
line 834, in define_table
table = self.lazy_define_table(tablename,*fields,**args)
File "C:\Dev\web\web2py_win\web2py_2_14_3\gluon\packages\dal\pydal\base.py",
line 873, in lazy_define_table
polymodel=polymodel)
File
"C:\Dev\web\web2py_win\web2py_2_14_3\gluon\packages\dal\pydal\adapters\base.py",
line 500, in create_table
sql_fields_old = pickle.load(tfile)
File "C:\Dev\web\web2py_win\web2py_2_14_3\gluon\custom_import.py", line 95,
in custom_importer
return base_importer(pname, globals, locals, fromlist, level)
ImportError: No module named __builtin__
--
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.