{"action":"created","issue":{"url":"https://api.github.com/repos/StevenTso/ACS-ACR122U-NFC-Reader/issues/2","repository_url":"https://api.github.com/repos/StevenTso/ACS-ACR122U-NFC-Reader","labels_url":"https://api.github.com/repos/StevenTso/ACS-ACR122U-NFC-Reader/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/StevenTso/ACS-ACR122U-NFC-Reader/issues/2/comments","events_url":"https://api.github.com/repos/StevenTso/ACS-ACR122U-NFC-Reader/issues/2/events","html_url":"https://github.com/StevenTso/ACS-ACR122U-NFC-Reader/issues/2","id":133436641,"number":2,"title":"Linux:error while running the NFCReader.py file","user":{"login":"abdulazizalmass","id":14962433,"avatar_url":"https://avatars.githubusercontent.com/u/14962433?v=3","gravatar_id":"","url":"https://api.github.com/users/abdulazizalmass","html_url":"https://github.com/abdulazizalmass","followers_url":"https://api.github.com/users/abdulazizalmass/followers","following_url":"https://api.github.com/users/abdulazizalmass/following{/other_user}","gists_url":"https://api.github.com/users/abdulazizalmass/gists{/gist_id}","starred_url":"https://api.github.com/users/abdulazizalmass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdulazizalmass/subscriptions","organizations_url":"https://api.github.com/users/abdulazizalmass/orgs","repos_url":"https://api.github.com/users/abdulazizalmass/repos","events_url":"https://api.github.com/users/abdulazizalmass/events{/privacy}","received_events_url":"https://api.github.com/users/abdulazizalmass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-13T14:20:12Z","updated_at":"2016-04-11T18:06:45Z","closed_at":null,"body":"the code error is down:\r\n`risktaker@risktaker-G73Jh:~/Desktop/NFC reader$ python NFCReader.py \r\nTraceback (most recent call last):\r\n  File \"NFCReader.py\", line 13, in <module>\r\n    r = readers()\r\n  File \"/usr/lib/python2.7/dist-packages/smartcard/System.py\", line 41, in readers\r\n    return smartcard.reader.ReaderFactory.ReaderFactory.readers(groups)\r\n  File \"/usr/lib/python2.7/dist-packages/smartcard/reader/ReaderFactory.py\", line 59, in readers\r\n    zreaders += fm(groups)\r\n  File \"/usr/lib/python2.7/dist-packages/smartcard/pcsc/PCSCReader.py\", line 107, in readers\r\n    hcontext = PCSCContext().getContext()\r\n  File \"/usr/lib/python2.7/dist-packages/smartcard/pcsc/PCSCContext.py\", line 53, in __init__\r\n    PCSCContext.instance = PCSCContext.__PCSCContextSingleton()\r\n  File \"/usr/lib/python2.7/dist-packages/smartcard/pcsc/PCSCContext.py\", line 40, in __init__\r\n    raise EstablishContextException(hresult)\r\nsmartcard.pcsc.PCSCExceptions.EstablishContextException: 'Failure to establish context: Service not available.'\r\n`"},"comment":{"url":"https://api.github.com/repos/StevenTso/ACS-ACR122U-NFC-Reader/issues/comments/208480380","html_url":"https://github.com/StevenTso/ACS-ACR122U-NFC-Reader/issues/2#issuecomment-208480380","issue_url":"https://api.github.com/repos/StevenTso/ACS-ACR122U-NFC-Reader/issues/2","id":208480380,"user":{"login":"fr0zensn0w","id":14796026,"avatar_url":"https://avatars.githubusercontent.com/u/14796026?v=3","gravatar_id":"","url":"https://api.github.com/users/fr0zensn0w","html_url":"https://github.com/fr0zensn0w","followers_url":"https://api.github.com/users/fr0zensn0w/followers","following_url":"https://api.github.com/users/fr0zensn0w/following{/other_user}","gists_url":"https://api.github.com/users/fr0zensn0w/gists{/gist_id}","starred_url":"https://api.github.com/users/fr0zensn0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fr0zensn0w/subscriptions","organizations_url":"https://api.github.com/users/fr0zensn0w/orgs","repos_url":"https://api.github.com/users/fr0zensn0w/repos","events_url":"https://api.github.com/users/fr0zensn0w/events{/privacy}","received_events_url":"https://api.github.com/users/fr0zensn0w/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T18:06:45Z","updated_at":"2016-04-11T18:06:45Z","body":"That worked, just had to run the echo commands as root and that worked. Thanks!"}}