[Haskell-cafe] Two GET HTTP requests
Chris Eidhof
chris at eidhof.nl
Sun Feb 7 10:50:30 EST 2010
Thanks. Unfortunately, it didn't help. The thing that frustrates me is that it's quite hard to debug. I guess I'll upgrade my GHC to 6.12, hopefully that'll solve it.
-chris
On 7 feb 2010, at 16:07, Yusaku Hashimoto wrote:
> Hello,
>
> 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
> --hsc2hs-options="--cflag=-m32 --lflag=-m32"`.
>
> See also: http://hackage.haskell.org/trac/ghc/ticket/3681
>
> Hope this helps.
> --nwn
More information about the Haskell-Cafe
mailing list