Bug 306741 - TurboGears doesn't find setuptools >=0.6c2
Summary: TurboGears doesn't find setuptools >=0.6c2
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: TurboGears
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-26 11:29 UTC by Karsten Hopp
Modified: 2016-09-20 02:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-28 12:45:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2007-09-26 11:29:27 UTC
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

Comment 1 Karsten Hopp 2007-09-26 12:00:14 UTC
adding python-setuptools maintainer to CC:

Comment 2 Konstantin Ryabitsev 2007-09-26 13:48:21 UTC
Please refer to bug 251645. It should dtrt as of 2 days ago.

Comment 3 Luke Macken 2007-09-26 14:07:21 UTC
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.

Comment 4 Karsten Hopp 2007-09-26 14:35:05 UTC
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

Comment 5 Toshio Ernie Kuratomi 2007-09-26 16:42:44 UTC
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....

Comment 6 Toshio Ernie Kuratomi 2007-09-26 17:16:35 UTC
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.

Comment 7 Luke Macken 2007-09-27 16:44:07 UTC
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

Comment 8 Karsten Hopp 2007-09-28 12:45:51 UTC
I'm not sure what happened, but it works now after a simple reboot.


Note You need to log in before you can comment on or make changes to this bug.