Randall Smith wrote:
> I'm trying to get webware going on VServer, but I'm getting the error below.
> 
> Listening on ('127.0.0.1', 8086)
> Ready  (0.36 seconds after launch)
> 
> Listening on ('127.0.0.1', 8080)
> ('192.168.1.203', 8080)
> Traceback (most recent call last):
>    File 
> "/usr/local/lib/python2.4/site-packages/webware/WebKit/NewThreadedAppServer.py",
>  
> line 530, in run
>      server.mainloop()
>    File 
> "/usr/local/lib/python2.4/site-packages/webware/WebKit/NewThreadedAppServer.py",
>  
> line 140, in mainloop
>      handler = self._handlerCache[serverAddress].pop()
> KeyError: ('192.168.1.203', 8080)
> 
> I'm accessing it from 192.168.1.102.  I'm sure it's a VServer routing 
> thing, but I haven't had trouble with Apache, Postgres, SSH, etc. 
> Looking at the code, socket.getsockname() is returning 192.168.1.203. 
> If I put this in:
> 
>      except KeyError:
>          handler = self._handlerCache[(127.0.0.1, serverAddress[1])].pop()
> 
> It then says that I'm trying to pop from an empty list.  Ideas?
> 
> Randall
>       

self._handlerCache looks like this:

{('127.0.0.1', 8080): [], ('127.0.0.1', 8086): []}


Randall


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to