On Monday, March 28, 2016 at 2:52:02 AM UTC-7, rif wrote:
>
> After a long while of not updating one app running on gae I tried 2.14.3 
> and I have the error below. Can anyone suggest a fix?
>
> Thanks,
> -rif
>
>  Unable to store in FILE: 
> /base/data/home/apps/s~firmoasa/11.391689743844727003/applications/firmoasa/models/db.py
>
> Traceback (most recent call last):
>   File 
> "/base/data/home/apps/s~firmoasa/11.391689743844727003/gluon/restricted.py", 
> line 227, in restricted
>     exec ccode in environment
>   File 
> "/base/data/home/apps/s~firmoasa/11.391689743844727003/applications/firmoasa/models/db.py",
>  line 15, in <module>
>     session.connect(request, response, db = db)
>   File 
> "/base/data/home/apps/s~firmoasa/11.391689743844727003/gluon/globals.py", 
> line 935, in connect
>     session_data = pickle.loads(row.session_data)
>   File 
> "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/pickle.py", 
> line 1382, in loads
>     return Unpickler(file).load()
>   File 
> "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/pickle.py", 
> line 858, in load
>     dispatch[key](self)
>   File 
> "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/pickle.py", 
> line 1090, in load_global
>     klass = self.find_class(module, name)
>   File 
> "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/pickle.py", 
> line 1124, in find_class
>     __import__(module)
>   File 
> "/base/data/home/apps/s~firmoasa/11.391689743844727003/gluon/custom_import.py",
>  line 108, in custom_importer
>     return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
> ImportError: No module named objects
>
>

Reminds me of my problem last week.  I missed copying the application level 
__init__.py and that broke imports of modules.   Your traceback looks 
different from mine (I had an explicit import, for instance), but it is 
something to double check.

/dps

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to