On Saturday, July 16, 2016 at 11:54:18 AM UTC-7, Dmitri Ermolaev wrote:
>
> I use 
>
> if not request.env.web2py_runtime_gae:
>     migrate = 0
>     fake_migrate = myconf.take('db.fake_migrate') and True or False
>     migrate = (myconf.take('db.migrate') or migrate) and True or False
>     ## if NOT running on Google App Engine use SQLite or other DB
>     ## folder="../databases"
>     if True or DEVELOP:
>         db = DAL(myconf.take('db.uri_dvp'), check_reserved = ['all'],
>                 fake_migrate = fake_migrate,
>                 migrate = migrate
>                 )
>
>  

> [...]
>
>
> and error :
>
> Traceback (most recent call last):
>   File ".\gluon\main.py", line 482, in wsgibase
>     session._try_store_in_cookie_or_file(request, response)
>   File ".\gluon\globals.py", line 1193, in _try_store_in_cookie_or_file
>     return self._try_store_in_file(request, response)
>   File ".\gluon\globals.py", line 1206, in _try_store_in_file
>     session_folder = os.path.dirname(response.session_filename)
>   File "C:\Python27\lib\ntpath.py", line 205, in dirname
>     return split(p)[0]
>   File "C:\Python27\lib\ntpath.py", line 170, in split
>     d, p = splitdrive(p)
>   File "C:\Python27\lib\ntpath.py", line 125, in splitdrive
>     if p[1:2] == ':':
> TypeError: 'NoneType' object has no attribute '__getitem__'
>
>


This is testing on a Windows system, and not on a GAE instance?

/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