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 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

Copied to CephFS - 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 almost 5 years ago

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

#2 Updated by Patrick Donnelly almost 5 years ago

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

#3 Updated by Patrick Donnelly over 4 years ago

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

#4 Updated by Nathan Cutler over 4 years 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 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".

Also available in: Atom PDF