Re: [translate-pootle] Pootle 1.2 not starting

2008-10-22 Thread Olaf
F Wolff wrote:
> My guess is that there is a problem in pootle.prefs with the "languages"
> section - just compare your indentation with the default file
> distributed with the software.
> 
You are good at guessing. I went through the file again and restored all 
indents. May I say that Python seems to be a pretty weird language? 
Anyway, thanks to your good guesswork Pootle is starting again and I can 
now go on to the proxy part...

Thanks!

Regards,

Olaf

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle 1.2 not starting

2008-10-22 Thread F Wolff
On Wo, 2008-10-22 at 17:27 +0800, dl7und wrote:
> >Check the file syntax of pootle.prefs with specific attention to the
> >indentation around line 31. If your file is still similar to the one
> >distributed with the software, my guess is you have a tab or some
> extra
> >spaces before '  title = "Pootle" '
> >
> >I hope that helps.
> >
> It did indeed, thanks! I was always wondering where that mysterious
> syntax problem should be, because it was not really obvious from the
> error message. Yes, I deleted leading spaces from a number of settings
> and now got another error, which probably not points to pootle.prefs:
> 
> AttributeError: 'super' object has no attribute 'languages'
> 
> 2008-10-22 17:18:08: Error initializing server, exiting: 'super'
> object has no attribute 'languages'
> 
> And again I'm clueless...
> 
> Regards,
> 
> Olaf

If you are able to provide some more debugging information, it will help
a lot to pinpoint the issue. Please see this page for instructions:
http://translate.sourceforge.net/wiki/pootle/tracebacks

My guess is that there is a problem in pootle.prefs with the "languages"
section - just compare your indentation with the default file
distributed with the software.

Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle 1.2 not starting

2008-10-22 Thread dl7und
>Check the file syntax of pootle.prefs with specific attention to the
>indentation around line 31. If your file is still similar to the one
>distributed with the software, my guess is you have a tab or some extra
>spaces before '  title = "Pootle" '
>
>I hope that helps.
>
It did indeed, thanks! I was always wondering where that mysterious syntax 
problem should be, because it was not really obvious from the error message. 
Yes, I deleted leading spaces from a number of settings and now got another 
error, which probably not points to pootle.prefs:

AttributeError: 'super' object has no attribute 'languages'

2008-10-22 17:18:08: Error initializing server, exiting: 'super' object has no 
attribute 'languages'

And again I'm clueless...

Regards,

Olaf

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle 1.2 not starting

2008-10-22 Thread F Wolff
On Wo, 2008-10-22 at 14:55 +0800, dl7und wrote:
> Hi,
> 
> I am trying something similar to what Michelle is just doing, and I
> too ran into a few problems: I installed Pootle 1.2, translate-toolkit
> 1.2 and jtoolkit 0.7.8 into a user webspace.
> 
> Unfortunately, this is a virtual account, so I have not found a way to
> export paths automagically (.bashrc) each time I log in. Another
> problem is that according to the docs, I need to start PootleServer by
> hand, which is not very convenient when the server gets rebooted.

I agree that the current setup is not ideal. As mentioned to Michelle,
an improvement is in the pipeline.

> 
> But my current main problem is: I got Pootle started once, modified
> pootle.prefs and then I got this error, which seems pretty unrelated,
> but does not go away:
...

> 2008-10-22 14:41:22: Error initializing server, exiting: indent
> without preceding : at line 31, char 35 (token indent(1))
> 
> Does anyone have an idea what is going on here and how to get this
> fixed? I must admit I don't know anything about Python...
> 
> Regards,
> 
> Olaf

Check the file syntax of pootle.prefs with specific attention to the
indentation around line 31. If your file is still similar to the one
distributed with the software, my guess is you have a tab or some extra
spaces before '  title = "Pootle" '

I hope that helps.

Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


[translate-pootle] Pootle 1.2 not starting

2008-10-21 Thread dl7und
Hi,

I am trying something similar to what Michelle is just doing, and I too ran 
into a few problems: I installed Pootle 1.2, translate-toolkit 1.2 and jtoolkit 
0.7.8 into a user webspace.

Unfortunately, this is a virtual account, so I have not found a way to export 
paths automagically (.bashrc) each time I log in. Another problem is that 
according to the docs, I need to start PootleServer by hand, which is not very 
convenient when the server gets rebooted.

But my current main problem is: I got Pootle started once, modified 
pootle.prefs and then I got this error, which seems pretty unrelated, but does 
not go away:

2008-10-22 14:41:22: Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/jToolkit/web/simplewebserver.py", line 
613, in getserver
  File "/usr/lib/python2.5/site-packages/jToolkit/web/__init__.py", line 160, 
in getserverwithprefs
  File "/usr/lib/python2.5/site-packages/jToolkit/prefs.py", line 428, in 
parsefile
  File "/usr/lib/python2.5/site-packages/jToolkit/prefs.py", line 419, in parse
  File "/usr/lib/python2.5/site-packages/jToolkit/prefs.py", line 356, in 
parseassignments
  File "/usr/lib/python2.5/site-packages/jToolkit/sparse.py", line 225, in 
raiseerror
ParserError: indent without preceding : at line 31, char 35 (token indent(1))

2008-10-22 14:41:22: Error initializing server, exiting: indent without 
preceding : at line 31, char 35 (token indent(1))

Does anyone have an idea what is going on here and how to get this fixed? I 
must admit I don't know anything about Python...

Regards,

Olaf

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle