{"action":"closed","issue":{"url":"https://api.github.com/repos/pydicom/pynetdicom3/issues/121","repository_url":"https://api.github.com/repos/pydicom/pynetdicom3","labels_url":"https://api.github.com/repos/pydicom/pynetdicom3/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/pydicom/pynetdicom3/issues/121/comments","events_url":"https://api.github.com/repos/pydicom/pynetdicom3/issues/121/events","html_url":"https://github.com/pydicom/pynetdicom3/issues/121","id":304994582,"number":121,"title":"storescu.py AttributeError","user":{"login":"cjgoods","id":15963631,"avatar_url":"https://avatars2.githubusercontent.com/u/15963631?v=4","gravatar_id":"","url":"https://api.github.com/users/cjgoods","html_url":"https://github.com/cjgoods","followers_url":"https://api.github.com/users/cjgoods/followers","following_url":"https://api.github.com/users/cjgoods/following{/other_user}","gists_url":"https://api.github.com/users/cjgoods/gists{/gist_id}","starred_url":"https://api.github.com/users/cjgoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjgoods/subscriptions","organizations_url":"https://api.github.com/users/cjgoods/orgs","repos_url":"https://api.github.com/users/cjgoods/repos","events_url":"https://api.github.com/users/cjgoods/events{/privacy}","received_events_url":"https://api.github.com/users/cjgoods/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-14T01:45:45Z","updated_at":"2018-03-17T02:18:36Z","closed_at":"2018-03-17T02:18:36Z","author_association":"NONE","body":"I've been attempting to send images into a remote pacs, but receiving the following error when using the storescu.py from the cli.  I'm calling with arguments host, port, dicom-in, and -aec.  (I did rename the file to cstore.py to have it better organized in my project.)  I added a print statement for dataset after the file was read so I could see if the metadata was available.  It returns: _(0008, 0016) SOP Class UID UI: CT Image Storage_.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"cstore.py\", line 156, in <module>\r\n    status = assoc.send_c_store(dataset)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pynetdicom3-0.1.0-py3.6.egg/pynetdicom3/association.py\", line 929, in send_c_store\r\n    rsp, _ = self.dimse.receive_msg(wait=True)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pynetdicom3-0.1.0-py3.6.egg/pynetdicom3/dimse.py\", line 306, in receive_msg\r\n    self.on_receive_dimse_message(self.message)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pynetdicom3-0.1.0-py3.6.egg/pynetdicom3/dimse.py\", line 421, in on_receive_dimse_message\r\n    callback[type(message)](message)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pynetdicom3-0.1.0-py3.6.egg/pynetdicom3/dimse.py\", line 848, in debug_receive_c_store_rsp\r\n    sop_class = uid_to_sop_class(cs.AffectedSOPClassUID)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pydicom/dataset.py\", line 480, in __getattr__\r\n    return super(Dataset, self).__getattribute__(name)\r\nAttributeError: 'Dataset' object has no attribute 'AffectedSOPClassUID'\r\n```\r\n\r\nSuggestions?"}}
{"actor":{"display_login":"scaramallion"}}