Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

foliate fails to open files #173166

Closed
khaled opened this issue May 15, 2022 · 3 comments
Closed

foliate fails to open files #173166

khaled opened this issue May 15, 2022 · 3 comments
Labels
0.kind: bug Something is broken 9.needs: upstream fix This PR needs upstream to change something

Comments

@khaled
Copy link

khaled commented May 15, 2022

Describe the bug

The foliate packages errors out when trying to open an e-book file.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install and run foliate
  2. Open a file
  3. Observe the error displayed in the GUI.

The console displays this error message:

(com.github.johnfactotum.Foliate:223173): Gjs-WARNING **: 12:59:43.117: 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:478:24
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@/nix/store/mjp6v0fi4bdxwr2xbpcy22810zciza17-foliate-2.6.4/bin/.com.github.johnfactotum.Foliate-wrapped:10:17

Expected behavior

File is opened successfully.

Screenshots

If applicable, add screenshots to help explain your problem.

Notify maintainers

@onny

Metadata

╰─ nix-shell -p nix-info --run "nix-info"                                                                        ─╯
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.8.0, channels(root): "nixos", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@khaled khaled added the 0.kind: bug Something is broken label May 15, 2022
@khaled
Copy link
Author

khaled commented May 16, 2022

Looks like a manifestation of johnfactotum/foliate#878.

@Artturin Artturin added the 9.needs: upstream fix This PR needs upstream to change something label May 18, 2022
@superherointj
Copy link
Contributor

Workaround: update-mime-database ~/.local/share/mime

@Aleksanaa
Copy link
Member

Seems to be fixed in latest versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 9.needs: upstream fix This PR needs upstream to change something
Projects
None yet
Development

No branches or pull requests

4 participants