New Test Version Posted
2021-07-02
- Pre-v5 Calibre fix for nsapa_proxy.
Quote:
Originally Posted by steltek
I've posted the debug log in the code tags ...
Code:
calibre Debug log
calibre 4.23 [64bit] embedded-python: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.16+
...
File "C:\Users\EFXRHNSXN\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\nsapa_proxy.py", line 170
SyntaxError: 'continue' not supported inside 'finally' clause
...
|
FYI, I assume everybody's using the most recent version of Calibre unless told otherwise. nsapa introduced some code that wasn't python2 (AKA pre-v5 Calibre) compatible. I've posted a new test version that's py2 compatible again.
Quote:
Originally Posted by SilentShadow123
Is there a way I can update a fanfiction regardless of whether it has fewer or the same number of chapters on the website than in calibre?
For example, one of the fanfics I read had 2 chapters and I added it into calibre with 2 chapters. However, the author removed the 2nd chapter and added a different 2nd chapter, and it said "Already existing" and the update failed. Is there a way I could update it in calibre so that it has 3 chapters in total with both the new one and the old one that was removed? Is Overwrite the only option?
|
FFF primarily just looks at the number of chapters. Some sites have unique chapter URLs, so if a chapter is replaced the chapter URL would change and FFF would replace it on next update (Update Always needed if no additional chapters to trigger update).
However, for sites that just number chapter URLs, you'll need to either manually delete the changed chapter from the EPUB or do Overwrite to get the new one.
FFF does not have a way to keep deleted chapters. Best option would be to rename the old one and remove the story URL in Calibre, then keep a different copy as the 'proper' version.
Quote:
Originally Posted by Philosophize
No such luck, I'm afraid. My test fic was one that updated days and days ago. The copy in Calibre was 4 chapters and the one online was 5. The fifth chapter was definitely there - I could click to it manually in the browser and WebToEpub would gather it up.
...
|
Two things come to mind:
- When doing tons of tests with multiple setups, I personally find it entirely too easy to get out of sync. If you have FFF pointed at one brower's cache while you're updating the other one by accident, you'd get this behavior, right?
- We (somewhat) recently added code to skip cache entries that FFF can't read instead of erroring and crashing the whole download. It's possible you're bumping into that. Seeing a debug log would help.