08-09-2021, 04:38 AM | #1 |
Custom User Title
Posts: 8,620
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Temp folder when running from source
I recently set CALIBRE_TEMP_DIR set to D:\Temporary\Calibre\temp (partly convenience, partly to get all those writes off my system drive). This works when I'm running stable. However, if I run from source, I noticed it instead writes to %LocalAppData%\Temp. Is this intended?
Last edited by ownedbycats; 08-09-2021 at 04:45 AM. |
08-09-2021, 05:13 AM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Running from source or not doesnt change the behavior of CALIBRE_TEMP_DIR. Are you sure you are setting the same env var for both?
|
08-09-2021, 05:41 AM | #3 |
Custom User Title
Posts: 8,620
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Does using calibre-debug instead of calibre change that behaviour? Otherwise I'm not sure how you'd use a different env var.
|
08-09-2021, 05:50 AM | #4 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, it doesnt. You are presumably usinga bat file to launch calibre-debug, try setting it there.
|
08-09-2021, 06:02 AM | #5 |
Custom User Title
Posts: 8,620
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
@ECHO OFF :: set dir envs set CALIBRE_CONFIG_DIRECTORY=D:\AppData\Calibre set CALIBRE_CACHE_DIRECTORY=D:\Temporary\Calibre\cache set CALIBRE_TEMP_DIR=D:\Temporary\Calibre\temp :: run calibre from source set CALIBRE_DEVELOP_FROM=D:\Documents\git\calibre\src "c:\Program Files\calibre2\calibre-debug.exe" -g |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre filling up Windows Temp folder | wjBLqf-_9 | Calibre | 5 | 05-09-2023 03:07 AM |
Calibre-server leaves temp(?) folder | phossler | Calibre | 6 | 09-29-2016 05:26 PM |
image url looking in temp folder for file | david_f1 | Sigil | 23 | 08-01-2016 03:40 PM |
Conversion and Temp folder issues | OscarWilde | Calibre | 7 | 11-16-2013 07:45 PM |
Calibre files left in Temp folder | itimpi | Calibre | 8 | 05-06-2009 06:15 AM |