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

Julia Install Crash Report #918

Open
celise88 opened this issue May 5, 2024 · 4 comments
Open

Julia Install Crash Report #918

celise88 opened this issue May 5, 2024 · 4 comments

Comments

@celise88
Copy link

celise88 commented May 5, 2024

"name" = "Juliainstaller"
"operating_system" = "Mac OS 12.7.0 [64-bit]"
"crate_version" = "1.14.8"
"explanation" = """
Panic occurred in file 'src/operations.rs' at line 1021
"""
"cause" = """
called Result::unwrap() on an Err value: Failed to open file /Users/caitlinlahuis/.bash_profile.

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

0: 0x1044d1ab4 - core::result::unwrap_failed::h71a35eff74d84b68
1: 0x104383ddc - juliaup::command_config_modifypath::run_command_config_modifypath::hfba9ff76b3bf9106
2: 0x104291458 - juliainstaller::main::h58826e7c28086c63
3: 0x10427ddf0 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc479014f54c9f9ef
4: 0x104295940 - _main"""

@jybantang
Copy link

Unfortunately, one has to force removal of traces of Julia and juliaup in several profile files using the su. This should not be the case.

I manage to successfully remove juliaup installation via the sudo command.

$ sudo juliaup self uninstall

The cause is the juliaup seems to have been denied permission to edit some of the profile files under one's home account.

@jybantang
Copy link

Well, apparently, the installation sequence does not work as well in my box. So likely that this is more fundamental than I expected. Sorry.

@celise88
Copy link
Author

celise88 commented May 7, 2024

No worries. Not that this helps you, but for anyone else with similar issues, this worked for me:

sudo chmod 777 /private/tmp
brew install julia

@ardagabi
Copy link

ardagabi commented May 20, 2024

I will just paste my answer from #796:

I got the exact same crash report.

Problem caused due to ~/.bash_profile not being owned by the user attempting to edit the file.

Change ownership of .bash_profile:
sudo chown {username} ~/.bash_profile

Then got same error but this time mentioning .zshrc. Again, same solution:
sudo chown {username} ~/.zshrc

After this installation was successful.

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

3 participants