1080linebooks / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Sigil crashes on save updating existing epub file on disk #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've had the same saving issue on two different computers.
If I save the sgf file and then the ePub file, from new, there is no
problem. Further updates of the sgf file save correctly. 
However there are many occasions (at least 80%) when updating the ePub file
that the program crashes totally.
My usual solution is to a) delete the existing file before saving, or b)
save to a new name. 

Original issue reported on code.google.com by gcoll...@gmail.com on 14 Oct 2009 at 8:17

GoogleCodeExporter commented 9 years ago
I need the following information:

1.) The version of Sigil you are using.
2.) The operating system you are using it on.
3.) A repeatable sequence of steps that replicates this.

So, try to find this sequence of steps. For instance, when Sigil crashes for 
you like
this, try to find out if doing whatever you are doing would make it crash
*consistently*. Then attach the files needed and the steps necessary to make it 
crash.

This is the bare-bones information for any bug report. Without it, there is very
little I can do. 

For instance, take a look at issue #144 which had all the information I needed 
to
quickly isolate the problem and fix it.

Original comment by Strahinja.Markovic@gmail.com on 14 Oct 2009 at 11:07

GoogleCodeExporter commented 9 years ago

Original comment by Strahinja.Markovic@gmail.com on 14 Oct 2009 at 12:38

GoogleCodeExporter commented 9 years ago
Sequence of events....
Write first file and "save" in sigil format.
"save as" in ePub format.

Edit sigil file and save.
"save as" in ePub format . this action often 'fails.

Please note this Poetry file is an example where I have experienced wysiwyg in 
the
sigil viewer not replicating in ADE - there is a loss of structure. 

Original comment by gcoll...@gmail.com on 14 Oct 2009 at 1:06

Attachments:

GoogleCodeExporter commented 9 years ago
Forgot to add....

Issue occurs on laptop running Vista Home Edition
also on PC running XP Pro

Original comment by gcoll...@gmail.com on 14 Oct 2009 at 2:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 5f494caf48.

Original comment by Strahinja.Markovic@gmail.com on 14 Oct 2009 at 4:23

GoogleCodeExporter commented 9 years ago
I wasn't able to replicate this problem, but I've committed a fix that should 
resolve
it nonetheless. You said your solution was to delete the existing file before 
it was
overwritten, well now Sigil does that for you.

Before saving a file, Sigil checks if it exists. If it does, then it's first 
deleted
and then saved to that file path. Hopefully that should fix it. If you 
encounter this
problem in v0.1.5, please report it here.

The "loss of WYSIWYG" you will have to report as a separate issue. Honestly 
that file
looks the same for me in both Sigil and ADE. But on occasions where it 
doesn't...
well ADE has a multitude of problems, rendering quirks being some of them. So 
this is
usually ADE's problem, not Sigil's.

Original comment by Strahinja.Markovic@gmail.com on 14 Oct 2009 at 4:29

GoogleCodeExporter commented 9 years ago
Many thanks ....

Original comment by gcoll...@gmail.com on 14 Oct 2009 at 4:33