Bug 1334032 - tracer is missing a required for python-lxml
Summary: tracer is missing a required for python-lxml
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tracer
Version: 25
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Jakub Kadlčík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-07 11:05 UTC by Jens Kuehnel
Modified: 2016-12-12 17:19 UTC (History)
2 users (show)

Fixed In Version: tracer-0.6.12-4.fc23 tracer-0.6.12-4.fc24 tracer-0.6.12-4.fc25 tracer-0.6.12-4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-07 01:23:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jens Kuehnel 2016-05-07 11:05:23 UTC
Description of problem:
tracer.noarch is missing a python-lxml dependency

Version-Release number of selected component (if applicable):
tracer.noarch 0:0.6.8-1.el7

How reproducible:
100% when starting from minimal Centos7 install.

Steps to Reproduce:
1. yum install tracer
2. tracer -a


Actual results:
# tracer
Traceback (most recent call last):
  File "/usr/bin/tracer", line 34, in <module>
    tracer.main.run()
  File "/usr/lib/python2.7/site-packages/tracer/main.py", line 42, in run
    return router.dispatch()
  File "/usr/lib/python2.7/site-packages/tracer/resources/router.py", line 52, in dispatch
    controller = DefaultController(self.args, self.packages)
  File "/usr/lib/python2.7/site-packages/tracer/controllers/default.py", line 62, in __init__
    self.applications = self.tracer.trace_affected(self._user(args.user))
  File "/usr/lib/python2.7/site-packages/tracer/resources/tracer.py", line 109, in trace_affected
    p = self._apply_rules(p)
  File "/usr/lib/python2.7/site-packages/tracer/resources/tracer.py", line 129, in _apply_rules
    c_rule = self._rules.find(process.name())
  File "/usr/lib/python2.7/site-packages/tracer/resources/rules.py", line 41, in find
    Rules._load_definitions()
  File "/usr/lib/python2.7/site-packages/tracer/resources/rules.py", line 58, in _load_definitions
    try: Rules._load(file);
  File "/usr/lib/python2.7/site-packages/tracer/resources/rules.py", line 67, in _load
    soup = BeautifulSoup(f.read(), "lxml")
  File "/usr/lib/python2.7/site-packages/bs4/__init__.py", line 152, in __init__
    % ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?



Expected results:
3. yum install python-lxml
4. tracer -a

# tracer -a
You should restart:
...

Comment 1 Laurent Rineau 2016-05-11 10:25:56 UTC
@frostyx This bug is almost certainly also in the `master` branch (for F22, F23, F24 and Rawhide).

Comment 2 Jakub Kadlčík 2016-05-11 10:33:33 UTC
Thank you, I will add the dependency in upstream.

Comment 3 Laurent Rineau 2016-05-11 10:41:20 UTC
Can you try to do, with conditionals, that the tracer.spec is buildable on EPEL7, without Python3? That would avoid a fork of the spec file for EPEL7.

Comment 4 Laurent Rineau 2016-05-11 10:43:41 UTC
@Jens Kuehnel: I re-assign the bug to Rawhide. I will rebuild the package for EPEL7 once it is fixed in Rawhide.

Comment 5 Jakub Kadlčík 2016-05-11 10:52:42 UTC
@Laurent Yes, I am going to do it. It is already requested in 1333169.

Comment 6 Jan Kurik 2016-07-26 04:25:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 7 Jakub Kadlčík 2016-11-06 14:09:16 UTC
Hi @Laurent,

> Can you try to do, with conditionals, that the tracer.spec is buildable on EPEL7, without Python3? That would avoid a fork of the spec file for EPEL7.


Guys @ignatenkobrain and @Conan-Kudo cooperated on lot of changes in the tracer.spec file. You might be interested in 1cf3b5c commit. Does it solve the issue?

Comment 8 Fedora Update System 2016-11-23 16:05:10 UTC
tracer-0.6.12-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-5365a57b39

Comment 9 Fedora Update System 2016-11-24 19:19:07 UTC
tracer-0.6.12-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3f9b4e3c43

Comment 10 Fedora Update System 2016-11-24 19:19:21 UTC
tracer-0.6.12-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-edc56e4114

Comment 11 Fedora Update System 2016-11-24 19:19:35 UTC
tracer-0.6.12-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9debe3dcd9

Comment 12 Fedora Update System 2016-11-25 00:22:48 UTC
tracer-0.6.12-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-5365a57b39

Comment 13 Fedora Update System 2016-11-27 17:26:15 UTC
tracer-0.6.12-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9debe3dcd9

Comment 14 Fedora Update System 2016-11-28 01:55:25 UTC
tracer-0.6.12-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-edc56e4114

Comment 15 Fedora Update System 2016-12-04 08:07:16 UTC
tracer-0.6.12-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3f9b4e3c43

Comment 16 Fedora Update System 2016-12-07 01:23:02 UTC
tracer-0.6.12-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2016-12-07 07:54:40 UTC
tracer-0.6.12-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2016-12-11 19:26:23 UTC
tracer-0.6.12-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2016-12-12 17:19:43 UTC
tracer-0.6.12-4.el7 has been pushed to the Fedora EPEL 7 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.