Bug 1369946 - python-tidy requires libtidy-devel to work
Summary: python-tidy requires libtidy-devel to work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-tidy
Version: 24
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Terje Røsten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-24 20:39 UTC by Brian Lane
Modified: 2016-09-27 14:51 UTC (History)
1 user (show)

Fixed In Version: python-tidy-0.3-1.fc25 python-tidy-0.3-1.fc24 python-tidy-0.3-1.fc23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-27 00:38:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Brian Lane 2016-08-24 20:39:08 UTC
Install python-tidy, which pulls in libtidy. Try to import tidy from a python program and get:


>>> import tidy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/tidy/__init__.py", line 43, in <module>
    from tidy.lib import parse, parseString
  File "/usr/lib/python2.7/site-packages/tidy/lib.py", line 33, in <module>
    raise OSError("Couldn't find libtidy, please make sure it is installed.")
OSError: Couldn't find libtidy, please make sure it is installed.


This is because it searches for the tidy library using a number of different names, none of which are installed.

Install libtidy-devel, which provides libtidy.so, and now it works.

Comment 1 Terje Røsten 2016-08-25 04:55:49 UTC
Thanks for report, dep on -devel package seems wrong too, will have a look.

Comment 2 Fedora Update System 2016-09-18 11:43:58 UTC
python-tidy-0.3-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-47104342dd

Comment 3 Fedora Update System 2016-09-18 11:44:05 UTC
python-tidy-0.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b5557a63f6

Comment 4 Fedora Update System 2016-09-18 11:44:09 UTC
python-tidy-0.3-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fd9e15d606

Comment 5 Terje Røsten 2016-09-18 11:46:40 UTC
Hi!

Did a larger upgrade to new upstream location which included many fixes and
Python 3 support.


Would be nice if you could test the updated python-tidy 0.3-1 package, thanks!

Comment 6 Fedora Update System 2016-09-19 04:19:51 UTC
python-tidy-0.3-1.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-47104342dd

Comment 7 Fedora Update System 2016-09-19 04:22:26 UTC
python-tidy-0.3-1.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-fd9e15d606

Comment 8 Fedora Update System 2016-09-19 05:22:29 UTC
python-tidy-0.3-1.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-b5557a63f6

Comment 9 Fedora Update System 2016-09-27 00:38:39 UTC
python-tidy-0.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-09-27 03:51:55 UTC
python-tidy-0.3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-09-27 14:51:15 UTC
python-tidy-0.3-1.fc23 has been pushed to the Fedora 23 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.