[Python-modules-team] Bug#579105: python-turbogears: failed pkg_resources on distribute or python-suppport dependency

Jose Ramon Alvarez Sanchez jras at dia.uned.es
Sun Apr 25 11:09:50 UTC 2010

Package: python-turbogears
Version: 1.1.1-1
Severity: important

*** Please type your report below this line ***

After updating to python-turbokid version 1.0.5-1 in testing, and
trying to run an old TG1 application i got the error:

> Traceback (most recent call last):
>   File "start-myapp.py", line 3, in <module>
>     pkg_resources.require("TurboGears")
>   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 648,
in require
>     needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 546,
in resolve
>     raise DistributionNotFound(req)
> pkg_resources.DistributionNotFound: distribute

In https://bugs.launchpad.net/bugs/563060 it says that there is a
problem with some packages only depend on python-pgk-resources and 
not on python-setuptools or inclusion of setuptools in it's

After installing package python-setuptools 0.6.10-4 and reinstalling
python-turbokid, i was able to run correctly my old TG1 application.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-turbogears depends on:
ii  python              2.5.4-9  An interactive high-level object-o
ii  python-cheetah   text-based template engine and Pyt
ii  python-cherrypy     2.3.0-3  Python web development framework
ii  python-configobj 4.7.2+ds-1  simple but powerful config file re
ii  python-decoratortools 1.7-3  version-agnostic decorators suppor
ii  python-formencode   1.2.2-1  validation and form generation Pyt
ii  python-kid          0.9.6-2  simple Pythonic template language
ii  python-markdown     2.0.3-2  text-to-HTML conversion library/to
ii  python-nose         0.11.1-1 test discovery and running for Pyt
ii  python-paste 1.7.3+hg20100401-1 tools for using a Web Server Gatew
ii  python-pastedeploy  1.3.3-3  load, configure, and compose WSGI
ii  python-pastescript  1.7.3-5  serving web applications, creating
ii  python-pkg-resources  0.6.10-4  Package Discovery and Resource Acc
ii  python-simplejson   2.1.1-1  simple, fast, extensible JSON enco
ii  python-sqlalchemy   0.5.8-1  SQL toolkit and Object Relational
ii  python-sqlobject    0.12.2-1 Python module for SQLObject
ii  python-support      1.0.7    automated rebuilding support for P
ii  python-turbojson    1.2.1-4  Plugin to use JSON templates in Py
ii  python-turbokid     1.0.5-1  TurboGears template plugin to use

Versions of packages python-turbogears recommends:
ii  python-elixir       0.7.1-1  Declarative Mapper for SQLAlchemy
ii  python-genshi       0.5.1-2+b1 Python XML-based template engine
pn  python-myghty       <none>     (no description available)
ii  python-pysqlite2    2.5.5-3+b1 Python interface to SQLite 3

python-turbogears suggests no packages.

-- no debconf information

More information about the Python-modules-team mailing list