![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
|
Help! - Calibre 2.30 with OneDrive
OK I have the variable
CALIBRE_CONFIG_DIRECTORY set to %OneDrive%\Calibre_Config And the variable OneDrive set to C:\Users\MyName\OneDrive So till now this always worked very well But on starting Calibre 2.30 I got the startup wizard and I found it is creating a new config directory here: C:\Users\MyName\Desktop\%OneDrive%\Calibre_Config Note that it is using literally %OneDrive% not substituting the string C:\Users\MyName\OneDrive Help???!!! What is going on??? This setup has worked well for me for years. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,059
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:
%reads and substitutes, the system environment setting for that variable% This is the result I got, as I don't use One Drive (I have my own NAS) Code:
C:\Users\Me>set %onedrive% Environment variable C:\Users\Me\OneDrive not defined ![]() UPDATE Wierd: when I look at the full output of SET Code:
OneDrive=C:\Users\me\OneDrive Last edited by theducks; 08-26-2018 at 01:20 PM. Reason: Update |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
|
On 32 bit windows all ok
Just 64 bit windows, i get the problem I’ll try to check it out a bit more later Last edited by Stevex; 08-26-2018 at 02:53 PM. |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,059
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There haven't been any changes to how CALIBRE_CONFIG_DIRECTORY is processed in 3.30 and as far as I know it has never resolved environment variables, see https://github.com/kovidgoyal/calibr...stants.py#L236
So I am surprised it ever worked. As for why it stopped working in x64 it is probably because windows maintains a different set of env vars for 64bit and 32bit processes running on a 64bit computer -- I vaguely recall that windows jumps through various hoops for compatibility purposes when doing this. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
|
Hi Kovid
It all worked for me on x64 pc’s till now. The question is, what changed. I don’t know anything about python - is there any chance 3.30 installed a new python runtime? I just tried downgrading to 3.29 but that now doesn’t work either. Was all working 2 or 3 days ago. Either windows changed or calibre changed or some ssl that calibre uses changed. Windows changing can be ruled out since the last update was second Tuesday in August. Id like to track this down if poss... Thanks for any quick ideas. In the meantime I changed the CALIBRE-CONFIG_DIRECTORY to be hardcoded but its not ideal Ps I do understand if it’s just me you cant waste a lot of time but any ideas will help! Last edited by Stevex; 08-27-2018 at 06:16 AM. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Nope 3.30 uses the same python as 3.29
|
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
|
Ok thanks Kovid
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Another question about syncing calibre with onedrive... | birkmaggs | Related Tools | 3 | 06-19-2017 05:51 PM |
cannot select Calibre Library folder in Onedrive | dwl99 | Calibre Companion | 6 | 10-12-2016 02:55 PM |
Calibre and OneDrive Windows 10 | vaderag | Calibre | 5 | 08-07-2015 11:40 AM |
Using Calibre, able to use OneDrive as cloud service? | a_ahmed | Calibre | 19 | 06-30-2015 04:28 AM |
synchronize library Calibre in OneDrive | beatriz | Devices | 3 | 03-05-2015 12:20 PM |