View Single Post
Old 07-10-2012, 05:24 PM   #549
calvertvl
Junior Member
calvertvl began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2012
Device: Nook SimpleTouch
@JimmXinu

That update you released after I had reported the FFnet date issue did resolve the problem. Thank you for the quick resolution on that one.

I did find another issue with FFnet today when running some updates. I'm running 1.5.43 and when trying to update an in-progress story that had been deleted, the error message is the following unfriendly statement:
Quote:
'NoneType' object has no attribute '__getitem__'
It happens for any story that's missing, on the metadata fetch (for which the FFnet page says "Unable to locate story"). Here's a sample URL:
http://www.fanfiction.net/s/5901296/1/

I don't remember what the message was before, but I think it was something more obvious. This was on a fresh restart of calibre after making sure the latest version was installed.
ETA: Previous message was "Story does not exist:http://www.fanfiction.net/s/5901296/1/" (with the appropriate URL for the story in question; I used the URL for the above example).

Calibre debug is below:
FanFictionDownLoader v1.5.43
url:http://www.fanfiction.net/s/5901296/1/
=Trying newer chapter: http://www.fanfiction.net/s/5901296/2/
=======Found newer chapter: http://www.fanfiction.net/s/5901296/2/
Exception: {u'comment': u"'NoneType' object has no attribute '__getitem__'", u'begin': None, u'good': False, u'end': None, u'author': u'sheltie', u'url': u'http://www.fanfiction.net/s/5901296/1/', u'author_sort': u'sheltie', u'calibre_id': 499, u'added': False, u'title': u'Two Girls with Harry in the Middle'}:'NoneType' object has no attribute '__getitem__'
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 462, in get_metadata_for_book
File "calibre_plugins.fanfictiondownloader_plugin.fanfi cdownloader.adapters.base_adapter", line 237, in getStoryMetadataOnly
File "calibre_plugins.fanfictiondownloader_plugin.fanfi cdownloader.adapters.adapter_fanfictionnet", line 122, in extractChapterUrlsAndMetadata
TypeError: 'NoneType' object has no attribute '__getitem__'
Fetched metadata for 1 of 1

Last edited by calvertvl; 07-10-2012 at 09:01 PM.
calvertvl is offline