[GH-ISSUE #4846] [Bug] Crash at startup from launcher #2158

Closed
opened 2026-03-23 21:20:11 +00:00 by mirror · 2 comments
Owner

Originally created by @ghost on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4846

Bug Description

AppFlowy opens (blank window only) then stops. Only happens when started from the launcher in the dock.
When started from CLI, AppFlowy starts correctly, bug messages are displayed in the terminal:

$ AppFlowy 
  2024-03-07 15:03:00  INFO flowy_core: 🔥AppFlowy Configuration { app_version: "0.5.0", storage_path: "/home/olivier/.local/share/AppFlowy/data", application_path: "/home/olivier/.local/share/AppFlowy/data" }
    at flowy-core/src/lib.rs:82

  2024-03-07T14:03:00.688258Z  INFO flowy_core: 🔥AppFlowy Configuration { app_version: "0.5.0", storage_path: "/home/olivier/.local/share/AppFlowy/data", application_path: "/home/olivier/.local/share/AppFlowy/data" }
    at flowy-core/src/lib.rs:82

  2024-03-07 15:03:00  INFO flowy_core: 💡System info: Some("Linux 23.10 Ubuntu")
    at flowy-core/src/lib.rs:83

  2024-03-07T14:03:00.688324Z  INFO flowy_core: 💡System info: Some("Linux 23.10 Ubuntu")
    at flowy-core/src/lib.rs:83

  2024-03-07 15:03:00  INFO flowy_user::user_manager::manager: init user session: 293881282360774656:b6559f79-9f38-4171-951e-2e4de66f83d7@appflowy.io
    at flowy-user/src/user_manager/manager.rs:148

  2024-03-07T14:03:00.689519Z  INFO flowy_user::user_manager::manager: init user session: 293881282360774656:b6559f79-9f38-4171-951e-2e4de66f83d7@appflowy.io
    at flowy-user/src/user_manager/manager.rs:148

  2024-03-07 15:03:00  INFO flowy_user::services::db: open collab db for user 293881282360774656 at path: "/home/olivier/.local/share/AppFlowy/data/293881282360774656/collab_db"
    at flowy-user/src/services/db.rs:203

  2024-03-07T14:03:00.689588Z  INFO flowy_user::services::db: open collab db for user 293881282360774656 at path: "/home/olivier/.local/share/AppFlowy/data/293881282360774656/collab_db"
    at flowy-user/src/services/db.rs:203

  2024-03-07 15:03:00  INFO flowy_user::services::db: open collab db to validate data integration for user 293881282360774656
    at flowy-user/src/services/db.rs:382

  2024-03-07T14:03:00.706853Z  INFO flowy_user::services::db: open collab db to validate data integration for user 293881282360774656
    at flowy-user/src/services/db.rs:382

  2024-03-07 15:03:00  INFO flowy_user::user_manager::manager: Prepare user data migration
    at flowy-user/src/user_manager/manager.rs:239

  2024-03-07T14:03:00.707102Z  INFO flowy_user::user_manager::manager: Prepare user data migration
    at flowy-user/src/user_manager/manager.rs:239

  2024-03-07 15:03:00  INFO flowy_user::services::db: Current backup: 5
    at flowy-user/src/services/db.rs:348
    in flowy_user::services::db::backup_collab_db

  2024-03-07T14:03:00.708833Z  INFO flowy_user::services::db: Current backup: 5
    at flowy-user/src/services/db.rs:348
    in flowy_user::services::db::backup_collab_db

  2024-03-07 15:03:00  INFO flowy_folder::manager_init: Init workspace: 385a2114-aaad-47e7-b5d7-d9882a696cca from: LocalDisk
    at flowy-folder/src/manager_init.rs:29
    in flowy_folder::manager_init::initialize with uid: 293881282360774656, workspace_id: "385a2114-aaad-47e7-b5d7-d9882a696cca"

  2024-03-07T14:03:00.709691Z  INFO flowy_folder::manager_init: Init workspace: 385a2114-aaad-47e7-b5d7-d9882a696cca from: LocalDisk
    at flowy-folder/src/manager_init.rs:29
    in flowy_folder::manager_init::initialize with uid: 293881282360774656, workspace_id: "385a2114-aaad-47e7-b5d7-d9882a696cca"

  2024-03-07 15:03:00  INFO flowy_folder::manager_init: Init folder from local disk
    at flowy-folder/src/manager_init.rs:55
    in flowy_folder::manager_init::initialize with uid: 293881282360774656, workspace_id: "385a2114-aaad-47e7-b5d7-d9882a696cca"

  2024-03-07T14:03:00.709843Z  INFO flowy_folder::manager_init: Init folder from local disk
    at flowy-folder/src/manager_init.rs:55
    in flowy_folder::manager_init::initialize with uid: 293881282360774656, workspace_id: "385a2114-aaad-47e7-b5d7-d9882a696cca"

  2024-03-07 15:03:00  INFO flowy_database2::manager: open aggregate database views object: aca1572c-f5fb-4161-9974-a593bf0ddcb4
    at flowy-database2/src/manager.rs:130

  2024-03-07T14:03:00.711433Z  INFO flowy_database2::manager: open aggregate database views object: aca1572c-f5fb-4161-9974-a593bf0ddcb4
    at flowy-database2/src/manager.rs:130

  2024-03-07 15:03:00  INFO dart_ffi: backend_log
    at dart-ffi/src/lib.rs:179

  2024-03-07T14:03:00.712003Z  INFO dart_ffi: backend_log
    at dart-ffi/src/lib.rs:179

  2024-03-07 15:03:00  INFO dart_ffi: [Flutter]: Rust SDK initialized
    at dart-ffi/src/lib.rs:215

  2024-03-07T14:03:00.712085Z  INFO dart_ffi: [Flutter]: Rust SDK initialized
    at dart-ffi/src/lib.rs:215

flutter: FormatException: Invalid number (at character 1)

^

flutter: FormatException: Invalid radix-10 number (at character 1)
=
^

How to Reproduce

  • Ubuntu Linux 23.10
  • Install AppFlowy from .deb
  • Start AppFlowy from launcher

Expected Behavior

No crash

Operating System

Ubuntu Linux 23.10

AppFlowy Version(s)

0.5.0 (from .deb))

Screenshots

No response

Additional Context

No response

Originally created by @ghost on GitHub (Mar 7, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4846 ### Bug Description AppFlowy opens (blank window only) then stops. Only happens when started from the launcher in the dock. When started from CLI, AppFlowy starts correctly, bug messages are displayed in the terminal: ``` $ AppFlowy 2024-03-07 15:03:00 INFO flowy_core: 🔥AppFlowy Configuration { app_version: "0.5.0", storage_path: "/home/olivier/.local/share/AppFlowy/data", application_path: "/home/olivier/.local/share/AppFlowy/data" } at flowy-core/src/lib.rs:82 2024-03-07T14:03:00.688258Z INFO flowy_core: 🔥AppFlowy Configuration { app_version: "0.5.0", storage_path: "/home/olivier/.local/share/AppFlowy/data", application_path: "/home/olivier/.local/share/AppFlowy/data" } at flowy-core/src/lib.rs:82 2024-03-07 15:03:00 INFO flowy_core: 💡System info: Some("Linux 23.10 Ubuntu") at flowy-core/src/lib.rs:83 2024-03-07T14:03:00.688324Z INFO flowy_core: 💡System info: Some("Linux 23.10 Ubuntu") at flowy-core/src/lib.rs:83 2024-03-07 15:03:00 INFO flowy_user::user_manager::manager: init user session: 293881282360774656:b6559f79-9f38-4171-951e-2e4de66f83d7@appflowy.io at flowy-user/src/user_manager/manager.rs:148 2024-03-07T14:03:00.689519Z INFO flowy_user::user_manager::manager: init user session: 293881282360774656:b6559f79-9f38-4171-951e-2e4de66f83d7@appflowy.io at flowy-user/src/user_manager/manager.rs:148 2024-03-07 15:03:00 INFO flowy_user::services::db: open collab db for user 293881282360774656 at path: "/home/olivier/.local/share/AppFlowy/data/293881282360774656/collab_db" at flowy-user/src/services/db.rs:203 2024-03-07T14:03:00.689588Z INFO flowy_user::services::db: open collab db for user 293881282360774656 at path: "/home/olivier/.local/share/AppFlowy/data/293881282360774656/collab_db" at flowy-user/src/services/db.rs:203 2024-03-07 15:03:00 INFO flowy_user::services::db: open collab db to validate data integration for user 293881282360774656 at flowy-user/src/services/db.rs:382 2024-03-07T14:03:00.706853Z INFO flowy_user::services::db: open collab db to validate data integration for user 293881282360774656 at flowy-user/src/services/db.rs:382 2024-03-07 15:03:00 INFO flowy_user::user_manager::manager: Prepare user data migration at flowy-user/src/user_manager/manager.rs:239 2024-03-07T14:03:00.707102Z INFO flowy_user::user_manager::manager: Prepare user data migration at flowy-user/src/user_manager/manager.rs:239 2024-03-07 15:03:00 INFO flowy_user::services::db: Current backup: 5 at flowy-user/src/services/db.rs:348 in flowy_user::services::db::backup_collab_db 2024-03-07T14:03:00.708833Z INFO flowy_user::services::db: Current backup: 5 at flowy-user/src/services/db.rs:348 in flowy_user::services::db::backup_collab_db 2024-03-07 15:03:00 INFO flowy_folder::manager_init: Init workspace: 385a2114-aaad-47e7-b5d7-d9882a696cca from: LocalDisk at flowy-folder/src/manager_init.rs:29 in flowy_folder::manager_init::initialize with uid: 293881282360774656, workspace_id: "385a2114-aaad-47e7-b5d7-d9882a696cca" 2024-03-07T14:03:00.709691Z INFO flowy_folder::manager_init: Init workspace: 385a2114-aaad-47e7-b5d7-d9882a696cca from: LocalDisk at flowy-folder/src/manager_init.rs:29 in flowy_folder::manager_init::initialize with uid: 293881282360774656, workspace_id: "385a2114-aaad-47e7-b5d7-d9882a696cca" 2024-03-07 15:03:00 INFO flowy_folder::manager_init: Init folder from local disk at flowy-folder/src/manager_init.rs:55 in flowy_folder::manager_init::initialize with uid: 293881282360774656, workspace_id: "385a2114-aaad-47e7-b5d7-d9882a696cca" 2024-03-07T14:03:00.709843Z INFO flowy_folder::manager_init: Init folder from local disk at flowy-folder/src/manager_init.rs:55 in flowy_folder::manager_init::initialize with uid: 293881282360774656, workspace_id: "385a2114-aaad-47e7-b5d7-d9882a696cca" 2024-03-07 15:03:00 INFO flowy_database2::manager: open aggregate database views object: aca1572c-f5fb-4161-9974-a593bf0ddcb4 at flowy-database2/src/manager.rs:130 2024-03-07T14:03:00.711433Z INFO flowy_database2::manager: open aggregate database views object: aca1572c-f5fb-4161-9974-a593bf0ddcb4 at flowy-database2/src/manager.rs:130 2024-03-07 15:03:00 INFO dart_ffi: backend_log at dart-ffi/src/lib.rs:179 2024-03-07T14:03:00.712003Z INFO dart_ffi: backend_log at dart-ffi/src/lib.rs:179 2024-03-07 15:03:00 INFO dart_ffi: [Flutter]: Rust SDK initialized at dart-ffi/src/lib.rs:215 2024-03-07T14:03:00.712085Z INFO dart_ffi: [Flutter]: Rust SDK initialized at dart-ffi/src/lib.rs:215 flutter: FormatException: Invalid number (at character 1) ^ flutter: FormatException: Invalid radix-10 number (at character 1) = ^ ``` ### How to Reproduce * Ubuntu Linux 23.10 * Install AppFlowy from .deb * Start AppFlowy from launcher ### Expected Behavior No crash ### Operating System Ubuntu Linux 23.10 ### AppFlowy Version(s) 0.5.0 (from .deb)) ### Screenshots _No response_ ### Additional Context _No response_
mirror 2026-03-23 21:20:11 +00:00
Author
Owner

@vincentkipchoge commented on GitHub (Mar 10, 2024):

@Arcesilas So after trying to reproduce your bug I ran into no issues. I used all the system requirements and the application launched fine. As for resolving the problem I recommend reinstalling AppFlowy again as it may possibly be that there was some type of installation issue. Please reach out with any updates. thx

<!-- gh-comment-id:1987091764 --> @vincentkipchoge commented on GitHub (Mar 10, 2024): @Arcesilas So after trying to reproduce your bug I ran into no issues. I used all the system requirements and the application launched fine. As for resolving the problem I recommend reinstalling AppFlowy again as it may possibly be that there was some type of installation issue. Please reach out with any updates. thx
Author
Owner

@ghost commented on GitHub (Mar 27, 2024):

I've edited the .desktop launcher file and changed:

Exec=env GDK_GL=gles /usr/bin/AppFlowy %U

to

Exec=/usr/bin/AppFlowy %U

And AppFlowy starts perfectly well from the launcher...

<!-- gh-comment-id:2023034803 --> @ghost commented on GitHub (Mar 27, 2024): I've edited the `.desktop ` launcher file and changed: ``` Exec=env GDK_GL=gles /usr/bin/AppFlowy %U ``` to ``` Exec=/usr/bin/AppFlowy %U ``` And AppFlowy starts perfectly well from the launcher...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2158
No description provided.