View Single Post
Old 06-29-2012, 08:04 PM   #476
calvertvl
Junior Member
calvertvl began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2012
Device: Nook SimpleTouch
Hi Jimm,

I thought I had the latest version and confirmed it (with a freshly-started instance of calibre); it still doesn't work for books in the library, except that updating the calibre metadata only works (logs for both of these below).

As regards the update date, in the past the plugin populated it for me; my primary concern was that the behavior changed.

As a test I did also try an 'overwrite always' for this story (which was successful), but I generally prefer to only overwrite updates in case I accidentally select a large fanfic that hasn't been updated.

Output from 'overwrite if newer' (failure):
URL retrieved 1 of 1
FanFictionDownLoader v1.5.39
url:http://www.fanfiction.net/s/5038877/1/
=Trying newer chapter: http://www.fanfiction.net/s/5038877/2/
update existing id:3607
Exception: {u'comment': u"'NoneType' object has no attribute 'date'", u'publisher': u'www.fanfiction.net', u'begin': None, u'good': False, u'end': None, u'pubdate': datetime.datetime(2009, 5, 4, 0, 0, tzinfo=SafeLocalTimeZone()), u'author': u'JE1991', u'url': u'http://www.fanfiction.net/s/5038877/1/', u'series': None, u'username': 'NoneGiven', u'author_sort': u'JE1991', u'all_metadata': {'rating': u'M', 'langcode': u'en', 'site': u'www.fanfiction.net', 'datePublished': u'2009-05-04', 'storyUrl': u'http://www.fanfiction.net/s/5038877/1/', 'storyId': u'5038877', 'category': u'Harry Potter', 'formatext': u'.epub', 'author': u'JE1991', 'formatname': u'epub', 'version': u'4.4', 'numChapters': '1', 'status': u'In-Progress', 'numWords': u'2,978', 'description': u'How will a hidden prophecy change the life of hermione granger and the one she loves?', 'dateCreated': u'2012-06-29 19:48:43', 'authorId': u'1837665', 'authorUrl': u'http://www.fanfiction.net/u/1837665/JE1991', 'characters': u'Harry P., Hermione G.', 'genre': u'Horror, Romance', 'language': u'English', 'title': u'Fallen Hero', 'siteabbrev': u'ffnet', 'extratags': u'FanFiction'}, u'comments': u'How will a hidden prophecy change the life of hermione granger and the one she loves?', u'is_adult': False, u'calibre_id': 3607, u'added': False, u'timestamp': None, u'title': u'Fallen Hero', u'password': '', u'tags': [u'FanFiction'], u'icon': u'plus.png'}:'NoneType' object has no attribute 'date'
Traceback (most recent call last):
File "calibre_plugins.fanfictiondownloader_plugin.dialo gs", line 308, in do_loop
File "calibre_plugins.fanfictiondownloader_plugin.ffdl_ plugin", line 582, in get_metadata_for_book
AttributeError: 'NoneType' object has no attribute 'date'
Fetched metadata for 1 of 1

Same URL, update metadata only (success):
URL retrieved 1 of 1
FanFictionDownLoader v1.5.39
url:http://www.fanfiction.net/s/5038877/1/
=Trying newer chapter: http://www.fanfiction.net/s/5038877/2/
update existing id:3607
Fetched metadata for 1 of 1
add/update Fallen Hero http://www.fanfiction.net/s/5038877/1/
No value for dateUpdated, skipping custom column(Content Updated) update.
Updated 1 of 1
all done, remove temp dir.
calvertvl is offline