[Python-apps-team] Bug#683001: trac-admin fails with "pkg_resources.DistributionNotFound: Trac==0.12.2"

Adam Cécile (Le_Vert) gandalf at le-vert.net
Fri Jul 27 20:26:24 UTC 2012


Package: trac
Version: 0.12.3-1
Severity: important

Hi,

I can't use trac-admin anymore.

Here is what happens:

gandalf at dedibox:~$ sudo trac-admin
Traceback (most recent call last):
  File "/usr/local/bin/trac-admin", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Trac==0.12.2

So I looked for an old egg file or something:
gandalf at dedibox:~$ sudo find / -name '*0.12.2*'
gandalf at dedibox:~$

Thanks in advance,

Regards, Adam.

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

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages trac depends on:
ii  libjs-jquery          1.7.2+debian-2
ii  python                2.7.3~rc2-1
ii  python-genshi         0.6-2
ii  python-pkg-resources  0.6.24-1
ii  python-setuptools     0.6.24-1
ii  python2.6             2.6.8-0.2
ii  python2.7             2.7.3~rc2-2.1

Versions of packages trac recommends:
ii  apache2                      2.2.22-9
ii  apache2-mpm-prefork [httpd]  2.2.22-9
pn  python-babel                 <none>
pn  python-docutils              <none>
ii  python-pygments              1.5+dfsg-1
ii  python-subversion            1.6.17dfsg-4
ii  python-tz                    2012c-1

Versions of packages trac suggests:
ii  libapache2-mod-wsgi    3.3-4
pn  python-psycopg2        <none>
pn  python-textile         <none>
pn  trac-accountmanager    <none>
pn  trac-authopenid        <none>
pn  trac-bitten            <none>
pn  trac-bzr               <none>
pn  trac-customfieldadmin  <none>
pn  trac-email2trac        <none>
pn  trac-git               <none>
pn  trac-graphviz          <none>
pn  trac-ja-resource       <none>
pn  trac-mastertickets     <none>
pn  trac-mercurial         <none>
pn  trac-spamfilter        <none>
pn  trac-wikiprint         <none>
pn  trac-wikirename        <none>
pn  trac-wysiwyg           <none>
pn  trac-xmlrpc            <none>

-- no debconf information



More information about the Python-apps-team mailing list