JimmXinu / FanFicFare

FanFicFare is a tool for making eBooks from stories on fanfiction and other web sites.
Other
737 stars 156 forks source link

Python 2 CLI does not output custom metadata or a title page #1041

Closed praschke closed 4 months ago

praschke commented 4 months ago

I tested this on AO3 stories to be confident of the results.

Getting the CLI in a runnable state on Python 2 was difficult, as there is no longer a setup.py, which pip2 requires, but I wanted to try running with the vendored dependencies as they are older. I linked fanficfare and copied cli.py into included_dependencies and was able to run it from there.

I verified by printing the cached metadata at the end of extractChapterUrlsAndMetadata that all custom metadata is collected, but everything downstream of that is broken.

JimmXinu commented 4 months ago

I only support py2 in the calibre plugin at this point. Removing official CLI support for py2 was deliberate.

I would suspect from your issues that you're using an outdated or damaged defaults.ini, or you have a personal.ini that sets those somewhere. For example, if you're on linux, somebody insisted I support ini files in $XDG_CONFIG_HOME at one point.