-
Notifications
You must be signed in to change notification settings - Fork 26
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
[Bug] ValueError: path is on mount 'C:', start on mount 'D:' #37
Comments
@epsy , the problem is relevant in March 2018. Thanks. |
@epsy , the problem is relevant in April 2018. Thanks. |
Having the same Windows issue. I'm using a setup.py entry-point (installed in my conda environment on The problem is in I fixed the issue by patching my try:
rel = os.path.relpath(path)
except ValueError:
return basename I think there may also be some other Windows-specific bugs, e.g. the |
…ath) raises a ValueError when the path of the executable is on a different drive than the current directory, Returning basedir as executable name seems appropriate in this case.
… raises a ValueError when the path of the executable is on a different drive than the current directory, Returning basedir as executable name seems appropriate in this case.
1. Summary
My CLI program successful work for disk C, but not for disk D.
Possibly, it Clize bug, not bug in my program.
2. Settings
2.1. Environment
2.2. Project
https://github.com/Kristinita/SashaPythonTest
my simple program check, contains
<body>
in.txt
files in folder or no.It that I want in #35.
2.3. Folders
I have 2 folders with similar content:
SashaPythonTestOnDiskC
— on disk C,SashaPythonTestOnDiskD
— on disk D.Content of
SashaPythonTestOnDiskC
andSashaPythonTestOnDiskD
folders:BodyExists.txt
file:<body>
NoBody.txt
file:3. Steps to reproduce
I install my project:
I run command
sashatest
in console.4. Expected behavior
For
C:\SashaPythonTestOnDiskC
:5. Actual behavior
For
D:\SashaPythonTestOnDiskD
:Thanks.
The text was updated successfully, but these errors were encountered: