![]() |
#31 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
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.
|
![]() |
![]() |
![]() |
#32 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
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).
|
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
"Why is it doing *that*?"
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#34 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
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 |
![]() |
![]() |
![]() |
#35 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
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.
|
![]() |
![]() |
![]() |
#37 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
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...
|
![]() |
![]() |
![]() |
#38 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#39 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
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. |
![]() |
![]() |
![]() |
#40 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,354
Karma: 27182818
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.
|
![]() |
![]() |
![]() |
#41 |
"Why is it doing *that*?"
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 322
Karma: 725344
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! |
![]() |
![]() |
![]() |
#42 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
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.
|
![]() |
![]() |
![]() |
#43 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
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.
|
![]() |
![]() |
![]() |
#44 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
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) |
|
![]() |
![]() |
![]() |
#45 | |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
temp folders |
|
![]() |
||||
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 |