JuliaLang / juliaup

Julia installer and version multiplexer
MIT License
1.02k stars 86 forks source link

juliaup crash report #1085

Open markushhh opened 4 weeks ago

markushhh commented 4 weeks ago
$ juliaup self uninstall
Do you really want to uninstall Julia? yes
Removing background self update task. Success.
Removing startup self update configuration. Success.
Removing PATH modifications in startup scripts.Well, this is embarrassing.
$ cat /tmp/report-282df4eb-85b5-40e9-8b29-115487b526ea.toml
"name" = "Juliaup"
"operating_system" = "Fedora 40.0.0 [64-bit]"
"crate_version" = "1.17.9"
"explanation" = """
Panic occurred in file 'src/operations.rs' at line 1242
"""
"cause" = """
called `Result::unwrap()` on an `Err` value: Error occured while searching juliaup shell startup script section in /var/home/laptop/.bashrc

Caused by:
    Found an opening marker but no end marker of juliaup section."""
"method" = "Panic"
"backtrace" = """
   0:     0x7faa29dd7014 - rust_begin_unwind
   1:     0x7faa29a54fd2 - core::panicking::panic_fmt::h1443e6472bf095a1
   2:     0x7faa29a553f5 - core::result::unwrap_failed::h2dfe50afae946c08
   3:     0x7faa29bf1c8f - juliaup::command_config_modifypath::run_command_config_modifypath::hd511a23e764ac489
   4:     0x7faa29c00a81 - juliaup::command_selfuninstall::run_command_selfuninstall::h21e8ccb5d77c9059
   5:     0x7faa29a74f70 - juliaup::main::ha2bf07fcc21ad79c
   6:     0x7faa29a6cdd3 - std::sys::backtrace::__rust_begin_short_backtrace::h3b13b38f9af512e4
   7:     0x7faa29a81d6b - main
"""

fedora atomic

markushhh commented 4 weeks ago
$ cat ~/.julia/juliaup/juliaup.json
{
  "Default": "release",
  "InstalledVersions": {
    "1.11.1+0.x64.linux.gnu": {
      "Path": "./julia-1.11.1+0.x64.linux.gnu"
    }
  },
  "InstalledChannels": {
    "release": {
      "Version": "1.11.1+0.x64.linux.gnu"
    }
  },
  "Settings": {},
  "Overrides": [],
  "LastVersionDbUpdate": "2024-10-26T07:25:44.535394293Z"