Strange error that seems related to repos field in config #422

Closed
bos opened this Issue May 24, 2012 · 4 comments

Projects

None yet

2 participants

Contributor
bos commented May 24, 2012

(Imported from Trac #429, reported by @waern on 2008-12-06)

I'm reporting this although I don't really know what the problem is.

I installed cabal-install using GHC 6.10.1. When I tried to use it, it complained that the it couldn't open the file 'Ê', or some other strange, seemingly random, one-character long file name. An strace revealed that just before trying to open the file it reads the repos: field from the config file in ~/.cabal. That field was set to "hackage.haskell.org:http://hackage.haskell.org/packages/archive". I tried removing the initial "hackage.haskell.org:", and them cabal-install works.

Not sure what this is, but I couldn't find something about it in the bug tracker after a quick search.

Contributor
bos commented May 24, 2012

(Imported comment by @dcoutts on 2008-12-06)

This sounds quite bizarre. Is the problem still reproducible?

What if you delete the ~/.cabal/config and let it re-create the default one? Does re-building the Cabal lib or cabal-install program affect it?

Contributor
bos commented May 24, 2012

(Imported comment by @dcoutts on 2008-12-17)

Assigning to milestone | because we need more info before we can proceed.

Contributor
bos commented May 24, 2012

(Imported comment by @dcoutts on 2009-03-03)

Several people have reported similar problems. It's never been possible to track down. The problem seems to occur only on Ubuntu and it goes away when cabal-install is recompiled.

Owner
tibbe commented May 15, 2014

Closing as there's been no activity in years.

We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.

@tibbe tibbe closed this May 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment