Package: python-turbogears
Version: 1.0~b1-1
Severity: normal

I just installed python-turbogears, and tried to follow a tutorial which
suggested running the following command:

$ tg-admin quickstart

The result was this:

Traceback (most recent call last):
  File "/usr/bin/tg-admin", line 7, in ?
      sys.exit(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236, in 
load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2097, in 
load_entry_point
     return ep.load()
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load
     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/var/lib/python-support/python2.4/turbogears/__init__.py", line 5, in ?
     from turbogears import config
  File "/var/lib/python-support/python2.4/turbogears/config.py", line 3, in ?
     from cherrypy import config
  File "/var/lib/python-support/python2.4/cherrypy/__init__.py", line 10, in ?
     import config
  File "/var/lib/python-support/python2.4/cherrypy/config.py", line 7, in ?
     from cherrypy import _cputil
  File "/var/lib/python-support/python2.4/cherrypy/_cputil.py", line 3, in ?
     import cgi
  File "/usr/lib/python2.4/cgi.py", line 40, in ?
     import mimetools
  File "/usr/lib/python2.4/mimetools.py", line 11, in ?
     class Message(rfc822.Message):
AttributeError: 'module' object has no attribute 'Message'

It's strange because if I do

>>> import rfc822
>>> class Message(rfc822.Message):
...  pass
...

Then I get no error. Unfortunately, I've run out of time to investigate...

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages python-turbogears depends on:
ii  python                        2.4.3-11   An interactive high-level object-o
ii  python-celementtree           1.0.5-8    Light-weight toolkit for XML proce
ii  python-cheetah                2.0~rc7-1  text-based template engine and Pyt
ii  python-cherrypy               2.2.1-3    Python web development framework
ii  python-configobj              4.3.2-2    a simple but powerful config file 
ii  python-dispatch               0.5adev-4  Rule-based Dispatching and Generic
ii  python-elementtree            1.2.6-9    Light-weight toolkit for XML proce
ii  python-formencode             0.5.1-4    validation and form generation pyt
ii  python-kid                    0.9.3-1    simple Pythonic template language 
ii  python-nose                   0.9.0-1    test discovery and running for Pyt
ii  python-paste                  0.9.8.1-1  Tools for using a Web Server Gatew
ii  python-pastedeploy            0.9.6-1    Load, configure, and compose WSGI 
ii  python-pastescript            0.9.8-1    serving web applications, creating
ii  python-setuptools             0.6c3-1    Python Distutils Enhancements
ii  python-simplejson             1.3-0.1    Simple, fast, extensible JSON enco
ii  python-sqlalchemy             0.2.8-1    SQL toolkit and Object Relational 
ii  python-sqlobject              0.7.1-1    python module for SQLObject
ii  python-support                0.5.4      automated rebuilding support for p
ii  python-turbojson              0.9.5-1    TurboGears template plugin that su
ii  python-turbokid               0.9.8-1    TurboGears template plugin that su

Versions of packages python-turbogears recommends:
pn  python-pysqlite2              <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to