04-29-2021, 11:26 AM | #1 |
Zealot
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
|
Second half of my ePub file was deleted
This happened twice already:
When I was in the middle of editing my large ePub file, a message appeared that if I recall correctly said that the file is corrupted and asked me to fix the files, to which when I agreed, 2nd half of my ePub file was gone. What could be causing this and how can I prevent it from happening again? |
04-29-2021, 12:01 PM | #2 |
Sigil Developer
Posts: 8,099
Karma: 5450184
Join Date: Nov 2009
Device: many
|
Which editor are you using?
|
05-01-2021, 01:20 PM | #3 | |
Fanatic
Posts: 556
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
Quote:
|
|
05-01-2021, 02:14 PM | #4 |
Resident Curmudgeon
Posts: 75,901
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
05-01-2021, 04:37 PM | #5 |
Sigil Developer
Posts: 8,099
Karma: 5450184
Join Date: Nov 2009
Device: many
|
Bull! Ever since Sigil moved to the gumbo self-correcting parser, I have never seen actual data loss. This is not tidy that throws out code. It is the same parser engine and rules that all browsers use and has been adopted by Calibre as well as Kovid now maintains his own of the gumbo parser.
|
05-06-2021, 11:49 AM | #6 |
Zealot
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
|
|
05-06-2021, 02:43 PM | #7 |
Sigil Developer
Posts: 8,099
Karma: 5450184
Join Date: Nov 2009
Device: many
|
I simply do not believe that.
Please post exactly the sequence of steps used for Sigil that caused it to "lose a half of an ebook". I have never seen Sigil's Mend lose any lines of text at all. Furthermore, Sigil only ever works on a copy of the epub's contents. So the only way you could actually lose anything at is is if you saved a known broken copy on top of your original epub file. What version of Sigil are you using on what platform? What was the exact error message? What were you doing when the error message occurred? If possible, post a test case to see if I or anyone else can recreate your "data loss". Last edited by KevinH; 05-06-2021 at 02:51 PM. |
05-06-2021, 03:06 PM | #8 |
Sigil Developer
Posts: 8,099
Karma: 5450184
Join Date: Nov 2009
Device: many
|
I sincerely hope you are not being confused by Preview showing you a message that there is broken code (line number and column) and then only rendering the page up to the point of the breakage? That is not "losing half your file". You simply need to fix the breakage in CodeView, and Preview will happily reload itself. Or allow Mend to do it for you if you can not see the mistake.
|
05-06-2021, 09:11 PM | #9 | ||||
Zealot
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
|
Quote:
Quote:
0.8.1 Quote:
Quote:
|
||||
05-06-2021, 11:46 PM | #10 |
just an egg
Posts: 1,655
Karma: 5432100
Join Date: Mar 2015
Device: Kindle, iOS
|
Wow. 0.8.1 is an exceedingly old version of Sigil (dates back to 2014!). I'm surprised it even works on macOS 10.14.6.
The current Sigil is 1.5.1. Is there a particular reason you're using such an older version? ETA: And I suspect the answers to your original questions are: Q. "What could be causing this?" — Likely answer: You are using a really old version of Sigil. Q. "How can I prevent it from happening again?" — Answer: Update to the latest Sigil 1.5.1. Last edited by odamizu; 05-06-2021 at 11:52 PM. |
05-07-2021, 08:31 AM | #11 |
Sigil Developer
Posts: 8,099
Karma: 5450184
Join Date: Nov 2009
Device: many
|
Yes, I think Sigil-0.8.1 is so old it may still use Tidy which will cut away things. That is why we moved away from Tidy and to gumbo.
If you are addicted to BookView then your best bet is Sigil-0.9.14 as itstill has that feature but also has the better/safer parser. Otherwise, I strongly recommend Sigil 1.5.1 along with PageEdit. |
05-07-2021, 02:25 PM | #12 |
Zealot
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
|
I'm looking at this page and having a hard time finding where to download the new version.
https://github.com/Sigil-Ebook/Sigil...ith-sigil-0918 |
05-07-2021, 02:37 PM | #13 | |
Grand Sorcerer
Posts: 5,635
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
05-07-2021, 02:38 PM | #14 |
Sigil Developer
Posts: 8,099
Karma: 5450184
Join Date: Nov 2009
Device: many
|
|
05-09-2021, 08:28 AM | #15 | |
Zealot
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
|
Quote:
https://github.com/Sigil-Ebook/Sigil...ses/tag/0.9.14 I tried 1.5.1 but is there only codeview for it? Why do you strongly recommend 1.5.1 ? Why did they get rid of the BookView? |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre cannot remove deleted file on Kobo | Olta | Devices | 16 | 04-30-2014 09:27 AM |
Help, deleted file accidentally | peejayw | Kobo Reader | 2 | 07-23-2013 06:29 PM |
Essential text file being deleted during conversion | PatNY | Conversion | 2 | 05-30-2012 12:16 PM |
May have deleted a file | sadievan | Kindle Fire | 5 | 11-28-2011 09:53 PM |
Deleted the metadata.db file | bmwr1200c | Calibre | 6 | 08-18-2011 10:45 AM |