Quote:
Originally Posted by davidfor
This is while adding a book to a shelf? The changes the beta will not have affected this, but it will mean I can track what the error reports against the code. Unfortunately, it doesn't tell me much more than before.
Can you run calibre in debug mode and post the log? Right click on the preferences button and select "Restart in debug mode". Then do whatever it is that causes the problem and close calibre. The debug log will be displayed. Post the complete log. Hopefully it will tell me something about what is happening.
|
Here is the log after debug mode:
------------
Traceback (most recent call last):
File "site-packages/calibre/gui2/ui.py", line 152, in __init__
File "site-packages/calibre/gui2/ui.py", line 166, in init_iaction
File "site-packages/calibre/customize/__init__.py", line 582, in load_actual_plugin
File "lib/python2.7/importlib/__init__.py", line 37, in import_module
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.apnx_generator.apnxaction", line 14, in <module>
ImportError: No module named PyQt4.Qt
calibre Debug log
calibre 2.45 isfrozen: True is64bit: True
Darwin-15.0.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.0.0', 'Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.11.1', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: Goodreads && Reading List && Copy Cover To Device && Count Pages && Generate Cover && Goodreads Sync && Barnes & Noble && FictionDB && Fantastic Fiction && BIBLIOETECA && Favourites Menu && APNX Generator && Find Duplicates
Starting up...
HttpHelper::__init__: proxy=None
Traceback (most recent call last):
File "site-packages/calibre/gui2/dialogs/plugin_updater.py", line 73, in read_available_plugins
File "site-packages/calibre/gui2/dialogs/plugin_updater.py", line 88, in get_installed_plugin_status
AttributeError: 'IDEVICE' object has no attribute 'plugin_path'
calibre 2.45 isfrozen: True is64bit: True
Darwin-15.0.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.0.0', 'Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.11.1', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: Goodreads && Reading List && Copy Cover To Device && Count Pages && Generate Cover && Goodreads Sync && Barnes & Noble && FictionDB && Fantastic Fiction && BIBLIOETECA && Favourites Menu && APNX Generator && Find Duplicates
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.dialogs", line 1540, in action_button_clicked
File "calibre_plugins.goodreads_sync.core", line 277, in add_remove_book_to_shelf
File "calibre_plugins.goodreads_sync.core", line 135, in _oauth_request_post
File "calibre_plugins.goodreads_sync.oauth2.__init_ _", line 684, in request
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1453, in request
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1205, in _request
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1175, in _conn_request
File "lib/python2.7/httplib.py", line 1073, in getresponse
File "lib/python2.7/httplib.py", line 415, in begin
File "lib/python2.7/httplib.py", line 405, in _read_status
BadStatusLine: HTTP/1.1 401Unauthorized
======= Plugin Parse Error =======
{u'author': u'GRiker',
u'deprecated': True,
u'description': u'Communicate with iDevices',
u'donate': u'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UDN8NYNFR2X58',
u'file': u'198720-deprecated.zip',
u'history': True,
u'index_name': u'Apple iDevice interface',
u'last_modified': u'2013-02-02T23:11:56',
u'minimum_calibre_version': [0, 9, 9],
u'name': u'Apple iDevice interface',
u'original_url': u'https://www.mobileread.com/forums/attachment.php?attachmentid=100574&d=1359846716',
u'size': 1084,
u'supported_platforms': [u'osx', u'windows'],
u'thread_id': u'198720-deprecated',
u'thread_url': u'https://www.mobileread.com/forums/showthread.php?t=198720',
u'uninstall': None,
u'version': [0, 0, 6]}
Started up in 17.71 seconds with 2689 books
HttpHelper::_oauth_request_post: url=http://www.goodreads.com/shelf/add_to_shelf.xml
Client::request - uri=http://www.goodreads.com/shelf/add_to_shelf.xml, body=book_id=19247870&name=to-read
HTTPConnectionWithTimeout::connect: Not using proxy
HTTPConnectionWithTimeout::connect: (
www.goodreads.com, 80)
send: u'POST /shelf/add_to_shelf.xml HTTP/1.1\r\nHost:
www.goodreads.com\r\nContent-Length: 250\r\nuser-agent: Python-httplib2/0.7.2 (gzip)\r\ncontent-type: application/x-www-form-urlencoded\r\naccept-encoding: gzip\r\n\r\nbook_id=19247870&name=to-read&oauth_consumer_key=UxvtOM3ogQWjfgiCnMleA&oaut h_signature_method=HMAC-SHA1&oauth_signature=9f1SKfDMAYqQJrFuKKv8qAnzp7E%3 D&oauth_timestamp=1449463673&oauth_nonce=9853854&o auth_token=8mmU4bAZd8JI8vQ19fBZAg&oauth_version=1. 0'
reply: 'HTTP/1.1 201\x00Created\r\n'
HTTPConnectionWithTimeout::connect: Not using proxy
HTTPConnectionWithTimeout::connect: (
www.goodreads.com, 80)
send: u'POST /shelf/add_to_shelf.xml HTTP/1.1\r\nHost:
www.goodreads.com\r\nContent-Length: 250\r\nuser-agent: Python-httplib2/0.7.2 (gzip)\r\ncontent-type: application/x-www-form-urlencoded\r\naccept-encoding: gzip\r\n\r\nbook_id=19247870&name=to-read&oauth_consumer_key=UxvtOM3ogQWjfgiCnMleA&oaut h_signature_method=HMAC-SHA1&oauth_signature=9f1SKfDMAYqQJrFuKKv8qAnzp7E%3 D&oauth_timestamp=1449463673&oauth_nonce=9853854&o auth_token=8mmU4bAZd8JI8vQ19fBZAg&oauth_version=1. 0'
reply: 'HTTP/1.1 401\x00Unauthorized\r\n'
------------