foliate icon indicating copy to clipboard operation
foliate copied to clipboard

Error on FreeBSD 13.0 since update

Open qryptocracy opened this issue 3 years ago • 10 comments

Opening Foliate gives error: Could not open file Empty Response

Opening Foliate from terminal gives me the error:

(com.github.johnfactotum.Foliate:3030): Gjs-WARNING **: 12:56:33.042: JS ERROR: Error: Empty Response _init/<@resource:///com/github/johnfactotum/Foliate/js/epubView.js:623:57 _handleAction@resource:///com/github/johnfactotum/Foliate/js/epubView.js:886:22 _init/<@resource:///com/github/johnfactotum/Foliate/js/epubView.js:617:18 main@resource:///com/github/johnfactotum/Foliate/js/main.js:476:24 run@resource:///org/gnome/gjs/modules/script/package.js:206:19 @/usr/local/bin/foliate:9:17

qryptocracy avatar Oct 10 '21 19:10 qryptocracy

Are you opening a remote file? If so it's probably #598.

johnfactotum avatar Oct 11 '21 04:10 johnfactotum

Are you opening a remote file? If so it's probably #598.

No local files that worked just before my update.

qryptocracy avatar Oct 11 '21 19:10 qryptocracy

Did you update Foliate from a previous version or was it a system update? It would be helpful to see which change was responsible for the issue.

johnfactotum avatar Oct 18 '21 06:10 johnfactotum

Foliate was updated to a newer version during a FreeBSD update. I did a fresh install of FreeBSD on a raspberry pi 4 and used spectrwm instead of xfce and I had the same error when installing foliate.

qryptocracy avatar Oct 18 '21 14:10 qryptocracy

I just noticed that foliate does work as root.

qryptocracy avatar Oct 20 '21 20:10 qryptocracy

Able to reproduce this with WebKitGTK - 2.34.0 and GTK - 3.24.30 on Void Linux as well, upgrading former to 2.34.1 fixes the issue.

not-chicken avatar Oct 23 '21 09:10 not-chicken

Issue also occurs on NixOS Unstable, with WebKitGTK - 2.34.0 and GTK3 - 3.24.27. Haven't verified the proposed WebKitGTK 2.34.1 fix, as it's not in my distro's packages atm. (In the mean time, I'm just getting by with the flatpak (flatpak install foliate)).

fxkrait avatar Oct 23 '21 18:10 fxkrait

Out of curiosity, I was wondering if @not-chicken / @greghab was able to run it as root and the application would work as expected? @qryptocracy was able to run it as root and it worked as expected.

I did install foliate in a fresh install of FreeBSD 13.0-RELEASE and the program ran out of the box without issues as root.

I could be missing out something obvious, but I am taking a wild guess it is something about permission issues after the upgrade that is causing the problem.

fraggerfox avatar Oct 24 '21 23:10 fraggerfox

@fraggerfox It does indeed work fine when running as root.

fxkrait avatar Oct 25 '21 00:10 fxkrait

NixOS Unstable updated WebKitGTK to 2.34.1, and it works fine now.

fxkrait avatar Nov 04 '21 18:11 fxkrait