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

Bug #1429282 reported by Samy Pessé
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
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

Revision history for this message
Samy Pessé (samypesse) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.