Skip to content

Instantly share code, notes, and snippets.

@jcalero
Created August 8, 2016 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcalero/7dcc3f5476a7bc8e348ceb2c95c4841c to your computer and use it in GitHub Desktop.
Save jcalero/7dcc3f5476a7bc8e348ceb2c95c4841c to your computer and use it in GitHub Desktop.
2016-08-08 14:04:58,975 [salt.loader ][ERROR ][9871] Failed to import module dock, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1296, in _load_module
), fn_, fpath, desc)
File "/var/cache/salt/minion/extmods/modules/dock.py", line 9, in <module>
home = os.environ["HOME"] or '/root'
File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: 'HOME'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment