View Single Post
Old 02-16-2020, 08:34 AM   #2
tytan15
Junior Member
tytan15 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2019
Device: Kindle Voyage
Hello.
I have a problem with using of F_rating.
After runing conversion form publisher to gr_rating i have sometimes that error:
Spoiler:
calibre, version 4.10.1
BŁĄD: Nieznany wyjątek: <b>ValueError</b>:could not convert string to float: g#4.04

calibre 4.10.1 embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: pl
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 29, 0) && Package KFX (from KFX Input) (1, 29, 0) && Goodreads_Rating (3, 0, 0) && KFX metadata reader (from KFX Input) (1, 29, 0) && KFX Input (1, 29, 0) && Reading List (1, 6, 7) && Find Duplicates (1, 6, 3) && Goodreads (1, 4, 0) && Goodreads Sync (1, 14, 2) && LubimyCzytac (2, 0, 38) && APNX Generator (1, 1, 0) && Quality Check (1, 9, 11) && Annotations (1, 12, 0) && F_rating (3, 0, 1) && Count Pages (1, 9, 0)
Traceback (most recent call last):
File "calibre_plugins.F_rating.ui", line 42, in start_change
File "calibre_plugins.F_rating.ui", line 103, in change
File "site-packages\calibre\db\legacy.py", line 472, in set_metadata
File "site-packages\calibre\db\cache.py", line 62, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1371, in set_metadata
File "site-packages\calibre\db\cache.py", line 1314, in protected_set_field
File "site-packages\calibre\db\cache.py", line 1294, in set_field
File "site-packages\calibre\db\cache.py", line 1115, in set_field
File "site-packages\calibre\db\write.py", line 540, in set_books
File "site-packages\calibre\db\write.py", line 540, in <dictcomp>
File "site-packages\calibre\db\write.py", line 94, in adapt_number
ValueError: could not convert string to float: g#4.04


Also when Publisher has lucal language caracter "ł" or "" i have that error:
Spoiler:
calibre, version 4.10.1
BŁĄD: Nieznany wyjątek: <b>UnicodeDecodeError</b>:'utf8' codec can't decode byte 0xc3 in position 11: unexpected end of data

calibre 4.10.1 embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: pl
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 29, 0) && Package KFX (from KFX Input) (1, 29, 0) && Goodreads_Rating (3, 0, 0) && KFX metadata reader (from KFX Input) (1, 29, 0) && KFX Input (1, 29, 0) && Reading List (1, 6, 7) && Find Duplicates (1, 6, 3) && Goodreads (1, 4, 0) && Goodreads Sync (1, 14, 2) && LubimyCzytac (2, 0, 38) && APNX Generator (1, 1, 0) && Quality Check (1, 9, 11) && Annotations (1, 12, 0) && F_rating (3, 0, 1) && Count Pages (1, 9, 0)
Traceback (most recent call last):
File "calibre_plugins.F_rating.ui", line 42, in start_change
File "calibre_plugins.F_rating.ui", line 102, in change
File "site-packages\calibre\ebooks\metadata\book\base.py", line 801, in __str__
File "site-packages\calibre\ebooks\metadata\book\base.py", line 733, in __unicode__representation__
File "site-packages\calibre\ebooks\metadata\book\base.py", line 723, in fmt
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 11: unexpected end of data

When i transfer data manualy it move to next books, when error appear again.
Regards
tytan15 is offline   Reply With Quote