-
Notifications
You must be signed in to change notification settings - Fork 691
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
cabal doesn't handle error conditions from getAppUserDataDirectory #700
Comments
(Imported comment by @creswick on 2010-07-12) This can be recreated with a windows vista system that has cygwin and a cygwin ssh server running:
|
(Imported comment by @dcoutts on 2010-07-13) I suppose we could improve the error message but I don't see that we can make anything work if getAppUserDataDirectory fails. It means we cannot read the config file. The error message issue could do with some work. We should make sure the topHandler is not throwing useful information away. |
In case anyone has the same problem and stumbles upon this comment: if your Windows user name contains non-latin letters (to be more precise: if the name of your home directory contains non-latin letters), and you're using MSYS, you'll get this error. |
@neongreen Is this a problem if you aren't using MSYS? |
This ticket talks about Cygwin. Haskell nowadays is based on Mingw. I am preemptively closing this, please reopen otherwise. |
(Imported from Trac #709, reported by @creswick on 2010-07-12)
Distribution.Simple.InstallDirs.defaultInstallDirs
fails ifgetAppUserDataDirectory
fails, and it does so with a very uninformative error:This is a slight regression from the HP 2009 version:
This happens on Windows Vista, in cygwin, when the user doesn't have a windows user directory (eg:
c:\users\username
).The text was updated successfully, but these errors were encountered: