Hi Gustavo, That is an indentation problem, not your fault, it shipped with 1.0
The following patch will correct that: http://translate.svn.sourceforge.net/viewvc/translate/src/trunk/Pootle/pootle.prefs?r1=5684&r2=5739&view=patch Or you can install 1.0.2 which also corrects a few other issues. On Tue, 2007-11-06 at 12:13 +0100, Gustavo Narea wrote: > Hello, Lars. > > Yes, I modified it, but I've just replaced it with the default file and it's > not working either: > > [my_server]$ PootleServer --prefsfile=pootle/pootle.prefs -p 8080 > 2007-11-06 02:41:41: Listening on port 8080 > 2007-11-06 02:41:41: To use the server, open a web browser at > http://127.0.0.1:8080/ > 2007-11-06 02:41:41: Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/jToolkit/web/simplewebserver.py", > line 613, in getserver > File "/usr/lib/python2.3/site-packages/jToolkit/web/__init__.py", line 160, > in getserverwithprefs > File "/usr/lib/python2.3/site-packages/jToolkit/prefs.py", line 428, in > parsefile > File "/usr/lib/python2.3/site-packages/jToolkit/prefs.py", line 418, in > parse > File "/usr/lib/python2.3/site-packages/jToolkit/prefs.py", line 312, in > handleindents > File "/usr/lib/python2.3/site-packages/jToolkit/sparse.py", line 225, in > raiseerror > ParserError: invalid indentation at line 441, char 9 (token '\n ') > > 2007-11-06 02:41:41: Error initializing server, exiting: invalid indentation > at line 441, char 9 (token '\n ') > > Just in case, you may download the file here: > http://people.gnulinuxmatters.org/gustavo/files/tmp/pootle.prefs.txt > > Thank you, > > - Gustavo. > > On Tuesday 06 November 2007 01:04:03 Lars Kruse wrote: > > Hi, > > > > > I get this error: > > > [my_server]$ PootleServer --prefsfile=pootle/pootle.prefs --port=8080 > > > 2007-11-05 14:40:00: Listening on port 8080 > > > 2007-11-05 14:40:00: To use the server, open a web browser at > > > http://127.0.0.1:8080/ > > > 2007-11-05 14:40:00: Traceback (most recent call last): > > > File > > > "/usr/lib/python2.3/site-packages/jToolkit/web/simplewebserver.py", line > > > 613, in getserver > > > File "/usr/lib/python2.3/site-packages/jToolkit/web/__init__.py", line > > > 160, in getserverwithprefs > > > File "/usr/lib/python2.3/site-packages/jToolkit/prefs.py", line 428, in > > > parsefile > > > File "/usr/lib/python2.3/site-packages/jToolkit/prefs.py", line 418, in > > > parse > > > File "/usr/lib/python2.3/site-packages/jToolkit/prefs.py", line 312, in > > > handleindents > > > File "/usr/lib/python2.3/site-packages/jToolkit/sparse.py", line 225, > > > in raiseerror > > > ParserError: invalid indentation at line 441, char 9 (token '\n ') > > > > > > 2007-11-05 14:40:00: Error initializing server, exiting: invalid > > > indentation at line 441, char 9 (toke n '\n ') > > > > it looks like there is a wrong indentation in your preferences file (e.g. > > /etc/pootle/pootle.prefs or pootle.prefs in your Pootle directory) in line > > 441. > > > > Wrong indentation could mean: > > - mixing tabs and spaces > > - too many/few spaces/tabs in that line (look at the lines above, too) > > > > Did you change the preferences file manually? > > > > L > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Translate-pootle mailing list > > Translate-pootle@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/translate-pootle > > > -- Dwayne Bailey Translate.org.za +27-12-460-1095 (w) +27-83-443-7114 (cell) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle