Message4681
(I try to run web.py with Jython 2.5rc2 but have 2 problems (the other
with transformer put as another issue).
I use the basic example on http://webpy.org/ (folder web with the source
is in on the path). During server startup I get the following output:
http://0.0.0.0:8080/
Traceback (most recent call last):
File "1.py", line 22, in <module>
app.run()
File "I:\dev-a-workspace\dev\jywebpy\web\application.py", line 289, in run
return wsgi.runwsgi(self.wsgifunc(*middleware))
File "I:\dev-a-workspace\dev\jywebpy\web\wsgi.py", line 54, in runwsgi
return httpserver.runsimple(func, validip(listget(sys.argv, 1, '')))
File "I:\dev-a-workspace\dev\jywebpy\web\httpserver.py", line 223, in
runsimpl
e
server.start()
File "I:\dev-a-workspace\dev\jywebpy\web\httpserver.py", line 223, in
runsimpl
e
server.start()
File "I:\dev-a-workspace\dev\jywebpy\web\wsgiserver\__init__.py", line
1589, i
n start
self.socket.listen(self.request_queue_size)
File "<string>", line 1, in listen
File "I:\dev-a-workspace\dev\jywebpy\socket.py", line 788, in listen
self._config()
File "I:\dev-a-workspace\dev\jywebpy\socket.py", line 788, in listen
self._config()
File "I:\dev-a-workspace\dev\jywebpy\socket.py", line 727, in _config
self.sock_impl.setsockopt(level, optname, self.pending_options[
(level, optn
ame) ])
File "I:\dev-a-workspace\dev\jywebpy\socket.py", line 248, in setsockopt
raise error(errno.ENOPROTOOPT, "Level %d option not supported on
socket(%s):
%d" % (level, str(self.jsocket), option))
socket.error: (43, 'Level 6 option not supported on
socket(ServerSocket[addr=/0.
0.0.0,localport=8080]): 256')
I have no real idea what is going on in socket module but after adding
"if level == 6: continue" in line 721 (so simple removing this level) at
least the web.py server does seem to start properly.
Please excuse my naivity, hope this is not complete bullshit... |
|
Date |
User |
Action |
Args |
2009-05-13 11:06:12 | Christof | set | recipients:
+ Christof |
2009-05-13 11:06:12 | Christof | set | messageid: <1242212772.32.0.434476486929.issue1347@psf.upfronthosting.co.za> |
2009-05-13 11:06:12 | Christof | link | issue1347 messages |
2009-05-13 11:06:11 | Christof | create | |
|