babluboy / bookworm

A simple ebook reader for Elementary OS
GNU General Public License v3.0
1.32k stars 100 forks source link

openSUSE Flatpak Issue: Can't start: file gapplication.c: line 615 (add_packed_option): should not be reached #208

Open rfc2822 opened 6 years ago

rfc2822 commented 6 years ago

Steps to reproduce:

  1. Install with sudo flatpak install --from https://flathub.org/repo/appstream/com.github.babluboy.bookworm.flatpakref
  2. Start with flatpak run com.github.babluboy.bookworm

Result:

$ flatpak run com.github.babluboy.bookworm

(process:2): GLib-GIO-CRITICAL **: file gapplication.c: line 615 (add_packed_option): should not be reached
$ LANG= flatpak run -d com.github.babluboy.bookworm
error: runtime/org.gnome.Sdk/x86_64/3.26 not installed
$

Expected result: Bookworm should start

After running sudo flatpak install flathub runtime/org.gnome.Sdk/x86_64/3.2, bookworm still doesn't start:

$ LANG= flatpak run -d com.github.babluboy.bookworm 

(process:2): GLib-GIO-CRITICAL **: file gapplication.c: line 615 (add_packed_option): should not be reached
$

Operating system:

> lsb_release -a
LSB Version:    core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: openSUSE
Description:    openSUSE Leap 15.0
Release:    15.0
Codename:   n/a
babluboy commented 6 years ago

@rfc2822 Thanks for raising this. The error does not give me any ideas what could be an issue. Would you be able to run bookworm in debug mode and give me the debug output, might help throw more info on the issue: flatpak run com.github.babluboy.bookworm --debug

As an alternative you can try installing from the openSUSE repos: https://software.opensuse.org/package/bookworm

rfc2822 commented 6 years ago

Hello,

Unfortunately, this doesn't reveal any additional details:

$ flatpak run com.github.babluboy.bookworm --debug
** (process:2): DEBUG: main.vala:24: Bookworm Application running in debug mode - all debug messages will be displayed

(process:2): GLib-GIO-CRITICAL **: file gapplication.c: line 615 (add_packed_option): should not be reached

Is there anything else I shall try?

The OpenSuse package doesn't work, too. I have tried the OpenSUSE 15.0 packages from Patheon and the result is:

$ > /usr/bin/com.github.babluboy.bookworm --debug
** (process:5318): DEBUG: main.vala:24: Bookworm Application running in debug mode - all debug messages will be displayed

(process:5318): GLib-GIO-CRITICAL **: file gapplication.c: line 615 (add_packed_option): should not be reached
Speicherzugriffsfehler (Speicherabzug geschrieben)

(Speicherzugriffsfehler means segmentation fault)

babluboy commented 6 years ago

@nedrichards Hi any clues on the above flatpak error for bookworm. Its reported on openSUSE and I have not seen this on Debian and Ubuntu. Is this something related to flatpak than with the bookworm application.

rfc2822 commented 6 years ago

Is this something related to flatpak than with the bookworm application.

It also happens with the plain OpenSuse package, see above.