Package: python-werkzeug Version: 0.5.1-1 Severity: normal
werkzeug.serving.run_simple() breaks if passed an IPv6 address (which is required now due to net.ipv6.bindv6only being set to 1 by default on Debian): 2010-02-11 15:07:00,870 INFO werkzeug:106 * Running on http://:::8801/ Traceback (most recent call last): File "/usr/bin/moin", line 5, in <module> run() File "/usr/lib/pymodules/python2.5/MoinMoin/script/moin.py", line 15, in run MoinScript().run(showtime=0) File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 253, in mainloop plugin_class(args[2:], self.options).run() # all starts again there File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 138, in run self.mainloop() File "/usr/lib/pymodules/python2.5/MoinMoin/script/server/standalone.py", line 124, in mainloop run_server(**kwargs) File "/usr/lib/pymodules/python2.5/MoinMoin/web/serving.py", line 158, in run_server **kw) File "/usr/lib/pymodules/python2.5/werkzeug/serving.py", line 392, in run_simple inner() File "/usr/lib/pymodules/python2.5/werkzeug/serving.py", line 378, in inner passthrough_errors).serve_forever() File "/usr/lib/pymodules/python2.5/werkzeug/serving.py", line 251, in make_server passthrough_errors) File "/usr/lib/pymodules/python2.5/werkzeug/serving.py", line 207, in __init__ HTTPServer.__init__(self, (host, int(port)), handler) File "/usr/lib/python2.5/SocketServer.py", line 330, in __init__ self.server_bind() File "/usr/lib/python2.5/BaseHTTPServer.py", line 101, in server_bind SocketServer.TCPServer.server_bind(self) File "/usr/lib/python2.5/SocketServer.py", line 341, in server_bind self.socket.bind(self.server_address) File "<string>", line 1, in bind One possible approach is to check for ":" in the hostname and set BaseHTTPServer.address_family to AF_INET6, but that obviously works only for literal IPv6 addresses, not host names resolving to IPv6 only (e.g. ip6-localhost). -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: armel (armv5tel) Kernel: Linux 2.6.33-rc5-flatty-ocf-1-00255-g5b8834f Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-werkzeug depends on: ii libjs-jquery 1.4-1 JavaScript library for dynamic web ii python 2.5.4-9 An interactive high-level object-o ii python-support 1.0.6 automated rebuilding support for P Versions of packages python-werkzeug recommends: ii python-simplejson 2.0.9-1 Simple, fast, extensible JSON enco Versions of packages python-werkzeug suggests: pn ipython <none> (no description available) pn python-genshi <none> (no description available) pn python-lxml <none> (no description available) ii python-pkg-resources 0.6.10-1 Package Discovery and Resource Acc -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

