{"action":"created","issue":{"url":"https://api.github.com/repos/babca/python-gsmmodem/issues/15","repository_url":"https://api.github.com/repos/babca/python-gsmmodem","labels_url":"https://api.github.com/repos/babca/python-gsmmodem/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/babca/python-gsmmodem/issues/15/comments","events_url":"https://api.github.com/repos/babca/python-gsmmodem/issues/15/events","html_url":"https://github.com/babca/python-gsmmodem/issues/15","id":186103602,"number":15,"title":"encoding error on handling status report","user":{"login":"fredyrommy","id":22022841,"avatar_url":"https://avatars.githubusercontent.com/u/22022841?v=3","gravatar_id":"","url":"https://api.github.com/users/fredyrommy","html_url":"https://github.com/fredyrommy","followers_url":"https://api.github.com/users/fredyrommy/followers","following_url":"https://api.github.com/users/fredyrommy/following{/other_user}","gists_url":"https://api.github.com/users/fredyrommy/gists{/gist_id}","starred_url":"https://api.github.com/users/fredyrommy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredyrommy/subscriptions","organizations_url":"https://api.github.com/users/fredyrommy/orgs","repos_url":"https://api.github.com/users/fredyrommy/repos","events_url":"https://api.github.com/users/fredyrommy/events{/privacy}","received_events_url":"https://api.github.com/users/fredyrommy/received_events","type":"User","site_admin":false},"labels":[{"id":424636500,"url":"https://api.github.com/repos/babca/python-gsmmodem/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-29T22:04:52Z","updated_at":"2016-11-24T11:29:09Z","closed_at":null,"body":"```\nDEBUG: write: AT+CMGS=28\nDEBUG: response: ['> ']\nDEBUG: write: 0021000E91269835751694980000105479D83D0FAFE769D0BCBE9E97E7\nDEBUG: response: ['+CMGS: 35', 'OK']\nDEBUG: notification: ['+CDSI: \"SR\",19']\nDEBUG: SMS status report received\nDEBUG: write: AT+CPMS=\"SR\"\nDEBUG: response: ['+CPMS: 19,50,50,50', 'OK']\nDEBUG: write: AT+CMGR=19\nDEBUG: response: ['+CMGR: 1,,26', '0006230E9126983575169498610103409544C26101034095448200', 'OK']\nException in thread Thread-3:\nTraceback (most recent call last):\n  File \"/usr/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\n    self.run()\n  File \"/usr/lib/python2.7/threading.py\", line 754, in run\n    self.__target(*self.__args, **self.__kwargs)\n  File \"build/bdist.linux-armv7l/egg/gsmmodem/modem.py\", line 1106, in __threadedHandleModemNotification\n    self._handleSmsStatusReport(line)\n  File \"build/bdist.linux-armv7l/egg/gsmmodem/modem.py\", line 1274, in _handleSmsStatusReport\n    report = self.readStoredSms(msgIndex, msgMemory)\n  File \"build/bdist.linux-armv7l/egg/gsmmodem/modem.py\", line 1360, in readStoredSms\n    smsDict = decodeSmsPdu(pdu)\n  File \"build/bdist.linux-armv7l/egg/gsmmodem/pdu.py\", line 412, in decodeSmsPdu\n    result['time'] = _decodeTimestamp(pduIter)\n  File \"build/bdist.linux-armv7l/egg/gsmmodem/pdu.py\", line 498, in _decodeTimestamp\n    return datetime.strptime(dateStr[:-2], '%y%m%d%H%M%S').replace(tzinfo=SmsPduTzInfo(timeZoneStr))\n  File \"build/bdist.linux-armv7l/egg/gsmmodem/pdu.py\", line 60, in __init__\n    self._setPduOffsetStr(pduOffsetStr)\n  File \"build/bdist.linux-armv7l/egg/gsmmodem/pdu.py\", line 66, in _setPduOffsetStr\n    self._offset = timedelta(minutes=(int(pduOffsetStr) * 15))\nValueError: invalid literal for int() with base 10: '2c'\n```\n"},"comment":{"url":"https://api.github.com/repos/babca/python-gsmmodem/issues/comments/262754879","html_url":"https://github.com/babca/python-gsmmodem/issues/15#issuecomment-262754879","issue_url":"https://api.github.com/repos/babca/python-gsmmodem/issues/15","id":262754879,"user":{"login":"babca","id":1409904,"avatar_url":"https://avatars.githubusercontent.com/u/1409904?v=3","gravatar_id":"","url":"https://api.github.com/users/babca","html_url":"https://github.com/babca","followers_url":"https://api.github.com/users/babca/followers","following_url":"https://api.github.com/users/babca/following{/other_user}","gists_url":"https://api.github.com/users/babca/gists{/gist_id}","starred_url":"https://api.github.com/users/babca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babca/subscriptions","organizations_url":"https://api.github.com/users/babca/orgs","repos_url":"https://api.github.com/users/babca/repos","events_url":"https://api.github.com/users/babca/events{/privacy}","received_events_url":"https://api.github.com/users/babca/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T11:29:09Z","updated_at":"2016-11-24T11:29:09Z","body":"probably fixed in the latest commit, please test."}}
{"actor":{"display_login":"babca"}}