
#714: cabal: Couldn't read cabal file ".\\HaTeX\\1.0.0\\HaTeX.cabal" ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.3 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.12.1 Platform: Windows | ---------------------------------+------------------------------------------ Comment(by duncan): Btw, as for the bad error message. It's a bit tricky the way we have it at the moment. Currently we lazily parse the .cabal entries and call error if it fails. So we cannot give different errors in different places. Ticket #288 is about handling the index better, we would read the index tarball after download, parse them all then (giving suitable errors/warnings) and write out a new index in an internal form that is faster and does not need further checking/parsing. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/714#comment:7 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects