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

Juliaup installation fails when Julia was first installed with homebrew #1052

Open
efaulhaber opened this issue Sep 23, 2024 · 1 comment
Open

Comments

@efaulhaber
Copy link

This is the relevant log file:

"name" = "Juliainstaller"
"operating_system" = "Mac OS 14.6.1 [64-bit]"
"crate_version" = "1.17.4"
"explanation" = """
Panic occurred in file 'src/bin/juliainstaller.rs' at line 435
"""
"cause" = 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }'
"method" = "Panic"
"backtrace" = """

   0: 0x10070bc48 - core::result::unwrap_failed::h0a2eea50cb43dc63
   1: 0x1004d74cc - juliainstaller::main::h6ffd3254a44367a4
   2: 0x1004c382c - std::sys_common::backtrace::__rust_begin_short_backtrace::h66d96706cb4fc826
   3: 0x1004db23c - _main"""

When installing juliaup via homebrew, starting Julia fails with

$ julia
Error: The Julia launcher failed to load a configuration file.

Caused by:
    Could not create lockfile: Permission denied (os error 13).

It does work with sudo.

@efaulhaber
Copy link
Author

efaulhaber commented Sep 23, 2024

Note that it seems to have worked now after completely removing the .julia directory.
The student first installed Julia via homebrew, so I'm assuming this installation screwed up some file permissions.

A fix or suggestion how to solve this should be added to juliaup and/or homebrew.

@ViralBShah ViralBShah changed the title Juliaup installation via curl fails Juliaup installation fails when Julia was first installed with homebrew Nov 10, 2024
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