View Single Post
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, 155 views)
davidfor is offline   Reply With Quote