Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error Updating Metadata #1048

Closed
KridOCaign opened this issue Mar 17, 2024 · 1 comment
Closed

[BUG] Error Updating Metadata #1048

KridOCaign opened this issue Mar 17, 2024 · 1 comment

Comments

@KridOCaign
Copy link

This occurs every time FanFicFare encounters a attempts to fetch metadata for a story where the server returns any HTTP response code of type 300, 400, or 500.
It started on updating to Calibre 7.7.0, which is the latest stable release. Reinstalling it did not affect behavior.
FanFicFare v4.32.3 is installed. Reinstalling it did not affect behavior.

Error log follows:

calibre, version 7.7.0
ERROR: Error Updating Metadata:

An error has occurred while FanFicFare was updating calibre's metadata for The Hero Became a Mousegirl [Revised Edition].

Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.dialogs", line 715, in do_loop
self.foreach_function(book)
File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1356, in prep_download_loop
story = self.get_story_metadata_only(adapter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1236, in get_story_metadata_only
adapter.getStoryMetadataOnly(get_cover=False)
File "/home/krid/.config/calibre/plugins/FanFicFare.zip/fanficfare/adapters/base_adapter.py", line 325, in getStoryMetadataOnly
self.doExtractChapterUrlsAndMetadata(get_cover=get_cover)
File "/home/krid/.config/calibre/plugins/FanFicFare.zip/fanficfare/adapters/base_adapter.py", line 429, in doExtractChapterUrlsAndMetadata
return self.extractChapterUrlsAndMetadata()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/krid/.config/calibre/plugins/FanFicFare.zip/fanficfare/adapters/adapter_scribblehubcom.py", line 142, in extractChapterUrlsAndMetadata
self.story.setMetadata('title',stripHTML(pagetitle))
^^^^^^^^^^^^^^^^^^^^
File "/home/krid/.config/calibre/plugins/FanFicFare.zip/fanficfare/htmlcleanup.py", line 71, in stripHTML
retval = soup.get_text(strip=True)
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_text'

@JimmXinu
Copy link
Owner

You are seeing the same thing as #1044. Fix is out in the test version. The latest FanFicFare plugin test version is always posted here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants