Quote:
Originally Posted by traycold
ok, I used to start calibre. Is this what you means?
|
That will work. The alternative is using "Restart in debug mode" from the menu on the preferences button. That captures and displays the log when you close calibre.
Quote:
Then:- selected a book
- open modify metadata
- download metadata (having only goodreads as source)
- closed metadata window
- clicked on "goodreads sync" -> "sync from shelf" function
These are the logs shown at startup of Calibre:
Code:
Starting up Calibre from portable directory "XXX/Calibre"
calibre 2.38 isfrozen: True is64bit: True
Linux-4.2.3-200.fc22.x86_64-x86_64-with-fedora-22-Twenty_Two Linux ('64bit', 'ELF')
('Linux', '4.2.3-200.fc22.x86_64', '#1 SMP Thu Oct 8 03:23:55 UTC 2015')
Python 2.7.9
Linux: ('Fedora', '22', 'Twenty Two')
Successfully initialized third party plugins: DeDRM && Goodreads && Goodreads Sync && Count Pages && Kobo Utilities
Starting up...
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
Using proxies: {'https': '127.0.0.1:3128', 'no': '127.0.0.1, localhost', 'http': '127.0.0.1:3128'}
Failed to check for calibre update: Tunnel connection failed: 503 Service Unavailable
Using proxies: {'https': '127.0.0.1:3128', 'no': '127.0.0.1, localhost', 'http': '127.0.0.1:3128'}
Using proxies: {'https': '127.0.0.1:3128', 'no': '127.0.0.1, localhost', 'http': '127.0.0.1:3128'}
Using http proxy {'pass': None, 'user': None, 'host': '127.0.0.1', 'port': 3128}
_request_get: proxy={'pass': None, 'user': None, 'host': '127.0.0.1', 'port': 3128}
Key u'A' for shortcut Apri la cartella contenente is already used by Aggiungi libri, ignoring
DEBUG: 1.7 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 1.7 rebuild_menus - self.supports_ratings=None
Key u'A' for shortcut Apri la cartella contenente is already used by Aggiungi libri, ignoring
Key u'A' for shortcut Apri la cartella contenente is already used by Aggiungi libri, ignoring
Failed to check for plugin update: HTTP Error 503: Service Unavailable
Started up in 2.78 seconds with 747 books
|
There are two connection failures there. These are calibre checking for an update of itself and the plugins. Are you blocking these in some other way
Quote:
When downloading goodreads metadata (they are successfully downloaded) I have no logs on STDOUT, but clicking on view logs of the panel this is what I got:
Code:
Running identify query with parameters:
{u'authors': [u'Louisa Gilder'], u'timeout': 30, u'title': u'The Age of Entanglement', u'identifiers': {u'isbn': u'9780307270368'}}
Using plugins: Goodreads
The log from individual plugins is below
****************************** Goodreads ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')]
Found 1 results
Downloading from Goodreads took 3.14938187599
---
Title : The Age of Entanglement: When Quantum Physics Was Reborn
Author(s) : Louisa Gilder
Publisher : Vintage
Tags : Science, Non-Fiction, History
Languages : eng
Rating : 1.9
Published : 2008-11-11T00:00:00+00:00
Identifiers : isbn:9780307270368, goodreads:7815102
Querying: http://www.goodreads.com/search?search_type=books&search[query]=9780307270368
ISBN match location: u'http://www.goodreads.com/book/show/7815102-the-age-of-entanglement'
Goodreads book url: u'http://www.goodreads.com/book/show/7815102-the-age-of-entanglement'
********************************************************************************
The identify phase took 3.27 seconds
The longest time (3.149382) was taken by: Goodreads
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 1 merged results, merging took: 0.78 seconds
|
OK, you can get the metadata. But, I was hoping for the log statement similar to the previous set so that I could see what was happening wit the proxies.
Quote:
Then, when I try and do the goodreads sync operation this is the log of the failure:
Code:
calibre, version 2.38.0
ERRORE: Eccezione non gestita: <b>error</b>:[Errno 111] Connessione rifiutata
calibre 2.38 isfrozen: True is64bit: True
Linux-4.2.3-200.fc22.x86_64-x86_64-with-fedora-22-Twenty_Two Linux ('64bit', 'ELF')
('Linux', '4.2.3-200.fc22.x86_64', '#1 SMP Thu Oct 8 03:23:55 UTC 2015')
Python 2.7.9
Linux: ('Fedora', '22', 'Twenty Two')
Successfully initialized third party plugins: DeDRM && Goodreads && Goodreads Sync && Count Pages && Kobo Utilities
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.dialogs", line 342, in _accept_clicked
File "calibre_plugins.goodreads_sync.core", line 372, in get_goodreads_books_on_shelves
File "calibre_plugins.goodreads_sync.core", line 117, in _oauth_request_get
File "calibre_plugins.goodreads_sync.oauth2.__init__", line 682, in request
File "calibre_plugins.goodreads_sync.httplib2.__init__", line 1447, in request
File "calibre_plugins.goodreads_sync.httplib2.__init__", line 1199, in _request
File "calibre_plugins.goodreads_sync.httplib2.__init__", line 1135, in _conn_request
File "calibre_plugins.goodreads_sync.httplib2.__init__", line 801, in connect
error: [Errno 111] Connessione rifiutata
|
Which is the same as the previous post. At least it is consistent.
Quote:
The proxy used is SQUID, without authentication.
This is the output of export for proxy related env vars:
Code:
declare -x http_proxy="http://127.0.0.1:3128"
declare -x https_proxy="http://127.0.0.1:3128"
declare -x no_proxy="127.0.0.1, localhost"
|
That's about what I expected.
The only two things I can think of at this point are:
- Does the proxy logs show anything? Any sign of the connections?
- Does it work OK if don't use the proxy?