Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-06-2023, 09:48 AM   #1
huotg01
Enthusiast
huotg01 began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
Problem after re-installation - Calibre looks for a removed disk

Hi

I have a strange problem. I'm a long time user, but I can't see how to solve this issue.

I'm running Calibre on a very small server, with an external usb drive "d:". Recently the drive stopped working and I just removed it. I wanted to change the location of the Calibre Library, but Calibre refused to run. I was surprised. I was expecting an error message, but nothing.

I uninstalled Calibre, and re-installed it. Same issue.

I then try the debug feature, and the result is attached. The process ends on a File not found error: [Win error 3] Path not found: 'd:\\'

Please note the d:

I don't know what to do. Is there a registry entry than can cause this problem ?

Thanks

Gaston
Attached Thumbnails
Click image for larger version

Name:	Calibre Screenshot 2023-02-06 093034.png
Views:	232
Size:	97.3 KB
ID:	199528  
huotg01 is offline   Reply With Quote
Old 02-06-2023, 10:23 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Try starting from the command line (to get it started, them you will fix the Location for a normal start)
Use the library located at the specified path.

Code:
calibre --with-library <"path">
Then use the create/switch option on the Library Icon: USE EXISTING
to set the new location
And also use the REMOVE LIBRARY <old name/location> to stop Calibre from even trying. (this only removes linkages from not in use libraries)
theducks is online now   Reply With Quote
Advert
Old 02-06-2023, 11:53 AM   #3
huotg01
Enthusiast
huotg01 began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
Thanks theducks

Calibre still doesn't start. Same error message. Please see the attached screenshot.

Any other ideas ? I installed it on my laptop, pointing on the same location (it's a NAS), and it works....

I'm lost,

Gaston
Attached Thumbnails
Click image for larger version

Name:	Calibre Screenshot 2023-02-06 093034.png
Views:	214
Size:	97.3 KB
ID:	199533  
huotg01 is offline   Reply With Quote
Old 02-06-2023, 12:49 PM   #4
huotg01
Enthusiast
huotg01 began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
Thanks theducks.

I finally found out what was going on. A long long time ago I set a system variable :
CALIBRE_CONFIG_DIRECTORY d:\Media\Calibre\CALIBRE_CONFIG_DIRECTORY (see attachment)

I don't remember why I did that at the time!

What is the difference between CALIBRE_CONFIG_DIRECTORY and the Calibre library directory ?

Thanks again,

Gaston
huotg01 is offline   Reply With Quote
Old 02-06-2023, 12:56 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The Library is what it says (Books and settings (possibly) UNIQUE to that Library)
The settings folder is about YOUR (general) settings and plugins
theducks is online now   Reply With Quote
Advert
Old 02-06-2023, 01:20 PM   #6
huotg01
Enthusiast
huotg01 began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
Thanks

And is the location of CALIBRE_CONFIG_DIRECTORY linked the location of the Calibre library ? If I well remember one was beside of the other ? Do I have to know where it is ?

Thanks,

Gaston
huotg01 is offline   Reply With Quote
Old 02-06-2023, 02:17 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
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:
Originally Posted by huotg01 View Post
Thanks

And is the location of CALIBRE_CONFIG_DIRECTORY linked the location of the Calibre library ? If I well remember one was beside of the other ? Do I have to know where it is ?

Thanks,

Gaston
The config directory contains the Last used Library, which is why it starts there (for those of use that have more than one)
theducks is online now   Reply With Quote
Old 02-06-2023, 02:22 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,736
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
When I start Calibre and it's trying to access a directory that doesn't exist, I get a requestor so I can point Calibre to an existing library or create a new one.

The OP should start Calibre from the GUI and not the command line.
JSWolf is offline   Reply With Quote
Old 02-06-2023, 03:58 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,717
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
By default, calibre stores its configuration data (global settings, plugins, overrides etc) in a directory named %APPDATA%\calibre, where %APPDATA% is a Windows controlled environment variable, which is typically set to C:\Users\<user name>\AppData\Roaming.

The CALIBRE_CONFIG_DIRECTORY environment can be used to override the default location.

If the calibre configuration folder is inaccessible when calibre starts it will run its Welcome-wizard. Amongst other things the wizard tries to build a fresh configuration folder; if it is set, it will try to build it in the location referenced by CALIBRE_CONFIG_DIRECTORY.

BR
BetterRed is offline   Reply With Quote
Old 02-06-2023, 04:29 PM   #10
huotg01
Enthusiast
huotg01 began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
First of all, I confirm that everything is now working.

@JSWolf The problem was the point below. It was not possible to execute the GUI.
Quote:
Originally Posted by huotg01 View Post

I finally found out what was going on. A long long time ago I set a system variable :
CALIBRE_CONFIG_DIRECTORY d:\Media\Calibre\CALIBRE_CONFIG_DIRECTORY (see attachment)

I don't remember why I did that at the time!
Thanks to all of you.

It's really a great support.

Gaston
huotg01 is offline   Reply With Quote
Reply

Tags
installation-error


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
the calibre program is installed only on disk C not on disk d? how to install on dis alekseiminko Calibre 4 01-16-2020 05:37 PM
Problem after the installation of calibre 1.7.0 Ptitprince Devices 4 10-19-2013 12:18 PM
Calibre installation problem kate123 Introduce Yourself 4 01-06-2012 09:07 AM
Calibre Installation Problem spa Calibre 2 10-19-2010 11:17 AM
Problem with calibre installation of linux mint ajambi Calibre 2 01-06-2010 12:10 PM


All times are GMT -4. The time now is 11:33 AM.


MobileRead.com is a privately owned, operated and funded community.