You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doc/Example.hs hangs on Windows when running with MongoDB v2.0.4 (64-bit version). My Haskell is from the Haskell Platform, GHC version 7.0.3.
Basically this part:
main =do
pipe <- runIOE $ connect (host "127.0.0.1")
e <- access pipe master "baseball" run
close pipe
print e
hangs at the end of main. I run it like this:
runhaskell Example.hs
I'm not which part actually hangs. If I move "print e" above "close pipe" and insert logging prints between, it seems that "print e" completes, I get the full print out and execution hangs on "close pipe".
If I completely remove "close pipe", main exits without a hang.
The odd thing is that if I compile Example.hs with ghc and run the output Example.exe, there's no hang.
I'd be happy to help you guys debug this -- it'd be awesome to be able to use mongoDB on both Linux and Windows without issues.
I got the same hang also in structured-mongoDB examples. Ran them on Linux earlier today and didn't encounter any hangs.
The text was updated successfully, but these errors were encountered:
doc/Example.hs hangs on Windows when running with MongoDB v2.0.4 (64-bit version). My Haskell is from the Haskell Platform, GHC version 7.0.3.
Basically this part:
hangs at the end of main. I run it like this:
I'm not which part actually hangs. If I move "print e" above "close pipe" and insert logging prints between, it seems that "print e" completes, I get the full print out and execution hangs on "close pipe".
If I completely remove "close pipe", main exits without a hang.
The odd thing is that if I compile Example.hs with ghc and run the output Example.exe, there's no hang.
I'd be happy to help you guys debug this -- it'd be awesome to be able to use mongoDB on both Linux and Windows without issues.
I got the same hang also in structured-mongoDB examples. Ran them on Linux earlier today and didn't encounter any hangs.
The text was updated successfully, but these errors were encountered: