Project

General

Profile

Bug #41164

cephfs-shell: onecmd throws TypeError

Added by Varsha Rao 3 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:
Crash signature:

Description

cmd2 (0.9.15)
Python 3.7.4
Fedora 30

Due to changes in recent cmd module, on any command the following error is produced:

CephFS:~/>>> ls
Traceback (most recent call last):
  File "/home/varsha/ceph/build/venv/lib/python3.7/site-packages/cmd2/cmd2.py", line 1807, in onecmd_plus_hooks
    stop = self.onecmd(statement, add_to_history=add_to_history)
TypeError: onecmd() got an unexpected keyword argument 'add_to_history'
EXCEPTION of type 'TypeError' occurred with message: 'onecmd() got an unexpected keyword argument 'add_to_history''


Related issues

Copied to fs - Backport #41268: nautilus: cephfs-shell: onecmd throws TypeError In Progress

History

#1 Updated by Varsha Rao 3 months ago

  • Status changed from New to Need Review
  • Pull request ID set to 29554

#2 Updated by Patrick Donnelly 3 months ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #41268: nautilus: cephfs-shell: onecmd throws TypeError added

Also available in: Atom PDF