Project

General

Profile

Actions

Bug #41164

closed

cephfs-shell: onecmd throws TypeError

Added by Varsha Rao over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% 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 (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Copied to CephFS - Backport #41268: nautilus: cephfs-shell: onecmd throws TypeErrorRejectedActions
Actions #1

Updated by Varsha Rao over 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 29554
Actions #2

Updated by Patrick Donnelly over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Nathan Cutler over 4 years ago

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

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF