Package: todoman
Version: 3.9.0-1
Severity: serious
X-Debbugs-Cc: none, Tollef Fog Heen <tfh...@err.no>

I have no idea what's wrong here, except «it used to work» (as in,
yesterday, but that update included, amongst many others, an update from
python3-click 7.1.2-1 to 8.0.2-1, so based on the backtrace, maybe
relevant?)

$ todoman
Traceback (most recent call last):
  File "/usr/bin/todoman", line 33, in <module>
    sys.exit(load_entry_point('todoman==3.9.0', 'console_scripts', 'todoman')())
  File "/usr/lib/python3/dist-packages/click/core.py", line 1126, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1051, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1635, in invoke
    super().invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1393, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 752, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 26, in 
new_func
    return f(get_current_context(), *args, **kwargs)
 File "/usr/lib/python3/dist-packages/todoman/cli.py", line 39, in wrapper
    return f(*a, **kw)
  File "/usr/lib/python3/dist-packages/todoman/cli.py", line 312, in cli
    invoke_command(
  File "/usr/lib/python3/dist-packages/todoman/cli.py", line 322, in 
invoke_command
    click_ctx.invoke(cli.commands[command], args)
  File "/usr/lib/python3/dist-packages/click/core.py", line 752, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 84, in 
new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 752, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/todoman/cli.py", line 39, in wrapper
    return f(*a, **kw)
  File "/usr/lib/python3/dist-packages/todoman/cli.py", line 635, in list
    hide_list = (len([_ for _ in ctx.db.lists()]) == 1) or 
(len(kwargs["lists"]) == 1)
TypeError: object of type 'NoneType' has no len()

-- System Information:
Versions of packages todoman depends on:
ii  libjs-sphinxdoc        4.2.0-5
ii  python3                3.9.7-1
ii  python3-atomicwrites   1.4.0-2
ii  python3-click          8.0.2-1
ii  python3-click-log      0.2.1-2
ii  python3-configobj      5.0.6-5
ii  python3-dateutil       2.8.1-6
ii  python3-humanize       3.12.0-1
ii  python3-icalendar      4.0.3-4
ii  python3-parsedatetime  2.6-2
ii  python3-tabulate       0.8.7-0.1
ii  python3-urwid          2.1.2-2+b1
ii  python3-xdg            0.27-2

todoman recommends no packages.

Versions of packages todoman suggests:
ii  vdirsyncer  0.16.8-2

-- no debconf information

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

Reply via email to