-
Notifications
You must be signed in to change notification settings - Fork 704
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
}
character in a file-path - windows
#7458
Comments
Hi @IvanRenison, I've put such a line into my config file and I experience no problem. What is the output of |
I downloaded it yesterday form: https://www.haskell.org/cabal/download.html |
It is strange, because I am seeing that there are version up tu |
Indeed, 2.4 is very old. You probably need to find and uninstall the old cabal (renaming the cabal executable to cabal.old should be enough). |
hi, some reason to not download the last version, 3.4.0.0? |
Yeah, I assumed the new version is somehow obscured by the old one, but I'm just guessing. |
Yes, It seems that that is happening |
Manual using the new
|
I was trying with development version, but perhaps there is something in the other parts of your config file (or with Windows). If the config file is not secret (no passwords in there), could you paste it, e.g., at https://gist.github.com? It's also possible something else in our computer setups differs, though it's doubtful. |
I never touched that file, it was generated like that |
I tried deleting the file, and |
Thank you for the full file. Still can't reproduce with cabal 3.5. @jneira: can you? Does anybody have 3.4 handy to try on Linux and on Windows? |
will try to reproduce in windows |
I've reproduced in windows simple adding a |
Wild. So it looks like it happens only in Windows and in all versions of cabal? |
Try with |
Thank you @phadej. I do try with master and it doesn't fail for me. The commit you point to is probably the reason. |
I can confirm master works in windows too:
|
Splendid. @IvanRenison: will you wait for 3.6 release or try to use a pre-release? I think some windows artefacts are being built by CI, but I don't know how to get to them --- do we have any nightly builds available to users? |
EDIT: clicking the green mark of the latest commit on the main page also leads into similar place: Then you need to click on artifacts workflow summary (on the left) to get to the page where artifacts are listed. |
Amazing! @IvanRenison: would you kindly try and become an early adopter of the development snapshot artefacts feature and try to install the latest development version of cabal (as linked above) and become an early adopter of cabal 3.6-rc1 as well, which solves your bug (please do report whether it does)? Any feedback along the way would be much appreciated, e.g., which step was particularly confusing. Thank you! |
Yes, I will try it. |
}
carácter in a file-path - windows}
character in a file-path - windows
Yes, it worked, but I had to manually delete the old |
So, apparently, the dev binary artefacts are usable and the issue is indeed fixed. Success. Thank you all! |
BTW, any idea where we could advertise what @phadej pictured above, that is, wow to get the dev build binaries? Even just to point users to, after their bugs are fixed on master. |
Maybe on the cabal website, next to the other downloads |
Indeed, this looks a good location to me: https://www.haskell.org/cabal/download.html, somewhere closer to the bottom. |
Anybody up to making a PR at https://github.com/haskell/cabal-website? I take it upon myself to badger @emilypi to rebuild the docs after it's merged (just as I annoyingly badger weekly right now:). |
I feel badgered, and therefore will make a PR 😄 |
Hello, I have a
}
character in my users' path in windows:C:\Users\usuario}\
and when I try to install something with cabal, like these:cabal install ansi-terminal
I get an error like these:And the line 28 of that file is:
The first line of that file to have a path. I tried putting the path in that file with
" "
.' '
and< >
but it didn't work.The text was updated successfully, but these errors were encountered: