![]() |
#1 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,973
Karma: 75337983
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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
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?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,973
Karma: 75337983
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.
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
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.
|
![]() |
![]() |
![]() |
#5 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,973
Karma: 75337983
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 ![]() |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre filling up Windows Temp folder | wjBLqf-_9 | Calibre | 10 | 04-16-2025 02:48 PM |
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 |