Bug 953834 - missing dependencies python-setuptools collectd
Summary: missing dependencies python-setuptools collectd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-bucky
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jonathan Steffan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-19 09:48 UTC by Piotr Popieluch
Modified: 2013-10-18 20:03 UTC (History)
4 users (show)

Fixed In Version: python-bucky-0.2.6-3.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-02 06:37:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Piotr Popieluch 2013-04-19 09:48:59 UTC
Description of problem:
After installing python-bucky it doesnt run because of missing dependencies.

without python-setuptools:
# /usr/bin/bucky
Traceback (most recent call last):
  File "/usr/bin/bucky", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

without collectd:
# /usr/bin/bucky
Traceback (most recent call last):
  File "/usr/bin/bucky", line 9, in <module>
    load_entry_point('bucky==0.2.3', 'console_scripts', 'bucky')()
  File "/usr/lib/python2.6/site-packages/bucky/main.py", line 151, in main
    servers.append(stype(sampleq, cfg))
  File "/usr/lib/python2.6/site-packages/bucky/collectd.py", line 283, in __init__
    self.parser = CollectDParser(cfg.collectd_types)
  File "/usr/lib/python2.6/site-packages/bucky/collectd.py", line 131, in __init__
    self.types = CollectDTypes(types_dbs=types_dbs)
  File "/usr/lib/python2.6/site-packages/bucky/collectd.py", line 86, in __init__
    raise ConfigError("Unable to locate types.db")
bucky.errors.ConfigError: Unable to locate types.db



Version-Release number of selected component (if applicable):

python-bucky-0.2.3-1.el6.noarch


How reproducible:
Install bucky, uninstall python-setuptools collectd

Steps to Reproduce:
1. yum erase python-setuptools collectd
2. yum install python-bucky
3. /usr/bin/bucky
  
Actual results:

bucky fails on missing dependencies

Expected results:

bucky to run

Additional info:

Comment 1 James Juran 2013-09-03 19:19:48 UTC
confirmed same issue

Comment 2 Jonathan Steffan 2013-09-19 23:23:19 UTC
Thanks for the bug report. I will send an update to fix these dependency requirements.

Comment 3 Jonathan Steffan 2013-09-19 23:47:12 UTC
I will be running a test shortly, but the types.db is specifically a collectd dependency. I don't believe python-setuptools is needed at runtime.

Comment 4 Fedora Update System 2013-09-20 00:26:52 UTC
python-bucky-0.2.6-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.fc18

Comment 5 Fedora Update System 2013-09-20 00:27:00 UTC
python-bucky-0.2.6-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.fc20

Comment 6 Fedora Update System 2013-09-20 00:27:08 UTC
python-bucky-0.2.6-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.fc19

Comment 7 Fedora Update System 2013-09-20 00:27:15 UTC
python-bucky-0.2.6-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.el6

Comment 8 Fedora Update System 2013-09-20 00:27:24 UTC
python-bucky-0.2.6-2.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.el5

Comment 9 Fedora Update System 2013-09-20 18:56:23 UTC
Package python-bucky-0.2.6-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-bucky-0.2.6-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-17255/python-bucky-0.2.6-2.fc20
then log in and leave karma (feedback).

Comment 10 Todd Zullinger 2013-09-21 00:37:57 UTC
Hi Jonathan,

(In reply to Jonathan Steffan from comment #3)
> I will be running a test shortly, but the types.db is specifically a
> collectd dependency. I don't believe python-setuptools is needed at runtime.

On an EL6 host, I get this without python-setuptools installed:

$ sudo /usr/bin/bucky /etc/bucky/bucky.conf
Traceback (most recent call last):
  File "/usr/bin/bucky", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

$ rpm -qf /usr/lib/python2.6/site-packages/pkg_resources.pyc
python-setuptools-0.6.10-3.el6.noarch

I don't know if this is changed in current fedora releases, but as late as f17 it was still provided by python-setuptools.

I believe python-setuptools is required as well as collectd.

Thanks. :)

Comment 11 Jonathan Steffan 2013-09-24 16:16:01 UTC
Thanks for confirming. I've done more builds to add the python-setuptools Requires and will issue an update as soon as those are complete.

Comment 12 Fedora Update System 2013-09-24 16:30:22 UTC
python-bucky-0.2.6-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.el6

Comment 13 Fedora Update System 2013-09-24 16:30:33 UTC
python-bucky-0.2.6-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.fc19

Comment 14 Fedora Update System 2013-09-24 16:30:44 UTC
python-bucky-0.2.6-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.fc18

Comment 15 Fedora Update System 2013-09-24 16:30:55 UTC
python-bucky-0.2.6-3.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.el5

Comment 16 Fedora Update System 2013-09-24 16:31:09 UTC
python-bucky-0.2.6-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.fc20

Comment 17 Fedora Update System 2013-09-25 17:17:52 UTC
Package python-bucky-0.2.6-3.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing python-bucky-0.2.6-3.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11683/python-bucky-0.2.6-3.el5
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2013-10-02 06:37:33 UTC
python-bucky-0.2.6-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2013-10-17 18:06:44 UTC
python-bucky-0.2.6-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2013-10-17 18:08:46 UTC
python-bucky-0.2.6-3.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2013-10-18 19:47:08 UTC
python-bucky-0.2.6-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2013-10-18 20:03:47 UTC
python-bucky-0.2.6-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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