sonnyp / Junction

Application/browser chooser
https://flathub.org/apps/re.sonny.Junction
GNU General Public License v3.0
457 stars 28 forks source link

Crash on startup #144

Closed langfingaz closed 2 months ago

langfingaz commented 5 months ago

After installing the app as Flatpak, it crashes on startup. Here is the console output:

flatpak run re.sonny.Junction
(/usr/bin/flatpak.real run:293194): GLib-GIO-CRITICAL **: 20:03:08.407: GFileInfo created without standard::is-symlink

(/usr/bin/flatpak.real run:293194): GLib-GIO-CRITICAL **: 20:03:08.407: file ../../../gio/gfileinfo.c: line 1677 (g_file_info_get_is_symlink): should not be reached
/usr/bin/env: only ${VARNAME} expansion is supported, error at: ${HO

System

I am running Mobian on a OnePlus 6 with Phosh on Wayland. neofetch:

        #####           droidian@enchilada 
       #######          ---------------------- 
       ##O#O##          OS: Droidian trixie aarch64 
       #######          Host: Qualcomm Technologies, Inc. SDM845 v2.1 MTP PVT 
     ###########        Kernel: 4.9-113-oneplus-oneplus6 
    #############       Uptime: 9 hours, 14 mins 
   ###############      Packages: 1398 (dpkg), 36 (flatpak) 
   ################     Shell: bash 5.2.21 
  #################     Resolution: 1080x2280 
#####################   DE: GNOME 
#####################   Terminal: /dev/pts/1 
  #################     CPU: Qualcomm SDM845 (8) @ 1.324GHz 
                        Memory: 3547MiB / 7636MiB
bellegarde-c commented 3 months ago

Same for me on same OS (Redmi Note 9 pro)

bellegarde-c commented 3 months ago

This is related to this in main file: `

!/usr/bin/env -S XDG_DATA_DIRS=${XDG_DATA_DIRS}:/run/host/usr/share:/var/lib/snapd/desktop:/var/lib/flatpak/exports/share:${HOME}/.local/share/flatpak/exports/share gjs -m

`

I tried keeping just #!/usr/bin/env gjs -m but can't find gjs in runtime env when running flatpak run --command=sh re.sonny.Junction

sonnyp commented 3 months ago

This looks like a Droidian bug, please report there.