I'm trying to open ebook using foliate, but it fails to open it.

Here is the stdout/stderr output:

foliate 
dict: unknown option -- formatted
dict 1.9.15/rf on OpenBSD 7.4
Copyright 1997-2002 Rickard E. Faith (fa...@dict.org)

Usage: dict [options] [word]
Query a dictd server for the definition of a word

-h --host <server>        specify server
-p --port <service>       specify port
-d --database <dbname>    select a database to search
-m --match                match instead of define
-s --strategy <strategy>  strategy for matching or defining
-c --config <file>        specify configuration file
-C --nocorrect            disable attempted spelling correction
-D --dbs                  show available databases
-S --strats               show available search strategies
-H --serverhelp           show server help
-i --info <dbname>        show information about a database
-I --serverinfo           show information about the server
-a --noauth               disable authentication
-u --user <username>      username for authentication
-k --key <key>            shared secret for authentication
-V --version              display version information
-L --license              display copyright and license information
   --help                 display this help
-v --verbose              be verbose
-r --raw                  trace raw transaction
-P --pager program        specify program to use as pager (- for none)
   --debug <flag>         set debugging flag
   --pipesize <size>      specify buffer size for pipelining (256)
   --client <text>        additional text for client command
WARNING: Kernel has no file descriptor comparison support: Resource temporarily 
unavailable
WARNING: Kernel has no file descriptor comparison support: Operation not 
supported by device

(com.github.johnfactotum.Foliate:33648): Gjs-WARNING **: 01:33:26.836: 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
@/usr/local/bin/foliate:9:17


I can see 2 issues here.
1. it calls dict with some long option and fails with goofy stdout output.
2. there is some JS issue when loading a book
3. some kernel warning messages, not sure what to think about it

I'm wondering if this is a known issue? Related to epub content?

The book in question is ADP 6-0
https://armypubs.army.mil/ProductMaps/PubForm/Details.aspx?PUB_ID=1007502
in epub format.

I'd be grateful for any advise.

Cheers,
Chris

Reply via email to