Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2018, 02:51 PM   #31
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,010
Karma: 1292638
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Not to mention AV/FW Software packages have often these kind of cleanups as service too.
Divingduck is offline   Reply With Quote
Advert
Old 03-03-2018, 03:11 PM   #32
deback
Book E d i t o r
deback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the end
 
Posts: 254
Karma: 31930
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by JSWolf View Post
Actually, the best time to clean out the temp directory is right after a system boot. Say you are using the Calibre editor and you delete the temp directory, you screw up the eBook you are editing. Also, you don't know what ever program you might mess up.
I believe access is denied to any temp files that are being used, so those files won't get deleted when manually deleting all temp files. That's the way it is whenever I've manually tried to delete the entire TEMP folder(s).
deback is offline   Reply With Quote
Old 03-03-2018, 04:18 PM   #33
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 270
Karma: 535622
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
Quote:
Originally Posted by theducks View Post
Why would you +assume+ it was a W10 update when many Thousands of other Calibre W10 users have no issues?
OTOH a 3rd party utility, as Kovid suggested, IS. Why? Because we all use different combinations of them.
Because if I don't, I'm going to spend all my time freaking out about something I can't appear to control. Many people have issues with their USBs not working after this update, I don't have that, along with the other listed issues people report with the latest update. If it's not the update, then I have no idea what occurred as I can't figure out what 3rd party program I would have that would do it.

From what I read on this thread, and other places on the web, this issue comes and goes with some users. Which leads me to believe that it's not something I did to the program or to my computer. I've only started exclusively using Calibre's editor since I switched to my Win10 laptop in July and my chosen Sigil version is unstable. Also, I've had problems with VLC player working properly after a Windows update that only a few people also had, something the update "broke". So, I can assume that Windows messed something up and live happily (after several malware/antivirus scans came back clean and there is nothing weird in my task manager), or I can spend a long time worrying about it.
VirgoGirl is offline   Reply With Quote
Old 03-03-2018, 04:43 PM   #34
BetterRed
null operator
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: 9,890
Karma: 9693236
Join Date: Mar 2012
Location: Sydney Australia
Device: none
The easiest way to clean up a Windows system is to use the MS provided Disk Cleanup utility, which can be found in Start Menu->Windows Administrative tools.

Oops. I see theducks already mentioned this.

BTW - the 'AV Scanning' etc in my earlier post were generic names not product specific names.

BR

Last edited by BetterRed; 03-03-2018 at 05:02 PM. Reason: Added the Oops
BetterRed is online now   Reply With Quote
Old 03-03-2018, 04:59 PM   #35
BetterRed
null operator
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: 9,890
Karma: 9693236
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by VirgoGirl View Post
What may be a stupid question: can I put it anywhere but in my appdata folders?
Not sure if this got answered.

Via the environment variable, you can have calibre use any folder you choose for temporary storage, I have mine at C:\_Calibre\Temporary.

BR
BetterRed is online now   Reply With Quote
Advert
Old 03-03-2018, 07:32 PM   #36
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,137
Karma: 45956325
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by deback View Post
I believe access is denied to any temp files that are being used, so those files won't get deleted when manually deleting all temp files. That's the way it is whenever I've manually tried to delete the entire TEMP folder(s).
I did a test once with Calibre's editor. You can delete the temp file it is using and this screw up your eBook that's currently being edited.
JSWolf is offline   Reply With Quote
Old 03-03-2018, 08:09 PM   #37
deback
Book E d i t o r
deback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the end
 
Posts: 254
Karma: 31930
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by JSWolf View Post
I did a test once with Calibre's editor. You can delete the temp file it is using and this screw up your eBook that's currently being edited.
Calibre should not allow its temp files to be deleted while the files are in use. This is a Calibre problem then (which should be fixed), since other programs will deny access to delete temp files when they are in use. Perhaps someone could report this bug to the author of the software...
deback is offline   Reply With Quote
Old 03-04-2018, 04:24 AM   #38
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,010
Karma: 1292638
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Quote:
Originally Posted by deback View Post
This is a Calibre problem then (which should be fixed), since other programs will deny access to delete temp files when they are in use. Perhaps someone could report this bug to the author of the software...
I don't think so. It is a temporary location and it is by default not a system or in other way's restricted place. The only way you can't delete a file in this area is because the file is in use at the moment where you try to delete files from this directory.

This behavior happen with all programs where a clean-up tool try delete temp folders. That's why most cleaners have a option to define exceptions in this cleaning process. The problem is more, that most people do not take care about setups and as more programs doing this stupid cleanups (delete anything what is called, mention or smelling like temp) it became more possible to delete what have to be never cleaned. The point is, that a program have to take care to cleanup his own mess (what calibre as most other programs theses days do; it is best practice for a serious programmer) - but cleaning tools with a "one click care" give the responsibility of using this tools to the user and you as an user have to remember it and use them the right way (even too if you don't know that there are running in background). That is in the end the story behind.

When Kovid and all other programmers do what you want, where will this end? The next specialist come in the moment you implement this and will blame a programmer again because of not deleting temp files and the discussion start again as a never ending story. And in the end we start again to have thousands of places where programs leave temp files (we had this situation already in the past, if you are old enough I am sure you can remember this times...) Cleanup tools are both, good and bad and you as user need to take the responsibility about what they are doing all the time you are using them. That's the problem with illusionary one-click care and healthiness w/o the need to understand what a tool is doing ...

By the way, what I described above is already happening. Cleanup tools became more and more a status of useless / anachronism and systems are growing within short time with huge useless data match.

Last edited by Divingduck; 03-04-2018 at 04:26 AM.
Divingduck is offline   Reply With Quote
Old 03-04-2018, 05:10 AM   #39
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,137
Karma: 45956325
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
I think that a program that cleans the temp directory should run once on system start, delete what it can, and stop running. That would solve the problem.

Calibre has since been fixed so this problem won't happen to eBooks being edited. But, for all we know, there could be other programs that use the temp directory that does not always lock the file(s) used.
JSWolf is offline   Reply With Quote
Old 03-04-2018, 05:59 AM   #40
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 32,571
Karma: 9906320
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not to mention that keeping files open uses resources (a file handle in the kernel) and the number of files a process can keep open at a time is limited.
kovidgoyal is online now   Reply With Quote
Old 03-04-2018, 08:48 AM   #41
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 270
Karma: 535622
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
Thank you everyone for the help, I very much appreciate it. Kovid, thanks so much for changing where the files go, I won't worry (so much, lol) about it happening again. If it does, the advice here is helpful.

Have a great day!
VirgoGirl is offline   Reply With Quote
Old 03-04-2018, 09:41 AM   #42
deback
Book E d i t o r
deback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the end
 
Posts: 254
Karma: 31930
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by VirgoGirl View Post
Further edit: I checked out GodMode (Google is my friend), there is some resistance in my house to doing anything in GodMode as "I can really mess up my computer - live with it."
God Mode is just a window that includes a list of all or most of the settings for Windows the way they used to be -- all in one screen for easier access (instead of wasting time trying to find certain settings in the newest version of Windows). You can't mess up (using God Mode) any more than you used to be able to mess up when using the old style of Windows settings. Using God Mode is not like editing the registry. If you make notes of the things you change, then you will know what to change back if something gets messed up.
deback is offline   Reply With Quote
Old 03-04-2018, 09:43 AM   #43
deback
Book E d i t o r
deback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the end
 
Posts: 254
Karma: 31930
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by VirgoGirl View Post
Kovid, thanks so much for changing where the files go
As I said in an earlier response, the TEMP files are still being placed in the Windows TEMP folder (in v.3.18). I had to manually change the environment variable to change the TEMP folder to a simple folder called c:\calibre.
deback is offline   Reply With Quote
Old 03-04-2018, 12:27 PM   #44
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,523
Karma: 20890108
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Quote:
Originally Posted by deback View Post
Using God Mode is not like editing the registry. If you make notes of the things you change, then you will know what to change back if something gets messed up.
Regedit allows you to export the current selected 'Keys'. (creates a .reg file)
That allows that file to be used to fix unintended results, with a single click. These are simple TXT files, so you can edit them together for a single solution (or duplicate changes on multiple systems using the same OS)
theducks is offline   Reply With Quote
Old 03-04-2018, 04:24 PM   #45
deback
Book E d i t o r
deback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the end
 
Posts: 254
Karma: 31930
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by theducks View Post
Regedit allows you to export the current selected 'Keys'. (creates a .reg file)
That allows that file to be used to fix unintended results, with a single click. These are simple TXT files, so you can edit them together for a single solution (or duplicate changes on multiple systems using the same OS)
That's true, but I only mentioned editing the registry because VirgoGirl said she wasn't comfortable changing any of the regular settings in Windows. I was trying to explain that changing a Windows setting is no big deal and is not like editing the registry, which can mess up things if one doesn't know what they're doing. There are people out there that don't know about exporting the registry settings to .reg files (before they make any changes), and that the .reg file(s) can be clicked on once to get those registry settings back.
deback is offline   Reply With Quote
Reply

Tags
temp folders

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows deleting Viewer's temp files? Steven Karp Calibre 5 10-28-2017 05:14 PM
Calibre temp files keep disappearing lawnparty Calibre 9 09-04-2015 04:47 AM
Temp files cleanup kiwidude Development 2 03-05-2011 10:56 AM
Temp files... BadGandalf Calibre 17 10-24-2010 11:38 AM
Temp files Jeff L Calibre 3 10-14-2010 05:58 PM


All times are GMT -4. The time now is 03:58 AM.


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