Can you run PootleServer --version - so that we can see what versions
are running in that instance.

Also do you have your own pootle.prefs file or are you running against
the installed version ie are you simpley running:

PootleServer

or

PootleServer --prefsfile=pootle.prefs

Can you try copy pootle.prefs to a local directory and see if that
solves the problem you see.

On Sun, 2006-07-09 at 20:43 -0300, Eduardo Trápani wrote:
> I installed pootle from source, both Pootle-0.7a2.20060601 and 
> Pootle-0.9 using jToolkit-0.7.8 and translate-toolkit-0.9 on python 
> 2.3.5 (debian).
> 
> In both cases the server seems to start ok, but when I try to visit 
> localhost:8080 I get this error:
> 
> Error handling request from ('127.0.0.1', 49386): ValueError: Unexpected 
> page type: <type 'instance'>
> 
> Below is the full log, maybe there is something there that can help you 
> put your finger on the problem.  I don't know what could be wrong ...  I 
> tried to change locales to get rid of the "language 'en'" error, 
> unsucessfully.  Then I simply forced the language to None but even 
> though that error is gone, I still get the "unexpected page type".
> 
> Thanks, Eduardo.
> 
> 2006-07-09 20:05:42: Listening on port 8080
> 2006-07-09 20:05:42: To use the server, open a web browser at 
> http://127.0.0.1:8080/
> 2006-07-09 20:06:35: Could not get translation for language 'en'
> 2006-07-09 20:06:35: Error handling request from ('127.0.0.1', 49386): 
> ValueError: Unexpected page type: <type 'instance'>
> 
> 2006-07-09 20:06:35: Traceback follows:
> Traceback (most recent call last):
>    File "/usr/lib/python2.4/SocketServer.py", line 222, in handle_request
>      self.process_request(request, client_address)
>    File "/usr/lib/python2.4/SocketServer.py", line 241, in process_request
>      self.finish_request(request, client_address)
>    File "/usr/lib/python2.4/SocketServer.py", line 254, in finish_request
>      self.RequestHandlerClass(request, client_address, self)
>    File 
> "/usr/lib/python2.4/site-packages/jToolkit/web/simplewebserver.py", line 
> 73, in __init__
>    File "/usr/lib/python2.4/SocketServer.py", line 521, in __init__
>      self.handle()
>    File "/usr/lib/python2.4/BaseHTTPServer.py", line 314, in handle
>      self.handle_one_request()
>    File "/usr/lib/python2.4/BaseHTTPServer.py", line 308, in 
> handle_one_request
>      method()
>    File 
> "/usr/lib/python2.4/site-packages/jToolkit/web/simplewebserver.py", line 
> 241, in do_GET
>    File 
> "/usr/lib/python2.4/site-packages/jToolkit/web/simplewebserver.py", line 
> 194, in serve_request
>    File 
> "/usr/lib/python2.4/site-packages/jToolkit/web/simplewebserver.py", line 
> 222, in sendpage
>    File 
> "/usr/lib/python2.4/site-packages/jToolkit/web/simplewebserver.py", line 
> 441, in sendpage
>    File 
> "/usr/lib/python2.4/site-packages/jToolkit/web/templateserver.py", 
> line139, in sendpage
>    File "/usr/lib/python2.4/site-packages/jToolkit/web/server.py", line 
> 360, insendpage
> ValueError: Unexpected page type: <type 'instance'>
> 
> 2006-07-09 20:06:35: Could not get translation for language 'en'
> 2006-07-09 20:06:35: 127.0.0.1 - - [09/Jul/2006 20:06:35] "GET 
> /favicon.ico HTTP/1.1" 200 -
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Translate-pootle mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/translate-pootle
-- 
Dwayne Bailey
Translate.org.za

+27-12-460-1095 (w)
+27-83-443-7114 (cell)



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to