Project

General

Profile

Actions

Bug #40411

closed

pybind: Add standard error message and fix print of path as byte object in error message

Added by Varsha Rao almost 5 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, cephfs.pyx
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Previously, the following message was printed.

>>> mkdir y
[Errno 17] error in mkdir 'b'y'
>>> mkdir t/p
(2, "error in mkdir 'b't/p'': error code 2")

After applying the patch series
>>> mkdir y
error in mkdir y: File exists [Errno 17]
>>> mkdir t/p
error in mkdir t/p: No such file or directory [Errno 2]


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #40895: nautilus: pybind: Add standard error message and fix print of path as byte object in error messageResolvedNathan CutlerActions
Actions

Also available in: Atom PDF