
Traceback (most recent call last):


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/tools/console/master.py", line 292, in run

self.loop.run()


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/main_loop.py", line 278, in run

self._run()


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/main_loop.py", line 376, in _run

self.event_loop.run()


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/main_loop.py", line 682, in run

self._loop()


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/main_loop.py", line 719, in _loop

self._watch_files[fd]()


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/raw_display.py", line 393, in <lambda>

event_loop, callback, self.get_available_raw_input())


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/raw_display.py", line 493, in parse_input

callback(processed, processed_codes)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/main_loop.py", line 403, in _update

self.process_input(keys)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/main_loop.py", line 503, in process_input

k = self._topmost_widget.keypress(self.screen_size, k)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/tools/console/window.py", line 84, in keypress

k = super().keypress(size, k)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/urwid/container.py", line 1116, in keypress

return self.footer.keypress((maxcol,),key)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/tools/console/statusbar.py", line 155, in keypress

return self.master.ab.keypress(*args, **kwargs)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/tools/console/statusbar.py", line 110, in keypress

self.prompt_execute(self._w.get_edit_text())


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/tools/console/statusbar.py", line 133, in prompt_execute

msg = p(txt)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/tools/console/statusbar.py", line 21, in __call__

return self.callback(pth, *self.args)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/tools/console/master.py", line 150, in run_script_once

sc.run_once(command, [f])


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/addons/script.py", line 208, in run_once

sc = Script(command)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/addons/script.py", line 136, in __init__

self.path, self.args = parse_command(command)


 "/usr/local/var/pyenv/versions/3.5.0/lib/python3.5/site-packages/mitmproxy-2.0.0-py3.5.egg/mitmproxy/addons/script.py", line 37, in parse_command

raise exceptions.OptionsError("Not a file: %s" % args[0])
mitmproxy.exceptions.OptionsError: Not a file: /Users/wuten/Desktop


"ERROR: for scanner: licenses:\nERROR: Unknown error:\nTraceback (most recent call last):\n

 \"/tmp/scancode-toolkit-master/src/scancode/interrupt.py\", line 91, in interruptible\n
return NO_ERROR, func(*(args or ()), **(kwargs or {}))\n

 \"/tmp/scancode-toolkit-master/src/scancode/api.py\", line 143, in get_licenses\n
for match in idx.match(location=location, min_score=min_score):\n

 \"/tmp/scancode-toolkit-master/src/licensedcode/index.py\", line 426, in match\n
qry = query.build_query(location, query_string, self)\n

 \"/tmp/scancode-toolkit-master/src/licensedcode/query.py\", line 124, in build_query\n
qry = Query(location=location, idx=idx, line_threshold=80)\n

 \"/tmp/scancode-toolkit-master/src/licensedcode/query.py\", line 197, in __init__\n
self.tokenize_and_build_runs(self.tokens_by_line(tokenizer=tokenizer), line_threshold=line_threshold)\n

 \"/tmp/scancode-toolkit-master/src/licensedcode/query.py\", line 320, in tokenize_and_build_runs\n
for tokens in tokens_by_line:\n

 \"/tmp/scancode-toolkit-master/src/licensedcode/query.py\", line 370, in break_long_lines\n
for line in lines:\n

 \"/tmp/scancode-toolkit-master/src/licensedcode/query.py\", line 264, in tokens_by_line\n
for lnum, line
in enumerate(query_lines(self.location, self.query_string), line_start):\n

 \"/tmp/scancode-toolkit-master/src/licensedcode/tokenize.py\", line 60, in query_lines\n
for line in lines:\n

 \"/tmp/scancode-toolkit-master/src/textcode/analysis.py\", line 206, in js_map_sources_lines\n
sources = content['sourcesContent']\nKeyError: u'sourcesContent'\n"

]

}

]
}
