wustho / epr

CLI Epub Reader
MIT License
1.21k stars 49 forks source link

Images Not Working MacOS #46

Closed Tyk0tt closed 2 years ago

Tyk0tt commented 2 years ago

Running epr on 2020 MacBook Pro with the M1 chip running Monterey 12.1, terminal emulator is iTerm2, image viewers are sxiv preview(native) feh. Installed epr with Python Pip.

Images work in GUI readers but when I press o to open an image I get the following:

Error Opening Image                                                                                           
  │ -------------------                                                                                          
  │                                                                                                                           
  │  local variable 'content_path' referenced before assignment                     

I looked at the code on Github and saw that feh is first on the list for image viewers. I installed feh with Homebrew (version 3.8 stable). Tried multiple images with no success. I tried looking for local variable 'content_path' to see if it is something I could adjust but could not find references to it.

Other details:

Model Name: MacBook Pro Model Identifier: MacBookPro17,1 Chip: Apple M1 System Firmware Version: 7429.61.2 OS Loader Version: 7429.61.2 Python versions 2.7 and 3.9.1

Thanks for your effort on the program and any hints on how to resolve the image issue.

Screen Shot 2022-01-27 at 1 07 39 PM
Tyk0tt commented 2 years ago

Got it working with a reinstall from PIP3. Maybe something got corrupted during an OS update. Cannot reproduce bug.