AttributeError: 'NDEF' object has no attribute 'attr' on SCL3711

Asked by lixia

I plug in SCL3711 nfc dongle on ubuntu 11.10 and run 'tagtool.py show' ,messages as below:
searching for a usable reader
searching for a usb bus reader
searching for a tty reader
searching for a usb tty reader
no reader found
no contactless reader
Then i run 'modprobe -r pn533', and touch a tag on dongle, then there are error as below:
searching for a usable reader
searching for a usb bus reader
using SCM Micro SCL3711-NFC&RW at usb:003:003
touch a tag
Type2Tag ATQ=4400 SAK=00 UID=04d02e5a532880
NDEF attribute data:
Traceback (most recent call last):
  File "./tagtool.py", line 343, in <module>
    tag = args.func(args)
  File "./tagtool.py", line 72, in show_tag
    print(" " + " ".join(["{0:02x}".format(b) for b in tag.ndef.attr]))
AttributeError: 'NDEF' object has no attribute 'attr'

Could you please help me? Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
nfcpy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#1

Sorry, this is a bug. Attribute data can only be printed for type 3 tags. It's corrected with rev 142.

Can you help with this problem?

Provide an answer of your own, or ask lixia for more information if necessary.

To post a message you must log in.