Well, as it turns out, the src and dst file names were hitting a Windows 
specific 256 character limit. This was the issue: 
http://stackoverflow.com/a/23230380/348142
The fix is to introduce the following code (or something more refined):
*cache.py Line: 286*
windows_prefix = "\\\\?\\"
os.rename(windows_prefix+src, windows_prefix+dst)

I do not know where else this sort of code needs to be introduced. 
Also, will see if I can issue a pull-request (haven't tried to unit-test 
web2py with this fix; need to understand that process before issuing a 
pull-request)



On Tuesday, January 20, 2015 at 1:22:56 AM UTC+5:30, Leonel Câmara wrote:
>
> You did spot a bug in admin as that needs to be changed from os.unlink to 
> recursive_unlink I will make a pull request with the fix.
>
> However, manually deleting the cache folder should have solved your 
> problem. I will keep trying to reproduce your problem as it's hard to solve 
> it if I can't.
>

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