It stores the cache.disk (in principle it can be deleted without data
loss). The problem is that if the failure is caused by some other
serious problem, deleting automatically, will hide a problem with
cache.disk.

On Nov 5, 9:52 pm, Carlos Costa <[email protected]> wrote:
> Well, I don´t know exactly. What´s this file exactly for?
>
> 2010/11/5 mdipierro <[email protected]>:
>
>
>
> > perhaps when this occurs should delete the file automatically? Pros?
> > Cons?
>
> > On Nov 5, 4:35 pm, Carlos Costa <[email protected]> wrote:
> >> Looks like it fixed.
> >> So simple!
> >> Thanks!
>
> >> 2010/11/5 mdipierro <[email protected]>:
>
> >> > delete it
>
> >> > C:\...\applications\welcome/cache/cache.shelve
>
> >> > do you still have the problem?
>
> >> > On Nov 5, 1:53 pm, yamandu <[email protected]> wrote:
> >> >> I´ve installed win32 extensions.
>
> >> >> Now I get:
> >> >> ERROR:web2py.cache:corrupted file: C:\...\applications\welcome/cache/
> >> >> cache.shelve
> >> >> everytime!
>
> >> >> On Oct 6, 6:54 pm, mdipierro <[email protected]> wrote:
>
> >> >> > Yes it is somewhere in the manual.
>
> >> >> > On Oct 6, 3:41 pm, Carlos Costa <[email protected]> wrote:
>
> >> >> > > Things make more sense now.
> >> >> > > I always got the message Cron disable because no file locking.
> >> >> > > I had to pass -N argument for it to stop anoying me.
> >> >> > > Is that documented?
>
> >> >> > > Thanks again.
>
> >> >> > > 2010/10/6 mdipierro <[email protected]>:
>
> >> >> > > > If you run web2py from source under windows you need it. If you 
> >> >> > > > use
> >> >> > > > the web2py binary then it comes with it.
>
> >> >> > > > without it you have no file locking and it is possible thet two 
> >> >> > > > web2py
> >> >> > > > threads conflict (one writes a file, another tries to open, fails,
> >> >> > > > overwrites it).
>
> >> >> > > > Massimo
>
> >> >> > > > On Oct 6, 2:07 pm, yamandu <[email protected]> wrote:
> >> >> > > >> Well, I think I never heard of it?
> >> >> > > >> I looked into python help and couldn´t find it.
>
> >> >> > > >> Should I have it?
>
> >> >> > > >> On Oct 6, 3:21 pm, mdipierro <[email protected]> wrote:
>
> >> >> > > >> > I think I see what the problem is... do you have Mark 
> >> >> > > >> > hammondwin32
> >> >> > > >> > extensions installed?
>
> >> >> > > >> > Massimo
>
> >> >> > > >> > On Oct 6, 1:13 pm, yamandu <[email protected]> wrote:
>
> >> >> > > >> > > I am using web2py server in Windows 7.
>
> >> >> > > >> > > The actual file is changed and I have to translate again 
> >> >> > > >> > > (pt-br.py).
>
> >> >> > > >> > > I tried to replicate the situation now but I coud not.
> >> >> > > >> > > Restart the server, restart the editor (thought it could be 
> >> >> > > >> > > problem
> >> >> > > >> > > with SVN plugin).
> >> >> > > >> > > But the problem not ocurred.
> >> >> > > >> > > Maybe if restart the computer!
> >> >> > > >> > > Because it seems to happen once a day and no more, if 
> >> >> > > >> > > remember right.
>
> >> >> > > >> > > On Oct 6, 2:46 pm, mdipierro <[email protected]> wrote:
>
> >> >> > > >> > > > what os are you using? hat web server?
>
> >> >> > > >> > > > you see the translation in english or you find the contect 
> >> >> > > >> > > > of a
> >> >> > > >> > > > languages/xx.py file actually changing?
>
> >> >> > > >> > > > can you send me an example of the languages/xx.py file 
> >> >> > > >> > > > before and
> >> >> > > >> > > > after it gets overwritten?
>
> >> >> > > >> > > > Massimo
>
> >> >> > > >> > > > On Oct 6, 11:38 am, yamandu <[email protected]> 
> >> >> > > >> > > > wrote:
>
> >> >> > > >> > > > > Everytime I restart the we2py server mylanguagefile 
> >> >> > > >> > > > > become in
> >> >> > > >> > > > > english again.
> >> >> > > >> > > > > What may cause this behavior?
>
> >> >> > > --www.yamachine.com
> >> >> > > A máquina não para!
>
> >> >> > > EL MELECH NEEMAN!
>
> >> --www.yamachine.com
> >> A máquina não para!
>
> >> EL MELECH NEEMAN!
>
> --www.yamachine.com
> A máquina não para!
>
> EL MELECH NEEMAN!

Reply via email to