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 <[email protected]> wrote:
> Yes.
>
> 2010/11/8 mdipierro <[email protected]>:
>
>
>
> > Do you have the Mark Hammond wein32 extensions?
>
> > On Nov 8, 12:00 pm, yamandu <[email protected]> wrote:
> >> Both!
>
> >> On Nov 8, 2:53 pm, mdipierro <[email protected]> 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<[email protected]> 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 <[email protected]> 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 <[email protected]>:
>
> >> > > > > yes but once and only once, when an upgrade corrupts a cache file.
>
> >> > > > > On Nov 5, 10:01 pm, Carlos Costa <[email protected]> wrote:
> >> > > > >> The ticket is good idea but it will pop to the user?
>
> >> > > > >> 2010/11/6 mdipierro <[email protected]>:
>
> >> > > > >> > Perhaps we can generate a ticket and then delete the file, so 
> >> > > > >> > the
> >> > > > >> > ticket happens once.
>
> >> > > > >> > On Nov 5, 9:55 pm, mdipierro <[email protected]> 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 <[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 installedwin32extensions.
>
> >> > > > >> >> > >> >> 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!
>
> >> > > > >> --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