cs1707 / tldr-alfred

tldr alfred workflow
MIT License
341 stars 20 forks source link

Get error when trying to run it #13

Open nikitavoloboev opened 6 years ago

nikitavoloboev commented 6 years ago

I tried to type tldr ls and got this in console:

[2018-01-14 15:59:00][ERROR: input.scriptfilter] Code 1: Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "tldr.py", line 47, in query
    rowList = parse_man_page(command)
  File "tldr.py", line 142, in parse_man_page
    page_path = find_page_location(command)
  File "tldr.py", line 65, in find_page_location
    index = json.load(f)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load
    **kw)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")