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

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

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/", line 140, in end
  File "site-packages/calibre/ebooks/pdf/render/", line 509, in end
  File "site-packages/calibre/ebooks/pdf/render/", line 81, in add_links
  File "lib/python2.7/", line 143, in urlparse
  File "lib/python2.7/", line 191, in urlsplit
ValueError: Invalid IPv6 URL

Here is a zip of the source:

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