Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer was in a loop reinstalling Calibre #205

Open
derekguenther opened this issue Jan 7, 2025 · 3 comments
Open

Installer was in a loop reinstalling Calibre #205

derekguenther opened this issue Jan 7, 2025 · 3 comments

Comments

@derekguenther
Copy link

Running on Windows 10. I had an old version of Calibre installed, hadn't used it in a while. The install script updated it for me, it correctly installed to my D:\ drive (I keep my C:\ drive generally only for my OS) then it restarted. However, it did not see Calibre (gave a message that it wasn't installed), it downloaded again, failed to see it again, etc.

Looking through the batch file, it seems to be assuming that Calibre would be in the Path. I manually added this line to the batch file ebook2audiobook.cmd as line 25, just under where it sets the Conda path.

set "PATH=D:\Program Files\Calibre2;%PATH%"

When I ran it this time, it continued on with running Conda to install the rest of the needed packages.

@ROBERT-MCDOWELL
Copy link
Collaborator

ROBERT-MCDOWELL commented Jan 7, 2025

was your old calibre installed at the same path?
it would be nice to get the log of your failed installation
we cannot hardcode the path of calibre as each user can have it's own config.

@derekguenther
Copy link
Author

Yes, it updated the existing installation of Calibre.

Where does the installer store its log? I don't see any echos to a file. If you mean what was in the console, I had to close it in order to be able to work on it.

Agreed that you can't hardcode the path, but that was hardly my point. I resolved the issue I found (but only for myself), and am sharing the information on what I found so that it might help prevent future trouble for other users. The installer was assuming Calibre would be in the system path environment variable, but neither the Calibre installer (the original installation I did years ago, nor the update) nor the ebook2audiobook install script itself put it there. Surely there's a way through a registry key or something to detect the Calibre path?

@ROBERT-MCDOWELL
Copy link
Collaborator

before to set the PATH, what CALIBRE_PATH env shows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants