flathub / com.modrinth.ModrinthApp

https://flathub.org/apps/details/com.modrinth.ModrinthApp
8 stars 3 forks source link

Error prevents usage upon invocation, after prolonged update. #30

Closed RokeJulianLockhart closed 5 hours ago

RokeJulianLockhart commented 1 month ago

Errata

As https://github.com/modrinth/code/issues/2515#issuecomment-2417858791 states, when I perform:

#!/usr/bin/env -S bash
flatpak -vvv install 'https://dl.flathub.org/repo/appstream/com.modrinth.ModrinthApp.flatpakref' && \
flatpak -vvv update  'app/com.modrinth.ModrinthApp/x86_64/stable' --commit=ec083848d78b8259bbae1ef8c1dfebe1fdbd7ad188922f224e2e3b2b6dcdd1fd && \
flatpak -vvv run     'app/com.modrinth.ModrinthApp/x86_64/stable'
  1. ...the AppImage takes an unusually significant amount of time to attempt to update:

    image

  2. ...then displays an error:

    image

Environment

  1. #!/usr/bin/env -S bash
    kinfo
  2. #!/usr/bin/env -S xdg-open
    Operating System: Fedora Linux 40
    KDE Plasma Version: 6.2.1
    KDE Frameworks Version: 6.7.0
    Qt Version: 6.7.2
    Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit)
    Graphics Platform: Wayland
    Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
    Memory: 30.5 GiB of RAM
    Graphics Processor: AMD Radeon RX 5700
RokeJulianLockhart commented 1 month ago

https://github.com/flathub/com.modrinth.ModrinthApp/issues/30#issue-2593074753

Considering that Modrinth has not had any https://github.com/modrinth/code/releases since https://github.com/modrinth/code/releases/tag/v0.7.1, I presume that https://github.com/modrinth/code/releases/tag/v0.8.9 counts as a release published by CI to the client? If so, the Modrinth application's self-updater may be attempting to download that, and failing to do so. Generally, it's a bad idea to have a self-updater in an application installed via a package manager.

mirai-toto commented 1 month ago

A friend I introduced to Linux had the same issue on Fedora KDE

RokeJulianLockhart commented 1 month ago

https://github.com/flathub/com.modrinth.ModrinthApp/issues/30#issuecomment-2422648868

@mirai-toto, that's my OS too. I should have initially added environment information. Thanks for reminding me - I'll do so now.

RokeJulianLockhart commented 5 hours ago

https://github.com/flathub/com.modrinth.ModrinthApp/issues/30#issue-2593074753

Remediated ≤ --commit=12863f64fd16c6b0e40bdec4d213243c26cf283c16316364b699161620fddb25.