[Hackage] #709: cabal doesn't handle error conditions from
getAppUserDataDirectory
Hackage
cvs-ghc at haskell.org
Mon Jul 12 14:25:46 EDT 2010
#709: cabal doesn't handle error conditions from getAppUserDataDirectory
----------------------------+-----------------------------------------------
Reporter: creswick | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.8.0.2
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion: 6.12.1
Platform: Windows |
----------------------------+-----------------------------------------------
Distribution.Simple.InstallDirs.defaultInstallDirs fails if
getAppUserDataDirectory fails, and it does so with a very uninformative
error:
{{{ # On Cabal 1.8.0.2:
cabal.exe: illegal operation
}}}
This is a slight regression from the HP 2009 version:
{{{ # On Cabal 1.6.0.3:
cabal.exe: System.Directory.getAppUserDataDirectory: unsupported operation
(unsupported operation)
}}}
This happens on Windows Vista, in cygwin, when the user doesn't have a
windows user directory (eg: c:\users\username ).
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/709>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list