{"action":"created","issue":{"url":"https://api.github.com/repos/spacetelescope/stsci.tools/issues/11","repository_url":"https://api.github.com/repos/spacetelescope/stsci.tools","labels_url":"https://api.github.com/repos/spacetelescope/stsci.tools/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/spacetelescope/stsci.tools/issues/11/comments","events_url":"https://api.github.com/repos/spacetelescope/stsci.tools/issues/11/events","html_url":"https://github.com/spacetelescope/stsci.tools/issues/11","id":186313390,"number":11,"title":"irafutils cannot decode ascii in Python 3","user":{"login":"pllim","id":2090236,"avatar_url":"https://avatars.githubusercontent.com/u/2090236?v=3","gravatar_id":"","url":"https://api.github.com/users/pllim","html_url":"https://github.com/pllim","followers_url":"https://api.github.com/users/pllim/followers","following_url":"https://api.github.com/users/pllim/following{/other_user}","gists_url":"https://api.github.com/users/pllim/gists{/gist_id}","starred_url":"https://api.github.com/users/pllim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pllim/subscriptions","organizations_url":"https://api.github.com/users/pllim/orgs","repos_url":"https://api.github.com/users/pllim/repos","events_url":"https://api.github.com/users/pllim/events{/privacy}","received_events_url":"https://api.github.com/users/pllim/received_events","type":"User","site_admin":false},"labels":[{"id":328433669,"url":"https://api.github.com/repos/spacetelescope/stsci.tools/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"cdsontag","id":4621076,"avatar_url":"https://avatars.githubusercontent.com/u/4621076?v=3","gravatar_id":"","url":"https://api.github.com/users/cdsontag","html_url":"https://github.com/cdsontag","followers_url":"https://api.github.com/users/cdsontag/followers","following_url":"https://api.github.com/users/cdsontag/following{/other_user}","gists_url":"https://api.github.com/users/cdsontag/gists{/gist_id}","starred_url":"https://api.github.com/users/cdsontag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdsontag/subscriptions","organizations_url":"https://api.github.com/users/cdsontag/orgs","repos_url":"https://api.github.com/users/cdsontag/repos","events_url":"https://api.github.com/users/cdsontag/events{/privacy}","received_events_url":"https://api.github.com/users/cdsontag/received_events","type":"User","site_admin":false},"assignees":[{"login":"cdsontag","id":4621076,"avatar_url":"https://avatars.githubusercontent.com/u/4621076?v=3","gravatar_id":"","url":"https://api.github.com/users/cdsontag","html_url":"https://github.com/cdsontag","followers_url":"https://api.github.com/users/cdsontag/followers","following_url":"https://api.github.com/users/cdsontag/following{/other_user}","gists_url":"https://api.github.com/users/cdsontag/gists{/gist_id}","starred_url":"https://api.github.com/users/cdsontag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdsontag/subscriptions","organizations_url":"https://api.github.com/users/cdsontag/orgs","repos_url":"https://api.github.com/users/cdsontag/repos","events_url":"https://api.github.com/users/cdsontag/events{/privacy}","received_events_url":"https://api.github.com/users/cdsontag/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2016-10-31T15:28:18Z","updated_at":"2016-12-20T23:32:58Z","closed_at":null,"body":"Python 3 incompatibility causes traceback below, as reported by Zhixin Peng from School of Astronomy and Space Science, Nanjing University, China:\r\n\r\n```\r\n--> displ m92v.fits\r\nframe to be written into (1:16) (1):\r\nz1=488. z2=611.9556\r\n--> imexam\r\nTraceback (innermost last):\r\n  File \"<CL script CL1>\", line 1, in <module>\r\n    iraf.imexam(_save=1)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stsci/tools/irafutils.py\", line 402, in tkread\r\n    return _TkRead().read(file, n)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stsci/tools/irafutils.py\", line 482, in read\r\n    self.widget.mainloop()\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tkinter/__init__.py\", line 1120, in mainloop\r\n    self.tk.mainloop(n)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stsci/tools/irafutils.py\", line 495, in _read\r\n    if PY3K: snew = snew.decode('ascii')\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0x95 in position 41: ordinal not in range(128)\r\n```\r\n\r\nSee Footprints Ticket 9446."},"comment":{"url":"https://api.github.com/repos/spacetelescope/stsci.tools/issues/comments/268390212","html_url":"https://github.com/spacetelescope/stsci.tools/issues/11#issuecomment-268390212","issue_url":"https://api.github.com/repos/spacetelescope/stsci.tools/issues/11","id":268390212,"user":{"login":"lupinix","id":878088,"avatar_url":"https://avatars.githubusercontent.com/u/878088?v=3","gravatar_id":"","url":"https://api.github.com/users/lupinix","html_url":"https://github.com/lupinix","followers_url":"https://api.github.com/users/lupinix/followers","following_url":"https://api.github.com/users/lupinix/following{/other_user}","gists_url":"https://api.github.com/users/lupinix/gists{/gist_id}","starred_url":"https://api.github.com/users/lupinix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lupinix/subscriptions","organizations_url":"https://api.github.com/users/lupinix/orgs","repos_url":"https://api.github.com/users/lupinix/repos","events_url":"https://api.github.com/users/lupinix/events{/privacy}","received_events_url":"https://api.github.com/users/lupinix/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T23:32:58Z","updated_at":"2016-12-20T23:32:58Z","body":"Another FITS producing the error, this one was created years ago by a completely different software (Atik Artemis Capture), the Rx And one has been created by KStars (2.7.2) / INDI (1.3.1) if that matters.\r\n\r\n[wr134_v_4s_001.fit.zip](https://github.com/spacetelescope/stsci.tools/files/665021/wr134_v_4s_001.fit.zip)\r\n"}}
{"actor":{"display_login":"lupinix"}}