-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
gita drive root error on Windows #215
Comments
I just tried it on my MBP and there was no traceback. Maybe it's specific to windows. Does the |
yes, |
I have changed the I'm thinking of adding Later edit: |
Did you add Does it work if you just add I am not familiar with windows. For *nix machines, a |
What is the line that triggers the traceback? I tried this on my MBP and it doesn't error out
|
looking at the image above it looks like using the
Important: aways use |
This seems to be the problem: Currently I always strip off the trailing os separator, see Another (easier) solution could be to use relative_to, or is_relative_to in the |
Unfortunately I do may think that is enough. I saw that all paths are malformed eg: I still believe that the only way to move forward in a stable way is to use what seems pretty reliable and tested |
This looks like it could be a true solution, to use |
I took a look at To have a single code-base targeting all platforms, it is required to have cross-platform functions that manipulate cross-platform paths. So my conclusion is that Please let me know if you find it differently. |
just curious, does it work if you simply replace |
what about this one?
|
these are too fake, can you |
I think your test cases are a bit too unreal / strict. In reality they won't be of those variations. The absolute paths with Does my version solves the very first problem you reported? I am not sure if |
Well, tests made on
Indeed the should be unreal. However, the real world showed they are quite real (see csv contents). And the strictness in testcases bring a working solution in a large set of real-world situation (which should indeed be unreal)
I will try. I need to get back to job now. I'll get back to you later |
A PR with how you want your function to be integrated would be good, which I shall test on Windows side. |
please try v0.16.2.1, it corresponds to PR #219 |
what does |
also, what does the top-level group look like in |
I see you merged the PR so it seems it makes no sense to give further feedback |
I merged it since it's already makes it better. We can still keep improving According to this stackoverflow thread, |
Indeed. Testing in |
Could you save the Or we could stop here since |
hmm, I am leaning towards leave it as is, or add |
It is fine as is. The The problem seems to be another issue altogether. I created the 220 issue for that |
from this point on
gita group
executes successfully whilegita ll
will throw the same exceptionOS: Windows 11
Gita ver: 0.16.1.2
Installed with pip
The text was updated successfully, but these errors were encountered: