I see the problem. There must have been an error in building the win distribution. This takes me some time so I cannot fix it overnight. Meanwhile, can you run it from source? It should work.
On Jul 28, 4:16 am, Iceberg <iceb...@21cn.com> wrote: > Hi, did anyone who successfully uses web2py_win.zip and your app needs > a cache.disk()? > > I just tried that but encountered following error. I guess the problem > is due to missing dbhash.py in web2py's windows builder. Massimo > please take a look. > > Version 1.81.5 (2010-07-22 23:56:21) > Database drivers available: SQLite3, MySQL > Traceback (most recent call last): > ...... > File "applications\myapp\controllers\default.py", line 62, in loader > time_expire=3600) > File "gluon/cache.py", line 280, in __call__ > File "shelve.pyc", line 225, in open > File "shelve.pyc", line 209, in __init__ > File "anydbm.pyc", line 82, in open > ImportError: No module named dbhash