Comments (8)
I will look into that, but I don't support FFF plugin on vendored versions of Calibre, only the official calibre releases.
from fanficfare.
@JimmXinu I am hitting this too. Installed in a fresh venv of 3.12, without calibre. The problem is probably not calibre, you are vendoring six.py here except it's an old version:
https://github.com/JimmXinu/FanFicFare/blob/main/fanficfare/six.py
I have replaced that file with newer version, and it seems to work now. But maybe you shouldn't vendor this?
from fanficfare.
@natrys 's comment did lead me to investigate further and they are right; there's a load issue and updating six
does address it. Thanks for pointing that out.
(FFF includes six
because older versions of Calibre include an even older version of six
.)
I've uploaded test versions in the usual places.
from fanficfare.
It turns out that on Python 3.12, configparser
's readfp()
method was renamed to read_file()
. If anyone else has the problem where every download fails because it can't find readfp
, simply renaming every occurrence fixes every error. There are two calls in fff_util.py
and two others in fanficfare/cli.py
. (I'm talking about the paths inside the plugin's zip, since that's probably the easiest place to edit the files without repackaging.)
I guess this might be useful for even the official version when Calibre also moves on. Until then, this is a good workaround for those who can't or don't want to install a Python 3.11 interpreter just to download some stories.
from fanficfare.
There's also one in jobs.py
.
This issue is only with Calibre and Python 3.12. Which is technically outside what I support. But it's a relatively easy fix. Test version up.
from fanficfare.
from fanficfare.
In jobs.py
it's contingent on settings.
I'm going to close this, but you can reopen it if you find more 3.12 issues.
from fanficfare.
I'll look into the SyntaxWarning: invalid escape sequence '\.'
warning, which I expect is not uncommon in FFF.
The actual error is ModuleNotFoundError: No module named 'fanficfare.six.moves'
which is, as far as I can tell, caused by a broken vendored Calibre version.
from fanficfare.
Related Issues (20)
- DeviantArt Adapter: Failure to Download Story HOT 1
- Wrong number of threadmarks being reported for Sufficient Velocity HOT 1
- Is it possible to make FFF ignore the 403 errors. HOT 2
- Get ALL story urls from existing books upgrade HOT 1
- Fanfiction.net stories give a HTTP error each time HOT 1
- [BUG] Error Updating Metadata HOT 1
- fanficfare linux vs windows speed difference HOT 1
- Errors fetching information on the plugin now generate modal error boxes instead of just reporting on the job log like before HOT 1
- Error when downloading from deviant art with login credentials HOT 21
- Spacebattles Threadmarks Pagination Update HOT 1
- [Question] For the Browser Cache method: only check first and last chapter HOT 1
- browser cache path for fanfiction.net doesn't work HOT 9
- Update AO3 anthology not working when a series URL is used HOT 7
- Any way to improve tables on Kindle? HOT 3
- Literotica changes after site UI revamp HOT 35
- Existing story produces 'Story does not exist' error HOT 1
- [literotica.com] Download all Story from User HOT 3
- Ficbook.net categories aren't showing up
- QuestionableQuesting.com Site Changed HOT 4
- deviantart.com probably needs force login option HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fanficfare.