<div dir="ltr">I'm not certain, but I'm pretty sure following the instructions at the top of the emails you are receiving would be a faster way to get what you want, rather than spamming the whole list for every email you receive. I'll quote them for your convenience (copied from the email you are replying to):<div><br></div><div><div>To subscribe or unsubscribe via the World Wide Web, visit</div><div> <a href="http://lists.racket-lang.org/users/listinfo">http://lists.racket-lang.org/users/listinfo</a></div><div> or, via email, send a message with subject or body 'help' to</div><div> <a href="mailto:users-request@racket-lang.org">users-request@racket-lang.org</a></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 29, 2014 at 2:41 PM, Moshe Deutsch <span dir="ltr"><<a href="mailto:moshedeutsch115@gmail.com" target="_blank">moshedeutsch115@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please take me off the list<br>
<br>
Thanks<br>
<br>
On Sun, Sep 28, 2014 at 4:29 PM, <<a href="mailto:users-request@racket-lang.org">users-request@racket-lang.org</a>> wrote:<br>
> Send users mailing list submissions to<br>
> <a href="mailto:users@racket-lang.org">users@racket-lang.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="http://lists.racket-lang.org/users/listinfo" target="_blank">http://lists.racket-lang.org/users/listinfo</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:users-request@racket-lang.org">users-request@racket-lang.org</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:users-owner@racket-lang.org">users-owner@racket-lang.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of users digest..."<br>
><br>
><br>
> [Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a> ]<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: Help debugging a ffi crash (Eric Dobson)<br>
> 2. How to document a field? (Roman Klochkov)<br>
> 3. Re: proof assistants, DrRacket and Bootstrap (Bill Richter)<br>
> 4. Re: aws/glacier: credential scope (Greg Hendershott)<br>
> 5. Re: aws/glacier: credential scope (Norman Gray)<br>
> 6. Re: aws/glacier: credential scope (Greg Hendershott)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Sun, 28 Sep 2014 11:15:33 -0700<br>
> From: Eric Dobson <<a href="mailto:eric.n.dobson@gmail.com">eric.n.dobson@gmail.com</a>><br>
> To: Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>><br>
> Cc: "<a href="mailto:users@racket-lang.org">users@racket-lang.org</a>" <<a href="mailto:users@racket-lang.org">users@racket-lang.org</a>><br>
> Subject: Re: [racket] Help debugging a ffi crash<br>
> Message-ID:<br>
> <<a href="mailto:CAAEHQ5tWAKzi5AizADUH9smVsNXpYTbmxtO3teGm9Zj8ZDUnLg@mail.gmail.com">CAAEHQ5tWAKzi5AizADUH9smVsNXpYTbmxtO3teGm9Zj8ZDUnLg@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset=UTF-8<br>
><br>
> That is almost surely it, thanks for the second pair of eyes. I had<br>
> similar issues with a different type that I thought was a pointer but<br>
> was actually a struct, but that one I couldn't even get a single call<br>
> to work so it was much more obvious something was up.<br>
><br>
> On Sun, Sep 28, 2014 at 11:08 AM, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>> wrote:<br>
>> Looking at<br>
>><br>
>> <a href="http://clang.llvm.org/doxygen/CXString_8h_source.html" target="_blank">http://clang.llvm.org/doxygen/CXString_8h_source.html</a><br>
>><br>
>> it seems that CXString as returned by clang_getCursorSpelling() is not<br>
>> a pointer:<br>
>><br>
>> typedef struct {<br>
>> const void *data;<br>
>> unsigned private_flags;<br>
>> } CXString;<br>
>><br>
>> If that's right, I'm a little surprised that `cursor-spelling` works<br>
>> --- but when you get representation wrong, strange things can happen,<br>
>> including something working when it shouldn't.<br>
>><br>
>> Am I looking at the right library/definitions?<br>
>><br>
>> At Sun, 28 Sep 2014 10:48:06 -0700, Eric Dobson wrote:<br>
>>> I'm trying to debug an FFI crash that I'm seeing, and because it is<br>
>>> dealing with C code the error just presents as a segfault. I believe I<br>
>>> have tracked down what is causing the problem, but don't understand<br>
>>> how it could be doing so.<br>
>>><br>
>>> I have two racket functions which take a "cursor" (the foreign<br>
>>> libraries object) and return a string representation of it, which I'm<br>
>>> trying to use for debugging.<br>
>>><br>
>>> (define raw-clang-get-cstring<br>
>>> (get-ffi-obj "clang_getCString" lib-clang<br>
>>> (_fun _pointer -> _string)))<br>
>>><br>
>>> (define raw-cursor-spelling<br>
>>> (get-ffi-obj "clang_getCursorSpelling" lib-clang<br>
>>> (_fun _CXCursor -> _pointer)))<br>
>>><br>
>>> (define (cursor-spelling c)<br>
>>> (raw-clang-get-cstring (raw-cursor-spelling c)))<br>
>>><br>
>>> (define cursor-spelling2<br>
>>> (get-ffi-obj "clang_getCursorSpelling" lib-clang<br>
>>> (_fun _CXCursor -> (make-ctype _pointer values (? (v)<br>
>>> (raw-clang-get-cstring v))))))<br>
>>><br>
>>> If I use cursor-spelling, I have not been able to trigger a crash. But<br>
>>> if I use cursor-spelling2 I can reliably trigger a crash.<br>
>>><br>
>>> Is there anything obvious on how these functions are different?<br>
>>> Because they look to me like they should be doing the same thing. If<br>
>>> it would be helpful I can try to get my code in a portable enough<br>
>>> shape so that it will work/crash on another machine.<br>
>>><br>
>>> ____________________<br>
>>> Racket Users list:<br>
>>> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Sun, 28 Sep 2014 22:39:54 +0400<br>
> From: Roman Klochkov <<a href="mailto:kalimehtar@mail.ru">kalimehtar@mail.ru</a>><br>
> To: racket users list <<a href="mailto:users@racket-lang.org">users@racket-lang.org</a>><br>
> Subject: [racket] How to document a field?<br>
> Message-ID: <<a href="mailto:1411929594.923492574@f67.i.mail.ru">1411929594.923492574@f67.i.mail.ru</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> At <a href="http://docs.racket-lang.org/scribble/doc-classes.html" target="_blank">http://docs.racket-lang.org/scribble/doc-classes.html</a> I see classes, interfaces, methods, but don't see fields.<br>
><br>
> How to document them? Via @defthing or is there some syntax with (get-field ..) (set-field! ...) template like @defparam ?<br>
><br>
><br>
> --<br>
> Roman Klochkov<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://lists.racket-lang.org/users/archive/attachments/20140928/ac478807/attachment-0001.html" target="_blank">http://lists.racket-lang.org/users/archive/attachments/20140928/ac478807/attachment-0001.html</a>><br>
><br>
> ------------------------------<br>
><br>
> Message: 3<br>
> Date: Sun, 28 Sep 2014 13:51:26 -0500<br>
> From: Bill Richter <<a href="mailto:richter@math.northwestern.edu">richter@math.northwestern.edu</a>><br>
> Cc: <a href="mailto:users@racket-lang.org">users@racket-lang.org</a><br>
> Subject: Re: [racket] proof assistants, DrRacket and Bootstrap<br>
> Message-ID:<br>
> <<a href="mailto:201409281851.s8SIpQMx006764@poisson.math.northwestern.edu">201409281851.s8SIpQMx006764@poisson.math.northwestern.edu</a>><br>
><br>
> Matthias & Prabhakar, I think I see what you're saying now. I need the camlp parser to turn my dialect-expressions into trees. Then I turn my tree into standard expressions just as one does in Scheme. The only differences is that in Scheme we have the quote function that skips the parsing step. So your ML code<br>
><br>
> MF> type ast = VAR of String | LAM of String * ast | APP of ast * ast | CONST of int | ADD of ast * ast<br>
> MF> type val = BASIC of int | FUNCTION of val -> val | ...<br>
><br>
> looks a lot like the HOL Light definition of preterms:<br>
><br>
> type preterm = Varp of string * pretype (* Variable - v *)<br>
> | Constp of string * pretype (* Constant - c *)<br>
> | Combp of preterm * preterm (* Combination - f x *)<br>
> | Absp of preterm * preterm (* Lambda-abstraction - \x. t *)<br>
> | Typing of preterm * pretype;; (* Type constraint - t : ty *)<br>
><br>
> and so we can see one of these preterms in a standard term:<br>
><br>
> # preterm_of_term `x + y`;;<br>
> val it : preterm =<br>
> Combp<br>
> (Combp<br>
> (Constp ("+",<br>
> Ptycon ("fun",<br>
> [Ptycon ("num", []);<br>
> Ptycon ("fun", [Ptycon ("num", []); Ptycon ("num", [])])])),<br>
> Varp ("x", Ptycon ("num", []))),<br>
> Varp ("y", Ptycon ("num", [])))<br>
><br>
> So the Scheme story works fine except that I haven't understood camlp or how HOL Light turns expressions `[...]` into preterms. But I feel better about investing the time into learning camlp now that I see the Scheme story remains intact in HOL Light. And you're right about my ignorance:<br>
><br>
> MF> 1. HtDP explains the above in a couple of sections.<br>
><br>
> Right, there's something I seem not to have understood in either Scheme or ML, how when we create and evaluate our trees we retain the values of our variables. I can figure that out, and HtDP sounds like a good place to start.<br>
><br>
> PR> A Racketeer would probably tell you to use macros to define your<br>
> PR> dialect, instead of using an eval hack. The corresponding tool for<br>
> PR> OCaml is camlp4, and it sounds as if it would be worth your time<br>
> PR> to learn it thoroughly.<br>
><br>
> That's an interesting comparison, and since macros, maybe I can learn to like camlp. In fact, maybe I ought to learn something about racket macros first.<br>
><br>
> --<br>
> Best,<br>
> Bill<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 4<br>
> Date: Sun, 28 Sep 2014 16:01:20 -0400<br>
> From: Greg Hendershott <<a href="mailto:greghendershott@gmail.com">greghendershott@gmail.com</a>><br>
> To: Norman Gray <<a href="mailto:norman@astro.gla.ac.uk">norman@astro.gla.ac.uk</a>><br>
> Cc: <a href="mailto:users@racket-lang.org">users@racket-lang.org</a><br>
> Subject: Re: [racket] aws/glacier: credential scope<br>
> Message-ID:<br>
> <<a href="mailto:CAGspUn0tqgSVUaDuk1C3Wb6hm6s6nQ2ps-j42pkJJSY2UESL0A@mail.gmail.com">CAGspUn0tqgSVUaDuk1C3Wb6hm6s6nQ2ps-j42pkJJSY2UESL0A@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset=UTF-8<br>
><br>
> Hi, Norman.<br>
><br>
> I logged an issue for this:<br>
><br>
> <a href="https://github.com/greghendershott/aws/issues/32" target="_blank">https://github.com/greghendershott/aws/issues/32</a><br>
><br>
> I see the problem (or at least the main problem) and will push a fix.<br>
><br>
> The bug is embarrassing, not just because it's such a silly mistake,<br>
> but it's something a unit test could have caught. (I could say that<br>
> doing unit tests for Glacier is challenging, because the retrieval<br>
> process can take hours. Although that's true, I could have done more<br>
> to test _some_ operations working among various regions.)<br>
><br>
> On Sat, Sep 27, 2014 at 4:14 PM, Norman Gray <<a href="mailto:norman@astro.gla.ac.uk">norman@astro.gla.ac.uk</a>> wrote:<br>
>><br>
>> Greetings.<br>
>><br>
>> I'm trying to use the aws/glacier package, and running into a problem where I'm being told:<br>
>><br>
>> Credential should be scoped to a valid region, not 'eu-west-1'<br>
>><br>
>> I'm following the instructions at <<a href="https://github.com/greghendershott/aws/blob/master/aws/manual.md" target="_blank">https://github.com/greghendershott/aws/blob/master/aws/manual.md</a>><br>
>><br>
>> My test code is:<br>
>><br>
>> % cat glacier.rkt<br>
>> #lang racket/base<br>
>><br>
>> (require aws/glacier<br>
>> aws/keys)<br>
>><br>
>> (define vault "testvault")<br>
>> (region "eu-west-1")<br>
>> (read-keys "aws-zbu-credentials") ; local file<br>
>><br>
>> (module+ main<br>
>> (printf "region=~a~%" (region))<br>
>> (printf "Vaults: ~s~%" (list-vaults))<br>
>> (printf "...specifically: ~s~%" (describe-vault vault)))<br>
>><br>
>> Running this produces:<br>
>><br>
>> % racket glacier.rkt<br>
>> region=eu-west-1<br>
>> aws: HTTP/1.1 403 Forbidden<br>
>> x-amzn-RequestId: Un3-L2zlaJBPyrIVKJrWuQcqtMMYQAr34gYUOSScg6Qepc4<br>
>> Content-Type: application/json<br>
>> Content-Length: 129<br>
>> Date: Sat, 27 Sep 2014 18:35:50 GMT<br>
>><br>
>> {"message":"Credential should be scoped to a valid region, not 'eu-west-1'. ","code":"InvalidSignatureException","type":"Client"}<br>
>> HTTP 403 "Forbidden". AWS Code="InvalidSignatureException" Message="Credential should be scoped to a valid region, not 'eu-west-1'. "<br>
>> context...:<br>
>> check-response<br>
>> /Users/norman/Library/Racket/6.1/pkgs/aws/aws/glacier.rkt:97:22: temp68<br>
>> request/redirect/uri<br>
>> (submod /checkouts/me/code/zbu/glacier.rkt main): [running body]<br>
>><br>
>> Things I thought of:<br>
>><br>
>> * Printing (public-key)/(private-key) indicates that the credentials are being read correctly.<br>
>> * When I change the argument of (region) to "us-west-1", that's the region that appears in the error message.<br>
>> * My "testvault" vault is in eu-west-1 (and this is indeed one of the valid regions for glacier, reported in <<a href="http://docs.aws.amazon.com/general/latest/gr/rande.html" target="_blank">http://docs.aws.amazon.com/general/latest/gr/rande.html</a>> and which does have a host at <a href="http://glacier.eu-west-1.amazonaws.com" target="_blank">http://glacier.eu-west-1.amazonaws.com</a><br>
>> * As far as I can see, credentials are _not_ scoped, but are all at us-east-1.<br>
>> * <<a href="http://docs.aws.amazon.com/general/latest/gr/signature-v4-troubleshooting.html" target="_blank">http://docs.aws.amazon.com/general/latest/gr/signature-v4-troubleshooting.html</a>> says that "IAM [...] accepts only us-east-1 as its region specification", so I'm taking it that (region) is for setting the _vault_'s region.<br>
>> * I'm not a great AWS expert, so I could have something in my setup broken; but if so, I've no clue what.<br>
>><br>
>> If, however, I change the (region) argument to "us-east-1", I get a different error message "User: arn:aws:iam::786725553169:user/zbu is not authorized to perform: glacier:ListVaults on resource: arn:aws:glacier:us-east-1:786725553169:vaults/" That makes sense, since there's no such vault, but it's interesting that it gets _further_ when the (region) matches the region for the IAM service.<br>
>><br>
>> I don't see any other (region) equivalents for the other services supported by the package. Is that because all of the other services supported by the package are supported by all the AWS regions, or am I missing a configuration?<br>
>><br>
>> Thanks for any pointers.<br>
>><br>
>> All the best,<br>
>><br>
>> Norman<br>
>><br>
>><br>
>> --<br>
>> Norman Gray : <a href="http://nxg.me.uk" target="_blank">http://nxg.me.uk</a><br>
>> SUPA School of Physics and Astronomy, University of Glasgow, UK<br>
>><br>
>><br>
>> ____________________<br>
>> Racket Users list:<br>
>> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 5<br>
> Date: Sun, 28 Sep 2014 21:29:03 +0100<br>
> From: Norman Gray <<a href="mailto:norman@astro.gla.ac.uk">norman@astro.gla.ac.uk</a>><br>
> To: Greg Hendershott <<a href="mailto:greghendershott@gmail.com">greghendershott@gmail.com</a>><br>
> Cc: <a href="mailto:users@racket-lang.org">users@racket-lang.org</a><br>
> Subject: Re: [racket] aws/glacier: credential scope<br>
> Message-ID: <<a href="mailto:FE320180-07AE-43E8-AE51-3AA566329E67@astro.gla.ac.uk">FE320180-07AE-43E8-AE51-3AA566329E67@astro.gla.ac.uk</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
><br>
> Greg, hello.<br>
><br>
> On 2014 Sep 28, at 21:01, Greg Hendershott <<a href="mailto:greghendershott@gmail.com">greghendershott@gmail.com</a>> wrote:<br>
><br>
>> I logged an issue for this:<br>
>><br>
>> <a href="https://github.com/greghendershott/aws/issues/32" target="_blank">https://github.com/greghendershott/aws/issues/32</a><br>
><br>
> Ah: I wondered if the problem might be related to that.<br>
><br>
>> The bug is embarrassing, not just because it's such a silly mistake,<br>
>> but it's something a unit test could have caught. (I could say that<br>
>> doing unit tests for Glacier is challenging, because the retrieval<br>
>> process can take hours.<br>
><br>
> I can imagine how protracted that would be ... *shudder*.<br>
><br>
> Thanks for looking at this.<br>
><br>
> Also, Frank:<br>
><br>
>> What happens if you read-keys before setting the region?<br>
><br>
> Thanks for this suggestion: I did try that just a little earlier, but it didn't make any difference.<br>
><br>
> All the best,<br>
><br>
> Norman<br>
><br>
><br>
> --<br>
> Norman Gray : <a href="http://nxg.me.uk" target="_blank">http://nxg.me.uk</a><br>
> SUPA School of Physics and Astronomy, University of Glasgow, UK<br>
><br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 6<br>
> Date: Sun, 28 Sep 2014 16:29:12 -0400<br>
> From: Greg Hendershott <<a href="mailto:greghendershott@gmail.com">greghendershott@gmail.com</a>><br>
> To: Norman Gray <<a href="mailto:norman@astro.gla.ac.uk">norman@astro.gla.ac.uk</a>><br>
> Cc: <a href="mailto:users@racket-lang.org">users@racket-lang.org</a><br>
> Subject: Re: [racket] aws/glacier: credential scope<br>
> Message-ID:<br>
> <<a href="mailto:CAGspUn2au5xydsH%2Bo9E2Y3JTA1iQbPRX58zRcitywAPWh5Djng@mail.gmail.com">CAGspUn2au5xydsH+o9E2Y3JTA1iQbPRX58zRcitywAPWh5Djng@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset=UTF-8<br>
><br>
> I pushed a fix, including running the tests across a few different AWS<br>
> regions. They pass.<br>
><br>
> I clicked "update" on <a href="http://pkgs.racket-lang.org" target="_blank">pkgs.racket-lang.org</a>. But it seems to be slower<br>
> than usual to refresh. After it does, you can `raco pkg update aws` to<br>
> get the fix.<br>
><br>
> On Sun, Sep 28, 2014 at 4:01 PM, Greg Hendershott<br>
> <<a href="mailto:greghendershott@gmail.com">greghendershott@gmail.com</a>> wrote:<br>
>> Hi, Norman.<br>
>><br>
>> I logged an issue for this:<br>
>><br>
>> <a href="https://github.com/greghendershott/aws/issues/32" target="_blank">https://github.com/greghendershott/aws/issues/32</a><br>
>><br>
>> I see the problem (or at least the main problem) and will push a fix.<br>
>><br>
>> The bug is embarrassing, not just because it's such a silly mistake,<br>
>> but it's something a unit test could have caught. (I could say that<br>
>> doing unit tests for Glacier is challenging, because the retrieval<br>
>> process can take hours. Although that's true, I could have done more<br>
>> to test _some_ operations working among various regions.)<br>
>><br>
>> On Sat, Sep 27, 2014 at 4:14 PM, Norman Gray <<a href="mailto:norman@astro.gla.ac.uk">norman@astro.gla.ac.uk</a>> wrote:<br>
>>><br>
>>> Greetings.<br>
>>><br>
>>> I'm trying to use the aws/glacier package, and running into a problem where I'm being told:<br>
>>><br>
>>> Credential should be scoped to a valid region, not 'eu-west-1'<br>
>>><br>
>>> I'm following the instructions at <<a href="https://github.com/greghendershott/aws/blob/master/aws/manual.md" target="_blank">https://github.com/greghendershott/aws/blob/master/aws/manual.md</a>><br>
>>><br>
>>> My test code is:<br>
>>><br>
>>> % cat glacier.rkt<br>
>>> #lang racket/base<br>
>>><br>
>>> (require aws/glacier<br>
>>> aws/keys)<br>
>>><br>
>>> (define vault "testvault")<br>
>>> (region "eu-west-1")<br>
>>> (read-keys "aws-zbu-credentials") ; local file<br>
>>><br>
>>> (module+ main<br>
>>> (printf "region=~a~%" (region))<br>
>>> (printf "Vaults: ~s~%" (list-vaults))<br>
>>> (printf "...specifically: ~s~%" (describe-vault vault)))<br>
>>><br>
>>> Running this produces:<br>
>>><br>
>>> % racket glacier.rkt<br>
>>> region=eu-west-1<br>
>>> aws: HTTP/1.1 403 Forbidden<br>
>>> x-amzn-RequestId: Un3-L2zlaJBPyrIVKJrWuQcqtMMYQAr34gYUOSScg6Qepc4<br>
>>> Content-Type: application/json<br>
>>> Content-Length: 129<br>
>>> Date: Sat, 27 Sep 2014 18:35:50 GMT<br>
>>><br>
>>> {"message":"Credential should be scoped to a valid region, not 'eu-west-1'. ","code":"InvalidSignatureException","type":"Client"}<br>
>>> HTTP 403 "Forbidden". AWS Code="InvalidSignatureException" Message="Credential should be scoped to a valid region, not 'eu-west-1'. "<br>
>>> context...:<br>
>>> check-response<br>
>>> /Users/norman/Library/Racket/6.1/pkgs/aws/aws/glacier.rkt:97:22: temp68<br>
>>> request/redirect/uri<br>
>>> (submod /checkouts/me/code/zbu/glacier.rkt main): [running body]<br>
>>><br>
>>> Things I thought of:<br>
>>><br>
>>> * Printing (public-key)/(private-key) indicates that the credentials are being read correctly.<br>
>>> * When I change the argument of (region) to "us-west-1", that's the region that appears in the error message.<br>
>>> * My "testvault" vault is in eu-west-1 (and this is indeed one of the valid regions for glacier, reported in <<a href="http://docs.aws.amazon.com/general/latest/gr/rande.html" target="_blank">http://docs.aws.amazon.com/general/latest/gr/rande.html</a>> and which does have a host at <a href="http://glacier.eu-west-1.amazonaws.com" target="_blank">http://glacier.eu-west-1.amazonaws.com</a><br>
>>> * As far as I can see, credentials are _not_ scoped, but are all at us-east-1.<br>
>>> * <<a href="http://docs.aws.amazon.com/general/latest/gr/signature-v4-troubleshooting.html" target="_blank">http://docs.aws.amazon.com/general/latest/gr/signature-v4-troubleshooting.html</a>> says that "IAM [...] accepts only us-east-1 as its region specification", so I'm taking it that (region) is for setting the _vault_'s region.<br>
>>> * I'm not a great AWS expert, so I could have something in my setup broken; but if so, I've no clue what.<br>
>>><br>
>>> If, however, I change the (region) argument to "us-east-1", I get a different error message "User: arn:aws:iam::786725553169:user/zbu is not authorized to perform: glacier:ListVaults on resource: arn:aws:glacier:us-east-1:786725553169:vaults/" That makes sense, since there's no such vault, but it's interesting that it gets _further_ when the (region) matches the region for the IAM service.<br>
>>><br>
>>> I don't see any other (region) equivalents for the other services supported by the package. Is that because all of the other services supported by the package are supported by all the AWS regions, or am I missing a configuration?<br>
>>><br>
>>> Thanks for any pointers.<br>
>>><br>
>>> All the best,<br>
>>><br>
>>> Norman<br>
>>><br>
>>><br>
>>> --<br>
>>> Norman Gray : <a href="http://nxg.me.uk" target="_blank">http://nxg.me.uk</a><br>
>>> SUPA School of Physics and Astronomy, University of Glasgow, UK<br>
>>><br>
>>><br>
>>> ____________________<br>
>>> Racket Users list:<br>
>>> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
><br>
><br>
> End of users Digest, Vol 109, Issue 70<br>
> **************************************<br>
<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div>