Public bug reported:
In trusty, reportlab version is 3.+ but this version of pisa's reportlab
version check is wrong. this bug as been fixed upstream in github:
https://github.com/chrisglass/xhtml2pdf/
http://www.xhtml2pdf.com/
pisa is not supported anymore by it's original author.
there is a diff for version detection only for file
/usr/share/pyshared/sx/pisa3/pisa_util.py :
43c43,44
< if not(reportlab.Version[0] == "2" and reportlab.Version[2] >= "1"):
---
> _reportlab_version = tuple(map(int, reportlab.Version.split('.')))
> if _reportlab_version < (2, 1):
46c47
< REPORTLAB22 = (reportlab.Version[0] == "2" and reportlab.Version[2] >= "2")
---
> REPORTLAB22 = _reportlab_version >= (2, 2)
this fix is not very well tested but without this pisa will not work
anyway without downgrading reportlab.
** Affects: pisa (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- reportlab 3.0 version detetion fail
+ reportlab 3.+ version detetion fail
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1328758
Title:
reportlab 3.+ version detetion fail
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pisa/+bug/1328758/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs