jonsterling / Tasky

A Taskwarrior client. This was created to fill my own need: feel free to modify it! If it looks really ugly, you probably have your terminal configured wrong.
31 stars 3 forks source link

Breakage with Python 3 #6

Open pocc opened 5 years ago

pocc commented 5 years ago

I'm attempting to start Tasky with python3 Tasky.py, and this is the output I get:

ross@el_computer /tmp/Tasky $ python3 tasky.py
Traceback (most recent call last):
  File "tasky.py", line 158, in <module>
    Tasky()
  File "tasky.py", line 36, in __init__
    self.refresh()
  File "tasky.py", line 52, in refresh
    self.walker[:] = map(TaskWidget, self.warrior.pending_tasks(limit))
  File "/tmp/Tasky/taskwarrior.py", line 69, in pending_tasks
    return [Task(task) for task in json.loads(task_json, strict=False)[0]]
  File "/usr/lib/python3.5/json/__init__.py", line 332, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)

What versions of python is this program intended to be compatible with? If there are specific versions that it is compatible with, you should add those to your README.md.