-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
v1.0 prefixes "C:" to AUDIBLE_CONFIG_DIR #72
Comments
The following function in def get_app_dir() -> pathlib.Path:
app_dir = os.getenv(CONFIG_DIR_ENV) or click.get_app_dir(
"Audible", roaming=False, force_posix=True
)
return pathlib.Path(app_dir).resolve() This function is untouched over one year. Because using an env variable, in your case But why is you config dir so big? I'm using the default config dir and have the So I would suggest:
PS: You don't need cygwin or Python to run the standalone binarys! Maybe this this helps you! |
No; it's an absolute path, because it starts with a '/'. Cygwin uses Unix conventions. The 'e' after 'cygdrive' means it's on drive E. (Cygwin treats 'e' and 'E' as equivalent for drive specification, though everywhere else, uppercase vs. lowercase matters.) The earlier version of audible-cli that I was using, used it as an absolute path. The binary might be the same; the version I was using before had a script rather than a binary in /usr/local/bin/audible; that script might have auto-converted the path. I could try using a Windows-style env variable, but I suspect that would cause problems somewhere, because shell scripts wouldn't be able to interpret it correctly.
audible-cli defaults to downloading in the current working directory, so I wanted that to be close to the config directory, so I could cd easily between the two. My Audible directory already contains a "downloads" directory, for files downloaded using the Audible app. So I put a "downloads" subdirectory inside "audible-cli", to put files downloaded by audible-cli. That downloads directory is huge. |
Please keep in mind pyinstaller binarys use its own Python interpreter. Not the interpreter from Cygwin. So if you run the binary, the |
@philgoetz Could you solve your problem? |
My audible-cli config directory is on drive E, because needs over 100G of space.
But I can't get the new release (from audible_win_dir.xip) to look for its config directory there, because it prepends 'C:' to the path, probably because it's a cygwin path and so doesn't look like a Windows path.
This was not a problem with the previous version.
(Although I don't know which release of audible-cli it's using, a precompiled one or one I compiled, because the config process was complicated, I don't know which Python installation cygwin is using, and I didn't keep good notes.)
The text was updated successfully, but these errors were encountered: