Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
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
Old 04-18-2015, 10:50 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Is this error occurring when you try to edit metadata for any book, or just for the book where you got the original error.
kovidgoyal is offline   Reply With Quote
Old 04-19-2015, 03:25 AM   #3
DaBear78
Junior Member
DaBear78 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kobo Glo
Sadly for every book I try to edit the metadata for and for every book I try to add. Downloaded a few free books to test it, non of these books worked. Opening the exact same books on my reader (Kobo Glo) or on my PC with Sigil is working fine. I can even open / edit the metadata with Sigil without problems.
Can reinstalling Calibre help me? I don't want to use anything else, Calibre is the best ^^
DaBear78 is offline   Reply With Quote
Old 04-19-2015, 04:28 AM   #4
DaBear78
Junior Member
DaBear78 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kobo Glo
Talking Happy again...

Ok, it was just me ^^ My wife also updated to v2.25 and had no problems at all. So I reinstalled my version (uninstall with an uninstaller which also cleans the registry and any leftovers in the filesystem, reboot, install) and everything works now. Don't know what happened, but maybe just some settings got messed up during the update or something like that.
DaBear78 is offline   Reply With Quote
Old 04-19-2015, 09:23 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DaBear78 View Post
Ok, it was just me ^^ My wife also updated to v2.25 and had no problems at all. So I reinstalled my version (uninstall with an uninstaller which also cleans the registry and any leftovers in the filesystem, reboot, install) and everything works now. Don't know what happened, but maybe just some settings got messed up during the update or something like that.
Settings do not normally get touched during updates... and even if you do a standard uninstall, the (per logon user) config folder stays.
theducks is offline   Reply With Quote
Old 04-19-2015, 11:42 AM   #6
DaBear78
Junior Member
DaBear78 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kobo Glo
Quote:
Originally Posted by theducks View Post
Settings do not normally get touched during updates... and even if you do a standard uninstall, the (per logon user) config folder stays.
That's why I used an uninstaller tool which removes everything that's left over All my settings where at the standard settings after my reinstall.

And as I already said: I don't know what happened exactly, but it works now, and that's all I need
DaBear78 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata Error woodygirl Calibre 1 04-07-2012 12:30 PM
invalid library ... UnicodeDecodeError: 'utf8' codec can't ... AhShoo5n Calibre 12 08-23-2011 12:53 PM
utf8 problem in the path adding books thcuvelier Calibre 1 02-01-2010 10:51 AM
Calibre doesn't display UTF8 characters jerrry94087 Calibre 1 01-02-2010 07:46 AM
'utf8' codec can't decode bytes error (HTML to EPUB conversion) gsz Calibre 10 10-26-2009 06:29 PM


All times are GMT -4. The time now is 05:29 AM.


MobileRead.com is a privately owned, operated and funded community.