View Single Post
Old 09-27-2020, 05:21 AM   #6
jindroush
Connoisseur
jindroush doesn't litterjindroush doesn't litter
 
Posts: 94
Karma: 104
Join Date: Nov 2014
Device: Kindle
Yes, forgot to state - running latest 5.0.1 64bit on Windows 10 x64.

I downloaded latest tarball, looked up the missing import - importing is done deep there on line 311 of global __init__.py, in function browser
from calibre.utils.browser import Browser
ImportError: cannot import name 'Browser' from 'calibre.utils.browser' (C:\Program Files\Calibre2\\app\pylib.zip\calibre\utils\browse r.pyc)
so this fails when there is DatabaseKnih plugin loaded. If it's because loading order in multi-threaded environment, I can't think of different solution than to put all import statements somewhere in global init.

BTW: Is it possible for the debugging purposes to unpack pylib.zip to see if the problem vanishes?
jindroush is offline   Reply With Quote