06-26-2016, 10:17 AM | #166 |
Serpent Rider
Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
I just found this plugin, thanks to McGee's comments. I've installed it and have used it to add a csv list of books I've read. Adding them all as empty books.
Partway through the operation [after I click "finish"], I get this error: calibre, version 2.58.0 ERROR: Unhandled exception: <b>ValueError</b>:hour must be in 0..23 calibre 2.58 [64bit] embedded-python: True is64bit: True Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE') ('Windows', '8', '6.2.9200') Python 2.7.9 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM && Fantastic Fiction && Import List && Embed Comic Metadata && Count Pages && FictionDB && Barnes & Noble && Webscription && Kindle Collections Traceback (most recent call last): File "calibre_plugins.import_list.page_persist", line 323, in validatePage File "calibre_plugins.import_list.page_persist", line 174, in _create_empty_books File "calibre_plugins.import_list.page_persist", line 179, in _apply_metadata_updates File "calibre_plugins.import_list.page_persist", line 222, in _update_mi_for_book File "calibre_plugins.import_list.page_persist", line 244, in _update_mi_custom_column File "site-packages\calibre\ebooks\metadata\book\base.py", line 801, in field_from_string File "site-packages\calibre\utils\date.py", line 145, in parse_only_date File "site-packages\calibre\utils\date.py", line 131, in parse_date File "site-packages\python_dateutil-2.2-py2.7.egg\dateutil\parser.py", line 748, in parse File "site-packages\python_dateutil-2.2-py2.7.egg\dateutil\parser.py", line 320, in parse ValueError: hour must be in 0..23 I am using Win10, with Calibre2.58 64bit. The list of books [around 2700] comes in, but at about book 260'ish, the date read, series, tags, comments, etc, stop. It is just title and author for the rest of them. What other info should I provide? Any help would be appreciated. |
06-26-2016, 07:47 PM | #167 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
From the error, the "date read" column is a custom column that is stored as a date. Something is wrong with the formatting of the date in the record that fails. I assume that is the "260'ish" book. The error suggests that the date parsing routine is getting something that looks like a timestamp, but it has a number greater than 23 in the hour part of the timestamp.
If you cannot find the problem record, post the file and I will have a look. If you can find it, I would still like to see the problem record. From it, I might be able to make the date parsing more robust. |
Advert | |
|
06-26-2016, 08:26 PM | #168 |
Serpent Rider
Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
Well, my date read column is just a day, month, year setup. No hour or minutes. I actually don't know how to incorporate those.
I'll try adding the csv file without the date read part and see what happens. Thank you for replying. Last edited by Ravensknight; 06-26-2016 at 08:30 PM. |
06-26-2016, 08:59 PM | #169 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I'm pretty sure that if you search through the CSV you will find ate least one date entry that isn't like the others. If there isn't, I would like to see the file to try and work out what is going wrong.
The alternative I can think of is that there is a comma in one of the values and the text around it hasn't been delimited properly. How are you producing the file? |
06-26-2016, 09:08 PM | #170 | |
Serpent Rider
Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
Quote:
Here you go. And if it is a line by line search thing, I'll just add it manually later when I add all the covers :-) |
|
Advert | |
|
06-26-2016, 09:18 PM | #171 |
Serpent Rider
Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
So, I scrolled down to the 260's and sure enough, one of the entries had year, month, day, hour, minute.
If I just delete those hour/minute, that should take care of it, right? It just seems a bit daunting to go through all 2700+ entries and eyeball all the extra times. My Mark I eyeball isn't quite what it used to be. |
06-26-2016, 10:32 PM | #172 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
I will have a look at the date handling and see if there is an easy way to fix this. |
||
06-27-2016, 05:04 PM | #173 |
Serpent Rider
Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
So, I changed those entries and it has gotten into Calibre just fine. I guess I was assuming that even if there was an error in one entry that the List plugin would keep on going, but it just stopped.
All figured out now though. Thank you once again for your help. |
06-28-2016, 10:01 PM | #174 |
Member
Posts: 14
Karma: 10
Join Date: Dec 2015
Device: Kindle app
|
Ok well davidfor with some help from your settings file some tweaking and a bit of testing with other pages I think I got a pretty solid settings. My only hangup is with the comments section. When the comments are only text it grabs it fine, but some have .gifs after them for new or high ratings. When it is those comments it displays the comment then a big space then (Â). When I look at the source html it shows (& #194;) without the space. And looking at the page source in browser it shows the image tags on a new line under the comments text. So I'm assuming that it is a carriage return or new line that doesn't encode right so the plugin sees it as (& #194;) then calibre turns it into (Â). Now it would be nice if I could get it to give me something unique to each image that I could later do a search and replace with to add that info into the comments, but I would also take just the comments dropped of the images, or the (& #194;) stuff. I have trouble understanding the strip/include text settings with having to escape certain things and what types of wildcards can be used. Like is there a way to say that once you reach that (& #194;) part to strip everything from then on? Or maybe once it reaches a punctuation (.,?,!) to then strip after that? But that might cause problems if the comments have more than 1 punctuation in them.
So what are your thoughts? comments? Do you have information or tips to help me? Thanks |
07-12-2016, 08:14 AM | #175 |
Bob's my uncle
Posts: 930
Karma: 17008060
Join Date: Jul 2016
Location: NE OH
Device: Kindle
|
Hello,
I just installed Import and tried it - it looks like a great tool. One question if I may - I followed instructions in post 1 to import Ross Macdonald from fantasticfiction, got the series, and created the empty books in Calibre but the Author column is "Unknown" so the Overdrive plugin search doesn't find any of them. Did I miss a step, or is there a better site to source from? Thanks, CC |
07-12-2016, 09:44 PM | #176 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The missing data probably means the site has changed. The predefined site imports were created against the version of the site that was current at the time. The plugin includes an edit function that you can use to fix this. If you fix it and want to supply the changes back, I can arrange to update the plugin.
|
07-13-2016, 10:16 AM | #177 | |
Bob's my uncle
Posts: 930
Karma: 17008060
Join Date: Jul 2016
Location: NE OH
Device: Kindle
|
Quote:
I do wish there was a better source site than FF - it gives me bogus publish dates and an incomplete, incorrectly numbered series column. Unlike Author, I don't see any easy way to correct those. I've looked at Goodreads, Wikipedia, FictionDB and OrderOfBooks but none have accurate and complete data in the form of a usable database table... |
|
07-13-2016, 11:48 AM | #178 | |
Well trained by Cats
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Any changes apply to JUST those. So... you select the books with Author:Unknown that you Know are the same . author Tap 'E' and set the Author (and tick Automatically set Author Sort ) Presto, all fixed Warnings are there because anything that you do, applies to SELECTED books do not use highlight found records in (blue bars w/no red slash)search mode, the records can be anywhere (outa sight). Been there, my foot still hurts |
|
07-13-2016, 01:39 PM | #179 | |
Bob's my uncle
Posts: 930
Karma: 17008060
Join Date: Jul 2016
Location: NE OH
Device: Kindle
|
Quote:
|
|
08-10-2016, 05:49 PM | #180 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2016
Device: nook hd
|
Hi, I just discovered this tool but can't seem to get it to do Goodreads Listopia lists. I'm trying to do this one: https://www.goodreads.com/list/show/...16_MM_Releases or this one: http://www.goodreads.com/list/show/2...t_Gay_Shifters.
I've been trying since last night and nothing works. Any help is greatly appreciated. Thanks for your consideration. |
Tags |
column types |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1319 | Today 09:27 AM |
[GUI Plugin] Manage Sony x50 Reader Book List | kpw | Plugins | 170 | 10-02-2014 08:23 PM |
Import List plugin idea thread | kiwidude | Development | 45 | 08-13-2012 06:05 AM |
[GUI Plugin] WebOS Kindle-Import | CranstD | Plugins | 0 | 01-24-2012 03:36 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |