[Pkg-trac-devel] Bug#534704: trac-admin fails with DistributionNotFound error

João Batista Joao.Batista at meteo.pt
Fri Jun 26 13:52:08 UTC 2009


Package: trac
Version: 0.11.1-2.1
Severity: important

Following the instructions from trac's README.Debian.gz file, namely

        A new Trac environment is created with trac-admin:

            $ trac-admin /path/to/projectenv initenv

the attempts made to configure trac failed:

user at localhost:~/src$ svn co http://localhost/port48
Checked out revision 0.
user at localhost:~/src$ sudo -i
localhost:~# mkdir /var/trac
localhost:~# trac-admin /var/trac initenv
Traceback (most recent call last):
  File "/usr/bin/trac-admin", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2561, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: setuptools>=0.6b1
localhost:~#

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages trac depends on:
ii  libjs-jquery                1.2.6-2      JavaScript library for dynamic web
ii  python                      2.5.2-3      An interactive high-level object-o
ii  python-central              0.6.8        register and build utility for Pyt
ii  python-genshi               0.5.1-1      Python XML-based template engine
ii  python-pysqlite2            2.4.1-1      Python interface to SQLite 3
ii  python-setuptools           0.6c8-4      Python Distutils Enhancements
ii  python-subversion           1.5.1dfsg1-2 Python bindings for Subversion
ii  subversion                  1.5.1dfsg1-2 Advanced version control system

Versions of packages trac recommends:
ii  apache2                  2.2.9-10+lenny3 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [htt 2.2.9-10+lenny3 Apache HTTP Server - traditional n
ii  enscript                 1.6.4-13        Converts ASCII text to Postscript,
ii  lighttpd [httpd]         1.4.19-5        A fast webserver with minimal memo
ii  mini-httpd [httpd]       1.19-8          a small HTTP server
ii  nginx [httpd]            0.6.32-3        small, but very powerful and effic
ii  python-pygments          0.10-1          syntax highlighting package writte
ii  python-tz                2008c-2         Python version of the Olson timezo

Versions of packages trac suggests:
ii  libapache2-mod-python     3.3.1-7        Python-embedding module for Apache
ii  python-docutils           0.5-2          Utilities for the documentation of
ii  python-mysqldb            1.2.2-7        A Python interface to MySQL
ii  python-psycopg2           2.0.7-4        Python module for PostgreSQL
ii  python-textile            2.10-3.1.2     Python parser for the Textile mark
pn  trac-bzr                  <none>         (no description available)
ii  trac-git                  0.0.20080710-3 Git version control backend for Tr
pn  trac-mercurial            <none>         (no description available)
pn  trac-spamfilter           <none>         (no description available)

-- no debconf information





More information about the Pkg-trac-devel mailing list