Description of problem: > $ cat test.rst > Hello World > =========== > > This is a test. > > $ rst2pdf test.rst > Traceback (most recent call last): > File "/usr/bin/rst2pdf", line 11, in <module> > load_entry_point('rst2pdf==0.93.dev0', 'console_scripts', 'rst2pdf')() > File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point > return get_distribution(dist).load_entry_point(group, name) > File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point > return ep.load() > File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2443, in load > return self.resolve() > File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve > module = __import__(self.module_name, fromlist=['__name__'], level=0) > File "/usr/lib/python2.7/site-packages/rst2pdf/createpdf.py", line 85, in <module> > from rst2pdf import flowables > File "/usr/lib/python2.7/site-packages/rst2pdf/flowables.py", line 875, in <module> > if reportlab.Version == '2.1': > NameError: name 'reportlab' is not defined Version-Release number of selected component (if applicable): rst2pdf-0.93-16.fc31.noarch python3-reportlab-3.5.23-3.fc31.x86_64 Additional info: I didn't have this problem before upgrading to f31.
Yes, I forgot to push the python3 version of rst2pdf to F31. I'm building it now
FEDORA-2019-0474ed1a1f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0474ed1a1f
Please test
rst2pdf-0.95-0.1.20190902gitf7adb4a.fc31 has been pushed to the Fedora 31 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-2019-0474ed1a1f
rst2pdf-0.95-0.1.20190902gitf7adb4a.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
Please can you build the package also for Fedora 30? It is also a "current" release, the error occurs also on Fedora 30 (because it had the same package version as Fedora 31). Thanks in advance.
FEDORA-2019-b6cd1fe2b6 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b6cd1fe2b6
rst2pdf-0.95-0.1.20190902gitf7adb4a.fc30 has been pushed to the Fedora 30 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-2019-b6cd1fe2b6
rst2pdf-0.95-0.1.20190902gitf7adb4a.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.