This is strange because the folder should be created by web2py.
Anybody else having a similar problem?

On Sunday, 31 May 2015 00:49:19 UTC-5, 黄祥 wrote:
>
> just tested the newest version it seems that cache folder is very 
> important directory (not found any explaination about this on book)
> e.g.
> *Pack All*
> internal error: [Error 3] The system cannot find the path specified: 
> 'C:/web2py/applications/test/cache/cache'
>
> *Clean*
> Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
> 14.
> 15.
> 16.
>
> Traceback (most recent call last):
>   File "C:\web2py\gluon\restricted.py", line 227, in restricted
>     exec ccode in environment
>   File "C:/web2py/applications/admin/controllers/default.py" 
> <https://127.0.0.1/admin/default/edit/admin/controllers/default.py>, line 
> 1945, in <module>
>   File "C:\web2py\gluon\globals.py", line 412, in <lambda>
>     self._caller = lambda f: f()
>   File "C:/web2py/applications/admin/controllers/default.py" 
> <https://127.0.0.1/admin/default/edit/admin/controllers/default.py>, line 
> 448, in cleanup
>     clean = app_cleanup(app, request)
>   File "C:\web2py\gluon\admin.py", line 122, in app_cleanup
>     CacheOnDisk(folder=path).clear()
>   File "C:\web2py\gluon\cache.py", line 492, in clear
>     self.initialize()
>   File "C:\web2py\gluon\cache.py", line 439, in initialize
>     os.mkdir(folder)
> WindowsError: [Error 3] The system cannot find the path specified: 
> 'C:/web2py/applications/test/cache/cache'
>
>
> the problem is in the scaffolding app don't have cache folder, but never 
> mind, i can create it manually, but the strange things is, i'm trying to 
> remove the folder one by one e.g. controllers, models, modules, views, 
> private, etc. but when trying to do clean or pack application, it still can 
> do (as long as the cache folders is still there). so i assume, that in the 
> newest version the cache folder is very important rather than other 
> folders. any explaination about this?
>
> thanks and best regards,
> stifan
>

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

Reply via email to