Unhandeled exception

Bug #2067257 reported by Andrew Riley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

calibre, version 7.11.0
ERROR: Unhandled exception: <b>UnicodeEncodeError</b>:'utf-8' codec can't encode character '\udef2' in position 49: surrogates not allowed

calibre 7.11 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 11, 0) && DeDRM (7, 1, 0) && Package KFX (from KFX Input) (2, 11, 0) && KFX metadata reader (from KFX Input) (2, 11, 0) && From KFX (2, 11, 0) && KFX Input (2, 11, 0) && Set KFX metadata (from KFX Output) (2, 8, 0) && KFX Output (2, 8, 0) && Kindle Collections (1, 7, 29) && Obok DeDRM (7, 1, 0)
Traceback (most recent call last):
  File "calibre\gui2\library\views.py", line 1688, in _debounce_book_display
  File "calibre\gui2\book_details.py", line 1507, in show_data
  File "calibre\gui2\book_details.py", line 1127, in show_data
  File "calibre\gui2\book_details.py", line 302, in render_html
  File "calibre\gui2\book_details.py", line 383, in render_data
  File "calibre\ebooks\metadata\book\render.py", line 300, in mi_to_html
  File "calibre\ebooks\metadata\book\render.py", line 98, in render_author_link
  File "calibre\ebooks\metadata\book\render.py", line 91, in author_search_href
  File "calibre\ebooks\metadata\search_internet.py", line 67, in url_for_author_search
  File "calibre\ebooks\metadata\search_internet.py", line 63, in url_for
  File "calibre\ebooks\metadata\search_internet.py", line 63, in <dictcomp>
  File "calibre\ebooks\metadata\search_internet.py", line 59, in specialised_quote
  File "calibre\ebooks\metadata\search_internet.py", line 51, in qquote
UnicodeEncodeError: 'utf-8' codec can't encode character '\udef2' in position 49: surrogates not allowed

Revision history for this message
Kovid Goyal (kovid) wrote :

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

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.