TypeError: cli() got an unexpected keyword argument 'colour'

Bug #1810608 reported by distinct
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
todoman (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu

🠶 lsb_release -rd
Description: Ubuntu 18.10
Release: 18.10

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center

🠶 apt-cache policy todoman
todoman:
  Installed: 3.4.0-2
  Candidate: 3.4.0-2
  Version table:
 *** 3.4.0-2 500
        500 http://de.archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen

I would expect that not to throw a type error.

4) What happened instead
I installed the package and called 'todoman' and got that:
Traceback (most recent call last):
  File "/usr/bin/todoman", line 11, in <module>
    load_entry_point('todoman==3.4.0', 'console_scripts', 'todoman')()
  File "/usr/lib/python3/dist-packages/click/core.py", line 759, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 714, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1109, in invoke
    return Command.invoke(self, ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 951, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 552, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/todoman/cli.py", line 34, in wrapper
    return f(*a, **kw)
TypeError: cli() got an unexpected keyword argument 'colour'

Revision history for this message
distinct (distinct) wrote :

The package from Dico is fine though. I took that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.