salt icon indicating copy to clipboard operation
salt copied to clipboard

Salt-call on Windows says "KeyError: 'nested'"

Open djs52 opened this issue 13 years ago • 2 comments

On my Windows minion, with 0.15.1, I can't use salt-call at all:

C:\salt>salt-call -c c:\salt\conf test.ping
[INFO    ] Configuration file path: c:\salt\conf\minion
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 726, in <module>
  File "__main__.py", line 332, in bootstrap
  File "__main__.py", line 359, in chainload
  File "__main__.py", line 715, in _chainload
  File "__main__.py", line 128, in <module>
  File "__main__salt-call__.py", line 14, in <module>
  File "salt/scripts.py", line 76, in salt_call
  File "salt/cli/__init__.py", line 257, in run
  File "salt/cli/caller.py", line 173, in run
  File "salt/output/__init__.py", line 29, in display_output
  File "salt/output/__init__.py", line 68, in get_printout
KeyError: 'nested'

The minion runs fine, and I can execute command remotely, just not locally.

djs52 avatar May 17 '13 10:05 djs52

Yeah, the nested outputter wasn't being correctly included in the frozen build. Can you test using one of these Release Candidate Installers? http://166.78.11.34/downloads/dev/Salt-Minion-0.15.1-RC1-win32-Setup.exe http://166.78.11.34/downloads/dev/Salt-Minion-0.15.1-RC1-AMD64-Setup.exe

Thanks!

UtahDave avatar May 17 '13 19:05 UtahDave

Yep. Had to uninstall and reinstall, but now I get

C:\salt>salt-call.exe -c c:\salt\conf test.ping
[INFO    ] Configuration file path: c:\salt\conf\minion
←[0;36mlocal←[0m:
    ←[1;33mTrue←[0m

djs52 avatar May 20 '13 08:05 djs52