-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in user path replacement in stacktrace #39674
Labels
bug
Indicates an unexpected problem or unintended behavior
display and printing
Aesthetics and correctness of printed representations of objects.
regression
Regression in behavior compared to a previous version
Comments
vtjnash
added
bug
Indicates an unexpected problem or unintended behavior
regression
Regression in behavior compared to a previous version
labels
Feb 15, 2021
There is a |
vtjnash
added
the
display and printing
Aesthetics and correctness of printed representations of objects.
label
Mar 18, 2021
vtjnash
added a commit
that referenced
this issue
Mar 31, 2021
vtjnash
added a commit
that referenced
this issue
Apr 2, 2021
ElOceanografo
pushed a commit
to ElOceanografo/julia
that referenced
this issue
May 4, 2021
antoine-levitt
pushed a commit
to antoine-levitt/julia
that referenced
this issue
May 9, 2021
johanmon
pushed a commit
to johanmon/julia
that referenced
this issue
Jul 5, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
display and printing
Aesthetics and correctness of printed representations of objects.
regression
Regression in behavior compared to a previous version
My home directory,
/home/akosuas
, is a symlink to/data/home/akosuas
.In 1.6, the new stacktrace printing is broken when the code is being run from
/data/home/akosuas
. It prints paths like:Because it is doing a
replace("/data/home/akosuas", "/home/akosuas" => "~")
rather than a prefix-replace:https://github.com/JuliaLang/julia/blob/master/base/errorshow.jl#L556
At minimum, it would be nice to avoid this bug. Even better, perhaps, would be to resolve whether any prefix of the path, after resolving symlinks, is the home directory.
The text was updated successfully, but these errors were encountered: