Traceback (most recent call last):


 "/home/madhav/Projects/Jarvis/jarviscli/CmdInterpreter.py", line 151, in try_do

do(self, s)


 "/home/madhav/Projects/Jarvis/jarviscli/plugin.py", line 219, in _plugin_run_with_network_error

run_func(jarvis, s)


 "/home/madhav/Projects/Jarvis/jarviscli/plugin.py", line 201, in run

self._backend[0](jarvis.get_api(), s)


 "/home/madhav/Projects/Jarvis/jarviscli/plugins/news.py", line 50, in __call__

self.parse_articles(self.get_headlines(jarvis), jarvis)


 "/home/madhav/Projects/Jarvis/jarviscli/plugins/news.py", line 153, in get_headlines

return self._get(url)


 "/home/madhav/Projects/Jarvis/jarviscli/plugins/news.py", line 176, in _get

response = urllib.request.urlopen(url)


 "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen

return opener.open(url, data, timeout)


 "/usr/lib/python3.5/urllib/request.py", line 472, in open

response = meth(req, response)


 "/usr/lib/python3.5/urllib/request.py", line 582, in http_response

'http', request, response, code, msg, hdrs)


 "/usr/lib/python3.5/urllib/request.py", line 510, in error

return self._call_chain(*args)


 "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain

result = func(*args)


 "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default

raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request


The minion function caused an exception: Traceback (most recent call last):

 "salt/minion.py", line 1019, in _thread_return

 "salt/modules/cmdmod.py", line 867, in run_all

 "salt/modules/cmdmod.py", line 456, in _run
UnboundLocalError: local variable 'proc' referenced before assignment