View Single Post
Old 04-26-2014, 09:32 PM   #2598
skb
Evangelist
skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.
 
skb's Avatar
 
Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
Okay, getting scared now. I've just run the plugin from the CMD line. But I'm getting closer (I think).
Code:
File "calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.adapter_fictioningnet", line 109, in extractChapterUrlsAndMetadata
TypeError: object of type 'NoneType' has no len()
Line 109 is, I think, about the Story Title?
Code:
self.story.setMetadata('title',stripHTML(a)[:(len(a.string)-3)])
In case anyone doesn't know how to do this, I used this code (you'd replace the URL with your target site, of course):
Spoiler:
Code:
calibre-debug -r "FanFictionDownLoader" "http://fictioning.net/viewstory.php?sid=503"
skb is offline