bookworm
bookworm copied to clipboard
Fails to open file with relative path
Forwarding downstream Debian bug report: https://bugs.debian.org/992472
I ran
/usr/bin/com.github.babluboy.bookworm ./foo.epub
and it complained:
[WARNING 22:12:14.238713] bookworm.vala:681: EBook not found at provided location:foo.epub
[FATAL 22:12:14.244095] [GLib-GIO] g_file_query_exists: assertion 'G_IS_FILE(file)' failed
Using an absolute path worked. This is rather surprising behavior.
Thanks for your interest in Booworm and raising this issue.
Currently Bookworm is an UX app and not meant to be used from command line. If you navigate to a book using the directory structure inside Bookworm UI, it picks up the absolute path and hence works. Relative paths needs to be handled correctly which is missing at the moment.
however I will keep this issue open to add capability for working with relative paths