05-04-2015, 03:11 PM | #16 | |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
You can install version 0.2.2, and then run again set decimal. ( version 0.2.2 available at the starttopic of this thread). Hope you enjoy it now!! |
|
05-05-2015, 03:02 AM | #17 |
Member
Posts: 10
Karma: 10
Join Date: May 2013
Device: Kindle for Android
|
Thanks for the efford, but it hasn't work jet. I get the same as before:
calibre, version 2.27.0 Updated database: Finished extracting rating from publisherfield - for a total of 0 books Furthermore, I can see that the version in Calibre after install frating2-2.zip is named as "frating (2.1.0) by Pr. Barnart". I've upgrade Calibre to the last version (2.27) too. Thanks! |
Advert | |
|
05-05-2015, 05:24 AM | #18 |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Ok, let's check:
After a metadata search with the modified goodreads_plugin: is the Publisherfield filled with the name of the Publisher, followed by '#Pr.B#' and then the decimal rating? If not :is there a sepeartor like "#Pr.Barnart#''? Do you see the decimal rating in the publisherfield after the search? |
05-05-2015, 07:55 AM | #19 |
Member
Posts: 10
Karma: 10
Join Date: May 2013
Device: Kindle for Android
|
This is the log of a search (yes, I get the flag that you said):
Code:
Running identify query with parameters: {u'timeout': 30, u'title': u'Ubik', u'authors': [u'Philip K. Dick'], u'identifiers': {u'isbn': u'9780547572291', u'goodreads': u'12346742'}} Using plugins: Goodreads_Rating The log from individual plugins is below ****************************** Goodreads_Rating ****************************** Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 5.2; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] Found 1 results Downloading from Goodreads_Rating took 2.50500011444 --- Title : Ubik Author(s) : Philip K. Dick Publisher : Mariner Books#Pr.Barnart#4.09 Tags : Science Fiction, Mystery, Classics, Fantasy Languages : eng Rating : 2 Published : 1969-01-01T00:00:00+00:00 Identifiers : isbn:9780547572291, goodreads:12346742 Comments : <p>“From the stuff of space opera, Dick spins a deeply unsettling existential horror story, a nightmare you’ll never be sure you’ve woken up from.”—Lev Grossman, <em>Time</em> </p><p>Glen Runciter runs a lucrative business—deploying his teams of anti-psychics to corporate clients who want privacy and security from psychic spies. But when he and his top team are ambushed by a rival, he is gravely injured and placed in “half-life,” a dreamlike state of suspended animation. Soon, though, the surviving members of the team begin experiencing some strange phenomena, such as Runciter’s face appearing on coins and the world seeming to move backward in time. As consumables deteriorate and technology gets ever more primitive, the group needs to find out what is causing the shifts and what a mysterious product called Ubik has to do with it all. </p><p>“More brilliant than similar experiments conducted by Pynchon or DeLillo.”—Roberto Bolaño</p> Goodreads book url: u'http://www.goodreads.com/book/show/12346742' ******************************************************************************** The identify phase took 2.61 seconds The longest time (2.505000) was taken by: Goodreads_Rating Merging results from different sources and finding earliest publication dates from the worldcat.org service We have 1 merged results, merging took: 0.76 seconds Thanks again! |
05-05-2015, 08:27 AM | #20 |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
In the log the seperator is #Pr.Barnart#.
My enverionment was not in sync, thats why I got the #Pr.B# seperator. I replaced the frating.zip with version 2.1 again. You have to download and install it again. That works with me. If the publisher is not filled in by the plugin, maybe you did not check the publisherfield in the configuration of the plugin. Can you check this? |
Advert | |
|
05-05-2015, 10:01 AM | #21 |
Member
Posts: 10
Karma: 10
Join Date: May 2013
Device: Kindle for Android
|
|
05-05-2015, 02:35 PM | #22 |
Member
Posts: 10
Karma: 10
Join Date: May 2013
Device: Kindle for Android
|
Sorry, another issue
In most of the books, I get this setting decimal rating: Code:
calibre, version 2.27.0 ERROR: Excepción no considerada: <b>ValueError</b>:could not convert string to float: #4.28 calibre 2.27 [64bit] isfrozen: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.9 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Successfully initialized third party plugins: frating && Goodreads && Count Pages && Goodreads_Rating Traceback (most recent call last): File "calibre_plugins.frating.main", line 122, in start_change File "calibre_plugins.frating.main", line 107, in change File "site-packages\calibre\db\legacy.py", line 465, in set_metadata File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock File "site-packages\calibre\db\cache.py", line 1293, in set_metadata File "site-packages\calibre\db\cache.py", line 1235, in protected_set_field File "site-packages\calibre\db\cache.py", line 1215, in set_field File "site-packages\calibre\db\cache.py", line 1037, in set_field File "site-packages\calibre\db\write.py", line 509, in set_books File "site-packages\calibre\db\write.py", line 509, in <dictcomp> File "site-packages\calibre\db\write.py", line 88, in adapt_number ValueError: could not convert string to float: #4.28 |
05-07-2015, 03:36 AM | #23 |
Member
Posts: 10
Karma: 10
Join Date: May 2013
Device: Kindle for Android
|
The weird is that in every book, I get the 4.28 and not its rating
|
05-07-2015, 01:45 PM | #24 |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
|
05-23-2015, 05:04 AM | #25 |
Member
Posts: 10
Karma: 10
Join Date: May 2013
Device: Kindle for Android
|
Hello Pr.BarnArt!
I've found out the issue and how to solve it. The error was given when in the "Publisher" data there are any of this characteres: á, é, í, ó or ú. I change that and now the plug-in works correctly. Thank you again. Regards. |
05-23-2015, 08:45 AM | #26 |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Nice,
why don't you share ? Last edited by Pr.BarnArt; 05-26-2015 at 11:33 AM. |
06-29-2015, 08:05 AM | #27 |
Connoisseur
Posts: 71
Karma: 72010
Join Date: Nov 2014
Device: none
|
Hi, thank you for the plug in and congrats on the writing . Maybe I can offer help sometime on some spelling errors?
I'm getting an error getting the number from publisher field into the new column. Here is report: calibre, version 2.28.0 ERROR: Unhandled exception: <b>IOError</b>:[Errno 32] Broken pipe calibre 2.28 isfrozen: True is64bit: True Darwin-13.4.0-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '13.4.0', 'Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64') Python 2.7.9 OSX: ('10.9.5', ('', '', ''), 'x86_64') Successfully initialized third party plugins: DeDRM && Fantastic Fiction && frating && Extract ISBN && Quality Check && Goodreads_Rating && Find Duplicates && Annotations && Goodreads && Count Pages && Modify ePub && View Manager && Barnes & Noble Traceback (most recent call last): File "calibre_plugins.frating.main", line 117, in start_change File "calibre_plugins.frating.main", line 133, in check_column File "calibre_plugins.frating.main", line 72, in check_gr IOError: [Errno 32] Broken pipe Any ideas? Last edited by please55; 06-29-2015 at 11:09 AM. |
06-30-2015, 11:08 AM | #28 |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
|
07-08-2015, 06:03 AM | #29 | |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
My first quess: it is something related to your computer-configuration. Did it worked before? I see you are using a Mac, so I have to find one too . After that I will check if I get the same error Last edited by Pr.BarnArt; 07-08-2015 at 04:35 PM. |
|
07-08-2015, 04:34 PM | #30 | |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
I am on OS x 10.10.2. Did it worked before? Is there a custom column named gr1. (the function that gave the error (check_gr) is looking for it). It seems that it cannot read the db.custom_column_label_map Last edited by Pr.BarnArt; 07-08-2015 at 04:45 PM. |
|