Mobileread
Calibre 5.0 and 5.0.1 errors
#1  igorius 09-27-2020, 08:02 AM
Hello and first thing: What a great upgrade of calibre!!!!

I found out some small glitches: When downloading metadata and there in the window "Cover download" its not possible to copy cover to clipboard nor can i see the cover in big size. I only get a beep. Nothing else happens.

I'm working on OSX 10.15, latest. Language german, so my explanation could be strange...
Reply 

#2  kovidgoyal 09-27-2020, 10:07 AM
yes, this is fixed in the next release.
Reply 

#3  bk1 09-27-2020, 10:57 AM
I just installed the newst version. I fails upon startup.

Traceback (most recent call last):
File "site.py", line 89, in <module>
File "site.py', line 84, in main
File "site.py", line 55, in run_entry_point
File ·site-packages\calibre\gui_launch.py·, line 73, in calibre
File ·site-packages\calibre\gui2\main.py·, line 557, in main
File ·site-packages\calibre\gui2\main.py·, line 384, in run_gui
File • <frozen zipimport> ·, li ne 259, in load_module
File ·site-packages\calibre\gui2\ui.py·, line 42, in <modute>
File • <frozen zipimport> ·, li ne 259, in load_module
File ·site-packages\calibre\gui2\init.py·, line 20, in <module>
File • <frozen zipimport> ·, li ne 259, in load_module
File ·site-packages\calibre\gui2\book_details.py·, line 19, in
<module>
File • <frozen zipimport> ", li ne 259, in load_module
File
·site-packages\calibre\ebooks\metadata\book\render.py·, line
16, in <module>
lmportError: cannot import name 'comments_to_html' from
'calibre.library.comments' (C:\Program Fil es
(x86)\Calibre2\\app\pylib.zip\calibre\library\comm ents.pyc)

what happens?
Reply 

#4  bk1 09-27-2020, 11:28 AM
Forgot to write I am using W10
Reply 

#5  kovidgoyal 09-27-2020, 11:39 AM
reboot your computer
Reply 

#6  pyatrus 09-27-2020, 11:49 AM
Got the same error that is noted earlier in this thread. Did not need to restart computer, as noted in the following.

IMHO, the install program/script clearly needs to be cleaned up. Thanks.

downloaded/installed 5.0.1 today.

received the attached error dialog (5.0.1) would NOT run as part of 5.0.1 install/upgrade.

After closing error dialog box (i.e., part of install where 5.0.1 would not run).

Restarted Calibre 5.0.1 from executable folder; ran OK.
load-error-Calibre-5-0-1-2020-09-27.png 
Reply 

#7  bk1 09-27-2020, 11:54 AM
Rebooting did the trick. thanks!
Reply 

#8  kovidgoyal 09-27-2020, 11:56 AM
@pyatrus: It's nothing to do with the installation, its a bug in python 3, nad has already been worked around for the next calibre release. https://github.com/kovidgoyal/calibre/commit/9eb68319cdbf7a54dcdc0267bb632fc76534bd53

if you are curious.
Reply 

#9  jiembe 09-27-2020, 12:29 PM
I tried to create a Table of contents and I get that error message :

calibre, version 5.0.0
ERREUR : Exception non gérée: <b>TypeError</b>:bad argument type: bytes(b'li { list-style-type: none; padding-left: 2em; margin-left: 0}\n\na { text-decoration: none }\n\na:hover { color: red }\n')

calibre 5.0 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: EpubMerge (2, 11, 0) && EpubSplit (2, 9, 0) && KePub Input (3, 2, 10) && KePub Metadata Reader (3, 2, 9) && KePub Metadata Writer (3, 2, 12) && KePub Output (3, 2, 15) && Kobo Utilities (2, 11, 5) && KoboTouchExtended (3, 2, 15)
Traceback (most recent call last):
File "site-packages\calibre\gui2\tweak_book\boss.py", line 584, in insert_inline_toc
File "site-packages\calibre\ebooks\oeb\polish\toc.py", line 879, in create_inline_toc
File "site-packages\calibre\ebooks\oeb\polish\toc.py", line 842, in toc_to_html
File "src/lxml/builder.py", line 226, in lxml.builder.ElementMaker.__call__
TypeError: bad argument type: bytes(b'li { list-style-type: none; padding-left: 2em; margin-left: 0}\n\na { text-decoration: none }\n\na:hover { color: red }\n')
Reply 

#10  igorius 09-27-2020, 01:08 PM
Thanks a lot for that quick answer!!!! Extremely great work you are doing!
Reply 

  Next »  Last »  (1/4)
Today's Posts | Search this Thread | Login | Register