01-27-2012, 02:29 PM | #1 |
Zealot
Posts: 134
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
|
Data Loss with 0.5
Two days ago I installed 0.5 and was very impressed with what I saw. I think it appears to be in good hands. However, the first epub I worked on was a very large file. I did saves regularly during my work. After approximately 6 hours of work I was schocked to see that my file had suddenly shrunk from over 700Kb to less than 150Kb. It was truncated at that point and the last 4/5ths of the file was gone. I did have a back-up, but lost the 6 hours of work. Sorry, I can't say what action it was that caused the data loss, but it scared me enough that uninstalled 0.5 and went back to 0.4.2 where I have not suffered any data loss in months.
|
01-27-2012, 02:41 PM | #2 |
Evangelist
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
Was it not perhaps some images which were no longer in the Images/ folder after opening it?
|
Advert | |
|
01-27-2012, 02:52 PM | #3 |
Zealot
Posts: 134
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
|
No, this particular epub had no images except a cover. It was all text. I did notice that the TOC got a bit messed up just before this happened. The same title appeared at two different locations, so I did a rebuild of the TOC, then a save. I then went to the end of the document to finish my work and it was truncated.
|
02-01-2012, 11:00 AM | #4 |
Zealot
Posts: 134
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
|
I have now gone back to 0.5. There was just too much good stuff in it. I do a copy of my files every half-hour or so now, just in case. I have had Sigil quit, just disappear on me, twice. Both times were doing a regex find that involved "</h1> a new line, new line and <h1>". Nothing was lost. I like the direction the new version is going. Thanks for it.
|
02-01-2012, 11:32 AM | #5 |
Junior Member
Posts: 7
Karma: 10
Join Date: May 2011
Device: none
|
|
Advert | |
|
02-01-2012, 12:28 PM | #6 |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
I think it is sometimes surprisingly easy to delete things by doing some replacements.
E.g. search for (normal mode/all html files) " and replace it with « I havn't found out yet what exactly happens here, but ALL your text is gone... |
02-01-2012, 02:22 PM | #7 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
Open a new file and just type into book view "hello" with the quotes Switch to code view and open F&R Set to Current File Find: " Replace: « Replace All - works ok (except of course its now an invalid document as you'll see if you try to go to something in the book browser). Now, repeat, except Set to All HTML Files Replace All - text has disappeared (and its still invalid) I've opened issue 1222 for it. |
|
02-01-2012, 03:25 PM | #8 | |
Well trained by Cats
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It would be nice if Sigil helped prevent foot shooting , but a user should have a clue if in CV |
|
02-01-2012, 03:58 PM | #9 |
Junior Member
Posts: 7
Karma: 10
Join Date: May 2011
Device: none
|
|
02-01-2012, 04:15 PM | #10 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
Seems to be working okay for the next release though. Of course the file is invalid after this, although correcting automatically seemed to work ok. It also works okay across all files since the automatic corrections are working. (Unlike the quotation one - where the file is invalid but the replace just moves onto the next file which is what's killing the text, so that should be fixable). |
|
02-01-2012, 10:03 PM | #11 | ||
Zealot
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
Quote:
Quote:
You should be more careful with such replacements, e.g. use something like (regex): Find: ([^=])"(\w) Replace: \1«\2 since, IIUC, you want to replace, in a quotation, an opening " with «. This will catch most, but not all of them (e.g. sentences that start with an en- or em-dash or ...). Last edited by Ahmad Samir; 02-01-2012 at 10:22 PM. |
||
02-04-2012, 04:22 AM | #12 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Jan 2011
Device: Kobo 1
|
The same thing happened to me as well.
Search : <p> Replace with : <p class="small"> (about 24 <p>s) I was using Current file. Clicked All. ZAP !!! Bye bye Sigil ! I tried it doing it one by one with the arrow heads and it went fine. Tried it on another book (Book 2) and it crashed when I used ALL. I rebooted my computer and ran Sigil again CRASHED when I used ALL, I use Windows 7 X64 i7 processor. 8 gigs ram. Peace, John P |
02-04-2012, 06:06 AM | #13 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
I've been working on fixing a similar issue, but my test case wasn't crashing 0.5.0 like this one, so thanks for the example. |
|
02-04-2012, 05:01 PM | #14 | |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
Quote:
What I use to replace " is something like this: Find: (>[^<]*)" Replace: \1« (of course my real statement is a bit more complicated since I don't want all "s to «s...) But with the above statement you will just search (and replace) outside of HTML or XML tags. |
|
02-04-2012, 05:04 PM | #15 |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Loss of Energy | clintbradford | Kobo Reader | 13 | 07-31-2010 04:58 PM |
Data loss situations | earthq | Calibre | 0 | 06-26-2009 03:54 PM |
Mourning a loss | astrodad | Sony Reader | 38 | 02-23-2009 02:57 PM |
Data loss | FuzzyGamer | Sony Reader | 4 | 06-25-2007 04:24 PM |