Project

General

Profile

Bug #40411

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

Added by Varsha Rao 5 months ago. Updated about 1 month ago.

Status:
Resolved
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, cephfs.pyx
Labels (FS):
Pull request ID:
Crash signature:

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

Copied to fs - Backport #40895: nautilus: pybind: Add standard error message and fix print of path as byte object in error message Resolved

History

#1 Updated by Varsha Rao 5 months ago

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

#2 Updated by Patrick Donnelly 5 months ago

  • Target version set to v15.0.0
  • Source set to Development
  • Backport set to nautilus

#3 Updated by Patrick Donnelly 4 months ago

  • Status changed from Need Review to Pending Backport
  • Component(FS) cephfs-shell added

#4 Updated by Nathan Cutler 4 months ago

  • Copied to Backport #40895: nautilus: pybind: Add standard error message and fix print of path as byte object in error message added

#5 Updated by Nathan Cutler about 1 month 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".

Also available in: Atom PDF