Skip to content

@less and @edit broken for stdlib in official Julia v1.0 (v0.7) binaries #28560

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

Closed
oschulz opened this issue Aug 10, 2018 · 2 comments
Closed

Comments

@oschulz
Copy link
Contributor

oschulz commented Aug 10, 2018

On Linux (possibly other platforms too), when using the current official Julia v1.0 and v0.7 binaries, @less and @edit seem to look for stdlib files in the original build path, instead of the actual path of the extracted julia distribution.

With "julia-1.0.0-linux-x86_64.tar.gz", this happens:

julia> using Statistics

julia> mean(rand(100))
0.5062243680035762

julia> @less mean(rand(100))
/buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Statistics/src/Statistics.jl: No such file or directory
ERROR: failed process: Process(`less +128g /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Statistics/src/Statistics.jl`, ProcessExited(1)) [1]

julia> using LinearAlgebra

julia> @edit UpperTriangular(rand(5,5))

realpath: /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LinearAlgebra/src/triangular.jl: No such file or directory

Version info:

julia> versioninfo()
Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, skylake)
Environment:
  JULIA_DEPOT_PATH = $HOME/.julia/linux-ubuntu-16.04-x86_64
  JULIA_EDITOR = sublime_text_venv
  JULIA_ARRAYFIRE_BACKEND = cpu
  JULIA_PKGDIR = $HOME/.julia/linux-ubuntu-16.04-x86_64
  JULIA_PKG_DEVDIR = $HOME/.julia/linux-ubuntu-16.04-x86_64/dev
@fredrikekre
Copy link
Member

#28052

@oschulz
Copy link
Contributor Author

oschulz commented Aug 10, 2018

Thanks, @fredrikekre , I overlooked that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants