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

Stacktrace when fetching directories using s3 module #13731

ryan-lane opened this Issue Jun 25, 2014 · 1 comment


None yet
2 participants

ryan-lane commented Jun 25, 2014

[ERROR   ] An un-handled exception was caught by salt's global exception handler:
AttributeError: 'CaseInsensitiveDict' object has no attribute 'headers'
Traceback (most recent call last):
  File "/usr/bin/salt-call", line 11, in <module>
  File "/usr/lib/python2.7/dist-packages/salt/", line 128, in salt_call
  File "/usr/lib/python2.7/dist-packages/salt/cli/", line 398, in run
  File "/usr/lib/python2.7/dist-packages/salt/cli/", line 186, in run
    ret =
  File "/usr/lib/python2.7/dist-packages/salt/cli/", line 91, in call
    ret['return'] = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/modules/", line 154, in get
  File "/usr/lib/python2.7/dist-packages/salt/utils/", line 220, in query
    for header in result.headers.headers:

When I change result.headers.headers to result.headers, I get headers back (which also isn't what I'd expect. I'd expect a list of contents, or an option to recursively download the directory).


This comment has been minimized.


basepi commented Jun 27, 2014

Looks like you got this fixed! Thanks @ryan-lane.

@basepi basepi closed this Jun 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment