I ran into a glitch while duplicating books to test out some settings in personal.ini.
If a fanfic has no formats and FFF attempts to update the metadata from the website (granted, I'm not sure why someone would do this instead of just downloading it), it'll throw this error:
Code:
calibre, version 4.18.0
ERROR: Error Updating Metadata: <p>An error has occurred while FanFicFare was updating calibre's metadata for <a href='https://www.fanfiction.net/s/12493045/1/'>Whole</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 1606, in update_books_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin", line 2318, in update_metadata
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 267, in polish
AttributeError: 'NoneType' object has no attribute 'rpartition'
<a bunch of story-specific info here>