Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-01-2011, 05:44 PM   #16
sdow1
Connoisseur
sdow1 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Apr 2010
Location: new york city
Device: nook, ipad
Quote:
Originally Posted by kiwidude View Post
I haven't seen that one before. Must be something to do with one of the books on that shelf. Send me a PM with your Goodreads id (just copy the hyperlink for when you click on your name on the home page) so I can test with the contents of your shelf.
kiwidude:

just sent you a PM. Thanks for looking into this!
sdow1 is offline   Reply With Quote
Old 03-02-2011, 12:27 PM   #17
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,587
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
The problem sdow1 was having is another recurrence of a bug in Goodreads that I have had to "enhance" my workaround for. It is caused by a small minority of books having invalid data being sent through the Goodreads API. The next version of the plugin will now ignore these books so you can sync the rest of your shelf, and hopefully Goodreads will address the issue soon anyways.

The next version also has the implementation of retrieving tags from your shelves using a customisable mapping as requested by msr. I've restructured the menu a little to accommodate this. I can envisage other actions in future appearing on the linked book menu like creating reviews. See the screenshots for how this appears.

The other addition to the next version is changing where the goodreads linked id is stored to the new identifiers table Kovid has added to the next release. This is working really well and it is great to be able to have a custom column either displaying the id or a Y/N type flag if you want it to show which books you have linked.

If anyone is willing to test the next version for me you will need to be running from source code to get Kovid's changes until the next Calibre release. Drop me a PM if you want to give it a go, or else wait a few days for an official release.
Attached Thumbnails
Click image for larger version

Name:	screenshot_8_shelf_tag_mappings.png
Views:	1179
Size:	30.3 KB
ID:	67674   Click image for larger version

Name:	screenshot_9_download_tags.png
Views:	1140
Size:	25.7 KB
ID:	67675  
kiwidude is online now   Reply With Quote
Advert
Old 03-06-2011, 10:00 AM   #18
Doug-W
Member
Doug-W began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Feb 2011
Device: Nook
Went to link a book this morning and got:
calibre, version 0.7.48
ERROR: Unhandled exception: <b>TypeError</b>:arguments did not match any overloaded call:
QLineEdit(QWidget parent=None): too many arguments
QLineEdit(QString, QWidget parent=None): argument 1 has unexpected type 'NoneType'

Traceback (most recent call last):
File "C:\Users\dwarren\AppData\Roaming\calibre\plugins\ Goodreads Sync.zip\goodreads_sync_code.py", line 2627, in search_goodreads_to_link_book
File "C:\Users\dwarren\AppData\Roaming\calibre\plugins\ Goodreads Sync.zip\goodreads_sync_code.py", line 2665, in search_to_link_books
File "C:\Users\dwarren\AppData\Roaming\calibre\plugins\ Goodreads Sync.zip\goodreads_sync_code.py", line 492, in __init__
File "C:\Users\dwarren\AppData\Roaming\calibre\plugins\ Goodreads Sync.zip\goodreads_sync_code.py", line 174, in __init__
TypeError: arguments did not match any overloaded call:
QLineEdit(QWidget parent=None): too many arguments
QLineEdit(QString, QWidget parent=None): argument 1 has unexpected type 'NoneType'

This is based off the version you E-mailed me last week, and 0.7.48
Doug-W is offline   Reply With Quote
Old 03-06-2011, 10:14 AM   #19
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,587
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
You are using an "old" preview of the next release. Now you are on 0.7.48 I will email you the latest version of it.

I don't want to make it publicly available as yet because there is one last thing I want to do with it. (Goodreads have said that as of tomorrow a new API method will be available which will allow when adding new shelves to specify more options than just a name.)
kiwidude is online now   Reply With Quote
Old 03-08-2011, 08:22 AM   #20
sdow1
Connoisseur
sdow1 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Apr 2010
Location: new york city
Device: nook, ipad
Hey kiwidude:

I just synced from goodreads this morning since I had added a few new books to my wishlist, and the problem book that we had decided to skip suddenly started sync-ing. I can only assume this is because goodreads fixed something on their end, given that I haven't updated the plugin since our last discussion. Perhaps it has something to do with the updated API they were promising?
sdow1 is offline   Reply With Quote
Advert
Old 03-08-2011, 08:30 AM   #21
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,587
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Yes that is exactly right, I was going to drop you a note about that. Goodreads did a website software update yesterday and I tested it very late last night to find certainly for that particular book the issue is resolved (and hopefully for any others that had the same problem as well).

I am very close to releasing the next version of this plugin, I just have a couple of people testing it at the moment and waiting to hear if they have any issues with it.
kiwidude is online now   Reply With Quote
Old 03-08-2011, 07:17 PM   #22
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,587
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
v1.1 Released

Download from the first post on this thread - note that this requires at least the latest version of Calibre of v0.7.48. To the few of you who I sent test versions, please ensure you grab this official release version.

New features:
  • Ability to map shelves your book is on to a tag in Goodreads. Read the previous posts on this thread for more details and screenshots.
  • Goodreads ids are now stored in the new identifiers table. This makes them both searchable and able to be displayed as a column. See the first post in the thread for instructions.
  • Limit removed on number of Goodreads shelves (previous limit was 100)
  • Ability to create new shelves from the configuration dialog, with full options of featured, exclusive and sortable.
  • Ability to navigate to the Goodreads shelves edit page direct from the configuration dialog via shelves context menu
Bug fixes:
  • Error when no Goodreads book selected in link dialog and ok clicked
  • Error when linking to a Calibre book with no ISBN
  • Deleting a linked book would show as Goodreads still having a link until restart
  • Ensure no trailing whitespace in title when adding empty books
kiwidude is online now   Reply With Quote
Old 03-09-2011, 12:04 AM   #23
msr
Member
msr began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jul 2009
Device: Kindle2
I really like the display column for whether a book is linked or not.

Getting an out-of-index error (see below) when I try to download tags. Not sure where the error is likely to be (other than due to my plethora of shelves). Tried a couple of different linked books and get the same error each time.

Code:
calibre, version 0.7.48
ERROR: Unhandled exception: <b>IndexError</b>:list index out of range

Traceback (most recent call last):
  File "C:\Users\Mike\AppData\Roaming\calibre\plugins\Goodreads Sync.zip\goodreads_sync_code.py", line 3319, in download_tags
  File "site-packages\calibre\library\database2.py", line 200, in get_property
  File "site-packages\calibre\library\caches.py", line 211, in __getitem__
IndexError: list index out of range
msr is offline   Reply With Quote
Old 03-09-2011, 01:26 AM   #24
kranu
I <3 my Kindle
kranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensions
 
Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
Cool, thanks! I'm new to this extension, and it took me a while to figure out that I had to add the toolbar button. Once I got that, the whole thing was a breeze. I especially like how you use the API instead of just storing the username/password (vulnerable) and "scraping" off the website.

Since I have ~50 books in my Calibre library, it took a while to link every book. It's not a big deal though, since I only have to do it once. However, if you want to fix the problem, I suggest that you instead have one main window that lists all the books that I selected. Books that yield one result are auto-selected, so that people will only have to fine-tune their books that have many different search results. (If that makes any sense )
kranu is offline   Reply With Quote
Old 03-09-2011, 04:45 AM   #25
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,587
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
v1.1.1 Released

Sorry folks, something was broken in yesterdays release as reported by msr above for downloading tags. New version attached to the first post.
kiwidude is online now   Reply With Quote
Old 03-09-2011, 04:46 AM   #26
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,587
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by kranu View Post
Since I have ~50 books in my Calibre library, it took a while to link every book. It's not a big deal though, since I only have to do it once. However, if you want to fix the problem, I suggest that you instead have one main window that lists all the books that I selected. Books that yield one result are auto-selected, so that people will only have to fine-tune their books that have many different search results. (If that makes any sense )
I understand, and it was something I contemplated doing. However the purpose behind linking books (should) be for adding them to a shelf in Goodreads. Had you just selected the books and chosen "Add to shelf", in that dialog you would have been presented with the list of books, any that had ISBN would have automatically been linked and you could fine tune etc.
kiwidude is online now   Reply With Quote
Old 03-10-2011, 12:50 AM   #27
kranu
I <3 my Kindle
kranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensions
 
Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
Quote:
Originally Posted by kiwidude View Post
I understand, and it was something I contemplated doing. However the purpose behind linking books (should) be for adding them to a shelf in Goodreads. Had you just selected the books and chosen "Add to shelf", in that dialog you would have been presented with the list of books, any that had ISBN would have automatically been linked and you could fine tune etc.
Oh ok. I didn't know that. I linked each of my books first. Then I added them to GoodReads.
kranu is offline   Reply With Quote
Old 03-13-2011, 09:18 AM   #28
Huisie
Enthusiast
Huisie doesn't litterHuisie doesn't litter
 
Posts: 27
Karma: 100
Join Date: May 2010
Device: none
Jut wanted to add a quick thank-you.

I'm some way from being organised enough to use this plug-in, but your other two are wicked useful.

When I first started reading the description, I was afraid it wouldn't be able to handle a high volume - glad to see there is a CSV option.

Looking forward to getting stuck into this.
Huisie is offline   Reply With Quote
Old 03-13-2011, 09:56 AM   #29
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,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Huisie View Post
When I first started reading the description, I was afraid it wouldn't be able to handle a high volume - glad to see there is a CSV option.
This plugin doesn't use CSV, that is a feature of the catalog generation (drop down arrow to the right of the Convert books icon). Kiwidude includes info/warning about bulk operations on the help page for the plugin.

Quote:
Important Note About Bulk Operations

Goodreads have Terms & Conditions associated with their API that this plugin is dependent upon. The T&C place a very strict limit on the throughput of calls being made. The more successful this plugin is and the more users that perform actions like adding to shelves etc, the greater the risk of the plugin being banned.

If you ignore this warning the plugin will stop working for everyone (including you) and there is no workaround.

To discourage users from bulk operations using the plugin there is a limit of 50 selected rows for the actions of add to shelves/remove from shelves. If you have more books you wish to add in bulk to the Goodreads website, export them from Calibre as a CSV catalog and upload to the Goodreads website. For more details see http://www.goodreads.com/review/import
DoctorOhh is offline   Reply With Quote
Old 03-13-2011, 02:35 PM   #30
Huisie
Enthusiast
Huisie doesn't litterHuisie doesn't litter
 
Posts: 27
Karma: 100
Join Date: May 2010
Device: none
@dwanthny

Thank you for the clarification...

Not to worry, that is what I was referring to...
Huisie is offline   Reply With Quote
Reply

Tags
calibre, goodreads

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Search the Internet kiwidude Plugins 408 03-16-2024 11:57 PM
[GUI Plugin] Quick Preferences kiwidude Plugins 62 03-16-2024 11:47 PM
[GUI Plugin] Open With kiwidude Plugins 402 03-16-2024 11:44 PM
[GUI Plugin] Clipboard Search kiwidude Plugins 24 03-16-2024 11:06 PM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 01:36 AM.


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