Error message unable to update metadata with calibre

211 views
Skip to first unread message

ananova

unread,
May 5, 2017, 6:50:35 PM5/5/17
to FanFicFare -- Downloader for FanFiction
Hello.

I use the Calibre plugin to download fics. Everything is up to date, all the latest versions. But lately when I download fics from AO3 I get a message that the ebook is updated but the metadata isn't. I admit that I am not very knowledgeable about coding, so I'm not sure if this is important or not. Should I do something? This is the detail from one of the downloads.

calibre, version 2.84.0
ERROR: Error Updating Metadata: <p>An error has occurred while FanFicFare was updating calibre's metadata for <a href='http://archiveofourown.org/works/10367655'>Penny Candy and Sparklers</a>.</p>The ebook has been updated, but the metadata has not.

Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1560, in update_books_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1999, in update_metadata
KeyError: u'authors'

Story Details:author:
     [u'StrivingArtist']
begin:
     None
listorder:
     3
author_sort:
     [u'StrivingArtist']
comments:
     <blockquote class="userstuff">
              <p>James Buchanan Barnes: formerly the Winter Soldier, formerly Captain America’s right hand man, formerly a sergeant, formerly a dock worker, formerly Stevie’s best friend.... currently a glorified prisoner of Prince T’Challa.... had trouble wrapping his head around all those former selves. He spent too much time thinking about all the bits of him that he kept gluing back together to pretend he was a person anyone would want to keep. He spent even more time picking at the cracks, pointing the flaws out to himself. Only thing he did more than that was make sure no one else noticed how far he was from human.</p>
<p>So, James Buchanan Barnes, who didn’t know what to call himself, who didn’t know how to go forwards, agreed, and moved back into the tower where his best friend lived with a husband orphaned by the Winter Soldier.</p>
            </blockquote></html>
tags:
     [u'Touch Aversion', u'Established Steve Rogers/Tony Stark', u'Tony Stark Still Has Arc Reactor', u'M/M', u'Not Avengers: Age of Ultron (Movie) Compliant', u'Touch-Starved', u'its more like willingness to die', u'Pietro Maximoff Lives', u'Not Captain America: Civil War (Movie) Compliant', u'Captain America (Movies)', u'I Wrote This Instead of Sleeping', u'Completed', u'Awesome Wanda Maximoff', u'Recovery', u'Tony Stark Has A Heart', u'Minor reference to suicide', u'Identity Issues', u'Bleak', u'James "Bucky" Barnes/Steve Rogers/Tony Stark', u'Angst and Humor', u'Steve Rogers', u'FanFiction', u'The Avengers (Marvel Movies)', u'Steve Rogers/Tony Stark', u'Hurt/Comfort', u'Tony Stark', u'Texting', u'Bucky Barnes-centric', u'James "Bucky" Barnes', u'Wanda Maximoff']
icon:
     plus.png
series:
    
showerror:
     True
comment:
     Download epub completed, 1 chapters.
calibre_columns:

end:
     None
username:
     (was set, removed for security)
good:
     True
is_adult:
     False
publisher:
     archiveofourown.org
all_metadata:
     warnings:
          No Archive Warnings Apply
     numChapters:
          1
     lastupdate:
          Last Update Year/Month: 2017/03, Last Update: 2017/03/19
     author:
          StrivingArtist
     description:
          <blockquote class="userstuff">
              <p>James Buchanan Barnes: formerly the Winter Soldier, formerly Captain America’s right hand man, formerly a sergeant, formerly a dock worker, formerly Stevie’s best friend.... currently a glorified prisoner of Prince T’Challa.... had trouble wrapping his head around all those former selves. He spent too much time thinking about all the bits of him that he kept gluing back together to pretend he was a person anyone would want to keep. He spent even more time picking at the cracks, pointing the flaws out to himself. Only thing he did more than that was make sure no one else noticed how far he was from human.</p>
<p>So, James Buchanan Barnes, who didn’t know what to call himself, who didn’t know how to go forwards, agreed, and moved back into the tower where his best friend lived with a husband orphaned by the Winter Soldier.</p>
            </blockquote>
     extratags:
          FanFiction
     series03Url:
         
     series02Url:
         
     version:
          FanFicFare v2.10.0
     comments:
          19
     series03HTML:
         
     freefromtags:
          Angst and Humor, Awesome Wanda Maximoff, Bleak, Bucky Barnes-centric, Established Steve Rogers/Tony Stark, Hurt/Comfort, I Wrote This Instead of Sleeping, Identity Issues, Minor reference to suicide, Not Avengers: Age of Ultron (Movie) Compliant, Not Captain America: Civil War (Movie) Compliant, Pietro Maximoff Lives, Recovery, Texting, Tony Stark Has A Heart, Tony Stark Still Has Arc Reactor, Touch Aversion, Touch-Starved, its more like willingness to die
     series02HTML:
         
     category:
          Captain America (Movies), The Avengers (Marvel Movies)
     storyUrl:
          http://archiveofourown.org/works/10367655
     hits:
          2093
     cover_image:
         
     ao3categories:
          M/M
     series00:
         
     series01:
         
     fandoms:
          Captain America (Movies), The Avengers (Marvel Movies)
     series03:
         
     formatname:
          epub
     seriesHTML:
         
     collections:
         
     output_css:
         
body { background-color: #ffffff;
text-align: justify;
margin: 2%;
adobe-hyphenate: none; }
pre { font-size: x-small; }
sml { font-size: small; }
h1 { text-align: center; }
h2 { text-align: center; }
h3 { text-align: center; }
h4 { text-align: center; }
h5 { text-align: center; }
h6 { text-align: center; }
.CI {
text-align:center;
margin-top:0px;
margin-bottom:0px;
padding:0px;
}
.center   {text-align: center;}
.cover    {text-align: center;}
.full     {width: 100%; }
.quarter  {width: 25%; }
.smcap    {font-variant: small-caps;}
.u        {text-decoration: underline;}
.bold     {font-weight: bold;}
.big { font-size: larger; }
.small { font-size: smaller; }
     genre:
          Angst and Humor, Awesome Wanda Maximoff, Bleak, Bucky Barnes-centric, Established Steve Rogers/Tony Stark, Hurt/Comfort, I Wrote This Instead of Sleeping, Identity Issues, M/M, Minor reference to suicide, Not Avengers: Age of Ultron (Movie) Compliant, Not Captain America: Civil War (Movie) Compliant, Pietro Maximoff Lives, Recovery, Texting, Tony Stark Has A Heart, Tony Stark Still Has Arc Reactor, Touch Aversion, Touch-Starved, its more like willingness to die
     series01HTML:
         
     kudos:
          244
     series00Url:
         
     words_added:
         
     series:
         
     series01Url:
         
     langcode:
          en
     seriesUrl:
         
     authorId:
          StrivingArtist
     dateUpdated:
          2017-03-19
     freeformtags:
          Angst and Humor, Awesome Wanda Maximoff, Bleak, Bucky Barnes-centric, Established Steve Rogers/Tony Stark, Hurt/Comfort, I Wrote This Instead of Sleeping, Identity Issues, Minor reference to suicide, Not Avengers: Age of Ultron (Movie) Compliant, Not Captain America: Civil War (Movie) Compliant, Pietro Maximoff Lives, Recovery, Texting, Tony Stark Has A Heart, Tony Stark Still Has Arc Reactor, Touch Aversion, Touch-Starved, its more like willingness to die
     site:
          archiveofourown.org
     rating:
          Teen And Up Audiences
     authorUrl:
          http://archiveofourown.org/users/StrivingArtist/pseuds/StrivingArtist
     language:
          English
     formatext:
          .epub
     titleHTML:
          <a class='titlelink' href='http://archiveofourown.org/works/10367655'>Penny Candy and Sparklers</a>
     dateCreated:
          2017-05-05 18:37:02
     series00HTML:
         
     bookmarks:
          48
     numWords:
          13,677
     characters:
          James "Bucky" Barnes, Steve Rogers, Tony Stark, Wanda Maximoff
     ships:
          James "Bucky" Barnes/Steve Rogers/Tony Stark, Steve Rogers/Tony Stark
     datePublished:
          2017-03-19
     status:
          Completed
     siteabbrev:
          ao3
     title:
          Penny Candy and Sparklers
     byline:
          StrivingArtist
     series02:
         
     storyId:
          10367655
     authorHTML:
          <a class='authorlink' href='http://archiveofourown.org/users/StrivingArtist/pseuds/StrivingArtist'>StrivingArtist</a>
site:
     archiveofourown.org
calibre_id:
     19772
timestamp:
     2017-05-05 18:37:02.538000-04:00
password:
    
url:
     http://archiveofourown.org/works/10367655
pubdate:
     2017-03-19 00:00:00-04:00
updatedate:
     2017-03-19 00:00:00-04:00
status:
     Add
outfile:
     C:\Users\ananova\AppData\Local\Temp\calibre_hwmhku\fanficfare_1_twfl\Penny Candy and Sparklers-StrivingArtist-b_keuk.epub
title:
     Penny Candy and Sparklers
added:
     True

Jim Miller

unread,
May 5, 2017, 7:40:24 PM5/5/17
to fanfic-d...@googlegroups.com

I'm glad you posted the error report because I'd never have figured it
out without the line numbers.

You're seeing that because FanFicFare is looking for an option setting
that isn't there because you've never set any FanFicFare settings.
Which seems a bit rare.

I will fix this for the next release. But in the meantime, you can
avoid it for ever after by simply opening FanFicFare Configure and
clicking 'OK', even if you don't change anything.

Jim

On 5/5/2017 5:50 PM, 'ananova' via FanFicFare -- Downloader for

ananova

unread,
May 5, 2017, 8:11:00 PM5/5/17
to FanFicFare -- Downloader for FanFiction
Thank you!
Reply all
Reply to author
Forward
0 new messages