View Single Post
Old 04-18-2015, 07:47 PM   #1
DaBear78
Junior Member
DaBear78 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kobo Glo
Unhappy [v2.25] UTF8 Error (Metadata) - is it just me?

Hi,

since version 2.25 I got a problem: When I open the metadata dialog or want to add a new book, there's always an error.

When trying to add a book:

Code:
calibre, version 2.25.0
FEHLER: Fehler während des Hinzufügens: Es konnten keine Bücher hinzugefügt werden, klicken Sie auf "Details anzeigen" für weitere Informationen


----------------------------------------------------------------------
Hinzufügen des Buches gescheitert:Gesammelte Werke in fünf Bänden — 1. Band
	D:\Temp\System\calibre_ckl8ge\6x_mtd_add_books\0\pg12921.epub
Mit Fehler:
Traceback (most recent call last):
  File "site-packages\calibre\gui2\add.py", line 366, in add_book
  File "site-packages\calibre\db\legacy.py", line 211, in create_book_entry
  File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
  File "site-packages\calibre\db\cache.py", line 1494, in create_book_entry
  File "site-packages\calibre\db\cache.py", line 1228, in set_metadata
  File "site-packages\calibre\db\cache.py", line 1215, in set_field
  File "site-packages\calibre\db\cache.py", line 1037, in set_field
  File "site-packages\calibre\db\write.py", line 513, in set_books
  File "site-packages\calibre\db\write.py", line 375, in many_many
  File "site-packages\calibre\db\write.py", line 241, in get_db_id
  File "site-packages\calibre\ebooks\metadata\__init__.py", line 56, in author_to_author_sort
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2-3: invalid continuation byte
and when opening the metadata dialog:

Code:
calibre, version 2.25.0
FEHLER: Nicht abgefangener Fehler: <b>UnicodeDecodeError</b>:'utf8' codec can't decode bytes in position 2-3: invalid continuation byte

calibre 2.25 [64bit]  isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.9
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: EpubMerge && KoboBooks && Resize Cover && Kobo Utilities && Modify ePub && KoboTouchExtended && BOL_DE && Hyphenate This!
Traceback (most recent call last):
  File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 483, in update_state_and_val
  File "site-packages\calibre\ebooks\metadata\__init__.py", line 95, in authors_to_sort_string
  File "site-packages\calibre\ebooks\metadata\__init__.py", line 56, in author_to_author_sort
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2-3: invalid continuation byte
Everything worked fine 5 minutes before (with version 2.24).

And as it seems, both errors are in the same file at the same position:
Code:
File "site-packages\calibre\ebooks\metadata\__init__.py", line 56, in author_to_author_sort
Is there anything I can do about it, or is this a general problem in the latest version?

Greetings,
DaBear78
DaBear78 is offline   Reply With Quote