Skip to content
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

Use depot path in user warning? #717

Open
marius311 opened this issue Dec 13, 2022 · 0 comments
Open

Use depot path in user warning? #717

marius311 opened this issue Dec 13, 2022 · 0 comments

Comments

@marius311
Copy link

After updating Julia I sometimes get (which I think is expected):

┌ Warning: Expected non-existent /global/u1/m/marius/.julia-cori/juliaup/julia-1.8.3+0.x64/share/julia to be your Julia directory.
│ Certain functionality will be disabled.
│ To fix this, try deleting Revise's cache files in ~/.julia/compiled/v1.8/Revise, then restart Julia and load Revise.
│ If this doesn't fix the problem, please report an issue at https://github.com/timholy/Revise.jl/issues.
└ @ Revise ~/.julia-cori/packages/Revise/do2nH/src/packagedef.jl:1263

But if you don't look carefully you'll miss that the missing folder is .julia-cori (configured intentionally via my DEPOT_PATH) whereas the suggestion is just .julia which is hardcoded that way and wont actually fix anything.

So would it make sense if this message used DEPOT_PATH[1] ? I see multiple entries in that vector though so I'm not totally sure if this is right, wanted to ask first.

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

1 participant