STORESCP and STORESCU

185 views
Skip to first unread message

Thales Castro

unread,
May 6, 2016, 8:49:44 PM5/6/16
to pynetdicom
Hi, I'm new in Python and DICOM. I'm trying to send a dx image, but it has given the following error:

      1 Terminal

>> python storescp.py -aet TEST 7000
starting AE ...  done

        2 Terminal

>> python storescu.py -aec TEST localhost 7000 filename.dcm
Traceback (most recent call last):
  File "storescu.py", line 79, in <module>
    st = assoc.SCU(d, 1)
  File "/usr/local/lib/python2.7/dist-packages/netdicom/applicationentity.py", line 53, in SCU
    obj = UID2SOPClass(ds.SOPClassUID)()
TypeError: 'NoneType' object is not callable

Can someone help me?

Patrice Munger

unread,
May 6, 2016, 9:28:06 PM5/6/16
to pynetdicom
Hi Thales

It looks like the SOP class is not found. Do you use the released version 0.8.1? Quite a few have been added since this release so you might want to try with the last revision. Let me know if it fixes your problem.

Patrice
Reply all
Reply to author
Forward
0 new messages