[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-08 Thread yamandu
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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-08 Thread mdipierro
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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-08 Thread yamandu
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,yamanduyamandu.co...@gmail.com wrote: OMG! The problem returned. And said this too: ERROR:root:Syntax error in

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-08 Thread mdipierro
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 

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-08 Thread Carlos Costa
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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-08 Thread mdipierro
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

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-08 Thread Carlos Costa
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

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-06 Thread Carlos Costa
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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread yamandu
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 mdipie...@cs.depaul.edu wrote: Yes it is somewhere in the manual. On Oct 6, 3:41 pm, Carlos Costa yamandu.co...@gmail.com

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
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 installed win32 extensions. Now I get: ERROR:web2py.cache:corrupted file: C:\...\applications\welcome/cache/ cache.shelve everytime! On

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread Carlos Costa
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 installed win32 extensions. Now I get:

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
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

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread Carlos Costa
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!

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
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

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread Carlos Costa
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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
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,

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
which web2py version? I remember fixing a bug about this months ago. On Oct 6, 11:38 am, yamandu yamandu.co...@gmail.com wrote: Everytime I restart the we2py server my language file become in english again. What may cause this behavior?

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread yamandu
1.86.2 On Oct 6, 1:38 pm, mdipierro mdipie...@cs.depaul.edu wrote: which web2py version? I remember fixing a bug about this months ago. On Oct 6, 11:38 am, yamandu yamandu.co...@gmail.com wrote: Everytime I restart the we2py server my language file become in english again. What may

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread yamandu
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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
I think I see what the problem is... do you have Mark hammond win32 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

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread yamandu
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 hammond win32 extensions installed? Massimo On Oct 6, 1:13 pm, yamandu

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
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,

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread Carlos Costa
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] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
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