Hi,
I had an existing application running on web2py 2.9.5, python 2.7.5,
Windows 8.1. Uses postgres db 9.3
Just upgraded web2py, via the admin console, to 2.9.11
Went ahead and "clean"ed the application via the admin console.
When I try to open (as in successfully login, and then view the index page)
the app, I see this error:
<type 'exceptions.WindowsError'> [Error 123] The filename, directory name,
or volume label syntax is incorrect:
'd:\\programs\\open\\web2py\\applications\\my_app\\cache\\1df\\16b\\postgres:'
Version
web2py™ Version 2.9.11-stable+timestamp.2014.09.15.23.35.11
Python Python 2.7.5: D:\programs\open\python27\python.exe (prefix:
D:\programs\open\python27)
Traceback
Traceback (most recent call last):
File "d:\programs\open\web2py\gluon\restricted.py", line 224, in
restricted
exec ccode in environment
File
"d:\programs\open\web2py\applications\my_app\views\default/index.html",
line 149, in <module>
File "applications\my_app\modules\userdata.py", line 177, in
get_cities_filter
update_cities_filter()
File "applications\my_app\modules\userdata.py", line 286, in
update_cities_filter
filter_rows = _get_cities_filter_from_db()
File "applications\my_app\modules\userdata.py", line 340, in
_get_cities_filter_from_db
return db(db.institute.id >
0).select(db.institute.permanent_city_or_town, distinct=True,
**cache_settings)
File "d:\programs\open\web2py\gluon\dal.py", line 10749, in select
return adapter.select(self.query, fields, attributes)
File "d:\programs\open\web2py\gluon\dal.py", line 1879, in select
time_expire)
File "d:\programs\open\web2py\gluon\cache.py", line 385, in __call__
self.storage[key] = (now, value)
File "d:\programs\open\web2py\gluon\cache.py", line 300, in __setitem__
os.makedirs(os.path.dirname(fullfilename))
File "D:\programs\open\python27\lib\os.py", line 150, in makedirs
makedirs(head, mode)
File "D:\programs\open\python27\lib\os.py", line 150, in makedirs
makedirs(head, mode)
File "D:\programs\open\python27\lib\os.py", line 157, in makedirs
mkdir(name, mode)
WindowsError: [Error 123] The filename, directory name, or volume label
syntax is incorrect:
'd:\\programs\\open\\web2py\\applications\\my_app\\cache\\1df\\16b\\postgres:'
I wasn't sure why the "postgres:" directory was being created?
Any ideas on how I can go ahead and sort this out / debug it?
--
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.