johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
5.93k stars 273 forks source link

flatpak-spawn: Invalid byte sequence in conversion input #1169

Closed silvasch closed 8 months ago

silvasch commented 8 months ago

Describe the bug When opening a *.epub or a *.pdf file, foliate loads infinitely.

To Reproduce Steps to reproduce the behavior:

  1. Open foliate
  2. Click on 'Open...'
  3. Select your file
  4. Spinner spins infinitely and doesn't load

Expected behavior File should load

Screenshots Screenshot from 2023-12-03 09-58-10

Version:

Additional context Logs:

(com.github.johnfactotum.Foliate:2): Gtk-WARNING **: 10:02:03.860: Locale not supported by C library.
    Using the fallback 'C' locale.
flatpak-spawn: Invalid byte sequence in conversion input
Try "flatpak-spawn --help" for more information.

(com.github.johnfactotum.Foliate:2): com.github.johnfactotum.Foliate-CRITICAL **: 10:02:13.672: My name is Oh-No-WebKit-Crashed, bug of bugs!

(com.github.johnfactotum.Foliate:2): com.github.johnfactotum.Foliate-CRITICAL **: 10:02:13.673: Look on this line, Developer -- despair!
johnfactotum commented 8 months ago

This is https://github.com/flatpak/flatpak/issues/5564. See https://github.com/flatpak/flatpak/issues/3712#issuecomment-814084209 and https://github.com/johnfactotum/foliate/blob/gtk4/docs/troubleshooting.md#-and-im-using-flatpak