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

Juliainstaller Crash Report #875

Open
adrhill opened this issue Mar 25, 2024 · 0 comments
Open

Juliainstaller Crash Report #875

adrhill opened this issue Mar 25, 2024 · 0 comments

Comments

@adrhill
Copy link

adrhill commented Mar 25, 2024

When trying to install juliaup, I get an Failed to open file: /Users/hill/.zshrc error.

I find this curious since I opted for a custom installation without manipulation of my shell configs:

✔ Do you want to install with these default configuration choices? · Customize installation

✔ Enter the folder where you want to install Juliaup · /Users/hill/.juliaup
✔ Do you want to add the Julia binaries to your PATH by manipulating various shell startup scripts? · no
✔ Do you want to add channel specific symlinks? · no
✔ Enter minutes between check for new version at julia startup, use 0 to disable · 1440
✔ Enter minutes between check for new version by a background task, use 0 to disable · 0
Juliaup will be installed into the Juliaup home directory, located at:

  /Users/hill/.juliaup

The julia, juliaup and other commands will be added to
Juliaup's bin directory, located at:

  /Users/hill/.juliaup/bin

Julia will look for a new version of Juliaup itself every 1440 minutes when you start julia.

✔ Do you want to install with these custom configuration choices? · Proceed with installation
Now installing Juliaup
Well, this is embarrassing.

Juliainstaller had a problem and crashed. To help us diagnose the problem you can send us a crash report.

The full error report is:

"name" = "Juliainstaller"
"operating_system" = "Mac OS 14.3.0 [64-bit]"
"crate_version" = "1.14.7"
"explanation" = """
Panic occurred in file 'src/operations.rs' at line 1030
"""
"cause" = """
called `Result::unwrap()` on an `Err` value: Failed to open file: /Users/hill/.zshrc

Caused by:
    Permission denied (os error 13)"""
"method" = "Panic"
"backtrace" = """

   0: 0x102b06420 - core::result::unwrap_failed::h79c2cb9e4fc28c72
   1: 0x1029704d4 - juliaup::command_config_modifypath::run_command_config_modifypath::h7e32c7395314f06d
   2: 0x102861800 - juliainstaller::main::ha5b6681862e25582
   3: 0x10284eab8 - std::sys_common::backtrace::__rust_begin_short_backtrace::h040e90bfea1c4f44
   4: 0x10286665c - _main"""

This might be due to my ~/.zshrc being generated by Nix:

❯ readlink ~/.zshrc
/nix/store/1njcf4yr2v0yp1rp7ka5s9574mra4p9q-home-manager-files/.zshrc

but once again, I didn't want juliaup to touch this in the first place.

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