View Single Post
Old 02-03-2013, 01:40 AM   #1174
inkbrush
Junior Member
inkbrush began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2013
Device: none
The plugin is working beautifully for me on every site except for grangerenchanted.com. I tried pulling several different works, but whether or not they were members-only or not seemed not to matter. It give me this error: 'NoneType' object has no attribute 'strftime'

I ran calibre in debug mode and got this (I took out my name):
Spoiler:
'NoneType' object has no attribute 'strftime'

FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.__init__(152):tryin g url:http://grangerenchanted.com/enchant/...2336&warning=1
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.__init__(154):fixed url:http://grangerenchanted.com/enchant/...y.php?sid=2336
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_grangerench antedcom(51):storyId: (2336)
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.__init__(152):tryin g url:http://grangerenchanted.com/enchant/...2336&warning=1
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.__init__(154):fixed url:http://grangerenchanted.com/enchant/...y.php?sid=2336
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_grangerench antedcom(51):storyId: (2336)
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.__init__(152):tryin g url:http://grangerenchanted.com/enchant/...y.php?sid=2336
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.__init__(154):fixed url:http://grangerenchanted.com/enchant/...y.php?sid=2336
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_grangerench antedcom(51):storyId: (2336)
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_grangerench antedcom(136):URL: http://grangerenchanted.com/enchant/...y.php?sid=2336
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_grangerench antedcom(109):Will now login to URL (http://grangerenchanted.com/enchant/...p?action=login) as ()
FFDL:INFO:calibre_plugins.fanfictiondownloader_plu gin.fanficdownloader.adapters.adapter_grangerencha ntedcom(115):Failed to login to URL http://grangerenchanted.com/enchant/...p?action=login as
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_grangerench antedcom(136):URL: http://grangerenchanted.com/enchant/...y.php?sid=2336
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_grangerench antedcom(109):Will now login to URL (http://grangerenchanted.com/enchant/...p?action=login) as (sliver)
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_grangerench antedcom(136):URL: http://grangerenchanted.com/enchant/...t=ok&warning=1
Traceback (most recent call last):
File "calibre_plugins.fanfictiondownloader_plugin.dialo gs", line 324, in do_loop
File "calibre_plugins.fanfictiondownloader_plugin.ffdl_ plugin", line 624, in get_metadata_for_book
File "calibre_plugins.fanfictiondownloader_plugin.fanfi cdownloader.adapters.base_adapter", line 241, in getStoryMetadataOnly
File "calibre_plugins.fanfictiondownloader_plugin.fanfi cdownloader.story", line 269, in setMetadata
AttributeError: 'NoneType' object has no attribute 'strftime'
calibre Debug log
calibre 0.9.14 isfrozen: True is64bit: True
Darwin-11.4.2-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '11.4.2', 'Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64')
Python 2.7.3
OSX: ('10.7.5', ('', '', ''), 'x86_64')
Starting up...
macmenuhack file_path:/Users/(name)/Library/Preferences/calibre/plugins/fanfictiondownloader_macmenuhack.txt
Started up in 11.59 seconds with 10 books
url:(http://grangerenchanted.com/enchant/...2336&warning=1) begin:(None) end:(None)
FanFictionDownLoader v1.7.5
url:http://grangerenchanted.com/enchant/...y.php?sid=2336
Login Failed, Need Username/Password.
Exception: {u'comment': u"'NoneType' object has no attribute 'strftime'", u'begin': None, u'good': False, u'end': None, u'author': [u'Unknown'], u'url': u'http://grangerenchanted.com/enchant/viewstory.php?sid=2336', u'author_sort': [u'Unknown'], u'calibre_id': None, u'added': False, u'title': u'Unknown'}:'NoneType' object has no attribute 'strftime'
Fetched metadata for 1 of 1
ITUNES.shutdown()

Last edited by inkbrush; 02-03-2013 at 01:41 AM. Reason: disabling smilies
inkbrush is offline   Reply With Quote