Actions
Bug #38996
closedcephfs-shell: ls command produces error: no "colorize" attribute found error
Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Administration/Usability
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
Even though the package colorize-0.3.4-15.fc29.noarch is already installed.
The following error is produced.
CephFS:~/>>> ls
'CephFSShell' object has no attribute 'colorize'
Traceback (most recent call last):
File "./../src/tools/cephfs/cephfs-shell", line 367, in onecmd
res = Cmd.onecmd(self, line)
File "/usr/local/lib/python3.7/site-packages/cmd2-0.9.11-py3.7.egg/cmd2/cmd2.py", line 1992, in onecmd
stop = func(statement)
File "/usr/local/lib/python3.7/site-packages/cmd2-0.9.11-py3.7.egg/cmd2/cmd2.py", line 252, in cmd_wrapper
return func(cmd2_instance, args)
File "./../src/tools/cephfs/cephfs-shell", line 593, in do_ls
values.append(self.colorize(path + '/', 'blue'))
AttributeError: 'CephFSShell' object has no attribute 'colorize'
Actions