Comments (8)
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 ofHTTP.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 for
getInstanceMetadata':
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.5Reply to this email directly or view it on GitHubhttps://github.com//issues/96
.
from aws.
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 ofHTTP.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 for
getInstanceMetadata':
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.5Reply to this email directly or view it on GitHubhttps://github.com//issues/96
.
from aws.
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.
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/102155Reply to this email directly or view it on GitHubhttps://github.com//issues/96#issuecomment-39336323
.
from aws.
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.
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.
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.
0.8.6 is released
2014-04-02 17:05 GMT+02:00 remdezx [email protected]:
Reply to this email directly or view it on GitHubhttps://github.com//issues/96
.
from aws.
Related Issues (20)
- Unnecessarily throws XmlException with missing user DisplayName HOT 5
- PutBucket versioning HOT 2
- add etag to PutObjectResponse
- add etag to GetBucketResponse HOT 1
- S3 Buckets with "." in the name cause TLS issues when running PutObject HOT 1
- v4 GetObject Signing HOT 5
- Support for network 3.x?
- DynamoDB conditions: Missing `attribute_not_exists`? HOT 2
- Json support for basic types
- `credentialsDefaultFile` references non-standard location
- Support HTTP and custom port in SES HOT 1
- SES no longer works HOT 2
- Build errors with aeson-2 HOT 3
- New maintainer or at least contributor HOT 8
- support unauthenticated S3 requests HOT 4
- Kinesis support
- HTTP2 support
- unable to specify a region for S3 servers not in AWS HOT 2
- unable to specify User-Agent
- software design HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws.