commands raise error on Impish from do_run_bzr()

Bug #1964552 reported by Xav Paice
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lptools
New
Undecided
Unassigned

Bug Description

Running any lp-milestones command on a system with Ubuntu Impish, and lptools package 0.2.0-7ubuntu1 from universe. This appears to be the case for any commands.

$ lp-milestones list
brz: ERROR: TypeError: <lambda>() got an unexpected keyword argument 'warn_load_problems'

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1017, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/lptools/command.py", line 90, in do_run_bzr
    return commands.run_bzr(argv, lambda:None, lambda:None)
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1161, in run_bzr
    load_plugins(warn_load_problems=warn_load_problems)
TypeError: <lambda>() got an unexpected keyword argument 'warn_load_problems'

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/brz.1000.2022-03-11T01:59.crash
if a bug-reporting window does not automatically appear.
xav@xplt:~/repos/bootstack-qa/tools$ lp-milestones
brz: ERROR: TypeError: <lambda>() got an unexpected keyword argument 'warn_load_problems'

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1017, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/lptools/command.py", line 90, in do_run_bzr
    return commands.run_bzr(argv, lambda:None, lambda:None)
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1161, in run_bzr
    load_plugins(warn_load_problems=warn_load_problems)
TypeError: <lambda>() got an unexpected keyword argument 'warn_load_problems'

brz 3.2.0 on python 3.9.7 (Linux-5.13.0-30-lowlatency-x86_64-with-glibc2.34)
arguments: ['/usr/bin/lp-milestones']
plugins:
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_NZ.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/brz/+filebug
    including this traceback and a description of the problem.

$ bzr --version
Breezy (brz) 3.2.0
  Python interpreter: /usr/bin/python3 3.9.7
  Python standard library: /usr/lib/python3.9
  Platform: Linux-5.13.0-30-lowlatency-x86_64-with-glibc2.34
  breezy: /usr/lib/python3/dist-packages/breezy

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.