This repository was archived by the owner on Apr 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Plugin fails to load on Windows #2
Copy link
Copy link
Open
Description
Hey,
so as suggested, I tried to run calibre in debug mode. Here's the outut:
C:\Users\<user>>calibre-debug -g
calibre 5.26 [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: DeDRM (7, 1, 0) && Remarkable Plugin (1, 1, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 92.89142857142856 x 93.78461538461538
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.86] splash screen shown
[0.86] Initializing db...
[0.91] db initialized
[0.91] Constructing main UI...
Startup method for device RemarkablePlugin threw exception
Traceback (most recent call last):
File "calibre\gui2\device.py", line 378, in run_startup
File "calibre_plugins.remarkable_plugin.__init__", line 33, in startup
File "zipimport.py", line 259, in load_module
File "C:\Users\martin\AppData\Roaming\calibre\plugins\Remarkable Plugin.zip\remarkable_fs\__init__.py", line 1, in <module>
File "zipimport.py", line 259, in load_module
File "C:\Users\martin\AppData\Roaming\calibre\plugins\Remarkable Plugin.zip\remarkable_fs\connection.py", line 5, in <module>
File "zipimport.py", line 259, in load_module
File "C:\Users\martin\AppData\Roaming\calibre\plugins\Remarkable Plugin.zip\paramiko\__init__.py", line 22, in <module>
File "zipimport.py", line 259, in load_module
File "C:\Users\martin\AppData\Roaming\calibre\plugins\Remarkable Plugin.zip\paramiko\transport.py", line 89, in <module>
File "zipimport.py", line 259, in load_module
File "C:\Users\martin\AppData\Roaming\calibre\plugins\Remarkable Plugin.zip\paramiko\dsskey.py", line 37, in <module>
File "zipimport.py", line 259, in load_module
File "C:\Users\martin\AppData\Roaming\calibre\plugins\Remarkable Plugin.zip\paramiko\pkey.py", line 31, in <module>
File "zipimport.py", line 259, in load_module
File "C:\Users\martin\AppData\Roaming\calibre\plugins\Remarkable Plugin.zip\bcrypt\__init__.py", line 25, in <module>
ImportError: cannot import name '_bcrypt' from 'bcrypt' (C:\Users\martin\AppData\Roaming\calibre\plugins\Remarkable Plugin.zip\bcrypt\__init__.py)
Error during device detection for <calibre_plugins.remarkable_plugin.RemarkablePlugin object at 0x0000024215260190>:
Traceback (most recent call last):
File "calibre\gui2\device.py", line 293, in detect_device
File "calibre_plugins.remarkable_plugin.__init__", line 50, in detect_managed_devices
AttributeError: 'RemarkablePlugin' object has no attribute 'seen_device'
QWindowsWindow::setGeometry: Unable to set geometry 2560x1389-2560+29 (frame: 2578x1436-2569-9) on QWidgetWindow/"MainWindowWindow" on "\\.\DISPLAY2". Resulting geometry: 2560x1361-2560+29 (frame: 2578x1408-2569-9) margins: 9, 38, 9, 9 minimum size: 583x390 MINMAXINFO maxSize=0,0 maxpos=0,0 mintrack=601,437 maxtrack=0,0)
[1.67] main UI initialized...
[1.67] Hiding splash screen
Starting QuickView
[2.14] splash screen hidden
[2.14] Started up in 2.14 seconds with 28 books
Error during device detection for <calibre_plugins.remarkable_plugin.RemarkablePlugin object at 0x0000024215260190>:
Traceback (most recent call last):
File "calibre\gui2\device.py", line 293, in detect_device
File "calibre_plugins.remarkable_plugin.__init__", line 50, in detect_managed_devices
AttributeError: 'RemarkablePlugin' object has no attribute 'seen_device'
Error during device detection for <calibre_plugins.remarkable_plugin.RemarkablePlugin object at 0x0000024215260190>:
Traceback (most recent call last):
File "calibre\gui2\device.py", line 293, in detect_device
File "calibre_plugins.remarkable_plugin.__init__", line 50, in detect_managed_devices
AttributeError: 'RemarkablePlugin' object has no attribute 'seen_device'
Error during device detection for <calibre_plugins.remarkable_plugin.RemarkablePlugin object at 0x0000024215260190>:
Traceback (most recent call last):
File "calibre\gui2\device.py", line 293, in detect_device
File "calibre_plugins.remarkable_plugin.__init__", line 50, in detect_managed_devices
AttributeError: 'RemarkablePlugin' object has no attribute 'seen_device'The last stacktrace gets repeated every couple of seconds. I can SSH into the Remarkable and the plugin settings are set correctly.
Cheers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels