Skip to content

Instantly share code, notes, and snippets.

@blaffoy
Created January 23, 2015 12:13
Show Gist options
  • Select an option

  • Save blaffoy/3b96375bcd71c18ddef7 to your computer and use it in GitHub Desktop.

Select an option

Save blaffoy/3b96375bcd71c18ddef7 to your computer and use it in GitHub Desktop.
salt$ sudo salt-run fileserver.update
[ERROR ] An un-handled exception was caught by salt's global exception handler:
CommandError: (1, '', '')
Traceback (most recent call last):
File "/usr/local/bin/salt-run", line 9, in <module>
load_entry_point('salt==2014.1.11', 'console_scripts', 'salt-run')()
File "/usr/local/lib/python2.7/dist-packages/salt/scripts.py", line 95, in salt_run
client.run()
File "/usr/local/lib/python2.7/dist-packages/salt/cli/__init__.py", line 362, in run
runner.run()
File "/usr/local/lib/python2.7/dist-packages/salt/runner.py", line 218, in run
self.opts['fun'], self.opts['arg'], self.opts)
File "/usr/local/lib/python2.7/dist-packages/salt/runner.py", line 125, in cmd
return self.functions[fun](*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/salt/runners/fileserver.py", line 21, in update
fileserver.update()
File "/usr/local/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 233, in update
self.servers[fstr]()
File "/usr/local/lib/python2.7/dist-packages/salt/fileserver/hgfs.py", line 261, in update
repos = init()
File "/usr/local/lib/python2.7/dist-packages/salt/fileserver/hgfs.py", line 219, in init
refs = repo.config(names='paths')
File "/usr/local/lib/python2.7/dist-packages/hglib/client.py", line 583, in config
out = self.rawcommand(args)
File "/usr/local/lib/python2.7/dist-packages/hglib/client.py", line 183, in rawcommand
raise error.CommandError(args, ret, out, err)
CommandError: (1, '', '')
Traceback (most recent call last):
File "/usr/local/bin/salt-run", line 9, in <module>
load_entry_point('salt==2014.1.11', 'console_scripts', 'salt-run')()
File "/usr/local/lib/python2.7/dist-packages/salt/scripts.py", line 95, in salt_run
client.run()
File "/usr/local/lib/python2.7/dist-packages/salt/cli/__init__.py", line 362, in run
runner.run()
File "/usr/local/lib/python2.7/dist-packages/salt/runner.py", line 218, in run
self.opts['fun'], self.opts['arg'], self.opts)
File "/usr/local/lib/python2.7/dist-packages/salt/runner.py", line 125, in cmd
return self.functions[fun](*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/salt/runners/fileserver.py", line 21, in update
fileserver.update()
File "/usr/local/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 233, in update
self.servers[fstr]()
File "/usr/local/lib/python2.7/dist-packages/salt/fileserver/hgfs.py", line 261, in update
repos = init()
File "/usr/local/lib/python2.7/dist-packages/salt/fileserver/hgfs.py", line 219, in init
refs = repo.config(names='paths')
File "/usr/local/lib/python2.7/dist-packages/hglib/client.py", line 583, in config
out = self.rawcommand(args)
File "/usr/local/lib/python2.7/dist-packages/hglib/client.py", line 183, in rawcommand
raise error.CommandError(args, ret, out, err)
hglib.error.CommandError: (1, '', '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment