Jugran / lyrics-in-terminal

Python curses application to view lyrics of current playing song in terminal.
MIT License
241 stars 19 forks source link

Error editing lyrics after updating to Python 3.10 #19

Closed YesterKo closed 2 years ago

YesterKo commented 2 years ago

Steps to reproduce the issue

  1. Spotify playing with song Ma Ei Oska Kaine Peaga Peol Midagi Teha
  2. press e
  3. Error: Unexpected exception occurred. <class 'FileNotFoundError'>

System info: Arch Linux, Python 3.10

Most likely related to Python 3.10, before updating it worked flawlessly

flying-pizza-69 commented 2 years ago

Are you sure you have nano installed? I also have only vim installed and had the same issue. I am also running Arch Linux with Python 3.10.1

Jugran commented 2 years ago

Hey @YesterKo, make sure you have either nano installed or have $EDITOR environment variable set to the text editor you like to use like vim.

If $EDITOR is not set then it tries to open nano by default.