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

AttributeError: rfidiot instance has no attribute 'ser' #21

Open
Shaggs opened this issue Apr 17, 2016 · 0 comments
Open

AttributeError: rfidiot instance has no attribute 'ser' #21

Shaggs opened this issue Apr 17, 2016 · 0 comments

Comments

@Shaggs
Copy link

Shaggs commented Apr 17, 2016

got this today trying to wipe a card

`shane@laptop:~/nfc/RFIDIOt$ sudo python formatmifare1kvalue.py
formatmifare1k v0.1c (using RFIDIOt v1.0i)
  Reader: PCSC ACS ACR122U PICC Interface 00 00
          (Firmware: ACR122U214)

Card ID: XXXXXXXX

*** Warning! This will overwrite all data blocks! Proceed (y/n)? y
 sector 01: Keytype: FF 
  block 04:  Value: 00000000
Traceback (most recent call last):
  File "formatmifare1kvalue.py", line 55, in <module>
    if card.writevalueblock((sector * 4) + block,data):
  File "/home/shane/nfc/RFIDIOt/rfidiot/RFIDIOt.py", line 1770, in writevalueblock
    self.ser.write('wv%02x%s' % (block,data))
AttributeError: rfidiot instance has no attribute 'ser'
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

1 participant