{"action":"created","issue":{"url":"https://api.github.com/repos/nfcpy/nfcpy/issues/55","repository_url":"https://api.github.com/repos/nfcpy/nfcpy","labels_url":"https://api.github.com/repos/nfcpy/nfcpy/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/nfcpy/nfcpy/issues/55/comments","events_url":"https://api.github.com/repos/nfcpy/nfcpy/issues/55/events","html_url":"https://github.com/nfcpy/nfcpy/issues/55","id":183643810,"number":55,"title":"Crash when init MiFare Tag","user":{"login":"patrickFuerst","id":655428,"avatar_url":"https://avatars.githubusercontent.com/u/655428?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickFuerst","html_url":"https://github.com/patrickFuerst","followers_url":"https://api.github.com/users/patrickFuerst/followers","following_url":"https://api.github.com/users/patrickFuerst/following{/other_user}","gists_url":"https://api.github.com/users/patrickFuerst/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickFuerst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickFuerst/subscriptions","organizations_url":"https://api.github.com/users/patrickFuerst/orgs","repos_url":"https://api.github.com/users/patrickFuerst/repos","events_url":"https://api.github.com/users/patrickFuerst/events{/privacy}","received_events_url":"https://api.github.com/users/patrickFuerst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-18T10:10:21Z","updated_at":"2016-11-11T13:24:52Z","closed_at":"2016-11-10T15:45:52Z","body":"When activating a MiFare Tag it crashes and I get the following Traceback:\n\n```\nINFO:nfc.clf:searching for reader on path usb:04cc:2533\nINFO:nfc.clf:using SensorID StickID PN533v2.7 at usb:001:035\nDEBUG:nfc.tag:trying to activate 106A sdd_res=0496ED52E03F80 sel_res=00 sens_res=4400\nDEBUG:nfc.tag:trying type 2 tag activation for 106A\nDEBUG:nfc.tag.tt2_nxp:check if authenticate command is available\nDEBUG:nfc.tag.tt2_nxp:check if version command is available\nTraceback (most recent call last):\n  File \"/home/nfc/tests/NFCWrite.py\", line 37, in <module>\n    tag = nfc.tag.activate(clf, tag_target)\n  File \"build/bdist.linux-x86_64/egg/nfc/tag/__init__.py\", line 402, in activate\n  File \"build/bdist.linux-x86_64/egg/nfc/tag/__init__.py\", line 420, in activate_tt2\n  File \"build/bdist.linux-x86_64/egg/nfc/tag/tt2.py\", line 664, in activate\n  File \"build/bdist.linux-x86_64/egg/nfc/tag/tt2_nxp.py\", line 689, in activate\n  File \"build/bdist.linux-x86_64/egg/nfc/tag/tt2_nxp.py\", line 590, in __init__\nTypeError: __init__() takes exactly 5 arguments (3 given)\n[Finished in 2.9s with exit code 1]\n```\n\nAlso happens with the Tagtool.\nLooks like some arguments are missing: https://github.com/nfcpy/nfcpy/blob/stable/0.11/nfc/tag/tt2_nxp.py#L590\n"},"comment":{"url":"https://api.github.com/repos/nfcpy/nfcpy/issues/comments/259956523","html_url":"https://github.com/nfcpy/nfcpy/issues/55#issuecomment-259956523","issue_url":"https://api.github.com/repos/nfcpy/nfcpy/issues/55","id":259956523,"user":{"login":"mascii","id":13311608,"avatar_url":"https://avatars.githubusercontent.com/u/13311608?v=3","gravatar_id":"","url":"https://api.github.com/users/mascii","html_url":"https://github.com/mascii","followers_url":"https://api.github.com/users/mascii/followers","following_url":"https://api.github.com/users/mascii/following{/other_user}","gists_url":"https://api.github.com/users/mascii/gists{/gist_id}","starred_url":"https://api.github.com/users/mascii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mascii/subscriptions","organizations_url":"https://api.github.com/users/mascii/orgs","repos_url":"https://api.github.com/users/mascii/repos","events_url":"https://api.github.com/users/mascii/events{/privacy}","received_events_url":"https://api.github.com/users/mascii/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T13:24:52Z","updated_at":"2016-11-11T13:24:52Z","body":"It's working fine. Thanks!\r\n\r\n```\r\n$ python tagtool.py\r\n[nfc.clf] searching for reader on path usb\r\n[nfc.clf] using SONY RC-S380/P NFC Port-100 v1.11 at usb:020:003\r\n** waiting for a tag **\r\nType2Tag 'Mifare Ultralight EV1 (MF0UL11)' ID=XXXXXXXXXXXXXX\r\n```"}}
{"actor":{"display_login":"mascii"}}