Downloaded web2py src, 2.9.12, and extracted to a folder. Am on Windows 8.1
Added an existing application in it to check if it works. I see this error.
Have cleared up the cache, sessions, etc.

web2py™Version 2.9.12-stable+timestamp.2015.01.17.06.11.03PythonPython 2.7.9
: D:\programs\open\python27\python.exe (prefix: D:\programs\open\python27)
Traceback (most recent call last):
  File 
"C:\Users\subbaraman\Downloads\web2py_src_001\web2py\gluon\restricted.py", 
line 224, in restricted
    exec ccode in environment
  File 
"C:\Users\subbaraman\Downloads\web2py_src_001\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 
"C:\Users\subbaraman\Downloads\web2py_src_001\web2py\gluon\dal\objects.py", 
line 2066, in select
    return adapter.select(self.query,fields,attributes)
  File 
"C:\Users\subbaraman\Downloads\web2py_src_001\web2py\gluon\dal\adapters\base.py"
, line 1230, in select
    time_expire)
  File "C:\Users\subbaraman\Downloads\web2py_src_001\web2py\gluon\cache.py", 
line 417, in __call__
    self.storage[key] = (now, value)
  File "C:\Users\subbaraman\Downloads\web2py_src_001\web2py\gluon\cache.py", 
line 324, in __setitem__
    self.replace(tmp_path, fullfilename)
  File "C:\Users\subbaraman\Downloads\web2py_src_001\web2py\gluon\cache.py", 
line 286, in replace_windows
    os.rename(src, dst)
WindowsError: [Error 3] The system cannot find the path specified

Some more details:
def replace_windows(src, dst):
    if not ReplaceFile(dst, src, None, 0, 0, 0):
        os.rename(src, dst) <--- this code is highlighted as the point where 
error is throw

Variables
src     r
'C:\Users\subbaraman\Downloads\web2py_src_001\web2py\applications\my_app\cache\tmpkjuyyo'
dst     r
'C:\Users\subbaraman\Downloads\web2py_src_001\web...FEBLUQRKSIUQCQ2LOON2GS5DVORSS42LEEA7CAMBJHM======'
os.rename     <built-in function rename>
global os     <module 'os' from 'D:\programs\open\python27\lib\os.pyc'>

Any suggestions?


-- 
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