rusconi / TFT-MoodeCoverArt

Display artwork and some metadata from moode audio on a 240*240 ST7789 TFT
13 stars 9 forks source link

Crash on new install of moode 8.2.2 #10

Closed caitsith01 closed 1 year ago

caitsith01 commented 1 year ago

Hello - trying to get this working but at the moment I'm experiencing a crash when starting the script. Running on moode audio 8.2.2 on a Pi Zero W. The moode install seems to work correctly.

I have tried to follow the installation instructions closely and everything appeared to work.

Upon running tft_moode_coverart.py, however, I get this error:

python3 /home/pi/TFT-MoodeCoverArt/tft_moode_coverart.py
Traceback (most recent call last):
  File "/home/pi/TFT-MoodeCoverArt/tft_moode_coverart.py", line 65, in <module>
    disp = ST7789.ST7789(
  File "/usr/local/lib/python3.9/dist-packages/ST7789/__init__.py", line 125, in __init__
    self._spi = spidev.SpiDev(port, cs)
FileNotFoundError: [Errno 2] No such file or directory

Any help greatly appreciated... trying to ressurect my pirate audio setup after Spotify disable the API used by pimoroni, and moode seems like the ideal alternative but I would ideally like to get the screen working again too.

rusconi commented 1 year ago

does your rpi have spi turned on? On 20/12/2022 1:42:06 PM, caitsith01 @.> wrote: Hello - trying to get this working but at the moment I'm experiencing a crash when starting the script. Running on moode audio 8.2.2 on a Pi Zero W. The moode install seems to work correctly. I have tried to follow the installation instructions closely and everything appeared to work. Upon running tft_moode_coverart.py, however, I get this error: python3 /home/pi/TFT-MoodeCoverArt/tft_moode_coverart.py Traceback (most recent call last): File "/home/pi/TFT-MoodeCoverArt/tft_moode_coverart.py", line 65, in disp = ST7789.ST7789( File "/usr/local/lib/python3.9/dist-packages/ST7789/init.py", line 125, in init self._spi = spidev.SpiDev(port, cs) FileNotFoundError: [Errno 2] No such file or directory Any help greatly appreciated... trying to ressurect my pirate audio setup after Spotify disable the API used by pimoroni, and moode seems like the ideal alternative but I would ideally like to get the screen working again too. — Reply to this email directly, view it on GitHub [https://github.com/rusconi/TFT-MoodeCoverArt/issues/10], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AOCOMSTUJE63YUYGIBUBS2TWOEMH5ANCNFSM6AAAAAATEADBZQ]. You are receiving this because you are subscribed to this thread.Message ID: @.>

caitsith01 commented 1 year ago

Brilliant - I knew I would miss something. That was indeed the issue, now working flawlessly. Thanks!

rusconi commented 1 year ago

glad to be of help :) On 20/12/2022 2:48:12 PM, caitsith01 @.> wrote: Closed #10 [https://github.com/rusconi/TFT-MoodeCoverArt/issues/10] as completed. — Reply to this email directly, view it on GitHub [https://github.com/rusconi/TFT-MoodeCoverArt/issues/10#event-8074702860], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AOCOMSUJKCJBMIOKVBONYTLWOET7ZANCNFSM6AAAAAATEADBZQ]. You are receiving this because you commented.Message ID: @.>