![]() |
#31 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,383
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 06-26-2017 at 09:57 PM. |
|
![]() |
![]() |
![]() |
#32 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Quote:
It would be interesting to know what the standard practice is. If I was still using Microshaft I probably wouldn't touch my computer without a security guard. But I've had very few problems since upgrading to a Mac. And closing saved files doesn't work for everyone. Like I said, I do a lot of multi-tasking. If I close a dozen saved Photoshop files, there is a handy "Open Recent" feature that allows me to quickly reopen SOME files. But there are limits. If I had a panic attack every time it was time for lunch and closed all my files - even saved files - then how long would it take to reopen them, find the exact place where I was working on each file, etc., etc.? If I'm copying stuff between a spreadsheet, Photoshop, a database, a text editor and Sigil, it becomes more trouble than it's worth. Between my Mac and all my other software programs, I know I'm going to have an occasional problem. But if the only way to deal with those rare problems is to close and reopen all my files every time I eat lunch, go to the restroom or check the mail, then I'm not going to get much work done. For me, that would be insanity. In the meantime, many, if not most, of the software programs I use have some really good features for recovering lost work. |
|
![]() |
![]() |
![]() |
#33 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,383
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm a Linux user by the way. Have been for decades. I'm no stranger to Microsoft, but it's not what I use for my development machine (nor my everyday machines).
I'm not panicking and I'm not paranoid. But when I leave my computer for any length of time, documents I care about are not open in editing programs. When I'm at my computer, I multitask with the best of them. But I'm done with this. The tiny number of Sigil users who've reported being burned by Mac's tendency to delete temp files left open for more than 48 hours assures me that doing so is not "typical" behavior. And for those who it is typical behavior, Sigil provides a way to set its scratch directory to somewhere in your user directory so it doesn't get harvested by the system temp cleanup (though I still believe it's your penchant for diddling with epub archives via eCan Crusher that is probably the root of your issues, rather than Mac's temp-file cleanup). Last edited by DiapDealer; 06-26-2017 at 10:34 PM. |
![]() |
![]() |
![]() |
#34 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Power outages happen.
IMHO another reason for not leaving with a file open in Edit Mode. NB I also have a UPS under my desk that has >30 minutes with the worst case load (more than 1 computer up). Belt, suspenders and a Life Ring ![]() |
![]() |
![]() |
![]() |
#35 | |||
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Quote:
Quote:
Quote:
I guess it just goes to show that Mac's aren't perfect. Maybe Apple should install some kind of "Time's Up!" warning before your Mac starts cannibalizing temp files. |
|||
![]() |
![]() |
![]() |
#36 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Quote:
I have accidentally unplugged it at night, waking up to find it dead. But as soon as I plug it in, all my programs generally open up just as I left them. Time Machine is another nice feature, though I haven't used it enough to be really familiar with it. |
|
![]() |
![]() |
![]() |
#37 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,215
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just FYI, Apple's crazy policy of deleting "expired" temp files has bitten me in calibre as well. The solution is to not use /tmp as the temporary directory. Instead use the user cache directory as the temporary directory. You can get that by passing _CS_DARWIN_USER_CACHE_DIR to the confstr() function. That is what calibre does on macOS to work around this issue.
|
![]() |
![]() |
![]() |
#38 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Quote:
I'm going to spend some more time learning about Calibre. If I remember correctly, it allows you to put images in subfolders, which is something Sigil can't do (I think). I have to revisit that thread. It's just a bit of a pain having over 500 images in one "Images" folder. Hopefully, I'll be past the learning curve when I start working on my third ePub. ![]() |
|
![]() |
![]() |
![]() |
#39 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,215
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
My post was not for you, but for the Sigil developers, so they can prevent this problem happening to others on macOS in the future. Using a custom temp folder will of course fix the problem also, but it requires every user to know how to do it in advance.
|
![]() |
![]() |
![]() |
#40 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,501
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi Kovid,
Thanks! Allowing users to set their own temp path outside the OS temp has already bitten us as novice users were setting that path and then playing with Sigil temp files while Sigil was running. The fact that ~/Library/Caches/ is hidden from novice users by default on OSX should help in that regard. |
![]() |
![]() |
![]() |
#41 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,689
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
unzip -t You also might want to try the following command: Code:
unzip -l -v /users/sigilbear/Documents/epubs/Symbols/Geobop3.0.epub Code:
unzip -l -v /users/sigilbear/Documents/epubs/Symbols/Geobop3.0.epub | grep container.xml Code:
NNN Defl:X NNN 31% YYYY-MM-DD HH:MM 9aa7f027 META-INF/container.xml If you don't get any output for this command, the epub is missing container.xml. You should definitely give Calibre Editor a try. Kovid did a great job duplicating all major Sigil features and even added some beginner-friendly features that Sigil lacks. I personally prefer Sigil, but this is just a personal preference, because when it comes down to the core features, there really isn't anything missing in Calibre Editor. |
|
![]() |
![]() |
![]() |
#42 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() @Sigil-Bear - the calibre editor is a separate program to the library manager, which means it can be executed directly like Sigil. I guess the Live CSS viewer is a beginner-friendly feature, but very useful as a 'second opinion' when faced with Byzantine CSS code. It also adds some sophisticated features: checkpoint/restore, regex functions, and multi-lingual spellcheck. I also like its Words and Links reports. There's no Book View ![]() BR |
|
![]() |
![]() |
![]() |
#43 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
container.xml problems | SigilBear | Sigil | 4 | 06-11-2017 09:43 PM |
Some files.html & toc.xhtml (also Cover.xhtml) | chaot | Workshop | 23 | 02-13-2017 12:20 PM |
Container methods, various scenarios | jackie_w | Development | 15 | 11-09-2015 02:32 PM |
Recreating my Library on my server takes weeks now | mohataj | Calibre | 9 | 09-12-2015 11:17 PM |
Recreating library on new computer? | jeather | Calibre | 5 | 01-31-2013 02:22 PM |