Giter Site home page Giter Site logo

Comments (8)

aristidb avatar aristidb commented on July 17, 2024

I'm trying to reproduce this.

2014-04-02 14:47 GMT+02:00 remdezx [email protected]:

I got an error while compiling your library. It does not work with
exceptions >= 0.4. Please update library to use newest exceptions.

Preprocessing library aws-0.8.5...
[ 1 of 64] Compiling Aws.Ec2.InstanceMetadata ( Aws/Ec2/InstanceMetadata.hs, dist/dist-sandbox-acf35a42/build/Aws/Ec2/InstanceMetadata.o )

Aws/Ec2/InstanceMetadata.hs:20:41:
No instance for (exceptions-0.5:Control.Monad.Catch.MonadThrow
(ResourceT IO))
arising from a use of HTTP.parseUrl' Possible fix: add an instance declaration for (exceptions-0.5:Control.Monad.Catch.MonadThrow (ResourceT IO)) In a stmt of a 'do' block: req <- HTTP.parseUrl ("http://169.254.169.254/" ++ p ++ '/' : x) In the expression: do { req <- HTTP.parseUrl ("http://169.254.169.254/" ++ p ++ '/' : x); HTTP.responseBody <$> HTTP.httpLbs req mgr } In an equation forgetInstanceMetadata':
getInstanceMetadata mgr p x
= do { req <- HTTP.parseUrl
("http://169.254.169.254/" ++ p ++ '/' : x);
HTTP.responseBody <$> HTTP.httpLbs req mgr }
Failed to install aws-0.8.5

Reply to this email directly or view it on GitHubhttps://github.com//issues/96
.

from aws.

aristidb avatar aristidb commented on July 17, 2024

I have pushed a fix to GitHub. Can you please test if it works for you?

2014-04-02 15:13 GMT+02:00 Aristid Breitkreuz [email protected]:

I'm trying to reproduce this.

2014-04-02 14:47 GMT+02:00 remdezx [email protected]:

I got an error while compiling your library. It does not work with

exceptions >= 0.4. Please update library to use newest exceptions.

Preprocessing library aws-0.8.5...
[ 1 of 64] Compiling Aws.Ec2.InstanceMetadata ( Aws/Ec2/InstanceMetadata.hs, dist/dist-sandbox-acf35a42/build/Aws/Ec2/InstanceMetadata.o )

Aws/Ec2/InstanceMetadata.hs:20:41:
No instance for (exceptions-0.5:Control.Monad.Catch.MonadThrow
(ResourceT IO))
arising from a use of HTTP.parseUrl' Possible fix: add an instance declaration for (exceptions-0.5:Control.Monad.Catch.MonadThrow (ResourceT IO)) In a stmt of a 'do' block: req <- HTTP.parseUrl ("http://169.254.169.254/" ++ p ++ '/' : x) In the expression: do { req <- HTTP.parseUrl ("http://169.254.169.254/" ++ p ++ '/' : x); HTTP.responseBody <$> HTTP.httpLbs req mgr } In an equation forgetInstanceMetadata':
getInstanceMetadata mgr p x
= do { req <- HTTP.parseUrl
("http://169.254.169.254/" ++ p ++ '/' : x);
HTTP.responseBody <$> HTTP.httpLbs req mgr }
Failed to install aws-0.8.5

Reply to this email directly or view it on GitHubhttps://github.com//issues/96
.

from aws.

pmlodawski avatar pmlodawski commented on July 17, 2024

No, still the same error on 4fe7365. I put detailed installation log here: http://lpaste.net/102155 .
When I force it to use exceptions < 0.4 it works.

from aws.

aristidb avatar aristidb commented on July 17, 2024

Which version of http-conduit do you use?

2014-04-02 16:26 GMT+02:00 remdezx [email protected]:

No, still the same error on 4fe73654fe7365af.
I put detailed installation log here: http://lpaste.net/102155

Reply to this email directly or view it on GitHubhttps://github.com//issues/96#issuecomment-39336323
.

from aws.

aristidb avatar aristidb commented on July 17, 2024

Ah, found it.

2014-04-02 16:54 GMT+02:00 Aristid Breitkreuz [email protected]:

Which version of http-conduit do you use?

2014-04-02 16:26 GMT+02:00 remdezx [email protected]:

No, still the same error on 4fe73654fe7365af.

I put detailed installation log here: http://lpaste.net/102155

Reply to this email directly or view it on GitHubhttps://github.com//issues/96#issuecomment-39336323
.

from aws.

aristidb avatar aristidb commented on July 17, 2024

Please do a git checkout of aws and just do:

cabal install

NOT "cabal install aws".

Then the problem should disappear. If it does disappear, I'll make a new
version of aws.

2014-04-02 16:54 GMT+02:00 Aristid Breitkreuz [email protected]:

Ah, found it.

2014-04-02 16:54 GMT+02:00 Aristid Breitkreuz [email protected]:

Which version of http-conduit do you use?

2014-04-02 16:26 GMT+02:00 remdezx [email protected]:

No, still the same error on 4fe73654fe7365af.

I put detailed installation log here: http://lpaste.net/102155

Reply to this email directly or view it on GitHubhttps://github.com//issues/96#issuecomment-39336323
.

from aws.

pmlodawski avatar pmlodawski commented on July 17, 2024

Oh, my fault. i downloaded it to aws folder and I should install it with cabal install ./aws. Your patch is working, thanks!

from aws.

aristidb avatar aristidb commented on July 17, 2024

0.8.6 is released

2014-04-02 17:05 GMT+02:00 remdezx [email protected]:

Closed #96 #96.

Reply to this email directly or view it on GitHubhttps://github.com//issues/96
.

from aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.