View Single Post
Old 04-04-2021, 07:52 AM   #13
likekindle
Member
likekindle began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Apr 2019
Device: Kindle
Just as you said, the __init__ is not needed, so i removed it, then use log to write log message.
But it still not working, I'll post the new code, and error message i got, could you see what's wrong in it?

Quote:

Hello, calibre!
PS D:\douban> calibre-customize -b .
Hello, calibre!
Plugin updated: Douban Books v2 (4, 2, 1)
PS D:\douban> calibre-debug -g
Hello, calibre!
calibre 5.14* [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Douban Books v2 (4, 2, 1)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 120.0 x 120.0
physicalDpi: 157.8252427184466 x 157.65517241379308
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.47] splash screen shown
[0.47] Initializing db...
[0.47] db initialized
[0.47] Constructing main UI...
[1.62] main UI initialized...
[1.62] Hiding splash screen
Starting QuickView
[1.80] splash screen hidden
[1.80] Started up in 1.80 seconds with 3 books
Metadata sources cache was recently updated not updating again
Job: 0 Download metadata for one book finished
Starting job: Download metadata for one book
Download complete, with 1 failures
Attached Files
File Type: py __init__.py (13.8 KB, 283 views)
likekindle is offline   Reply With Quote