03-14-2010, 06:50 PM | #31 |
Well trained by Cats
Posts: 30,370
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
03-14-2010, 07:26 PM | #32 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
The file is deleted because in the process of saving a file, Sigil first deletes it and then saves a new one. This was added because it solved some saving issues for other users. I'll remove that little "feature" since it seems to be doing more harm than good. But the problem is that the other part of the save process, the actual saving, fails. I still don't know why. It happens for users of different OSs, with different machines. I still can't reproduce it. I've just looked at the zipping code... remember when I said I added a mechanism to trap the error and display debug info? It appears that code is not in the main tree. Hm... I don't know what I did wrong in the repo merge process, but that little changeset is not there. Ok, so the next beta will have a dialog pop up with debug info if a problem occurs during save. When that happens, paste all that into a new issue and I'll hopefully be able to finally fix this annoying bug. It also shouldn't crash anymore, just fail to save (with the error dialog). And it won't delete your file. EDIT: The code is now in trunk. If anyone having this issue could build Sigil from source and report the debug info, please do so. Last edited by Valloric; 03-14-2010 at 07:33 PM. |
|
Advert | |
|
03-14-2010, 09:09 PM | #33 | |
Well trained by Cats
Posts: 30,370
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
03-14-2010, 09:46 PM | #34 | |
Groupie
Posts: 193
Karma: 1032826
Join Date: Mar 2008
Location: Miami, FL, USA
Device: iPhone 4, iPad 2
|
Quote:
Tried multiple times with different file (all created with calibre) and same result. CRAP!, new laptop, I have to download and install all that jazz to compile this thing. Art |
|
03-14-2010, 09:51 PM | #35 |
Groupie
Posts: 193
Karma: 1032826
Join Date: Mar 2008
Location: Miami, FL, USA
Device: iPhone 4, iPad 2
|
Can't seem to find the URL for the svn snapshot. Couls you post that?
Art never mind, found it. Last edited by artbatista; 03-14-2010 at 10:12 PM. |
Advert | |
|
03-15-2010, 07:09 AM | #36 |
Addict
Posts: 302
Karma: 185297
Join Date: Sep 2009
Location: Ankh Morpork
Device: calibre
|
Same problem on Xubuntu 9.10 64bit. Start new project and save it - OK. Add a couple of chapters save it - OK. Add image file save it - 100% cpu usage, no exit and deletes saved file on programme exit via close. Add whole load of text as 1 section and save - OK. Add same text as several sections and save - OK. Create whole book with lots of sections and formatting headings etc. - OK. Add image file - 100% cpu usage and file lost.
It seems the 100% usage may be connected with adding image files? Last edited by weedfreak; 03-15-2010 at 07:13 AM. |
03-15-2010, 09:28 AM | #37 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
The 100% CPU load + hang when saving files with spaces in the filename has already been fixed, and will be in the next beta.
The other saving problem, the one I haven't been able to reproduce is the crash-on-save issue, not the hang. |
03-15-2010, 12:33 PM | #38 |
Addict
Posts: 302
Karma: 185297
Join Date: Sep 2009
Location: Ankh Morpork
Device: calibre
|
The hang errors I posted above were for a file with no spaces in. Everything I normally do seems to save OK except if I add an image file. I just noticed though that the image file name had a space in it, would that also cause the hanging?
|
03-15-2010, 01:01 PM | #39 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
So yes, the image having a space in the name is causing this. Remove the space and you'll see the problem go away. |
|
03-15-2010, 01:06 PM | #40 | |
Well trained by Cats
Posts: 30,370
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Or is there a tool (OS independent) to do the check and fixes? |
|
03-15-2010, 02:23 PM | #41 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
A good tool to do that would be the next Sigil beta, which handles spaces in filenames. You can build from trunk right now, the fixes are already there. But even the current beta will update all references when you rename a file.
|
03-15-2010, 02:48 PM | #42 |
Well trained by Cats
Posts: 30,370
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Sorry, I don't think I want to attempt a "build" from source at this time. Will wait
|
03-15-2010, 03:17 PM | #43 | ||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Quote:
|
||
03-15-2010, 04:10 PM | #44 |
Well trained by Cats
Posts: 30,370
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
03-15-2010, 04:22 PM | #45 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
The next beta will have this issue fixed, and you'll be able to save epub files with spaces in content files filenames without seeing a hang. In the current beta you can just rename those problematic files right in the Book Browser, and Sigil will update all the references. This is just a workaround. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.2.4 | Valloric | Sigil | 16 | 09-09-2010 11:04 AM |
Sigil 0.2.3 | Valloric | Sigil | 16 | 06-25-2010 10:59 AM |
Sigil | Marc_liest | Software | 19 | 06-01-2010 12:59 AM |
Sigil v0.1.5 | Valloric | Sigil | 66 | 12-01-2009 06:55 PM |
Sigil v0.1.2 | Valloric | Sigil | 52 | 08-18-2009 03:15 AM |