Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2020, 04:17 AM   #4156
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
Quote:
Originally Posted by JimmXinu View Post
Can you provide the exact error message? You could be able to copy/paste it. Also a story URL it happens for. And, ideally, if it happens again, stop and post a copy of the epub that says it's "a different format"? ("Family friendly", please.)

The only thing that makes sense off hand is if you are running something else on your epubs after FFF downloads them that changes the format.
Hi!

I just tried it on a bunch of fanfics and it seems to be working perfectly now.


Wow! I'm sure this was not working just two weeks back when I first started using the plugin. I have updated the plugin twice since and maybe Calibre once and whatever happened, I'm happy!

Updating my entire collection now btw.. and the plugin is working excellently!

Thank you :-)
bigwoof is offline   Reply With Quote
Old 06-04-2020, 07:21 AM   #4157
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Quote:
Originally Posted by JimmXinu View Post
I'm able to download those two stories to epub and then update them successfully.

I believe we've seen 'Not a ZIP file' appear before when someone was trying to write to a full disk. Are you able to successfully view the epubs before update?

Without seeing the epubs in question, I don't have anything else I can do to help you.
Thank you for having a look. So, yesterday I've tried to download the stories (from email updates) twice, once in debug mode - both times it didn't work.

Today I tried again. First, I donwloaded the fanfiction.net story as a normal update (I copied the link and inserted it into the FFF download-window). The story downloaded normally.

Then I tried to update from emails again. It recognized the one I had already manually updated and skipped it, but for every other email update I get the same error. 'Not a ZIP file.'

To answer you questions: The disk is not full, and I can open the epubs. Should I upload an epub here? I could also share the debug report, if that would help.
firefoxxy is offline   Reply With Quote
Old 06-04-2020, 11:21 AM   #4158
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multireply

Quote:
Originally Posted by firefoxxy View Post
Thank you for having a look. So, yesterday I've tried to download the stories (from email updates) twice, once in debug mode - both times it didn't work.

Today I tried again. First, I donwloaded the fanfiction.net story as a normal update (I copied the link and inserted it into the FFF download-window). The story downloaded normally.

Then I tried to update from emails again. It recognized the one I had already manually updated and skipped it, but for every other email update I get the same error. 'Not a ZIP file.'

To answer you questions: The disk is not full, and I can open the epubs. Should I upload an epub here? I could also share the debug report, if that would help.
I'd like to see both the epub that reports 'Not a ZIP file' and the debug output from when it happens. Posted here or as a GitHub Issue, either is fine.

Quote:
Originally Posted by bigwoof View Post
I just tried it on a bunch of fanfics and it seems to be working perfectly now.
...
Updating my entire collection now btw.. and the plugin is working excellently!
Ah. I didn't realize I was talking to two different people with similar issues. That's worrying.

Also, bigwoof, you might want to read the FAQ: Why shouldn't I just select my entire library and use FanFicFare plugin to check for updates?
JimmXinu is offline   Reply With Quote
Old 06-04-2020, 03:21 PM   #4159
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
So, the link is:
https://archiveofourown.org/works/23...pters/59250973

The epub and debug txt are attached.
Attached Files
File Type: txt tmp_2ktmy.txt (18.8 KB, 326 views)
File Type: epub Memory's Pale Reflection - Cithara.epub (210.0 KB, 342 views)
firefoxxy is offline   Reply With Quote
Old 06-04-2020, 06:32 PM   #4160
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-06-04
- Fix for collision issue with translations and email direct d/l.

Quote:
Originally Posted by firefoxxy View Post
So, the link is:
https://archiveofourown.org/works/23...pters/59250973

The epub and debug txt are attached.
Okay, I understand what's broken with this and bigwoof's issue now.

It's only with non-English language and only with update by email with 'download directly' checked.

It has to do with a change I made so that 'Add New Book', 'Update EPUB if New Chapters', etc would appear with their translated values. Which is why it's only affecting users in other languages. The 'Not a zip' error actually comes from Smarten Punctuation for added fun.

If I can at least firefoxxy and bigwoof to test the posted test version and confirm if fixes the problem, I'd appreciate it.

Remember, it's caused by email updates when you have 'Download from Email Immediately' and 'Smarten Punctuation' turned on.
JimmXinu is offline   Reply With Quote
Old 06-04-2020, 07:38 PM   #4161
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2020-06-04
- Fix for collision issue with translations and email direct d/l.



Okay, I understand what's broken with this and bigwoof's issue now.

It's only with non-English language and only with update by email with 'download directly' checked.

It has to do with a change I made so that 'Add New Book', 'Update EPUB if New Chapters', etc would appear with their translated values. Which is why it's only affecting users in other languages. The 'Not a zip' error actually comes from Smarten Punctuation for added fun.

If I can at least firefoxxy and bigwoof to test the posted test version and confirm if fixes the problem, I'd appreciate it.

Remember, it's caused by email updates when you have 'Download from Email Immediately' and 'Smarten Punctuation' turned on.
Hi!

Thanks for the update but I believe my issue was different and seemingly gone now.

I don't read non-English fanfics and I don't use the email updates.

I was using "Update Metadata" and "Update epub if new chapters" options and both were failing with a weird "chapter format is different" error. Only the "Update epub always" option worked to update a book with a new chapter -- at least two weeks ago.

but it's gone now so might be something I did.

This was one of the books I was having issues with btw. A new chapter came out about two weeks ago. but it works now (another new chapter came out this week).

https://www.fanfiction.net/s/13426392/1/Raven

Thanks! :-)

Last edited by bigwoof; 06-04-2020 at 07:40 PM.
bigwoof is offline   Reply With Quote
Old 06-05-2020, 01:01 PM   #4162
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
A few weeks ago, you helped me with some code to apply oneshot to a fanfic status column. Could I suggest adding the instructions to the FAQ? Probably other people would find it helpful.
ownedbycats is offline   Reply With Quote
Old 06-05-2020, 02:19 PM   #4163
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
A few weeks ago, you helped me with some code to apply oneshot to a fanfic status column. Could I suggest adding the instructions to the FAQ? Probably other people would find it helpful.
To me, that doesn't look substantially different than the FAQ that's already there.

The FFF FAQ is a wiki, you can add FAQs or to existing FAQs if you like.
JimmXinu is offline   Reply With Quote
Old 06-05-2020, 07:25 PM   #4164
Loba
Enthusiast
Loba began at the beginning.
 
Loba's Avatar
 
Posts: 29
Karma: 10
Join Date: Sep 2016
Device: PW2 Wifi-4GB
I wonder if anyone can give me some feedback on my replace metadata syntax. I am attempting to normalize my ratings across sites and when scraping Not Rated fics it is applying "Not Mature".

Code:
 rating=>^Everyone|P?G(.*)?|FR7|K\+?|Young Teens?$=>General Audiences
 rating=>^15|FR13|FR15|T|Teens?\+?|PG-13(.*)?$=>Teen And Up Audiences
 rating=>^FR18|M(ature)?|R(.*)?$=>Mature
 rating=>^Adult( Only)?|FR21|NC.?17(.*)?|X(.*)?$=>Explicit
 rating=>^$=>Not Rated
 rating=>^Unrated$=>Not Rated
Thank you

Edit: I did isolate the issue which was the (.*)? in the =>Mature line. I am curious however if there is a way to structure that so it will catch "R", "R Rated", and "R - Restricted" without spelling them all out.

Last edited by Loba; 06-05-2020 at 07:38 PM.
Loba is offline   Reply With Quote
Old 06-05-2020, 07:40 PM   #4165
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Loba View Post
I wonder if anyone can give me some feedback on my replace metadata syntax. I am attempting to normalize my ratings across sites and when scraping Not Rated fics it is applying "Not Mature".
Code:
 rating=>^FR18|M(ature)?|R(.*)?$=>Mature
R(.*)?$ is matching 'Rated' and replacing it with Mature.

Applying grouping forces it to treat the $ anchor for the whole pattern, not just the last part:

Code:
 rating=>^(FR18|M(ature)?|R(.*)?)$=>Mature
You should do that for others, too.

I'm honestly not sure why this is happening--it doesn't require the grouping when I test it directly in Python 3.7. Might be a py2 vs py3 thing?
JimmXinu is offline   Reply With Quote
Old 06-06-2020, 03:42 AM   #4166
Loba
Enthusiast
Loba began at the beginning.
 
Loba's Avatar
 
Posts: 29
Karma: 10
Join Date: Sep 2016
Device: PW2 Wifi-4GB
Quote:
Originally Posted by JimmXinu View Post
R(.*)?$ is matching 'Rated' and replacing it with Mature.

Applying grouping forces it to treat the $ anchor for the whole pattern, not just the last part:

Code:
 rating=>^(FR18|M(ature)?|R(.*)?)$=>Mature
That does the trick! Thanks for the quick answer
Loba is offline   Reply With Quote
Old 06-06-2020, 08:01 AM   #4167
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Quote:
Originally Posted by JimmXinu View Post
If I can at least firefoxxy and bigwoof to test the posted test version and confirm if fixes the problem, I'd appreciate it.

Remember, it's caused by email updates when you have 'Download from Email Immediately' and 'Smarten Punctuation' turned on.
Thank you very much, Jimm!

This update seems to have fixed the issue for me: I was able to download the updates from my emails without trouble.

(I didn't change anything in my settings; I also haven't done the calibre update to version 4.18.0, but I don't think that that's of relevance here.)
firefoxxy is offline   Reply With Quote
Old 06-06-2020, 09:42 AM   #4168
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 3.20.1 - 06 Jun 2020
- Fix for collision issue with translations and email direct d/l.
(Bug fix release for problem described here.)
JimmXinu is offline   Reply With Quote
Old 06-06-2020, 02:54 PM   #4169
Anglik_Djilah
Junior Member
Anglik_Djilah began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2020
Device: Ebookreader
Question about length

I'm trying to download a fanfic that reaaaally long, and as much as i tried it always comes as a bad download. The error says something along the line of a time-out.
Can anyone help me with that???
thanks in advance
A.Djilah
Anglik_Djilah is offline   Reply With Quote
Old 06-06-2020, 04:31 PM   #4170
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Anglik_Djilah View Post
I'm trying to download a fanfic that reaaaally long, and as much as i tried it always comes as a bad download. The error says something along the line of a time-out.
You can download parts by chapter by putting a chapter range after the story URL when you enter it.

http://site.com/sid[1-50]

Then when that finishes:

http://site.com/sid[51-100]

...etc.

It might help to set a slow_down_sleep_time setting in personal.ini to increase the wait time between network requests--many sites will start blocking you if you are downloading 'too much'.

Without the exact error and story URL, that's all the aid I can offer.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 04:26 PM.


MobileRead.com is a privately owned, operated and funded community.