Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_card error #5

Open
sonicpieman opened this issue Apr 4, 2019 · 1 comment
Open

add_card error #5

sonicpieman opened this issue Apr 4, 2019 · 1 comment

Comments

@sonicpieman
Copy link

sonicpieman commented Apr 4, 2019

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:

@fsahli
Copy link
Owner

fsahli commented Apr 8, 2019

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants