![]() |
#1 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42,365
Karma: 162918680
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Calibre CALIBRE_DEVELOP_FROM oddity
I run calibre from source most of the time however I wanted to test an issue and so changed the variable name to not run from source. This worked until I closed calibre. The next time I opened calibre, it ran from source. I check the environmental variables and the variable name was unchanged however when I ran set from the command line, it showed both the original and modified variables.
Is this expected behaviour? CALIBRE_DEVELOP_FROM=D:\calibre\calibre-master\src DNU_CALIBRE_DEVELOP_FROM_DNU=D:\calibre\calibre-master\src |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,159
Karma: 201666666
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You've verified there's not a user AND system variable?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42,365
Karma: 162918680
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The only variable is a system variable. I've restarted Windows 4 times and the original variable without the DNU's did not show in the environmental variables list. I then ran calibre between 4 and 7 times and the * indicating running from source popped back up. From a command prompt, set then showed the CALIBRE_DEVELOP_FROM variable had returned.
Since no one else seems to have noticed this issue, I'm going to be digging into the guts of my system to see if I can find what I've done to trigger this weirdness. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,216
Karma: 7955067
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
If it is a SYSTEM environment variable then you must use setx to change it. See https://learn.microsoft.com/en-us/wi...-commands/setx. The change is permanent, written to the registry. You will need another setx to reset it
I solve this problems with batch files: one to set both the from-source env var and config directory env var then start calibre-debug, another to set only the config directory env var then start calibre-debug. I don't have a system env var set. Last edited by chaley; 02-04-2025 at 06:42 PM. Reason: Grammar |
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,632
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
does SET at a command (user level) prompt show system variables?
SET at a Command (admin) prompt show lots more |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,296
Karma: 29265622
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#7 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42,365
Karma: 162918680
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre menu oddity | DNSB | Calibre | 11 | 12-11-2023 11:06 PM |
Error occurs on starting ebook-viewer after setting CALIBRE_DEVELOP_FROM | Jasonz | Development | 2 | 09-29-2022 03:51 AM |
Oddity - 2 instances of calibre side by side | BetterRed | Calibre | 10 | 04-15-2015 08:20 AM |
Calibre News Folder Oddity | MR. Pockets | Calibre | 7 | 09-02-2010 10:35 PM |
CALIBRE_DEVELOP_FROM and ebook-viewer | iain_benson | Calibre | 2 | 01-11-2010 05:57 PM |