Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 10-26-2015, 08:56 AM   #736
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by davidfor View Post
The attached version seems to work.
Attached to what???
DoctorOhh is offline   Reply With Quote
Old 10-26-2015, 08:37 PM   #737
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 DoctorOhh View Post
Attached to what???
I swear it was there. I remember opening the "Manage attachments", finding the plugin and uploading it. I'm sure I did everything. But, I must have missed something. I'll have to fix it when I get home tonight.
davidfor is offline   Reply With Quote
Old 10-26-2015, 11:53 PM   #738
samibecker
Junior Member
samibecker began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2013
Device: Nook HD+
Goodreads Comments Not Downloading

This problem just started a few days ago. When I download metadata, the Goodreads option gives me a title and a cover, but no comments. I have checked my configuration and everything looks normal; the Comments option is checked, so if the book has comments (a description), they should download. Yet they're still not downloading.

Can anyone test to see if I'm the only one having this problem? And if it's a known issue, please just let me know so I can work around it until the problem is fixed.

Thank you!
samibecker is offline   Reply With Quote
Old 10-27-2015, 12:15 AM   #739
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
You want the Goodreads metadata source plugin. I posted a version to fix this yesterday.
davidfor is offline   Reply With Quote
Old 10-27-2015, 06:08 AM   #740
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
Enable Proxies Beta

As promised last night, here is a version of the plugin that enables proxies. It seems to work, but it needs more testing.

Any reports of how it works whether you use a proxy or not are welcome.
Attached Files
File Type: zip Goodreads Sync-beta.zip (210.8 KB, 135 views)
davidfor is offline   Reply With Quote
Old 10-28-2015, 07:44 AM   #741
traycold
Connoisseur
traycold doesn't littertraycold doesn't litter
 
Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
Quote:
Originally Posted by davidfor View Post
As promised last night, here is a version of the plugin that enables proxies. It seems to work, but it needs more testing.

Any reports of how it works whether you use a proxy or not are welcome.
not working on calibre 2.38 and http proxy.
Here some relevant logs, hope can be useful:
Code:
Using http proxy {'user': None, 'pass': None, 'port': 3128, 'host': '127.0.0.1'}
_request_get: proxy={'user': None, 'pass': None, 'port': 3128, 'host': '127.0.0.1'}
Using proxies: {'http': '127.0.0.1:3128', 'https': '127.0.0.1:3128', 'no': '127.0.0.1, localhost'}
_oauth_request_get: url=http://www.goodreads.com/review/list.xml?v=2&shelf=read&page=1&per_page=200
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: Count Pages && Kobo Utilities && Goodreads && Goodreads Sync
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
traycold is offline   Reply With Quote
Old 10-28-2015, 09:40 AM   #742
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
With that error, my first reaction is that the proxy isn't running or is blocked by a firewall or something. Does calibre fetch metadata ok?
davidfor is offline   Reply With Quote
Old 10-28-2015, 03:07 PM   #743
traycold
Connoisseur
traycold doesn't littertraycold doesn't litter
 
Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
Quote:
Originally Posted by davidfor View Post
With that error, my first reaction is that the proxy isn't running or is blocked by a firewall or something. Does calibre fetch metadata ok?
yes, everything else works. For sure I was able to download fetch covers from internet.
traycold is offline   Reply With Quote
Old 10-28-2015, 06:40 PM   #744
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 traycold View Post
yes, everything else works. For sure I was able to download fetch covers from internet.
OK. I need some more information:

- Can you run calibre in debug mode? And then do a metadata download from goodreads and run one or two of the functions from this plugin. Then post the logs from that.
- What proxy are you using?
- Can you post the environment variables for the proxy? If it has a username or password, you can obscure them, but I want to check that what I see matches what is set.
davidfor is offline   Reply With Quote
Old 10-29-2015, 09:23 AM   #745
traycold
Connoisseur
traycold doesn't littertraycold doesn't litter
 
Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
Quote:
Originally Posted by davidfor View Post
OK. I need some more information:

- Can you run calibre in debug mode? And then do a metadata download from goodreads and run one or two of the functions from this plugin. Then post the logs from that.
- What proxy are you using?
- Can you post the environment variables for the proxy? If it has a username or password, you can obscure them, but I want to check that what I see matches what is set.
ok, I used
Code:
calibre-debug -g
to start calibre. Is this what you means?
Then:
  1. selected a book
  2. open modify metadata
  3. download metadata (having only goodreads as source)
  4. closed metadata window
  5. 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
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
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
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"
Let me know if you need other info.
traycold is offline   Reply With Quote
Old 10-30-2015, 09:34 AM   #746
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 traycold View Post
ok, I used
Code:
calibre-debug -g
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:
  1. selected a book
  2. open modify metadata
  3. download metadata (having only goodreads as source)
  4. closed metadata window
  5. 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?
davidfor is offline   Reply With Quote
Old 11-04-2015, 04:08 AM   #747
maualberti
Junior Member
maualberti began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2015
Device: kindle
Dear David, I have tried your last plugin (thanks again for providing it)

I still get an error. See below

calibre, version 2.0.0
ERROR: Unhandled exception: <b>error</b>:[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

calibre 2.0 isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: Count Pages && Goodreads Sync && Kindle Collections && Goodreads
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.config", line 1119, in refresh_shelves_list
File "calibre_plugins.goodreads_sync.core", line 244, in get_shelf_list
File "calibre_plugins.goodreads_sync.core", line 154, in _request_get
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 1173, in _conn_request
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 801, in connect
error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
maualberti is offline   Reply With Quote
Old 11-04-2015, 01:47 PM   #748
crookbond85
Junior Member
crookbond85 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2014
Device: Nook Simple Touch Reader
Please Help :Error Code 401 while Connecting to Goodreads

I am using Calibre 2.42.0 with Goodreads Sync Plugin (v 1.7.7) , however i am unable to connect to Goodreads as i am getting Response Code 401.
Error : Invalid OAuth Request

Please help me if there is any fix for this.
crookbond85 is offline   Reply With Quote
Old 11-05-2015, 03:48 AM   #749
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 crookbond85 View Post
I am using Calibre 2.42.0 with Goodreads Sync Plugin (v 1.7.7) , however i am unable to connect to Goodreads as i am getting Response Code 401.
Error : Invalid OAuth Request

Please help me if there is any fix for this.
What were you doing at the time? And can you post the detailed error message? Click the copy button on the error dialog to copy the details in to the clipboard and post that.
davidfor is offline   Reply With Quote
Old 11-05-2015, 06:40 AM   #750
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 maualberti View Post
Dear David, I have tried your last plugin (thanks again for providing it)

I still get an error. See below

calibre, version 2.0.0
ERROR: Unhandled exception: <b>error</b>:[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

calibre 2.0 isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: Count Pages && Goodreads Sync && Kindle Collections && Goodreads
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.config", line 1119, in refresh_shelves_list
File "calibre_plugins.goodreads_sync.core", line 244, in get_shelf_list
File "calibre_plugins.goodreads_sync.core", line 154, in _request_get
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 1173, in _conn_request
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 801, in connect
error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
So, the proxy is only working for me?

Looking at the choices I made for initializing the proxy connection, there was one option I left alone. This was the proxy type. I left this as none, but looking at it now, it probably should be PROXY_TYPE_HTTP_NO_TUNNEL. That seems to work here, not that that's been a good indicator

This version has:

- proxy type set
- A few debugging statements in the connect method. If it doesn't work, run in debug mode and post the log.
- Version set to 1.7.8

If this doesn't work, I will have to have a better look at the way calibre does this. The plugin is using some extra libraries. It might be possible to channel to requests through calibre supplied libraries that already handle proxies.
Attached Files
File Type: zip Goodreads Sync-beta3.zip (210.9 KB, 154 views)
davidfor is offline   Reply With Quote
Reply

Tags
calibre, goodreads


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Search the Internet kiwidude Plugins 436 05-12-2025 09:02 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 29 04-02-2024 10:05 PM
[GUI Plugin] Quick Preferences kiwidude Plugins 62 03-16-2024 11:47 PM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 06:08 AM.


MobileRead.com is a privately owned, operated and funded community.