metafates / mangal

📖 The most advanced (yet simple) cli manga downloader in the entire universe! Lua scrapers, export formats, anilist integration, fancy TUI and more!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error exit status 3

laluxx opened this issue · comments

Describe the bug

everytime i try to read a manga it trows the following error:
could not open /tmp/mangal/[0001]_Chapter_1_Uzumaki_Naruto.pdf with : exit status 3

Reproduction steps

1 installed using yay [aur/mangal-bin 4.0.4-1]]
2 open the tui app whit the command "mangal"
3 any source leads to the same error
4 search for any anime
5 select any chapter

Expected behavior

open the manga chapter

Additional context

OS : Arch Linux
Package : aur/mangal-bin 4.0.4-1

Operating System

Linux

commented

Hi!

I guess the problem is that you don't have xdg-open command installed (used to open files with default app).

You can check if it's installed or not with this command

command -v xdg-open

If it's installed, then, according to the manpage exit status 3 means

A required tool could not be found.

Do you have any pdf reader installed? Such as zathura, or any other. If you do, then try to specify it explicitly

# example if you use zathura
mangal config set -k reader.pdf -v  zathura

Hope that helps