wustho / baca

TUI Ebook Reader
GNU General Public License v3.0
363 stars 4 forks source link

Error opening an image: [Win Error 2] #6

Closed ghost closed 1 year ago

ghost commented 1 year ago

baca v0.1.11 cannot open images when clicking the large IMAGE box.

I've already tried with several other books I own as well as the ones freely available at Project Gutenberg.

image

Steps to reproduce

  1. Download any e-book (this one preferably).
  2. Open the Terminal and direct baca to the e-book path (either by dragging it through the File Explorer or typing it by hand)
  3. Click IMAGE box
  4. baca will show a [Win Error 2] error.
wustho commented 1 year ago

Hey there, can you try uninstall baca then reinstall it using this branch: pip install git+https://github.com/wustho/baca@issue/win/img-file-not-found

And see if the issue still persists? I don't have windows machine, so I cannot try it for myself. Thanks.

ghost commented 1 year ago

Problem remains, even tried on a new virtual environment 😔.

wustho commented 1 year ago

Oh, just understood the issue, @stone2forge Can you try again with pip install git+https://github.com/wustho/baca@issue/win/img-file-not-found And see if it works now?

ghost commented 1 year ago

Can confirm it works now!

wustho commented 1 year ago

Thanks mate, appreciate it! Now it's in main branch, and we can install it via pip install --upgrade baca