michael-lazar / rtv

Browse Reddit from your terminal
MIT License
4.64k stars 273 forks source link

Program exited with status 127 #700

Closed yohannes closed 5 years ago

yohannes commented 5 years ago

Describe the bug Hi guys. I am trying top open an image (latest FEH has been installed via brew & default mailcap config file in default location), but I was greeted with a new blank page with 1 line of instruction "Please any key to continue" (screenshot) (instead of launching FEH). Tapping enter again will return me to reddit page before and greeted with an exception "Program exited with status=127. /bin/sh: convert: command not found " (screenshot). Please advise.

Describe your environment Mac OS X Mojave FEH 3.1.3

rtv version: rtv 1.26.0 rtv module path: /usr/local/Cellar/rtv/1.26.0/libexec/lib/python3.7/site-packages/rtv/main.py python version: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)] python executable: /usr/local/Cellar/rtv/1.26.0/libexec/bin/python3.7 praw version: packaged, commit 1656ec224e57 locale, encoding: C/en_US.UTF-8/C/C/C/C, UTF-8 Environment Variables BROWSER : DISPLAY : EDITOR : LANG : PAGER : less RTV_BROWSER : RTV_EDITOR : RTV_PAGER : RTV_URLVIEWER : TERM : xterm-256color VISUAL : XDG_CONFIG_HOME : XDG_DATA_HOME :

yohannes commented 5 years ago

Issue resolved. I just want to note here for others who will face the same issue is that you need to restart your mac so that the xquartz engine, a dependency for the rtv, must run first.