[Python-apps-team] Bug#607441: tracd: doesn't accept to bind to IPv6 address

Damien CLAUZEL Damien at Clauzel.nom.fr
Sat Dec 18 13:11:53 UTC 2010


Package: trac
Version: 0.11.7-4
Severity: minor

Running trac on standalone mode, via tracd, is not possible on IPv6-only
systems. Tracd should be able to bind to an IPv6 address.

Example with a fresh trac install on user "crapp".
___

# sudo -u crapp tracd --http11 --auto-reload --single-env --hostname ::1
 --port 8000 /home/crapp/trac
Unhandled exception in thread started by <function serve at 0x9b89cdc>
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/trac/web/standalone.py", line
256, in serve
    use_http_11=options.http11)
  File "/usr/lib/python2.6/dist-packages/trac/web/standalone.py", line
109, in __init__
    request_handler=request_handlers[bool(use_http_11)])
  File "/usr/lib/python2.6/dist-packages/trac/web/wsgi.py", line 236, in
__init__
    HTTPServer.__init__(self, server_address, request_handler)
  File "/usr/lib/python2.6/SocketServer.py", line 402, in __init__
    self.server_bind()
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
  File "/usr/lib/python2.6/SocketServer.py", line 413, in server_bind
    self.socket.bind(self.server_address)
  File "<string>", line 1, in bind
socket.gaierror: [Errno -9] Address family for hostname not supported

___

Of course, IPv6 is correctly setup of this system, with sshd, apache
and so running.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages trac depends on:
ii  python                  2.6.6-3+squeeze2 interactive high-level object-orie
ii  python-central          0.6.16+nmu1      register and build utility for Pyt
ii  python-genshi           0.6-1            Python XML-based template engine
ii  python-setuptools       0.6.14-4         Python Distutils Enhancements (set

Versions of packages trac recommends:
ii  apache2-mpm-prefork [httpd] 2.2.16-4     Apache HTTP Server - traditional n
ii  libjs-jquery                1.4.2-2      JavaScript library for dynamic web
ii  python-pygments             1.3.1+dfsg-1 syntax highlighting package writte
ii  python-subversion           1.6.12dfsg-2 Python bindings for Subversion
ii  python-tz                   2010b-1      Python version of the Olson timezo

Versions of packages trac suggests:
pn  libapache2-mod-wsgi | libapac <none>     (no description available)
pn  python-docutils               <none>     (no description available)
pn  python-textile                <none>     (no description available)
pn  trac-accountmanager           <none>     (no description available)
pn  trac-authopenid               <none>     (no description available)
pn  trac-bitten                   <none>     (no description available)
pn  trac-bzr                      <none>     (no description available)
pn  trac-customfieldadmin         <none>     (no description available)
pn  trac-email2trac               <none>     (no description available)
pn  trac-git                      <none>     (no description available)
pn  trac-graphviz                 <none>     (no description available)
pn  trac-ja-resource              <none>     (no description available)
pn  trac-mastertickets            <none>     (no description available)
pn  trac-mercurial                <none>     (no description available)
pn  trac-spamfilter               <none>     (no description available)
pn  trac-wikiprint                <none>     (no description available)
pn  trac-wikirename               <none>     (no description available)
pn  trac-wysiwyg                  <none>     (no description available)
pn  trac-xmlrpc                   <none>     (no description available)

-- no debconf information





More information about the Python-apps-team mailing list