Quote:
Originally Posted by eschwartz
Again, can you run calibre using the terminal command line with the command calibre-debug -g and post the error log?
|
Ok. So to be more explicit about what I did:
1) I used
Code:
futurize --stage1 -w script.py
and
Code:
futurize --stage 2 -w script.py
on all my .py files. Although this was what I could get out the link pointed, I suspect there is a lot more to do than this.
2) Then, I tried to add the modified plugins ACE and SKOOB SYNC.
P.S.: I've attached the plugins created like this.
For
calibre 4.6, here is the log:
Spoiler:
calibre 4.6 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 25, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 25, 0) && ScrambleEbook (0, 4, 1) && Skoob Books (1, 3, 1) && EpubMerge (2, 7, 0) && Goodreads Sync (1, 12, 1) && Set KFX metadata (from KFX Output) (1, 35, 0) && KFX Output (1, 35, 0) && Find Duplicates (1, 6, 3) && KFX metadata reader (from KFX Input) (1, 25, 0) && KFX Input (1, 25, 0) && Skoob Sync (0, 2, 9) && Diaps Editing Toolbag (0, 3, 5) && TTS to MP3 (0, 1, 3) && Goodreads (1, 4, 0) && LanguageTool (0, 1, 0) && Count Pages (1, 9, 0) && KindleUnpack - The Plugin (0, 81, 5) && Open With (1, 5, 10) && ACE (1, 0, 8) && EpubCheck (0, 2, 1) && EpubSplit (2, 8, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 120.0 x 120.0
physicalDpi: 141.76744186 x 141.402061856
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.55] splash screen shown
[0.55] Initializing db...
[0.59] db initialized
[0.59] Constructing main UI...
PyQt5.QtWebKitWidgets.QWebView failed
PyQt5.QtWebEngineWidgets.QWebEngineView failed
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 157, in __init__
File "site-packages\calibre\gui2\ui.py", line 171, in init_iaction
File "site-packages\calibre\customize\__init__.py", line 612, in load_actual_plugin
File "importlib\__init__.py", line 37, in import_module
File "site-packages\calibre\customize\zipplugin.py", line 185, in load_module
File "calibre_plugins.Skoob_Sync.ui", line 5, in <module>
ImportError: No module named future
EpubMerge: DEBUG: 2019-12-17 12:25:45,299: calibre_plugins.epubmerge.epubmerge_plugin(154): macmenuhack file_path:C:\Users\go_th\AppData\Roaming\calibre\p lugins\fanficfare_macmenuhack.txt
DEBUG: 0.0 HttpHelper::__init__: proxy=None
[3.16] main UI initialized...
[3.16] Hiding splash screen
[3.64] splash screen hidden
[3.64] Started up in 3.64 seconds with 981 books
The ACE plugin works fine on 4.6
.
As for the SKOOB SYNC, it gives the error shown on the log above. If I go to Preferences > Plugins, it is there, but when I try to configure it, it keep telling me to restart, even if I've already done it:
As for the log
for calibre 4.99, how can do it with calibre-portable? There is no calibre-debug in calibre-portable folder.
When I try to add plugins manually on 4.99, this happens:
1) SKOOB SYNC: It is successfully added. But I can't add it to the toolbar. And when try to configure, it tells to restart, as also happens with 4.6.
2) ACE: It is successfully added. I can configure it via Preferences > Plugins > Customize Plugins. But I can't add it to the toolbar, and so can't use.