dupontgu / retro-ipod-spotify-client

The software that powers the sPot: a 4th generation "Click Wheel" iPod with a full Spotify client.
Apache License 2.0
892 stars 90 forks source link

Import error randomly started appearing. #20

Closed HeartWaker000 closed 3 years ago

HeartWaker000 commented 3 years ago

Hello, So I am trying to get this going on my Pi 4b and I had everything going ok(ish) last night.

I was able to get the gui going and go into playlists, artists, albums, etc. when I tried clicking on a song the "now playing" screen would appear with the progress bar in the middle and it would kick back a 401 spotify api error.

I couldn't figure out what was causing that so I decided to start from scratch with a fresh sd card.

I reinstall everything, set everything up and get to the point I have gotten to before where i reboot my pi to the command line. openbox starts up on reboot (I assume it doesnt launch spotifypod.py automatically because of the errors i am getting?) and I have to rightclick on the black screen and pull up the terminal. When i navigate to my /retro-ipod-spotify-client/frontend folder and run python3 spotifypod.py I see it fetch my tracks, artists, playlists, albums and new releases, it sees my device and then it kicks back this error:

File "spotifypod.py", line 13, in from PIL import ImageTK, Image ImportError: cannot import name 'ImageTK' from 'PIL' (/usr/lib/python3/dist-packages/PIL/init.py)

Did I install something in the wrong place? I am a bit confused as to where I should be installing some of the required software, specifically pigpio and pi-btaudio.

By the way, I am not using ssh. (some people have said that that can cause issues. Thanks in advance for any guidance.