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 03-26-2016, 04:48 AM   #826
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 Efreak View Post
Is there any chance of linking a book to multiple books on goodreads? I have several ebooks in calibre for samplers from various publishers; goodreads doesn't seem to have entries for these, so it would be nice to be able to link the book to each of the books in it.
Yes and no. The link to the book is really through the Goodreads metadata source plugin. The metadata source plugins can support multiple ids, but, the Goodreads plugin doesn't. Adding the support isn't hard, but, it would probably cause all sorts of problems for this plugin. I'll have a look, to add it, but if it means to many changes here, I won't.
Quote:
Also, it might be nice to have a git or other browsable source code for this plugin.
The plugin file is just a zip file with all the code in it. Just unpack it if you want to read the code.
davidfor is offline   Reply With Quote
Old 04-04-2016, 12:02 AM   #827
Tisiphoni
Junior Member
Tisiphoni began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2016
Device: iPad, iPhone6
I'm attempting to sync my latest reads to my shelves but this is the error that I keep receiving ...

calibre, version 2.54.0
ERROR: Unhandled exception: <b>IOError</b>:[Errno 32] Broken pipe

calibre 2.54 embedded-python: True is64bit: True
Darwin-15.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.4.0', 'Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64')
Python 2.7.11
OSX: ('10.11.4', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: Barnes & Noble && Goodreads Sync && Find Duplicates && Goodreads && Overdrive Link && Overdrive Link
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.dialogs", line 1691, in action_button_clicked
File "calibre_plugins.goodreads_sync.core", line 318, in update_review
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 1136, in getresponse
File "lib/python2.7/httplib.py", line 488, in begin
IOError: [Errno 32] Broken pipe
Tisiphoni is offline   Reply With Quote
Advert
Old 04-04-2016, 09:32 AM   #828
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
"[Errno 32] Broken pipe" means that the connection has been closed unexpectedly. I don't know what is causing that. I could be something on the Goodreads server, or something local. Sorry, I can't think of a solution.
davidfor is offline   Reply With Quote
Old 04-07-2016, 03:50 PM   #829
EdStout
Member
EdStout began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2013
Device: Mac, iPad
I'm getting an error now whenever I "Add to shelf...": ERROR: Unhandled exception:

<b>TypeError</b>:QUrl.fromEncoded(): argument 1 has unexpected type 'unicode'


calibre 2.54 embedded-python: True is64bit: True
Darwin-15.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.4.0', 'Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64')
Python 2.7.11
OSX: ('10.11.4', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Search The Internet && Quality Check && Generate Cover && Manage Series && Find Duplicates && Goodreads Sync && Count Pages && Extract ISBN
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.dialogs", line 1046, in search_on_goodreads
TypeError: QUrl.fromEncoded(): argument 1 has unexpected type 'unicode'

This has been happening for a few days now. Any ideas on how to fix this?

Thanks,
Ed
EdStout is offline   Reply With Quote
Old 04-07-2016, 08:21 PM   #830
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
What exactly are you doing? The reported error is in the "Search for Goodreads book" dialog. There are several ways to get to this dialog including when doing an "add to shelf". But, it doesn't just happen when you start the function, you have to press a button on the dialog and then press another on the next dialog.

This does use the title and author of the selected book. Is there anything unusual about these?
davidfor is offline   Reply With Quote
Advert
Old 04-08-2016, 10:39 AM   #831
EdStout
Member
EdStout began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2013
Device: Mac, iPad
davidfor: You're right (sorry!). As part of the "Add to shelf..." process, I then select the book I'm trying to add from the resulting "Modify Goodreads Shelf" dialog (which shows a status of "No Goodreads book linked!"), and double-click to bring up the "Search for Goodreads book" dialog; from there, I click on the "Search Goodreads.com" button to get the error. Does that help?
EdStout is offline   Reply With Quote
Old 04-09-2016, 01:07 AM   #832
dirvine
Junior Member
dirvine began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
I am also getting the broken pipe error

It started happening after I updated Calibre on April 4.

I can use all features of the plug in that I've tried (e.g. link books, view a linked book, use the view my shelf) except for Add to Shelf (when adding an already linked book to my "read" shelf)

calibre, version 2.50.1
ERROR: Unhandled exception: <b>IOError</b>:[Errno 32] Broken pipe

calibre 2.50.1 isfrozen: True is64bit: True
Darwin-14.5.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '14.5.0', 'Darwin Kernel Version 14.5.0: Mon Jan 11 18:48:35 PST 2016; root:xnu-2782.50.2~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.10.5', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Modify ePub && EpubMerge && Count Pages && EpubSplit && Goodreads Sync
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.dialogs", line 1674, 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 128, in _oauth_request_post
File "site-packages/calibre/__init__.py", line 226, in prints
IOError: [Errno 32] Broken pipe
dirvine is offline   Reply With Quote
Old 04-12-2016, 01:38 AM   #833
dirvine
Junior Member
dirvine began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
additional details:

I realized that I could send books to certain shelves with the plugin, but only as long as the "add to shelf" didn't have any associated actions with it. Adding to my "read" shelf also updates the rating and date read on goodreads.

I tried to configure the plugin so that I could eliminate one action and see which was causing the problem, but even attempting to configure the plugin gets me a broken pipe error:
calibre, version 2.50.1
ERROR: Unhandled exception: <b>IOError</b>:[Errno 32] Broken pipe

calibre 2.50.1 isfrozen: True is64bit: True
Darwin-14.5.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '14.5.0', 'Darwin Kernel Version 14.5.0: Mon Jan 11 18:48:35 PST 2016; root:xnu-2782.50.2~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.10.5', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Count Pages && Modify ePub && EpubSplit && EpubMerge && Goodreads Sync
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.action", line 857, in show_configuration
File "site-packages/calibre/customize/__init__.py", line 154, in do_user_config
File "calibre_plugins.goodreads_sync.__init__", line 64, in config_widget
File "calibre_plugins.goodreads_sync.core", line 80, in __init__
File "site-packages/calibre/__init__.py", line 226, in prints
IOError: [Errno 32] Broken pipe


Incidentally, everyone who has reported a broken pipe error so far is using OSX.
dirvine is offline   Reply With Quote
Old 04-12-2016, 02:09 AM   #834
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
dirvine: I think the errors for you are caused by some debug statements in the code. Can you run calibre in debug mode and try again? Click on the down-arrow that is on the preferences button and select "Restart in debug mode". This should restart calibre with a console for any messages. Try what you were doing before. If it works, I'll remove or change the debug messages are handled.
davidfor is offline   Reply With Quote
Old 04-15-2016, 01:12 AM   #835
dirvine
Junior Member
dirvine began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
Oddly enough, in debug mode everything worked fine.

When I exited from debug mode and reopened calibre in regular mode the pipe error returned.

I realized that calibre outputs at least some of the same log messages to the mac console when it is in regular mode, and I hope that this will be of assistance to you. This is what I get from launching calibre then attempting to add one book to my read shelf (which also is supposed to add the rating and date to goodreads, remove a "to-read" tag from the book, and add a "read" tag):

Quote:
4/14/16 10:05:42.918 PM calibre[816]: HttpHelper::__init__: proxy=None
4/14/16 10:05:42.952 PM calibre[816]: EpubMergeEBUG:calibre_plugins.epubmerge.epubmerg e_plugin(152):macmenuhack file_path:/Users/diane1/Library/Preferences/calibre/plugins/fanficfare_macmenuhack.txt
4/14/16 10:06:51.403 PM calibre[816]: HttpHelper::_oauth_request_post: url=http://www.goodreads.com/shelf/add_to_shelf.xml
4/14/16 10:06:51.413 PM calibre[816]: Client::request - uri=http://www.goodreads.com/shelf/add_to_shelf.xml, body=book_id=3413662&name=read
4/14/16 10:06:51.447 PM calibre[816]: HTTPConnectionWithTimeout::connect: Not using proxy
4/14/16 10:06:51.447 PM calibre[816]: HTTPConnectionWithTimeout::connect: (www.goodreads.com, 80)
4/14/16 10:06:51.531 PM calibre[816]: send: u'POST /shelf/add_to_shelf.xml HTTP/1.1\r\nHost: www.goodreads.com\r\nContent-Length: 246\r\nuser-agent: Python-httplib2/0.7.2 (gzip)\r\ncontent-type: application/x-www-form-urlencoded\r\naccept-encoding: gzip\r\n\r\noauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_consumer_key=UxvtOM3o gQWjfgiCnMleA&oauth_timestamp=1460696811&oauth_non ce=85819156&oauth_token=RK49dfy9U7JPCjn3Kkw&oauth_ signature=4Vq92q0oxufuOnK%2Bt1YW3mxBQwc%3D&book_id =3413662&name=read'
4/14/16 10:06:51.808 PM calibre[816]: reply: 'HTTP/1.1 201 Created\r\n'
4/14/16 10:06:51.812 PM calibre[816]: header: Date: Fri, 15 Apr 2016 05:06:51 GMT
4/14/16 10:06:51.812 PM calibre[816]: header: Server: Server
4/14/16 10:06:51.812 PM calibre[816]: header: Content-Type: application/xml; charset=utf-8
4/14/16 10:06:51.812 PM calibre[816]: header: Status: 201 Created
4/14/16 10:06:51.813 PM calibre[816]: header: X-Frame-Options: ALLOWALL
4/14/16 10:06:51.813 PM calibre[816]: header: X-XSS-Protection: 1; mode=block
4/14/16 10:06:51.813 PM calibre[816]: header: X-Content-Type-Options: nosniff
4/14/16 10:06:51.813 PM calibre[816]: header: Location: http://www.goodreads.com/review/list/6523323?shelf=read
4/14/16 10:06:51.813 PM calibre[816]: header: X-Request-Id: 0SQGX7K03TD5H6RC1R0B
4/14/16 10:06:51.813 PM calibre[816]: header: ETag: W/"e36966be9d2eb3ebe033b5d229923f97-gzip"
4/14/16 10:06:51.815 PM calibre[816]: header: Cache-Control: max-age=0, private, must-revalidate
4/14/16 10:06:51.815 PM calibre[816]: header: X-Runtime: 0.176135
4/14/16 10:06:51.815 PM calibre[816]: header: X-Content-Type-Options: nosniff
4/14/16 10:06:51.815 PM calibre[816]: header: Set-Cookie: csid=BAhJIhg0NDEtNDAwMjQ0Ni0xMjY0OTk2BjoGRVQ%3D--f91262cd08d33b1908d397827c3d80c0a1a14b7b; path=/; expires=Tue, 15 Apr 2036 05:06:51 -0000
4/14/16 10:06:51.815 PM calibre[816]: header: Set-Cookie: locale=en; path=/
4/14/16 10:06:51.815 PM calibre[816]: header: Set-Cookie: _session_id2=54d5075b8ca8954f5c170fd06e75bf8c; path=/; expires=Fri, 15 Apr 2016 11:06:51 -0000; HttpOnly
4/14/16 10:06:51.815 PM calibre[816]: header: Vary: Accept-Encoding,User-Agent
4/14/16 10:06:51.816 PM calibre[816]: header: Content-Encoding: gzip
4/14/16 10:06:51.816 PM calibre[816]: header: Content-Length: 214
4/14/16 10:06:51.829 PM calibre[816]: HttpHelper::_oauth_request_post: url=http://www.goodreads.com/review/222256377.xml
4/14/16 10:06:51.837 PM calibre[816]: Client::request - uri=http://www.goodreads.com/review/222256377.xml, body=book_id=3413662&review%5Brating%5D=4&shelf=re ad
4/14/16 10:06:51.837 PM calibre[816]: send: u'PUT /review/222256377.xml HTTP/1.1\r\nHost: www.goodreads.com\r\nContent-Length: 47\r\nuser-agent: Python-httplib2/0.7.2 (gzip)\r\ncontent-type: application/x-www-form-urlencoded\r\nauthorization: OAuth realm="http://www.goodreads.com", oauth_token="RK49dfy9U7JPCjn3Kkw", oauth_signature="E8PMk7UVv0v2YEFEZv18UP1vCHk%3D", oauth_consumer_key="UxvtOM3ogQWjfgiCnMleA", oauth_timestamp="1460696811", oauth_nonce="35834319", oauth_body_hash="fWAT4HhH8ZSL%2BuS8ytYCeq%2F%2BrX4 %3D", oauth_version="1.0", oauth_
4/14/16 10:06:51.838 PM calibre[816]: send: u'PUT /review/222256377.xml HTTP/1.1\r\nHost: www.goodreads.com\r\nContent-Length: 47\r\nuser-agent: Python-httplib2/0.7.2 (gzip)\r\ncontent-type: application/x-www-form-urlencoded\r\nauthorization: OAuth realm="http://www.goodreads.com", oauth_token="RK49dfy9U7JPCjn3Kkw", oauth_signature="E8PMk7UVv0v2YEFEZv18UP1vCHk%3D", oauth_consumer_key="UxvtOM3ogQWjfgiCnMleA", oauth_timestamp="1460696811", oauth_nonce="35834319", oauth_body_hash="fWAT4HhH8ZSL%2BuS8ytYCeq%2F%2BrX4 %3D", oauth_version="1.0", oauth_
4/14/16 10:06:51.838 PM calibre[816]: send: u'PUT /review/222256377.xml HTTP/1.1\r\nHost: www.goodreads.com\r\nContent-Length: 47\r\nuser-agent: Python-httplib2/0.7.2 (gzip)\r\ncontent-type: application/x-www-form-urlencoded\r\nauthorization: OAuth realm="http://www.goodreads.com", oauth_token="RK49dfy9U7JPCjn3Kkw", oauth_signature="E8PMk7UVv0v2YEFEZv18UP1vCHk%3D", oauth_consumer_key="UxvtOM3ogQWjfgiCnMleA", oauth_timestamp="1460696811", oauth_nonce="35834319", oauth_body_hash="fWAT4HhH8ZSL%2BuS8ytYCeq%2F%2BrX4 %3D", oauth_version="1.0", oauth_
4/14/16 10:06:52.560 PM calibre[816]: calibre 2.50.1 isfrozen: True is64bit: True
4/14/16 10:06:52.561 PM calibre[816]: Darwin-14.5.0-x86_64-i386-64bit Darwin ('64bit', '')
4/14/16 10:06:52.561 PM calibre[816]: ('Darwin', '14.5.0', 'Darwin Kernel Version 14.5.0: Mon Jan 11 18:48:35 PST 2016; root:xnu-2782.50.2~1/RELEASE_X86_64')
4/14/16 10:06:52.561 PM calibre[816]: Python 2.7.9
4/14/16 10:06:52.561 PM calibre[816]: OSX: ('10.10.5', ('', '', ''), 'x86_64')
4/14/16 10:06:52.561 PM calibre[816]: Successfully initialized third party plugins: DeDRM && Count Pages && Modify ePub && EpubSplit && Goodreads Sync && EpubMerge
4/14/16 10:06:52.561 PM calibre[816]: Traceback (most recent call last):
4/14/16 10:06:52.561 PM calibre[816]: File "calibre_plugins.goodreads_sync.dialogs", line 1691, in action_button_clicked
4/14/16 10:06:52.561 PM calibre[816]: File "calibre_plugins.goodreads_sync.core", line 318, in update_review
4/14/16 10:06:52.562 PM calibre[816]: File "calibre_plugins.goodreads_sync.core", line 135, in _oauth_request_post
4/14/16 10:06:52.562 PM calibre[816]: File "calibre_plugins.goodreads_sync.oauth2.__init_ _", line 684, in request
4/14/16 10:06:52.562 PM calibre[816]: File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1453, in request
4/14/16 10:06:52.562 PM calibre[816]: File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1205, in _request
4/14/16 10:06:52.562 PM calibre[816]: File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1175, in _conn_request
4/14/16 10:06:52.562 PM calibre[816]: File "lib/python2.7/httplib.py", line 1073, in getresponse
4/14/16 10:06:52.562 PM calibre[816]: File "lib/python2.7/httplib.py", line 450, in begin
4/14/16 10:06:52.562 PM calibre[816]: IOError: [Errno 32] Broken pipe
dirvine is offline   Reply With Quote
Old 04-15-2016, 01:52 AM   #836
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 dirvine View Post
Oddly enough, in debug mode everything worked fine.

When I exited from debug mode and reopened calibre in regular mode the pipe error returned.

I realized that calibre outputs at least some of the same log messages to the mac console when it is in regular mode, and I hope that this will be of assistance to you. This is what I get from launching calibre then attempting to add one book to my read shelf (which also is supposed to add the rating and date to goodreads, remove a "to-read" tag from the book, and add a "read" tag):
I was expecting that it would work in debug mode. For your two earlier reports, the line number was for a "prints" statement. That was writing to the console. I use these for debugging but usually use a different statement that does nothing if calibre is not running in debug mode. This later example is in a different place, but it might still be triggered by the prints statement.

I'll put up a beta tonight without these lines in it to see if that fixes anything.
davidfor is offline   Reply With Quote
Old 04-15-2016, 09:30 AM   #837
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
Possible fix for open error and URL opening

The attached beta should fix the two problems reported since the last release. This is the problem causing the "Broken pipe" errors on Macs and the problem opening the Goodreads URL from the search dialog. Again the report was on a Mac.

I have tested this on my Windows laptop and it all seems OK. But, it did before as well. I don't have a Mac to test it on but I think these changes should solve the problems. Please test and tell me how it goes.
Attached Files
File Type: zip Goodreads Sync-beta.zip (214.6 KB, 160 views)
davidfor is offline   Reply With Quote
Old 04-22-2016, 11:01 AM   #838
EdStout
Member
EdStout began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2013
Device: Mac, iPad
davidfor: Sorry to be dense here, but what do I do with the beta download to install it on my Mac? TIA
EdStout is offline   Reply With Quote
Old 04-22-2016, 07:30 PM   #839
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by EdStout View Post
davidfor: Sorry to be dense here, but what do I do with the beta download to install it on my Mac? TIA
It is just another Plugin. You will need to do it the old way (before Preferences: Get Plugins)


Preferences: Plugins: Load From File (lower Right)
Load the ZIP as is
theducks is offline   Reply With Quote
Old 04-23-2016, 01:33 AM   #840
dirvine
Junior Member
dirvine began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
Well, there's good news and bad news.

The good news is I can configure the plugin now.

But I still get a pipe error when I try to add things to my read shelf (with associated actions). But its a different stack trace, if that helps:

calibre, version 2.55.0
ERROR: Unhandled exception: <b>IOError</b>:[Errno 32] Broken pipe

calibre 2.55 embedded-python: True is64bit: True
Darwin-14.5.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '14.5.0', 'Darwin Kernel Version 14.5.0: Mon Jan 11 18:48:35 PST 2016; root:xnu-2782.50.2~1/RELEASE_X86_64')
Python 2.7.11
OSX: ('10.10.5', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Count Pages && EpubMerge && EpubSplit && Modify ePub && Goodreads Sync
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.dialogs", line 1694, in action_button_clicked
File "calibre_plugins.goodreads_sync.core", line 318, in update_review
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 1136, in getresponse
File "lib/python2.7/httplib.py", line 488, in begin
IOError: [Errno 32] Broken pipe
dirvine 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 07:27 AM.


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