I'm getting the same issue. Interestingly however, when I use VirtualBox with a windowsXP VM, I dont face this issue !
[main] enable debug output for module 'nfc'
[nfc.clf] searching for reader with path 'usb'
[nfc.dev.transport] using pyusb version 1.x
[nfc.dev.transport] path matches '^(usb|)$'
[nfc.dev] trying usb:072f:2200
[nfc.dev] import nfc.dev.acr122
[nfc.dev.transport] >>> 6b050000000000000000ff00480000
[nfc.dev.transport] <<< 830a000000000002810041435231323255323133
[nfc.dev.acr122] GetFirmwareVersion called with timeout 100 ms
[nfc.dev.transport] >>> 6b070000000000000000ff00000002d402
[nfc.dev.transport] <<< 830a000000000002810041435231323255323133
Traceback (most recent call last):
File "examples/tagtool.py", line 439, in <module>
TagTool().run()
File "/home/user/Downloads/shared/code/nfcpy/examples/cli.py", line 283, in run
while self.run_once() and self.options.loop:
File "/home/user/Downloads/shared/code/nfcpy/examples/cli.py", line 230, in run_once
try: clf = nfc.ContactlessFrontend(device)
File "/home/user/Downloads/shared/code/nfcpy/nfc/clf.py", line 105, in __init__
if path and not self.open(path):
File "/home/user/Downloads/shared/code/nfcpy/nfc/clf.py", line 156, in open
self.dev = nfc.dev.connect(path)
File "/home/user/Downloads/shared/code/nfcpy/nfc/dev/__init__.py", line 64, in connect
device = driver.init(usb)
File "/home/user/Downloads/shared/code/nfcpy/nfc/dev/acr122.py", line 92, in init
chipset = Chipset(transport)
File "/home/user/Downloads/shared/code/nfcpy/nfc/dev/acr122.py", line 50, in __init__
super(Chipset, self).__init__(transport)
File "/home/user/Downloads/shared/code/nfcpy/nfc/dev/pn53x.py", line 126, in __init__
ic, ver, rev, support = self.get_firmware_version()
File "/home/user/Downloads/shared/code/nfcpy/nfc/dev/pn53x.py", line 243, in get_firmware_version
else: ic, ver, rev, support = data
ValueError: too many values to unpack
I'm getting the same issue. Interestingly however, when I use VirtualBox with a windowsXP VM, I dont face this issue !
[main] enable debug output for module 'nfc' 00000ff00480000 281004143523132 3255323133 00000ff00000002 d402 281004143523132 3255323133 tagtool. py", line 439, in <module> user/Downloads/ shared/ code/nfcpy/ examples/ cli.py" , line 283, in run user/Downloads/ shared/ code/nfcpy/ examples/ cli.py" , line 230, in run_once Frontend( device) user/Downloads/ shared/ code/nfcpy/ nfc/clf. py", line 105, in __init__ user/Downloads/ shared/ code/nfcpy/ nfc/clf. py", line 156, in open connect( path) user/Downloads/ shared/ code/nfcpy/ nfc/dev/ __init_ _.py", line 64, in connect user/Downloads/ shared/ code/nfcpy/ nfc/dev/ acr122. py", line 92, in init user/Downloads/ shared/ code/nfcpy/ nfc/dev/ acr122. py", line 50, in __init__ _init__ (transport) user/Downloads/ shared/ code/nfcpy/ nfc/dev/ pn53x.py" , line 126, in __init__ firmware_ version( ) user/Downloads/ shared/ code/nfcpy/ nfc/dev/ pn53x.py" , line 243, in get_firmware_ version
[nfc.clf] searching for reader with path 'usb'
[nfc.dev.transport] using pyusb version 1.x
[nfc.dev.transport] path matches '^(usb|)$'
[nfc.dev] trying usb:072f:2200
[nfc.dev] import nfc.dev.acr122
[nfc.dev.transport] >>> 6b0500000000000
[nfc.dev.transport] <<< 830a00000000000
[nfc.dev.acr122] GetFirmwareVersion called with timeout 100 ms
[nfc.dev.transport] >>> 6b0700000000000
[nfc.dev.transport] <<< 830a00000000000
Traceback (most recent call last):
File "examples/
TagTool().run()
File "/home/
while self.run_once() and self.options.loop:
File "/home/
try: clf = nfc.Contactless
File "/home/
if path and not self.open(path):
File "/home/
self.dev = nfc.dev.
File "/home/
device = driver.init(usb)
File "/home/
chipset = Chipset(transport)
File "/home/
super(Chipset, self)._
File "/home/
ic, ver, rev, support = self.get_
File "/home/
else: ic, ver, rev, support = data
ValueError: too many values to unpack