Op So, 2009-04-19 om 15:26 +0200 skryf Michelle Konzack: > Hello, Hallo Michelle
> I have setup two init files > > /etc/init.d/pootly_debian > /etc/init.d/pootly_tdwave > > and the first one use the directory > /Webspace2/CONFIG_pootle.debian.tamay-dogan.net/.pootle/ > and the second one > /Webspace1/CONFIG_pootle.tdwave.net/.pootle/ > > If I start only ONE of them, I can access it on: > > <http://pootle.debian.tamay-dogan.net:8080/> > or > <http://pootle.tdwave.net:8888/> > > but not all two together. > > How can I solve this? > > The log from the first one is: > > ----[ '/Webspace2/CONFIG_pootle.debian.tamay-dogan.net/.pootle/pootle.log' ]-- > /var/lib/python-support/python2.5/jToolkit/data/dates.py:27: > DeprecationWarning: The sre module is deprecated, please import re. > import sre > Python-Levenshtein not found. Continuing with built-in (slower) fuzzy > matching. > 2009-04-19 13:47:27: Listening on port 8080 > 2009-04-19 13:47:27: To use the server, open a web browser at > http://127.0.0.1:8080/ > 2009-04-19 15:08:18: 82.113.121.154 - - [19/Apr/2009 15:08:18] "GET / > HTTP/1.1" 200 - > > 2009-04-19 15:08:20: 82.113.121.154 - - [19/Apr/2009 15:08:20] "GET > /pootle/pootle.css HTTP/1.1" 200 - > > 2009-04-19 15:08:20: 82.113.121.154 - - [19/Apr/2009 15:08:20] "GET > /pootle/images/person.png HTTP/1.1" 200 - > > 2009-04-19 15:08:20: 82.113.121.154 - - [19/Apr/2009 15:08:20] "GET > /pootle/images/gradient.png HTTP/1.1" 200 - > > 2009-04-19 15:08:20: 82.113.121.154 - - [19/Apr/2009 15:08:20] "GET > /pootle/images/pootle-medium.png HTTP/1.1" 200 - > > ------------------------------------------------------------------------ > > and from the second: > > ----[ '/Webspace1/CONFIG_pootle.tdwave.net/.pootle/pootle.log' ]-------- > /var/lib/python-support/python2.5/jToolkit/data/dates.py:27: > DeprecationWarning: The sre module is deprecated, please import re. > import sre > Python-Levenshtein not found. Continuing with built-in (slower) fuzzy > matching. > 2009-04-19 13:47:46: Listening on port 8888 > 2009-04-19 13:47:46: To use the server, open a web browser at > http://127.0.0.1:8888/ > 2009-04-19 13:47:47: Traceback (most recent call last): > File "/var/lib/python-support/python2.5/jToolkit/web/simplewebserver.py", > line 613, in getserver > server = getserverwithprefs(options.prefsfile, options.instance, httpd) > File "/var/lib/python-support/python2.5/jToolkit/web/__init__.py", line > 160, in getserverwithprefs > serverprefs.parsefile(prefsfile) > File "/var/lib/python-support/python2.5/jToolkit/prefs.py", line 428, in > parsefile > self.parse(contents) > File "/var/lib/python-support/python2.5/jToolkit/prefs.py", line 419, in > parse > self.parseassignments() > File "/var/lib/python-support/python2.5/jToolkit/prefs.py", line 401, in > parseassignments > self.raiseerror("I don't know how to parse that here", tokennum) > File "/var/lib/python-support/python2.5/jToolkit/sparse.py", line 225, in > raiseerror > raise ParserError(self, message, tokennum) > ParserError: I don't know how to parse that here at line 107, char 3 (token > 'languages') > > 2009-04-19 13:47:47: Error initializing server, exiting: I don't know how to > parse that here at line 107, char 3 (token 'languages') Do these two servers share any prefs files? (pootle.prefs or users.prefs) Do they share any part of the PO directory where the files are? It seems that the one of the prefs files for the second file is in an invalid format while it is being read (as it mentions, close to line 107). We'll have to find out why it works if started on its own. What does the log of the second server look like if it is started on its own? I hope we sort this out soon. Keep well Friedel -- Recently on my blog: http://translate.org.za/blogs/friedel/en/content/monolingual-translation-formats-considered-harmful ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle