[Haskell-cafe] Two GET HTTP requests
nonowarn at gmail.com
Sun Feb 7 10:07:54 EST 2010
On Sat, Feb 6, 2010 at 2:51 AM, Chris Eidhof <chris at eidhof.nl> wrote:
> Approach 3: I used the simpleHTTP function from the HTTP package. This crashed, after I dug a little deeper into the code, it threw an error on calling the parseURI function (openFile: no such file exists). I installed the latest network package and upgraded my HTTP package, and the parseURI error went away. I felt like I was almost there, and tried the following:
>> simpleHTTP (getRequest "http://haskell.org")
> This failed with just the text "Bus error". I searched the HTTPBis git repository, but couldn't find the text "Bus error". I don't have a clue of how to fix this.
Try reinstall network package with `cabal install --reinstall
See also: http://hackage.haskell.org/trac/ghc/ticket/3681
Hope this helps.
More information about the Haskell-Cafe