View Single Post
Old 01-03-2016, 11:44 PM   #788
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Rellwood View Post
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 "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
This isn't related to the problem you are seeing, but that says the APNX generator plugin hasn't been updated. It won't work, so you should either remove it, or see if there is an upgrade to a version that works with the 2.x versions of calibre.
Quote:
Spoiler:

Code:
_oauth_request_get: url=http://www.goodreads.com/review/list.xml?v=2&shelf=to-read&page=1&per_page=200
Goodreads failure calling: http://www.goodreads.com/review/list...1&per_page=200
Response: {'x-xss-protection': '1; mode=block', 'cache-control': 'no-cache', 'vary': 'User-Agent,Accept-Encoding', 'content-type': 'text/html; charset=utf-8', 'www-authenticate': 'OAuth realm="http://www.goodreads.com"', 'x-request-id': '0B9KAQBT1S2DEPB1V7Q3', 'x-runtime': '0.040624', 'x-frame-options': 'SAMEORIGIN', '-content-encoding': 'gzip', 'content-length': '14', 'server': 'Server', 'status': '401', 'set-cookie': 'csid=BAhJIhg2MzMtNDc2NTk4MS0zNzc0NzQ3BjoGRVQ%3D--5c3743dd8f1377450bb1ee64a92af72e7ad109d1; path=/; expires=Sun, 30 Dec 2035 05:59:40 -0000, locale=en; path=/, _session_id2=2939e4d9d24918dfcb8f678e1624a498; path=/; expires=Wed, 30 Dec 2015 11:59:40 -0000; HttpOnly', 'x-content-type-options': 'nosniff', 'date': 'Wed, 30 Dec 2015 05:59:40 GMT'}
Content: not authorized
  File "site.py", line 132, in main
  File "site.py", line 109, in run_entry_point
  File "site-packages\calibre\debug.py", line 225, in main
  File "site-packages\calibre\debug.py", line 191, in run_debug_gui
  File "site-packages\calibre\gui_launch.py", line 63, in calibre
  File "site-packages\calibre\gui2\main.py", line 525, in main
  File "site-packages\calibre\gui2\main.py", line 377, in run_gui
  File "calibre_plugins.goodreads_sync.action", line 319, in sync_shelves
  File "calibre_plugins.goodreads_sync.dialogs", line 342, in _accept_clicked
  File "calibre_plugins.goodreads_sync.core", line 373, in get_goodreads_books_on_shelves
  File "calibre_plugins.goodreads_sync.core", line 120, in _oauth_request_get
  File "calibre_plugins.goodreads_sync.core", line 171, in _handle_failure
_oauth_request_get: url=http://www.goodreads.com/review/list.xml?v=2&shelf=to-read&page=1&per_page=200
Goodreads failure calling: http://www.goodreads.com/review/list...1&per_page=200
Response: {'x-xss-protection': '1; mode=block', 'cache-control': 'no-cache', 'vary': 'User-Agent,Accept-Encoding', 'content-type': 'text/html; charset=utf-8', 'www-authenticate': 'OAuth realm="http://www.goodreads.com"', 'x-request-id': '11CY3EHDJ0XPHM2CJS1H', 'x-runtime': '0.047217', 'x-frame-options': 'SAMEORIGIN', '-content-encoding': 'gzip', 'content-length': '14', 'server': 'Server', 'status': '401', 'set-cookie': 'csid=BAhJIhgyNDEtMjYxNzgxOC0xNzgyMzY3BjoGRVQ%3D--78028926f28bf03f25ff245673a635854064bded; path=/; expires=Sun, 30 Dec 2035 06:01:21 -0000, locale=en; path=/, _session_id2=6c74c3d661926eb69e3d9474a8927830; path=/; expires=Wed, 30 Dec 2015 12:01:21 -0000; HttpOnly', 'x-content-type-options': 'nosniff', 'date': 'Wed, 30 Dec 2015 06:01:21 GMT'}
Content: not authorized
  File "site.py", line 132, in main
  File "site.py", line 109, in run_entry_point
  File "site-packages\calibre\debug.py", line 225, in main
  File "site-packages\calibre\debug.py", line 191, in run_debug_gui
  File "site-packages\calibre\gui_launch.py", line 63, in calibre
  File "site-packages\calibre\gui2\main.py", line 525, in main
  File "site-packages\calibre\gui2\main.py", line 377, in run_gui
  File "calibre_plugins.goodreads_sync.action", line 319, in sync_shelves
  File "calibre_plugins.goodreads_sync.dialogs", line 342, in _accept_clicked
  File "calibre_plugins.goodreads_sync.core", line 373, in get_goodreads_books_on_shelves
  File "calibre_plugins.goodreads_sync.core", line 120, in _oauth_request_get
  File "calibre_plugins.goodreads_sync.core", line 171, in _handle_failure
Starting debug executable: C:\Program Files\Calibre2\calibre-debug.exe
I can't see anything wrong there. A simple answer is the one I suggested for michelleanne; check the date and time of your computer. If this is out by to much, the server will reject the request with this error. And the timezone will have an affect as well.

The other thing is to check that the plugin is authorized properly. See the first post for instructions.

Also, which version of the plugin are you running? The released version or the beta in this post. If you aren't running the beta, can you install that and post a new debug log. From memory, it has a bit more debug information that might help.

Last edited by davidfor; 01-13-2016 at 07:25 AM. Reason: Fixed quoting
davidfor is offline   Reply With Quote