Bug 1076734 - Missing package dependencies
Summary: Missing package dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: weasyprint
Version: 20
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Eric Smith
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-14 23:45 UTC by Andreas Gruenbacher
Modified: 2014-03-25 08:18 UTC (History)
2 users (show)

Fixed In Version: weasyprint-0.21-2.fc19
Clone Of:
Environment:
Last Closed: 2014-03-25 08:17:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andreas Gruenbacher 2014-03-14 23:45:21 UTC
Description of problem:
In a minimal Fedora 20 install, after "yum install weasyprint", weasyprint does not work because of missing package dependencies.

Version-Release number of selected component (if applicable):
As in Fedora 20

How reproducible:
Always

Steps to Reproduce:

1. Minimal Fedora 20 install
2. "yum install easyprint"
3. "weasyprint"
Traceback [...]
ImportError: No module named pkg_resources

4. "yum install python-setuptools"
5. "weasyprint"
Traceback [...]
pkg_resources.DistributionNotFound: lxml

6. "yum install python-lxml"
7. "weasyprint"
Traceback [...]
OSError: [Errno 2] No such file or directory: '/usr/share/hyphen'

6. "yum install hyphen"
7. "weasyprint"
OSError: library not found: 'pango-1.0'

6. "yum install pango"
7. "weasyprint"
usage: weasyprint [-h] [--version] [-e ENCODING] [-f {pdf,png}]
                  [-s STYLESHEET] [-m MEDIA_TYPE] [-r RESOLUTION]
                  [--base-url BASE_URL]
                  input output
weasyprint: error: too few arguments

Expected results:
No Python tracebacks.

Additional info:
In addition, weasyprint does not depend on any font packages. In a minimal Fedora 20 system, no font packages are installed (fc-list returns nothing), and weasyprint produces garbage output. I don't know which font package weasyprint should depend on to prevent that, though.

Comment 1 Fedora Update System 2014-03-15 05:31:10 UTC
weasyprint-0.21-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/weasyprint-0.21-2.fc20

Comment 2 Fedora Update System 2014-03-15 05:38:00 UTC
weasyprint-0.21-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/weasyprint-0.21-2.fc19

Comment 3 lnie 2014-03-17 03:18:20 UTC
weasyprint-0.21-2.fc20  works

Comment 4 Fedora Update System 2014-03-17 03:55:12 UTC
Package weasyprint-0.21-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 weasyprint-0.21-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3967/weasyprint-0.21-2.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-03-25 08:17:32 UTC
weasyprint-0.21-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2014-03-25 08:18:20 UTC
weasyprint-0.21-2.fc19 has been pushed to the Fedora 19 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.