View Single Post
Old 01-01-2015, 05:44 PM   #157
leefa
Member
leefa began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Apr 2011
Device: Kindle/Android
help with upgrade to QT 5

I'm having issues with one of my personal plugins after upgrading to the newest version of calibre. I was previously on 1.48. I'm trying to make my plugins compatible with the new version using QT 5.

Even though is looks like my plugin gets loaded (Amazon Title Series && My Amazon && Kindle Collections Leefa ) they aren't available to add to the toolbar and/or aren't added to the toolbar

I've attached the plugins

Here is the log:
Quote:
calibre 2.14 [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: Amazon Title Series && DeDRM && Go
odreads Sync && MobiDeDRM && After Kindle Add To Library Plugin && Save To Forma
t && Goodreads && Open With && My Amazon && Kindle Collections Leefa && Extract
ISBN && Kindle Collections && Search The Internet
Starting up...
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 150, in __init__
File "site-packages\calibre\gui2\ui.py", line 164, in init_iaction
File "site-packages\calibre\customize\__init__.py", line 582, in load_actual_p
lugin
File "importlib\__init__.py", line 37, in import_module
ImportError: No module named AfterKindleAddToLibrary.ui
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 150, in __init__
File "site-packages\calibre\gui2\ui.py", line 164, in init_iaction
File "site-packages\calibre\customize\__init__.py", line 582, in load_actual_p
lugin
File "importlib\__init__.py", line 37, in import_module
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.savetoformat.savetoformatacti on", line 3, in <module>
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.savetoformat.gui.prompt", line 5, in <module>
ImportError: cannot import name NONE
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 150, in __init__
File "site-packages\calibre\gui2\ui.py", line 164, in init_iaction
File "site-packages\calibre\customize\__init__.py", line 582, in load_actual_p
lugin
File "importlib\__init__.py", line 37, in import_module
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.myamazon.myamazonaction", line 3, in <module>
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.myamazon.gui.prompt", line 5, in <module>
ImportError: cannot import name NONE
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 150, in __init__
File "site-packages\calibre\gui2\ui.py", line 164, in init_iaction
File "site-packages\calibre\customize\__init__.py", line 582, in load_actual_p
lugin
File "importlib\__init__.py", line 37, in import_module
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.KindleCollectionsLeefa.ui", line 21, in <module>
ImportError: No module named kindleCollectionsLeefa.messages
Started up in 3.73 seconds with 244 books
Problem creating accessible interface for: QLabel(0xa129a60)
Make sure to deploy Qt with accessibility plugins.
Job:Q T1e xtCurGet device informations ostarterd:
:setPosition: Position '8' out of range
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: Job:2 1 Get device information Set library informationfinished
startedNo details available.

DeviceJob: 2 Set library information done, calling callback
QTextCursor::setPosition: Position '8' out of range
DeviceJob: 2 Set library information callback returned
Job: 3 Get list of books on device started
DEBUG: 0.0 USBMS: Fetching list of books from device. Device= KINDLE2 oncard=
None
DEBUG: 0.0 USBMS: dirs are: J:\ documents
DEBUG: 0.6 USBMS: scan from root False J:\documents
Job: 2 Set library information finished
No details available.
QTextCursor::setPosition: Position '8' out of range
DEBUG: 2.9 USBMS: count found in cache: 96, count of files in metadata: 96, n
eed_sync: False
DEBUG: 2.9 USBMS: Finished fetching list of books from device. oncard= None
DEBUG: 2.9 USBMS: Fetching list of books from device. Device= KINDLE2 oncard=
carda
DEBUG: 2.9 USBMS: Fetching list of books from device. Device= KINDLE2 oncard=
cardb
DeviceJob: 3 Get list of books on device done, calling callback
DeviceJob: metadata_downloaded: Starting set_books_in_library
DeviceJob: set_books_in_library: books to process= 96
DeviceJob: set_books_in_library finished: time= 0.00799989700317
DeviceJob: metadata_downloaded: updating views
DeviceJob: metadata_downloaded: syncing
DeviceJob: metadata_downloaded: refreshing ondevice
DeviceJob: metadata_downloaded: sending metadata_available signal
DeviceJob: 3 Get list of books on device callback returned
Job: 3 Get list of books on device finished
No details available.
QTextCursor::setPosition: Position '8' out of range
Attached Files
File Type: zip MyAmazon.zip (60.4 KB, 1182 views)
File Type: zip AmazonTitleSeries.zip (798 Bytes, 1170 views)
File Type: zip KindleCollectionsLeefa.zip (99.9 KB, 1179 views)
leefa is offline   Reply With Quote