![]() |
#16 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
As unreasonable as JimLL is, he is pointing out something that needs fixing. Trying to save a file that is html should give you a message: Sigil does not save HTML. Would you like your document saved as an EPUB?
And if the answer is yes, save it as an EPUB It has been a long time since I went through this, but I remember how puzzling it was. As for complaining about something that is free, aimed at pros and semi-pros and that no one is forcing you to use, that is an entirely different issue. |
![]() |
![]() |
![]() |
#17 | ||
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 238654
Join Date: Aug 2009
Device: Kobo Mini (4GB), Nook Classic wi-fi, iPod Touch (Bluefire Reader)
|
Seems like it would be rather difficult to create an autosave feature without removing the requirement that the epub be well formed before saving, it would be annoying to have Sigil constantly throw up error messages about being malformed. The only way around that would be to use some form of temporary file that changes are written to incrementally and can be used to restore after a crash (not that it crashes very often in my experience). I don't need an autosave feature since I already have one (hitting "ctrl+s" every so often, especially before a major find/replace or splitting a large xhtml file).
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#18 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Thanks, that's what I was trying to say, not nearly as clearly as you did. ;-) Quote:
Hitch Last edited by Hitch; 03-29-2012 at 02:53 PM. Reason: Added reply to MrMikel |
||
![]() |
![]() |
![]() |
#19 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
Another is that I may be carrying out a multi-stage repair/find & replace regex process & I would NOT want anything saved while am in the middle of that. IF it goes wrong I want to revert to how the file was before I started that process; not to where an autosave had maybe kicked in part way though, maybe after I'd messed up already but had not yet realised it. so please let's NOT add autosave, unless there is a user option to turn it OFF. PS I have been using sigil pretty much daily for over a year. I'd don';t think it's ever crashed on me! I have add it fail to open a malformed epub but I have never lost work due to a program crash. (but I have often mest up regex & had to discard changes + reload! ) |
|
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
|
![]() |
![]() |
![]() |
#21 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,620
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
There is an issue entered on the Sigil website requesting an optional autosave feature so it has not been forgotten. It will require changes to the underlying code and it could have a performance impact, and as mentioned there are issues around saving corrupted files and mid-changes. So its not a simple thing to implement, but it will remain on the list to look at at some point.
In the meantime, you should definitely be saving your file every so often - certainly more frequently than every several hours - and particularly before major find/replace changes. This is true for Sigil, and pretty much any other software that is used. That doesn't help with the frustration of losing data from a crash that shouldn't happen in the first place, but might help when it happens again. There is some confusion over what you are expecting to be saved. Once you have imported your HTML file into Sigil, you are working with an EPUB file that happens to contain html/xhtml/css/images/etc files. When you Save or Save As, you are saving the whole EPUB including all the documents inside the EPUB whether they are html or css, etc. There is no option to save/export individual files (at least at the moment as far as I know). If you try to run Save or Save As and Sigil says there is a problem saving - then this is IMPORTANT. As was said above, Sigil is telling you something is wrong with a document in your EPUB (or where you want to save the file) and you need to correct this. This is why its important to manually save often - it is very easy to corrupt an EPUB file and Sigil won't save a corrupted file so the sooner you find out about the problem the better. The warning usually gives a you a reason for the issue, and you can run validation checks on the document to help. You can always post any questions about using Sigil to this forum, and if you have specific bug or feature requests post them to the issue log after checking for existing issues. |
![]() |
![]() |
![]() |
#23 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,620
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
If I open Sigil (just from the program icon, not by clicking on an existing epub) and then do a File->Open and choose an existing xhtml file and start doing some editing... when I later click File->Save, I immediately get the warning that; "Sigil currently cannot save files of type 'xhtml'. Please choose a different format." I then smack myself in the head and do a "File->Save as". I do this a lot. Maybe it's just me, but that seems a little awkward. I know Sigil only saves epubs and that's exactly what I wanted it to do, so why did it assume I wanted to save the single xhtml file I was editing (especially since Sigil isn't designed to do that anyway)? Shouldn't the default behavior be to silently switch to the "Save As" dialog if the current document/book/epub hasn't been saved yet? Most apps are capable of knowing the initial project "Save" needs to be a "Save As"... regardless of which of the two options the user clicked. Does that make any sense? ![]() Last edited by DiapDealer; 03-29-2012 at 03:29 PM. |
|
![]() |
![]() |
![]() |
#24 | |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
![]() We're actually considering removing the ability to open html files directly so that would fix this ![]() But given that someone actually uses this feature, we might have to think twice about keeping it (and fixing one or two bugs in the current process). Last edited by meme; 03-30-2012 at 03:09 AM. Reason: panic ensued |
|
![]() |
![]() |
![]() |
#25 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,620
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() I only do it because "File Open" is just so danged ingrained. If the option to do this for (x)html files went away, I'd be able to adapt to using the Add Existing File(s) method instead. If it makes more sense (logistically) to have File Open only "see" ePub files—especially if it helps eliminate this confusion—then I say do that. |
|
![]() |
![]() |
![]() |
#26 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Instead of doing an autosave function, which can cause all sorts of problems, why not just have an optional timer, that the user can set 5/10/15/... mins, then when elapsed it pops up a msg box advising user that they haven't saved recently. the counter is reset when user saves.
|
![]() |
![]() |
![]() |
#27 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
|
I'm only a casual and occasional user of Sigil so this is largely idle curiosity but this business of only saving valid ePubs raises a couple of questions for me. How easy is it to get into a situation where your current document isn't valid (i.e. won't save) and there's a non-trivial amount of work to either fix or undo it? In such a case I would want a way to save my current work-in-progress, perhaps in a custom format to make it clear it's not a valid ePub.
Then again it's possible this doesn't really arise, or only arises with an unusual work-flow? |
![]() |
![]() |
![]() |
#28 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Can happen quite easily, especially if you're importing html that isn't as valid as it could/should be, which then needs cleaning up.
|
![]() |
![]() |
![]() |
#29 | ||
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 238654
Join Date: Aug 2009
Device: Kobo Mini (4GB), Nook Classic wi-fi, iPod Touch (Bluefire Reader)
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#30 |
Avid reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 883
Karma: 6399168
Join Date: Apr 2009
Location: UK
Device: Samsung Galaxy Z Flip 4 / Kindle Paperwhite / TCL Nxtpaper 14
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iRiver Story HD robustness | gcobb | iRiver Story | 0 | 08-18-2011 04:26 PM |
DR800: robustness | alexxxm | iRex | 13 | 08-10-2010 04:17 AM |