02-21-2013, 03:17 PM | #496 |
calibre/Sigil Developer
Posts: 4,617
Karma: 2124234
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Swallmark
It all comes down to which edition you have linked to. The linking itself will have been done either by using the Goodreads metadata plugin if you use that, or by linking from the book isbn. You can switch edition using one of the menu options in this plugin, then add to your shelf. @All There are some suggestions I will look into when I next revisit this plugin. However I did get my first email from Goodreads support warning that several users have had their ip addresses blocked due to overloading the api threshold with calls. I am still waiting for further details from them to allow identifying which feature they were using and figure out what to do about it. My guess is that they have or were attempting to put very large amounts of books on shelves in some way, but exactly how many and how reasonable their intentions were etc. I do not know. So please do remember all my warnings about this in the first post of this thread, and don't abuse this plugin, it is being monitored. When I know from their tech guys exactly which feature is causing this issue, either i will have to make that feature get throttled in some way to make it run slower or less likely perhaps they will add some new api calls to make sure there is less involved with it. Until this all gets resolved I won't be making any other changes to this plugin to make sure to not worsen the issue. If you are one of those users who got their IP blocked, please post or PM me with any details of what you were trying to do, how many books involved etc. I want to fix or workaround the issue so this plugin does not get completely blocked for everyone. Last edited by kiwidude; 02-21-2013 at 03:22 PM. |
02-22-2013, 09:43 AM | #497 | |
Enthusiast
Posts: 37
Karma: 41
Join Date: Nov 2011
Location: North Kingstown, RI, USA
Device: Kindle DX,Nexus 10,Fire HD
|
Quote:
I see in your initial post that Goodreads monitors/limits the number of API calls per minute. I know that you have built in a 50 Book selection limit to control the number of API calls within a Sync block. I always do my posts manually from within Calibre, selecting 50 book blocks at a time, and with the time to post a block and resolve books that could not be automatically matched/linked I don't believe that I have ever been able to Sync more than 50 books within a minute. Perhaps there is some other limit that may be causing you to get e-mails from Goodreads and IPs blocked. They may have a daily limit on the number of API calls per IP. If this is the case, would you have an idea of what the limit may be (probably not a hard fast number)? I have seen a lot of posting from users with very large collections (50,000+), so we probably need to limit our daily posts. Also, when kiwidude created this plug-in he had to register with Goodreads to receive a Developer Key, to allow for access to all API calls. This means that to Goodreads, we are all one API user. So the Goodreads limits apply to all of us as a group (except any per IP limits). So if 100 of us are Syncing 50 books at the same time, that is 50,000+ API calls to Goodreads. Once again, thank you kiwidude for this and all the other great plug |
|
Advert | |
|
02-22-2013, 10:25 AM | #498 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Then use the plugin the keep your books in Goodreads up to date. Quote:
|
||
02-22-2013, 03:28 PM | #499 |
calibre/Sigil Developer
Posts: 4,617
Karma: 2124234
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@edwecarlo - yeah I am still awaiting the technical details from them, I haven't looked at the code to try to guess in advance of it. That they said a few users had their IP blocked implies that those specific users were flooding the api, which means there is some feature in the plugin that escapes my 50 books at a time limit. I could make random guesses or speculate from looking at the code but I really want to hear from their tech team as to what triggered it from their side.
And you are absolutely correct that all users share the same developer key for this plugin, so simultaneous usage by thousands of users would in theory be an issue. It really depends on how they do their throttling. I originally thought they would disable the developer key if the threshold gets hit. It seems that is their action of last resort which hopefully we can workaround to avoid. Instead they blocked some IPs. Was this because a couple of people were randomly chosen as "victims" due to a whole bunch of other users also simultaneously using the plugin? Or does their blocking have more intelligence and target only specific IPs which are exceeding their limits? Only their tech team can tell me that, hopefully it is the latter. I did have a conversation with one of their team a long time ago when writing this plugin to try to figure out if it would become an issue if the plugin got very popular. At the time I was told that the measuring is done as an average over a time period. Another suggestion from a user ages ago was using multiple developer keys, even getting users to register to use an individual key. However as I said back then I believe that is completely and totally against the spirit and intent of the API and their T&Cs. And if Goodreads are blocking specific IPs that are flooding their API then using a different key wouldn't achieve much anyway. So... we wait for their response. The original support person did not have the technical details I need so handed it off to their tech team. As I said above if anyone reading this happened to be someone who had their Goodreads account blocked and can hence provide any hints as to what may have happened to them please do get in touch with me via any means. This isn't a witch hunt, I am not grumpy about it or anything like that. It could be that some feature just has to be changed or that I petition Goodreads for an api change to reduce the calls I need to make. |
03-21-2013, 11:15 PM | #500 |
Member
Posts: 11
Karma: 10
Join Date: Nov 2012
Device: iPad
|
Is there any way to tell what books I have already linked, without selecting each book and checking if the linked book link is greyed out? Maybe a custom goodreads column?
|
Advert | |
|
03-22-2013, 12:17 AM | #501 | ||
She/Her
Posts: 86
Karma: 142774
Join Date: Aug 2009
Location: Perth, Australia
Device: Kindle PW5 (G001PX) PW3 PW1
|
Quote:
Quote:
|
||
03-22-2013, 08:31 AM | #502 |
Enthusiast
Posts: 37
Karma: 41
Join Date: Nov 2011
Location: North Kingstown, RI, USA
Device: Kindle DX,Nexus 10,Fire HD
|
@Illyrie - I have set up a custom column which stores the Goodreads shelf to which my books have been added.
Lookup name: book_shelf Column heading: Shelf Column type: Text, but with a fixed set of permitted values Values: Unread,Reading,Read I used a fixed set of values so I could move books between shelves easier. I then use the Shelf Add/Sync Actions in the Goodreads Sync plugin to set this column with the proper value. The advantage of this is that you can then use the Calibre column coloring/icon options and Tag Browser to be Shelf specific. |
03-23-2013, 06:20 PM | #503 |
Member
Posts: 14
Karma: 20650
Join Date: Mar 2013
Device: Kindle Paperwhite
|
just a wee bit of help please. I have installed calibre and the plugin. Upon clicking yes on confirm authorization i have received an error it follows below any help would be greatly appriciated.
Code:
calibre, version 0.9.24 ERROR: Goodreads Failure: The request contacting Goodreads has failed. Please try again. URL: http://www.goodreads.com/oauth/access_token Response Code: 404 <!DOCTYPE html> <html> <head> <title>Goodreads - Page Not Found</title> <link href="/assets/goodreads.css" media="screen" rel="Stylesheet" type="text/css" /> <link href="/assets/main.css" media="screen" rel="Stylesheet" type="text/css" /> <!--[if lt IE 8]> <link href="/assets/common_images_ie.css" media="screen" rel="Stylesheet" type="text/css" /> <![endif]--> <!--[if gte IE 8]><!--> <link href="/assets/common_images.css" media="screen" rel="Stylesheet" type="text/css" /> <!--<![endif]--> </head> <body id="home"> <div class="headerContainer"> <div class="header"> <div class="branding"> <a href="/"><img src="/assets/layout/goodreads_logo.gif" width="200" height="41" border="0" alt="goodreads" class="logo"/></a> </div> </div> </div> <!-- BEGIN: mainContent --> <div class="mainContentContainer"> <div class="mainContent"> <div class="mainContentFloat"> <div class="leftContainer mediumText"> <h1>Page Not Found</h1> <br/> The page you requested doesn't exist. Please check the url again, or visit the home page. <br/><br/> <a class="actionLink" href="/">« go to the goodreads homepage</a> </div> </div> </div> </div> <!-- END: mainContent --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._createTracker("UA-968618-1"); pageTracker._trackPageview("/404_notfound"); } catch(err) {} </script> </body> </html> |
03-24-2013, 06:29 PM | #504 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: Kindle HD
|
When I try to authorize the plugin, it goes to goodreads.com, opens the main page then automatically goes to a different page that says "Page Not Found".
Every page that I click on does the above described. I am puling my hair out trying to figure this out!!!! Please HELP!! |
03-24-2013, 08:32 PM | #505 |
calibre/Sigil Developer
Posts: 4,617
Karma: 2124234
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Tinkergnome and Goldie112299 - the plugin is working fine for me at the moment. Either there was a temporary blip on the servers at Goodreads, or there is some problem with your internet connection/sites viewable via your firewalls etc. I can only suggest you keep trying, and contact Goodreads support if you continue to have issues with it. There is nothing wrong with the plugin code itself, I just deauthorised and reauthorised myself just now using it.
|
03-24-2013, 10:15 PM | #506 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2013
Location: Canada
Device: iPhone, iPad, Sony, Kobo
|
I am having the same problem. I just installed the plugin and tried to authorize it. It goes to my goodreads main page and does nothing. I tried installing it from plugins within calibre. I have tried uninstalling it and reinstalling it from the download from this thread. I don't understand what's going on.
|
03-24-2013, 10:25 PM | #507 |
Member
Posts: 14
Karma: 20650
Join Date: Mar 2013
Device: Kindle Paperwhite
|
hey kiwidude, I just tried uninstalling and re-installing to no avail. Changed default browser from chrome to IE just to see if browser was issue. Same problem but now have a little more info.
the api appears to get to goodreads but comes back with page not found the page you requested doesn't exist. Please check the url again, or visit the homepage. also when pasting the url from the failure log goodreads responds with failure Invalid OAuth Request. something may have changed with the api or code request. |
03-24-2013, 10:32 PM | #508 |
calibre/Sigil Developer
Posts: 4,617
Karma: 2124234
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
As I said above guys, the problem is *not* the plugin, I have verified it still works perfectly fine this morning. You need to contact Goodreads - there are no code or API changes, I have been to their forums and the proof is the fact that it works for me. Most likely they are having some sort of problem with just some of their authentication servers.
|
03-24-2013, 11:10 PM | #509 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2013
Location: Canada
Device: iPhone, iPad, Sony, Kobo
|
Just to make this more interesting. I have 2 accounts on Goodreads. One account I can authorize, the other (the one I need to) I can't. I cannot figure out why. Any ideas?
|
03-25-2013, 12:49 AM | #510 |
calibre/Sigil Developer
Posts: 4,617
Karma: 2124234
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@rifka, see my answer above, you need to contact Goodreads support. The issues anyone has with this plugin in trying to authorise has been proven time and time again to be a problem on their side. The plugin is doing its job correctly, as proven yourself by the fact that it works for one of your accounts. As to why a minority of people seem to have issues that require Goodreads to sort out, I have no idea but it is *nothing* we can do about it, talk to them.
|
Tags |
calibre, goodreads |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | Yesterday 05:48 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | Yesterday 08:39 AM |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 25 | 03-29-2024 08:33 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 |