Description of problem: Traceback (most recent call last): File "/usr/bin/tg-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.6c2 Version-Release number of selected component (if applicable): #rpm -qa TurboGears *setuptools* TurboGears-1.0.3.2-1.fc8 python-setuptools-0.6c6-2.fc8 How reproducible: always Steps to Reproduce: 1. run 'tg-admin' without any parameters
adding python-setuptools maintainer to CC:
Please refer to bug 251645. It should dtrt as of 2 days ago.
Fixed a couple of days ago -- Thanks Konstantin! * Mon Sep 24 2007 Konstantin Ryabitsev <icon> - 0.6c7-2 - Move pretty much everything back into runtime in order to avoid more brokenness than we're trying to address with these fixes.
unfortunately the latest python-setuptools and python-setuptools-devel doesn't fix this problem. https://bugzilla.redhat.com/show_bug.cgi?id=251645#c42 indicates that this may be a real bug in TurboGears which needs to be fixed
Hmm.. on a partial F7/F8 system: TurboGears-1.0.2.2-4.fc8.noarch.rpm python-setuptools-0.6c7-2 *no* python-setuptools-devel tg-admin works. Let me investigate the latest TurboGears update....
I'm not able to replicate this with or without python-setuptools-devel installed. I presently have: $ rpm -qa TurboGears '*setuptools*' python-setuptools-0.6c7-2.fc8 TurboGears-1.0.3.2-2.fc8 $ tg-admin TurboGears 1.0.3.2 command line interface Usage: /usr/bin/tg-admin [options] <command> Options: -c CONFIG --config=CONFIG Config file to use -e EGG_SPEC --egg=EGG_SPEC Run command on given Egg Commands: i18n Manage i18n data info Show version info quickstart Create a new TurboGears project shell Start a Python prompt with your database available sql Run the database provider manager toolbox Launch the TurboGears Toolbox update Update an existing turbogears project This is on F7, i386 with TurboGears and setuptools from rawhide.
I am unable to reproduce this with today's rawhide. [lmacken@localhost ~]$ rpm -q python-setuptools{,-devel} TurboGears python-setuptools-0.6c7-2.fc8 python-setuptools-devel-0.6c7-2.fc8 TurboGears-1.0.3.2-2.fc8
I'm not sure what happened, but it works now after a simple reboot.