No. Once I tried to fix this very error copying the content from one language file to other. But the error already existed and keeps happening.
2010/11/8 mdipierro <mdipie...@cs.depaul.edu>: > Did you ever edit the language files without using the web based > interface? > > Somehow these files are getting corrupted and web2py is re-writing > them. > > Massimo > > On Nov 8, 12:18 pm, Carlos Costa <yamandu.co...@gmail.com> wrote: >> Yes. >> >> 2010/11/8 mdipierro <mdipie...@cs.depaul.edu>: >> >> >> >> > Do you have the Mark Hammond wein32 extensions? >> >> > On Nov 8, 12:00 pm, yamandu <yamandu.co...@gmail.com> wrote: >> >> Both! >> >> >> On Nov 8, 2:53 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: >> >> >> > Which problem returned? The cache problem or the language problem? >> >> >> > 1.86.2 or 1.88.3? >> >> >> > On Nov 8, 10:47 am,yamandu<yamandu.co...@gmail.com> wrote: >> >> >> > > OMG! The problem returned. >> >> > > And said this too: >> >> > > ERROR:root:Syntax error in C:\..\applications\anima/languages/pt-br.py >> >> >> > > On Nov 6, 10:07 am, Carlos Costa <yamandu.co...@gmail.com> wrote: >> >> >> > > > I think It´s fine for now. At least it will be more clear to the >> >> > > > developer until discover the cause. >> >> >> > > > 2010/11/6 mdipierro <mdipie...@cs.depaul.edu>: >> >> >> > > > > yes but once and only once, when an upgrade corrupts a cache file. >> >> >> > > > > On Nov 5, 10:01 pm, Carlos Costa <yamandu.co...@gmail.com> wrote: >> >> > > > >> The ticket is good idea but it will pop to the user? >> >> >> > > > >> 2010/11/6 mdipierro <mdipie...@cs.depaul.edu>: >> >> >> > > > >> > Perhaps we can generate a ticket and then delete the file, so >> >> > > > >> > the >> >> > > > >> > ticket happens once. >> >> >> > > > >> > On Nov 5, 9:55 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: >> >> > > > >> >> 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 <yamandu.co...@gmail.com> >> >> > > > >> >> wrote: >> >> >> > > > >> >> > Well, I don´t know exactly. What´s this file exactly for? >> >> >> > > > >> >> > 2010/11/5 mdipierro <mdipie...@cs.depaul.edu>: >> >> >> > > > >> >> > > perhaps when this occurs should delete the file >> >> > > > >> >> > > automatically? Pros? >> >> > > > >> >> > > Cons? >> >> >> > > > >> >> > > On Nov 5, 4:35 pm, Carlos Costa <yamandu.co...@gmail.com> >> >> > > > >> >> > > wrote: >> >> > > > >> >> > >> Looks like it fixed. >> >> > > > >> >> > >> So simple! >> >> > > > >> >> > >> Thanks! >> >> >> > > > >> >> > >> 2010/11/5 mdipierro <mdipie...@cs.depaul.edu>: >> >> >> > > > >> >> > >> > delete it >> >> >> > > > >> >> > >> > C:\...\applications\welcome/cache/cache.shelve >> >> >> > > > >> >> > >> > do you still have the problem? >> >> >> > > > >> >> > >> > On Nov 5, 1:53 pm,yamandu<yamandu.co...@gmail.com> >> >> > > > >> >> > >> > wrote: >> >> > > > >> >> > >> >> I´ve installedwin32extensions. >> >> >> > > > >> >> > >> >> Now I get: >> >> > > > >> >> > >> >> ERROR:web2py.cache:corrupted file: >> >> > > > >> >> > >> >> C:\...\applications\welcome/cache/ >> >> > > > >> >> > >> >> cache.shelve >> >> > > > >> >> > >> >> everytime! >> >> >> > > > >> >> > >> >> On Oct 6, 6:54 pm, mdipierro >> >> > > > >> >> > >> >> <mdipie...@cs.depaul.edu> wrote: >> >> >> > > > >> >> > >> >> > Yes it is somewhere in the manual. >> >> >> > > > >> >> > >> >> > On Oct 6, 3:41 pm, Carlos Costa >> >> > > > >> >> > >> >> > <yamandu.co...@gmail.com> 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 <mdipie...@cs.depaul.edu>: >> >> >> > > > >> >> > >> >> > > > 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<yamandu.co...@gmail.com> 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 >> >> > > > >> >> > >> >> > > >> <mdipie...@cs.depaul.edu> wrote: >> >> >> > > > >> >> > >> >> > > >> > I think I see what the problem is... do you >> >> > > > >> >> > >> >> > > >> > have Mark hammondwin32 >> >> > > > >> >> > >> >> > > >> > extensions installed? >> >> >> > > > >> >> > >> >> > > >> > Massimo >> >> >> > > > >> >> > >> >> > > >> > On Oct 6, >> >> > > > >> >> > >> >> > > >> > 1:13 pm,yamandu<yamandu.co...@gmail.com> >> >> > > > >> >> > >> >> > > >> > 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 >> >> > > > >> >> > >> >> > > >> > > <mdipie...@cs.depaul.edu> 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<yamandu.co...@gmail.com> >> >> > > > >> >> > >> >> > > >> > > > 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! >> >> >> > > > >> --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! -- www.yamachine.com A máquina não para! EL MELECH NEEMAN!