music-cards icon indicating copy to clipboard operation
music-cards copied to clipboard

add_card error

Open sonicpieman opened this issue 5 years ago • 1 comments

This is the error I receive when I run add_card.py. Anyone else getting this?

add_card.py Traceback (most recent call last): File "add_card.py", line 5, in cardList = CardList() File "/root/CardList.py", line 8, in init self.cardList = self.readList() File "/root/CardList.py", line 11, in readList with open(self.path + '/cardList.csv', mode='r') as infile:

sonicpieman avatar Apr 04 '19 20:04 sonicpieman

I am pretty sure you didn't paste the entire error, but try executing the command "touch cardList.csv" This will create an empty file. Also, check the comments of the blog post, there are ton of solutions to problems like this: https://fsahli.wordpress.com/2015/11/02/music-cards-rfid-cards-spotify-raspberry-pi/

fsahli avatar Apr 08 '19 16:04 fsahli