Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2020, 08:34 AM   #16
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by snarkophilus View Post
Currently the temp folder is set to <SIGIL_DEFAULT_TEMP_HOME>.

I think for now I'll set my Sigil temp folder outside ...\AppData\Local\Temp and see if this problem goes away after my patch reboot.
For the record, The <SIGIL_DEFAULT_TEMP_HOME> is AppData\Local\Temp. We just obscure it a bit with that placeholder to discourage people from messing with files in that location while Sigil is running. For some strange reason, many new users seemed to think that noodling around in Sigil's scratch directory was a good idea.
DiapDealer is offline   Reply With Quote
Old 03-14-2020, 08:54 AM   #17
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by DiapDealer View Post
For the record, The <SIGIL_DEFAULT_TEMP_HOME> is AppData\Local\Temp. We just obscure it a bit with that placeholder to discourage people from messing with files in that location while Sigil is running. For some strange reason, many new users seemed to think that noodling around in Sigil's scratch directory was a good idea.
Yeah, I figured that out. I knew about the AppData location before I knew of the config option. Ya know, noodling around .

In the "don't try this at home, kids ... but what the heck, you only live once" section, if I

Code:
unzip -n /path/to/last/epub-with/images
rm mimetime
(-n doesn't overwrite existing files, and it looks like Sigil automatically adds a mimetype when saving) then press the "Save" button in Sigil, lo and behold I get my epub back with all the missing bits with the correct structure, passes EPUBCheck and looks peachy good.
snarkophilus is offline   Reply With Quote
Old 03-14-2020, 09:26 AM   #18
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by snarkophilus View Post
Oh, the idea that Windows could have done this behind my back is ... worrying.

Dig, dig, dig ...

Well bugger? This link on the MS community forum talks about auto-cleanup. As per the attached screenshot, I do have this Storage Sense option enabled, but it shouldn't have touched anything less than 30 days old. Going from some of my old backups of this epub, it looks like the timestamps on the images gets updated each save (part of the zipping process?).

Currently the temp folder is set to <SIGIL_DEFAULT_TEMP_HOME>.

I think for now I'll set my Sigil temp folder outside ...\AppData\Local\Temp and see if this problem goes away after my patch reboot.
Well blow me down with a feather, I was right!

Just checked my Storage Sense it's disabled (like me). Windows must have set it that way because I didn't even know it existed until now, unless I saw it somewhere and absorbed it subconsciously - Donny would call it known unknown.

"Delete temporary files that my apps aren’t using" - how would it know which files an app is 'using' if the app is not holding a handle for the file. I don't have my hands on my Loo Paper roll right now, but I'd be pissed off if someone took it - I'm down to my last 62 rolls

BR
BetterRed is offline   Reply With Quote
Old 03-14-2020, 09:49 AM   #19
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
"Delete temporary files that my apps aren’t using" - how would it know which files an app is 'using' if the app is not holding a handle for the file.
That's my question, too. If left open for a really long time, is Sigil still "using" the container.xml file? The META-INF folder? If no image tabs are open or being rendered in Preview, are the images being used? I would hope something like that would be handled based on the open temp folder handle and not the individual files in it. But it IS Windows. They don't always make the wisest decisions.
DiapDealer is offline   Reply With Quote
Old 03-14-2020, 01:58 PM   #20
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by BetterRed View Post
IMO temp folders (user and system) belong to Windows. MS may have smuggled in a 'Dynamic cleanup of temporary folders based on Last Used date' feature into a Windows patch release and forgot to tell anyone.
BR
I once lost a bunch of files that were in a folder in the temp directory where I was doing some 3d renders. I have a 2nd drive and have my temp folder set to d:\tmp and had the 3d stuff in a folder in that. After windows silently "cleaned up" old stuff in it I renamed the render folder to d:\render.
hobnail is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre-generated epub (from .docx) gives "e21027" "multiple opf files" on KindleGen GhostRider Conversion 0 12-22-2017 09:06 AM
Aluratek Libre Pro Is Suddenly "Losing" Words Byrdie Ectaco jetBook 8 08-30-2013 10:07 AM
KT "Ghost covers/files" again at 670 books, "stale" image entries in firmware VirgoGirl Kobo Reader 4 04-06-2012 02:10 PM
Sigil 024 and regular expressions on "all HTML files" WS64 Sigil 4 08-13-2010 07:33 PM
Importing "big" XHTML files in Sigil paulpeer Sigil 8 03-19-2010 05:00 AM


All times are GMT -4. The time now is 12:42 AM.


MobileRead.com is a privately owned, operated and funded community.