-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'map' object is not subscriptable #23
Comments
Looks like this is python 3.6 specific,
build is tested[1] with python 2.7 and 3.5.
[1] https://travis-ci.org/okigan/awscurl
…On Tue, Jul 25, 2017 at 3:37 AM, Bruno Antunes ***@***.***> wrote:
After install awscurl on macOS Sierra, I get:
Traceback (most recent call last):
File "/usr/local/bin/awscurl", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/awscurl/awscurl.py", line 311, in main
args.security_token
File "/usr/local/lib/python3.6/site-packages/awscurl/awscurl.py", line 140, in make_request
canonical_querystring = normalize_query_string(query)
File "/usr/local/lib/python3.6/site-packages/awscurl/awscurl.py", line 227, in normalize_query_string
for p in sorted(kv))
File "/usr/local/lib/python3.6/site-packages/awscurl/awscurl.py", line 227, in <genexpr>
for p in sorted(kv))
TypeError: 'map' object is not subscriptable
Is there a way to fix it? Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAdMXmPN3_Hna4IsaPc-S69dF2jVyIfJks5sRcVlgaJpZM4OiX7w>
.
|
@sardaukar try latest version (just published) https://pypi.python.org/pypi/awscurl/0.9 use |
Just did, still have the same issue:
|
What's the command line that you use to call awscurl?
… On Jul 26, 2017, at 05:11, Bruno Antunes ***@***.***> wrote:
Just did, still have the same issue:
Collecting awscurl
Requirement already satisfied: configargparse in /usr/local/lib/python3.6/site-packages (from awscurl)
Requirement already satisfied: urllib3[secure] in /usr/local/lib/python3.6/site-packages (from awscurl)
Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from awscurl)
Requirement already satisfied: configparser in /usr/local/lib/python3.6/site-packages (from awscurl)
Requirement already satisfied: certifi; extra == "secure" in /usr/local/lib/python3.6/site-packages (from urllib3[secure]->awscurl)
Requirement already satisfied: idna<2.6,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests->awscurl)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.6/site-packages (from requests->awscurl)
Installing collected packages: awscurl
Successfully installed awscurl-0.9
Traceback (most recent call last):
File "/usr/local/bin/awscurl", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/awscurl/awscurl.py", line 324, in main
args.security_token or args.session_token
File "/usr/local/lib/python3.6/site-packages/awscurl/awscurl.py", line 143, in make_request
canonical_querystring = normalize_query_string(query)
File "/usr/local/lib/python3.6/site-packages/awscurl/awscurl.py", line 236, in normalize_query_string
for p in sorted(kv))
File "/usr/local/lib/python3.6/site-packages/awscurl/awscurl.py", line 236, in <genexpr>
for p in sorted(kv))
TypeError: 'map' object is not subscriptable
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
@sardaukar another update -- try latest version (just published) https://pypi.python.org/pypi/awscurl/0.10 use pip uninstall awscurl folllowed by pip install awscurl |
Yep, works now! Thanks :D |
After install
awscurl
on macOS Sierra, I get:Is there a way to fix it? Thanks.
The text was updated successfully, but these errors were encountered: