HTML to PDF crashes with ebook-convert (Invalid IPv6 URL)

Bug #1429282 reported by Samy Pessé on 2015-03-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Calibre Version: 2.20.0
OS: OS X Yosemite (also happening on Ubuntu)

Conversion from html to PDF using ebook-convert crashed on Mac. The error is:

Traceback (most recent call last):
  File "site-packages/calibre/ebooks/pdf/render/engine.py", line 140, in end
  File "site-packages/calibre/ebooks/pdf/render/serialize.py", line 509, in end
  File "site-packages/calibre/ebooks/pdf/render/links.py", line 81, in add_links
  File "lib/python2.7/urlparse.py", line 143, in urlparse
  File "lib/python2.7/urlparse.py", line 191, in urlsplit
ValueError: Invalid IPv6 URL

Here is a zip of the source: https://drive.google.com/file/d/0BysUdX0OApHybEd6SEgyRndiejg/view?usp=sharing

You can try it by running: "ebook-convert ./SUMMARY.html ./test.pdf"

Thank you

Samy Pessé (samypesse) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers