Skip to content
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

salt-run doc.execution fails with AttributeError #25016

Closed
martinhoefling opened this issue Jun 27, 2015 · 2 comments
Closed

salt-run doc.execution fails with AttributeError #25016

martinhoefling opened this issue Jun 27, 2015 · 2 comments

Comments

@martinhoefling
Copy link
Contributor

root@ubuntu:~# salt-run doc.execution
Exception occurred in runner doc.execution: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/client/mixins.py", line 317, in low
    data['return'] = self.functions[fun](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/runners/doc.py", line 76, in execution
    i = itertools.chain.from_iterable([i.items() for i in six.itervalues(docs)])
AttributeError: 'int' object has no attribute 'items'

Debian / Ubuntu with latest packages:

root@minastirith:~# salt   --versions-report
                  Salt: 2015.5.0
                Python: 2.7.9 (default, Mar  1 2015, 12:57:24)
                Jinja2: 2.7.3
              M2Crypto: 0.21.1
        msgpack-python: 0.1.10
          msgpack-pure: Not Installed
              pycrypto: 2.6.1
               libnacl: Not Installed
                PyYAML: 3.11
                 ioflo: Not Installed
                 PyZMQ: 14.4.0
                  RAET: Not Installed
                   ZMQ: 4.0.5
                  Mako: 1.0.0
 Debian source package: 2015.5.0+ds-1~bpo70+1
@martinhoefling
Copy link
Contributor Author

See pull request #25020

cachedout pushed a commit that referenced this issue Jun 29, 2015
cachedout pushed a commit that referenced this issue Jun 29, 2015
@cachedout
Copy link
Contributor

Closed by #25020

rallytime pushed a commit to rallytime/salt that referenced this issue Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants