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

Fails to open file with relative path #366

Open
hosiet opened this issue Oct 25, 2021 · 1 comment
Open

Fails to open file with relative path #366

hosiet opened this issue Oct 25, 2021 · 1 comment

Comments

@hosiet
Copy link
Contributor

hosiet commented Oct 25, 2021

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.

@babluboy
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants