Description of problem: goobook fails to run throwing the following exception. Traceback (most recent call last): File "/usr/bin/goobook", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2671, in <module> working_set.require(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 654, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 552, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: argparse>=1.1 How reproducible: Steps to Reproduce: 1. yum install goobook 2. goobook 3. Actual results: It throws exception and dies. Expected results: It should run. Additional info: Thank you. :)
Emmm, argparse is depreciated in Fedora 15. The upstream has also did that in the git. However there is no official release for now.
Ehmm... Dunno what to make of your comment but the following bug seems awfully similar. Maybe the same problem? https://bugzilla.redhat.com/show_bug.cgi?id=700596 Thanks.
Hi, same problem here after upgrading to fc15 and removing depreciated python-argparse. - argparse is now included in python's std lib for python 2.7 and 3.2 - argparse is found in a python shell: $ python Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16) [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import argparse >>> argparse.__version__ '1.1' The issue comes from /usr/lib/python2.7/site-packages/pkg_resources.py which checks dependencies, but now argparse is no more a dependency as it is included by default with python. So the solution should be to remove the dependency from the setup.py (same thing as Bug 700596 mentionned by Tejun).
Created attachment 515445 [details] patch to apply to goobook's setup.py to remove the argparse dependency
I will update it after I install a Fedora 15 on a spare box this week.
goobook-1.3-8.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/goobook-1.3-8.fc15
Package goobook-1.3-8.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing goobook-1.3-8.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/goobook-1.3-8.fc15 then log in and leave karma (feedback).
goobook-1.3-8.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.