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-24-2023, 10:51 PM   #1
2scre
Zealot
2scre began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
images disappearing in .ePub books

I noticed that when I download an .ePub file with images in it (along with text), the images would show for a while and then all the sudden after I save it in Sigil and open it some time later the images are replaced with a small light blue square with a question mark inside of it. How can I prevent this from happening?
2scre is offline   Reply With Quote
Old 03-24-2023, 11:21 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,356
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Are the images embedded in the ePub or are they links to external images ( a very bad idea but one I've seen too often).
DNSB is offline   Reply With Quote
Old 03-25-2023, 01:09 AM   #3
2scre
Zealot
2scre began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
An image shows up as this in code view: <p class="calibre_32"><img src="../Images/00023.jpg" class="calibre_94"/> </p>

I forgot to mention that the images eventually disappear when viewed in book mode in Sigil. (not sure if it does when moved to ebook reader app)
2scre is offline   Reply With Quote
Old 03-25-2023, 08:14 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
What "book mode"?
What version of Sigil are you using?
What do you mean "eventually disappear"?

You are not by chance opening an ebook in Sigil and leaving it open for days and days on end, never closing the epub/Sigil are you? If so your computer is deleting the files out of under Sigil's tmp folder workspace. You should tell it to stop doing that, or change Sigil's tmp folder setting to someplace that is not "auto-cleaned" by your os.

The latest Sigil version has prevented this automatically by no longer using tmp.

Last edited by KevinH; 03-25-2023 at 08:21 AM.
KevinH is offline   Reply With Quote
Old 03-25-2023, 11:39 AM   #5
2scre
Zealot
2scre began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
I'm using 0.9.14

Yes I'm leaving it open for days on end, while saving frequently before closing. How do you tell it to stop deleting files?
2scre is offline   Reply With Quote
Old 03-25-2023, 11:50 AM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,356
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by 2scre View Post
I'm using 0.9.14

Yes I'm leaving it open for days on end, while saving frequently before closing. How do you tell it to stop deleting files?
You can't since the temp file cleanup is a function of the operating system. I would recommend updating to 1.9.30 which avoids the issue by avoiding the system temp directories.
DNSB is offline   Reply With Quote
Old 03-25-2023, 11:52 AM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
There are Windows and macOS plist settings to prevent auto "cleanup" of /tmp files by your OS. You will need to do some googling to find out how to set them.

Or update to a recent version of Sigil. The current version will not use OS tmp folder at alll by default. Older recent versions of Sigil will allow you to define your own tmp folder replacement.

Sigil 0.9.14 uses the older Qt Webkit which is now a security nightmare. It has had no security bug fixes or updates in over 5 years. I strongly suggest updating Sigil and adding PageEdit if you often work in the old BookView.

Here is a link describing some of the settings files on macOS that control this "auto cleaning stupidity".

Last edited by KevinH; 03-25-2023 at 12:10 PM.
KevinH is offline   Reply With Quote
Old 03-25-2023, 12:09 PM   #8
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
And here is a much older MR link about this problem on macOS and how to avoid it by changing plist settings.

https://www.mobileread.com/forums/sh...d.php?t=273999

I am sure Windows has similar settings. And on Linux you would need to examine your chron jobs.

Last edited by KevinH; 03-25-2023 at 12:22 PM.
KevinH is offline   Reply With Quote
Old 03-25-2023, 12:24 PM   #9
2scre
Zealot
2scre began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Oct 2017
Device: iPhone
Quote:
Originally Posted by KevinH View Post
And here is a much older MR link about this problem on macOS and how to avoid it by changing plist settings.

https://www.mobileread.com/forums/sh...d.php?t=273999

I am sure Windows has similar settings. And on Linux you would need to examine your chron jobs.
Ok I guess this is the key post in that thread: https://www.mobileread.com/forums/sh...9&postcount=17

I just changed a minute ago the folder from whatever it was before to a folder of my making in my OneDrive.
2scre is offline   Reply With Quote
Old 03-25-2023, 12:35 PM   #10
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
Not sure how much a network drive will slow Sigil down. Using a network drive location is probably not the best idea.


Also your solution still keeps a totally insecure version of Qt webkit around. Again, not the best idea.

Do what you want. But understand we cannot support that old version in any way. Especially the way you are using it.

Last edited by KevinH; 03-25-2023 at 12:40 PM.
KevinH is offline   Reply With Quote
Old 03-25-2023, 08:50 PM   #11
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,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Kevin - AFAIK Windows 10 doesn't have an automated regular removal of temporary files feature - thankfully. There's the Disk Clean up utility. but that must be run manually, or included in a Scheduled Task.

@DNSB would know for sure.

I suspect some of the "Speed up your PC with Free Beer" tools can do it.

Devil's Advocate asks: why not create the working copy folder (e.g. Sigil-SLzSFo) in the same location as the EPUB under edit?

BR

Last edited by BetterRed; 03-25-2023 at 08:54 PM.
BetterRed is online now   Reply With Quote
Old 03-25-2023, 10:44 PM   #12
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
The epub reading location is not guaranteed to have write access only read access where epub is.

Newer versions of Sigil no longer have this issue so nothing needs changing anymore.

And yes there are Windows 10/11 settings that control tmp file cleanup. I ran into them when this problem started to first appear back in 2016-17 timeframe. A quick google search found something called "Storage Sense" settings on Windows and there are also other related settings:

https://pureinfotech.com/remove-temp...es-windows-10/

Last edited by KevinH; 03-26-2023 at 09:33 AM.
KevinH is offline   Reply With Quote
Old 03-25-2023, 11:36 PM   #13
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,356
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by BetterRed View Post
@Kevin - AFAIK Windows 10 doesn't have an automated regular removal of temporary files feature - thankfully. There's the Disk Clean up utility. but that must be run manually, or included in a Scheduled Task.

@DNSB would know for sure.
The Storage Sense feature was introduced in Windows 10 v1809 so Nov. 2018.

There are also several times I've found people running utility programs that included the capability of cleaning up temp directories on an automated basis.

I don't want to think about one idiot program (BCWipe) that included the capability of wiping the free space on an SSD as part of it's cleanup. The effect on the lifetime of an SSD drive was very nasty. Take a 1TB Samsung 2.5" 860 SSD (early model with a 400TBW if I remember the spec correctly). Assuming it was never over half full and you had it set to wipe every 12 hours so rewriting ~500GB twice per day and in just over a year, the drive is being marked as bad. And no warranty since the warranty was 5 years or TBW whichever came first.
DNSB is offline   Reply With Quote
Old 03-26-2023, 12:08 AM   #14
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,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
The epub reading location is not guaranteed to have write access only read access where epub is.

Newer versions of Sigil no longer have this issue so nothing needs changing anymore.

And yes there are Windows 10/11 settings that control tmp file cleanup. I ran into them when this problem started to first appear back in 2016-17 timeframe. A quick google search found something called "Storage Sense" settings on Windows and there are also other related settings:

https://pureinfotech.com/remove-temp...es-windows-10/
Happy to admit I was wrong.

And that I'd never heard of Storage Sense till now, which doesn't appear to be enabled by default, including on my MS Surface Go.

The only Storage feature I've ever used is Pooling, and that's still in the Control Panel->Storage spaces group - grrrh.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disappearing images (png converted to jpg) Liudprand Editor 11 10-05-2022 03:00 PM
Images disappearing from eBook when transferred to Kindle gairmscoile Devices 5 05-10-2019 10:34 AM
Loading images and Aldiko disappearing oldyellr Kobo Tablets 5 02-08-2012 05:00 PM
Images in EPUB books spaze ePub 28 03-06-2011 10:32 PM
My images are disappearing on small screen devices sbrwake Kindle Formats 2 01-10-2009 09:01 PM


All times are GMT -4. The time now is 05:21 AM.


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