{"action":"created","issue":{"url":"https://api.github.com/repos/oozie/pyhumod/issues/15","repository_url":"https://api.github.com/repos/oozie/pyhumod","labels_url":"https://api.github.com/repos/oozie/pyhumod/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/oozie/pyhumod/issues/15/comments","events_url":"https://api.github.com/repos/oozie/pyhumod/issues/15/events","html_url":"https://github.com/oozie/pyhumod/issues/15","id":138440858,"number":15,"title":"E1750 hanging on print m.show_model()","user":{"login":"Snowlav","id":9736784,"avatar_url":"https://avatars.githubusercontent.com/u/9736784?v=3","gravatar_id":"","url":"https://api.github.com/users/Snowlav","html_url":"https://github.com/Snowlav","followers_url":"https://api.github.com/users/Snowlav/followers","following_url":"https://api.github.com/users/Snowlav/following{/other_user}","gists_url":"https://api.github.com/users/Snowlav/gists{/gist_id}","starred_url":"https://api.github.com/users/Snowlav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snowlav/subscriptions","organizations_url":"https://api.github.com/users/Snowlav/orgs","repos_url":"https://api.github.com/users/Snowlav/repos","events_url":"https://api.github.com/users/Snowlav/events{/privacy}","received_events_url":"https://api.github.com/users/Snowlav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-04T10:36:41Z","updated_at":"2016-03-24T14:35:37Z","closed_at":null,"body":"Hey everyone,\r\n\r\nSo finally got that dongle in the mail and delivered.\r\nHowever whenever I try to print the model it just hangs, for _ever_ untill I ctrl-z / keyboard interrupt.\r\n\r\nHowever, I was toying with pyserial after, and I did _something_ to trigger a change in the path of the dongle. /dev/ttyUSB0 - 3 now became /dev/ttyUSB1 - 4 .\r\n\r\nWith this weird change in mind, I went back to try humod, this time it gave me an error and told me it couldn't find /dev/ttyUSB0 . (not strange since the paths scooped up a position)\r\nSo I ran the same script, only this time with: m = humod.Modem('/dev/ttyUSB1') and strangely enough the script printed the model number instantly.\r\n\r\nHowever, after rebooting my pi, all paths are back to normal, and the issue is back.\r\n\r\nCan someone shine some light on this?\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/oozie/pyhumod/issues/comments/200864977","html_url":"https://github.com/oozie/pyhumod/issues/15#issuecomment-200864977","issue_url":"https://api.github.com/repos/oozie/pyhumod/issues/15","id":200864977,"user":{"login":"fmalina","id":10356928,"avatar_url":"https://avatars.githubusercontent.com/u/10356928?v=3","gravatar_id":"","url":"https://api.github.com/users/fmalina","html_url":"https://github.com/fmalina","followers_url":"https://api.github.com/users/fmalina/followers","following_url":"https://api.github.com/users/fmalina/following{/other_user}","gists_url":"https://api.github.com/users/fmalina/gists{/gist_id}","starred_url":"https://api.github.com/users/fmalina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmalina/subscriptions","organizations_url":"https://api.github.com/users/fmalina/orgs","repos_url":"https://api.github.com/users/fmalina/repos","events_url":"https://api.github.com/users/fmalina/events{/privacy}","received_events_url":"https://api.github.com/users/fmalina/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T14:35:37Z","updated_at":"2016-03-24T14:35:37Z","body":"The above tip works on OS X. I don't have a Raspberry Pi to test on.\r\nAlso format/re-install will just prevent you from understanding the problem and would only help if your default state was working."}}