pop-os / cosmic-epoch

Next generation Cosmic desktop environment
2.8k stars 78 forks source link

cosmic-settings crashes shortly after being displayed #517

Open philstopford opened 1 month ago

philstopford commented 1 month ago

Installed from cosmic-session-git on Arch. After loading the desktop, I go to bring up settings. The window briefly displays and then crashes without any GUI error message. Terminal shows:

I filed this here because I'm not sure whether it's settings or something else amiss

[phil@darkwing ~]$ RUST_BACKTRACE=1 cosmic-settings
  ERROR  Error while adding resource to bundle: Overriding { kind: Message, id: "unknown" }.
    at /home/phil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/i18n-embed-0.14.1/src/fluent.rs:35 on main

  ERROR  Error while adding resource to bundle: Overriding { kind: Message, id: "unknown" }.
    at /home/phil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/i18n-embed-0.14.1/src/fluent.rs:35 on main

   WARN  Key-Binding 'Period' only matched case insensitive for "period"
    at /home/phil/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/362c77f/config/src/shortcuts/sym.rs:26 on main

   WARN  Key-Binding 'Comma' only matched case insensitive for "comma"
    at /home/phil/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/362c77f/config/src/shortcuts/sym.rs:26 on main

   WARN  Key-Binding 'Period' only matched case insensitive for "period"
    at /home/phil/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/362c77f/config/src/shortcuts/sym.rs:26 on main

   WARN  Key-Binding 'Comma' only matched case insensitive for "comma"
    at /home/phil/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/362c77f/config/src/shortcuts/sym.rs:26 on main

  ERROR  shortcuts custom config error: GetKey("custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at /home/phil/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/362c77f/config/src/shortcuts/mod.rs:43 on main

  ERROR  Failed to read config 'workspaces', err: NoConfigDirectory
    at cosmic-settings/src/pages/desktop/workspaces.rs:39 on main

  ERROR  Failed to read config 'show_workspace_name', err: NoConfigDirectory
    at cosmic-settings/src/pages/desktop/workspaces.rs:44 on main

  ERROR  Failed to read config 'show_workspace_number', err: NoConfigDirectory
    at cosmic-settings/src/pages/desktop/workspaces.rs:48 on main

  ERROR  Failed to read config 'input_default', why: NoConfigDirectory
    at cosmic-settings/src/pages/input/mod.rs:49 on main

  ERROR  Failed to read config 'input_touchpad', why: NoConfigDirectory
    at cosmic-settings/src/pages/input/mod.rs:49 on main

  ERROR  Failed to read config 'military_time', err: NoConfigDirectory
    at cosmic-settings/src/pages/time/date.rs:59 on main

  ERROR  Failed to read config 'first_day_of_week', err: NoConfigDirectory
    at cosmic-settings/src/pages/time/date.rs:66 on main

  ERROR  Failed to read config 'show_date_in_top_panel', err: NoConfigDirectory
    at cosmic-settings/src/pages/time/date.rs:73 on main

The application panicked (crashed).
Message:  Size not found for icon
Location: /home/phil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/freedesktop-icons-0.2.6/src/theme/parse.rs:54

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/phil/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/widget/icon/named.rs:78

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>
p134c0d3 commented 4 weeks ago

Having the same issue with cosmic-settings-git 1.0.0.alpha.1.r27.g83a4296-1. cosmic-session-git is installed from the chaotic-aur repo, which in turn is compiled from the AUR.

Here are my errors if it helps any:

The application panicked (crashed).
Message:  Size not found for icon
Location: /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/freedesktop-icons-0.2.6/src/theme/parse.rs:54

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/main-builder/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/main-builder/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/icon_theme.rs:17

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Location: /home/main-builder/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4dd0f72/src/widget/icon/named.rs:78

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

I also placed this in Mattermost, if there is any fix, I'll update here.

mmstick commented 4 weeks ago

Did you install the cosmic icon theme?

p134c0d3 commented 4 weeks ago

@mmstick thanks for the reply, yeah it installed with the initial install of cosmic-session-git and has been installed all along.