View Single Post
Old 05-20-2015, 09:59 PM   #183
fathertyme
Enthusiast
fathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheese
 
Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
Quote:
Originally Posted by JimmXinu View Post
You're going to have to tell me what you were doing when that happened. Preferably with debug output. (Calibre Prefs->Run in Debug)
'Ok,, here is the debug log for this current error..

what I am doing is: I erased the existing series name, and then did an "update existing fanfiction books" on the selected book

Spoiler:
Code:
calibre Debug log
calibre 2.28  isfrozen: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Fantastic Fiction && FanFicFare && Quality Check && Count Pages && Barnes & Noble && Reading List && SmartEject && Open With && Generate Cover && Fantastic Fiction Adults
Starting up...
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(184):Plugin FanFicFare macmenuhack file_path:C:\Users\fathe_000\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
Started up in 9.83 seconds with 1078 books
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(828):FanFicFare v2.2.5
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(864):url:http://storiesonline.net/s/12057
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(122):URL: http://storiesonline.net/s/12057
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/s/12057:i
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(97):Will now login to URL (http://storiesonline.net/login.php) as (=-=-EMAIL-=-=)
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/login.php?p...==-=-EMAIL-=-=
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/s/12057:i
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/a/woodmanone/0
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/a/woodmanone/1
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/a/woodmanone/2
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(250):Looking for universe - a='<a href="/universe/685/the-adventures-of-private-eye-matt-steele">Private Investigator Matt Steele</a>'
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(257):Retrieving Universe - about to get page - universeUrl='http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/universe/68...ye-matt-steele
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(259):Retrieving Universe - have page
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(261):Retrieving Universe - looking for name
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(263):Universes name: 'The Adventures of Private Eye Matt Steele — A Universe from the Mind of woodmanone'
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(266):Setting universe name: 'The Adventures of Private Eye Matt Steele — A Universe from the Mind of woodmanone'
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(1062):update existing id:1094
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(1194):existing epub tmp:C:\Users\FATHE_~1\AppData\Local\Temp\calibre_4n8cii\fanficfare_0msivx\old-1094-ypd5dh.epub
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(1256):title:Cold Steele--and Mrs. Robinson
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(1257):outfile:C:\Users\FATHE_~1\AppData\Local\Temp\calibre_4n8cii\fanficfare_0msivx\Cold Steele--and Mrs. Robinson-woodmanone-zaknab.epub
Worker Launch took: 0.421999931335
Job: 1 Download FanFiction Book finished
Download FanFiction Book
	FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(36):FanFicFare v2.2.5
	FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(40):Adding jobs for URLs:
	FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(42):http://storiesonline.net/s/12057
	FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(78):Logfile for book ID 1094 (Cold Steele--and Mrs. Robinson)
	FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(79):url:(http://storiesonline.net/s/12057) id:(1094)
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.jobs(139):cookiejar:<LWPCookieJar[<Cookie cookie=nsQYXB for .storiesonline.net/>, <Cookie exOptIn=7 for .storiesonline.net/>, <Cookie n_session=1432258424 for .storiesonline.net/>, <Cookie sa_pref=59928 for .storiesonline.net/>, <Cookie selSt=29800 for .storiesonline.net/>, <Cookie sticky=1 for .storiesonline.net/>, <Cookie vid=2 for .storiesonline.net/>]>
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(122):URL: http://storiesonline.net/s/12057
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
	pagecache HIT: http://storiesonline.net/s/12057:i
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
	pagecache HIT: http://storiesonline.net/a/woodmanone/0
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
	pagecache HIT: http://storiesonline.net/a/woodmanone/1
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
	pagecache HIT: http://storiesonline.net/a/woodmanone/2
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(250):Looking for universe - a='<a href="/universe/685/the-adventures-of-private-eye-matt-steele">Private Investigator Matt Steele</a>'
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(257):Retrieving Universe - about to get page - universeUrl='http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
	pagecache HIT: http://storiesonline.net/universe/68...ye-matt-steele
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(259):Retrieving Universe - have page
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(261):Retrieving Universe - looking for name
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(263):Universes name: 'The Adventures of Private Eye Matt Steele — A Universe from the Mind of woodmanone'
	FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(266):Setting universe name: 'The Adventures of Private Eye Matt Steele — A Universe from the Mind of woodmanone'
	FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(251):Exception: {u'author_sort': [u'woodmanone'], u'status': u'Error', u'calibre_columns': {u'calibre_cust_pages': {u'val': 73, u'label': u'Pages'}, u'calibre_std_tags': {u'val': u'Action/Adventure, Completed, Crime, Mystery', u'label': u'Tags'}, u'calibre_std_series': {u'val': u'', u'label': u'Series'}, u'calibre_cust_status': {u'val': u'Completed', u'label': u'Status'}, u'calibre_std_author_sort': {u'val': u'woodmanone', u'label': u'Author Sort'}, u'calibre_std_last_modified': {u'val': u'19 May 2015', u'label': u'Modified'}, u'calibre_std_formats': {u'val': u'EPUB', u'label': u'Formats'}, u'calibre_std_comments': {u'val': u"<p>Private Detective Matt Steele becomes involved with a client's wife in a way he never foresaw.</p>", u'label': u'Comments'}, u'calibre_cust_read': {u'val': u'', u'label': u'Read'}, u'calibre_std_timestamp': {u'val': u'19 May 2015', u'label': u'Date'}, u'calibre_std_pubdate': {u'val': u'May 2015', u'label': u'Published'}, u'calibre_std_series_index': {u'val': u'', u'label': u'None'}, u'calibre_std_title': {u'val': u'Cold Steele--and Mrs. Robinson', u'label': u'Title'}, u'calibre_std_identifiers': {u'val': u'url:http://storiesonline.net/s/12057', u'label': u'Identifiers'}, u'calibre_cust_words': {u'val': 23427, u'label': u'Words'}, u'calibre_cust_review': {u'val': u'', u'label': u'Review'}, u'calibre_std_authors': {u'val': u'woodmanone', u'label': u'Authors'}, u'calibre_std_languages': {u'val': u'eng', u'label': u'Languages'}, u'calibre_std_rating': {u'val': u'', u'label': u'Rating'}, u'calibre_std_title_sort': {u'val': u'Cold Steele--and Mrs. Robinson', u'label': u'Title Sort'}, u'calibre_std_uuid': {u'val': u'7639930f-0a3a-4578-85a9-c96265d635da', u'label': u'None'}, u'calibre_std_publisher': {u'val': u'storiesonline.net', u'label': u'Publisher'}}, u'end': None, u'listorder': 0, u'epub_for_update': u'C:\\Users\\FATHE_~1\\AppData\\Local\\Temp\\calibre_4n8cii\\fanficfare_0msivx\\old-1094-ypd5dh.epub', u'site': 'storiesonline.net', u'author': [u'woodmanone'], u'comments': u"<p>Private Detective Matt Steele becomes involved with a client's wife in a way he never foresaw.</p>", u'password': '', u'comment': u"'tuple' object has no attribute 'logfile'", u'outfile': u'C:\\Users\\FATHE_~1\\AppData\\Local\\Temp\\calibre_4n8cii\\fanficfare_0msivx\\Cold Steele--and Mrs. Robinson-woodmanone-zaknab.epub', u'url': u'http://storiesonline.net/s/12057', u'updatedate': datetime.datetime(2015, 5, 19, 0, 0, tzinfo=SafeLocalTimeZone()), u'all_metadata': {'status': u'Completed', 'universeHTML': u"<a class='universelink' href='http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone</a>", 'langcode': '', 'codes': u'Crime, Mystery', 'size': u'120\xa0KB', 'ships': u'', 'seriesHTML': u"<a class='serieslink' href='http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]</a>", 'authorUrl': u'http://storiesonline.net/a/woodmanone', 'authorId': u'woodmanone', 'formatname': '', 'score': u'7.92', 'site': u'storiesonline.net', 'author': u'woodmanone', 'authorHTML': u"<a class='authorlink' href='http://storiesonline.net/a/woodmanone'>woodmanone</a>", 'seriesUrl': u'http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele', 'cover_image': '', 'dateUpdated': u'2015-05-19', 'siteabbrev': u'strol', 'warnings': u'', 'genre': u'Action/Adventure', 'universe': u'The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone', 'storyUrl': u'http://storiesonline.net/s/12057', 'storyId': u'12057', 'extratags': u'', 'numChapters': u'5', 'dateCreated': u'2015-05-20 18:39:59', 'numWords': '', 'description': u"Private Detective Matt Steele becomes involved with a client's wife in a way he never foresaw.", 'characters': u'', 'series': u'The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]', 'formatext': '', 'universeUrl': u'http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele', 'output_css': '', 'sitetags': u'Crime, Mystery', 'version': u'FanFicFare v2.2.5', 'lastupdate': u'Last Update Year/Month: 2015/05, Last Update: 2015/05/14, Last Update: 2015/05/19', 'category': u'', 'language': '', 'title': u'Cold Steele--and Mrs. Robinson', 'notice': u'<div class="notice">\n\n<p><i>I\'ve been away for awhile. Real life and other projects have kept me busy. Things have stabilized a little and I hope to get back to writing shorter stories.</i></p>\n\n<p><i>This is a return visit to one of my characters that I like very much. It is a standalone story but I would suggest that you read the other two installments of "Cold Steele". Those stories will give you insight into the main characters and their personalities.</i></p>\n\n<p><i>Either way, I thank you for reading my work. Constructive comments, critiques and emails are very welcome and appreciated.</i></p>\n\n</div>', 'datePublished': u'2015-05-14', 'rating': u'No Sex'}, u'pubdate': datetime.datetime(2015, 5, 14, 0, 0, tzinfo=SafeLocalTimeZone()), u'username': 'NoneGiven', u'series': u'The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]', u'calibre_id': 1094, u'good': False, u'icon': u'dialog_error.png', u'begin': None, u'title': u'Cold Steele--and Mrs. Robinson', u'is_adult': False, u'tags': [u'Crime', u'Action/Adventure', u'Completed', u'Mystery'], u'publisher': u'storiesonline.net', u'savemetacol': u'<p><span class=\'label\'>Author</span>: <div class=\'metadata list\' id=\'author\'><ul>\n<li>woodmanone</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Authorhtml</span>: <div class=\'metadata\' id=\'authorHTML\'><a class=\'authorlink\' href=\'http://storiesonline.net/a/woodmanone\'>woodmanone</a></div><p>\n\n<p><span class=\'label\'>Author ID</span>: <div class=\'metadata list\' id=\'authorId\'><ul>\n<li>woodmanone</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Author URL</span>: <div class=\'metadata list\' id=\'authorUrl\'><ul>\n<li>http://storiesonline.net/a/woodmanone</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Packaged</span>: <div class=\'metadata datetime\' id=\'dateCreated\'>2015-05-20T18:39:59.569000</div><p>\n\n<p><span class=\'label\'>Published</span>: <div class=\'metadata datetime\' id=\'datePublished\'>2015-05-14T00:00:00</div><p>\n\n<p><span class=\'label\'>Updated</span>: <div class=\'metadata datetime\' id=\'dateUpdated\'>2015-05-19T00:00:00</div><p>\n\n<p><span class=\'label\'>Summary</span>: <div class=\'metadata\' id=\'description\'>Private Detective Matt Steele becomes involved with a client\'s wife in a way he never foresaw.</div><p>\n\n<p><span class=\'label\'>Genre</span>: <div class=\'metadata list\' id=\'genre\'><ul>\n<li>Action/Adventure</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Lastupdate</span>: <div class=\'metadata list\' id=\'lastupdate\'><ul>\n<li>Last Update Year/Month: 2015/05</li>\n<li>Last Update: 2015/05/14</li>\n<li>Last Update: 2015/05/19</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Notice</span>: <div class=\'metadata\' id=\'notice\'><div class="notice">\n\n<p><i>I\'ve been away for awhile. Real life and other projects have kept me busy. Things have stabilized a little and I hope to get back to writing shorter stories.</i></p>\n\n<p><i>This is a return visit to one of my characters that I like very much. It is a standalone story but I would suggest that you read the other two installments of "Cold Steele". Those stories will give you insight into the main characters and their personalities.</i></p>\n\n<p><i>Either way, I thank you for reading my work. Constructive comments, critiques and emails are very welcome and appreciated.</i></p>\n\n</div></div><p>\n\n<p><span class=\'label\'>Chapters</span>: <div class=\'metadata int\' id=\'numChapters\'>5</div><p>\n\n<p><span class=\'label\'>Rating</span>: <div class=\'metadata\' id=\'rating\'>No Sex</div><p>\n\n<p><span class=\'label\'>Score</span>: <div class=\'metadata\' id=\'score\'>7.92</div><p>\n\n<p><span class=\'label\'>Series</span>: <div class=\'metadata\' id=\'series\'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]</div><p>\n\n<p><span class=\'label\'>Series</span>: <div class=\'metadata\' id=\'seriesHTML\'><a class=\'serieslink\' href=\'http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele\'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]</a></div><p>\n\n<p><span class=\'label\'>Series URL</span>: <div class=\'metadata\' id=\'seriesUrl\'>http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele</div><p>\n\n<p><span class=\'label\'>Publisher</span>: <div class=\'metadata\' id=\'site\'>storiesonline.net</div><p>\n\n<p><span class=\'label\'>Site Abbrev</span>: <div class=\'metadata\' id=\'siteabbrev\'>strol</div><p>\n\n<p><span class=\'label\'>Site Tags</span>: <div class=\'metadata list\' id=\'sitetags\'><ul>\n<li>Mystery</li>\n<li>Crime</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Size</span>: <div class=\'metadata\' id=\'size\'>120\xa0KB</div><p>\n\n<p><span class=\'label\'>Status</span>: <div class=\'metadata\' id=\'status\'>Completed</div><p>\n\n<p><span class=\'label\'>Story ID</span>: <div class=\'metadata\' id=\'storyId\'>12057</div><p>\n\n<p><span class=\'label\'>Story URL</span>: <div class=\'metadata\' id=\'storyUrl\'>http://storiesonline.net/s/12057</div><p>\n\n<p><span class=\'label\'>Title</span>: <div class=\'metadata\' id=\'title\'>Cold Steele--and Mrs. Robinson</div><p>\n\n<p><span class=\'label\'>Universe</span>: <div class=\'metadata\' id=\'universe\'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone</div><p>\n\n<p><span class=\'label\'>Universe</span>: <div class=\'metadata\' id=\'universeHTML\'><a class=\'universelink\' href=\'http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele\'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone</a></div><p>\n\n<p><span class=\'label\'>Universe URL</span>: <div class=\'metadata\' id=\'universeUrl\'>http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele</div><p>\n\n<p><span class=\'label\'>Downloader Version</span>: <div class=\'metadata\' id=\'version\'>FanFicFare v2.2.5</div><p>\n', u'added': False, u'timestamp': datetime.datetime(2015, 5, 20, 18, 39, 59, 569000, tzinfo=SafeLocalTimeZone())}:'tuple' object has no attribute 'logfile'
	Traceback (most recent call last):
	  File "calibre_plugins.fanficfare_plugin.jobs", line 167, in do_download_for_worker
	AttributeError: 'tuple' object has no attribute 'logfile'
	
	FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(83):
	Successful:
	
	
	FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(85):
	Unsuccessful:
http://storiesonline.net/s/12057


[edit] sorry about the code/spoiler tags, good catch.[/edit]
[edit2] interesting note.. this does not affect NEW stories, just updates[/edit2]
[edit3] in fact, deleting the current story 12057 and re-downloading it as new story works just fine. trying to updated it afterwords causes the tuple error again[/edit3]

Last edited by fathertyme; 05-20-2015 at 10:20 PM. Reason: wrap the log in code and spoiler tags
fathertyme is offline   Reply With Quote