Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: ('Evt11', 'Sta1') #16

Open
GoogleCodeExporter opened this issue Sep 7, 2015 · 1 comment
Open

KeyError: ('Evt11', 'Sta1') #16

GoogleCodeExporter opened this issue Sep 7, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

For some files I sometimes, but not always get the following error:

Exception in thread Thread-63:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.7_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python/2.7.7_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pynetdicom-0.8.1-py2.7.egg/netdicom/DULprovider.py", line 264, in run
    self.SM.Action(evt, self)
  File "/usr/local/Cellar/python/2.7.7_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pynetdicom-0.8.1-py2.7.egg/netdicom/fsm.py", line 481, in Action
    action_name = TransitionTable[(event, self.CurrentState)]
KeyError: ('Evt11', 'Sta1')

This only happens when I create the association as:
 ts = [dicom_file.file_meta.TransferSyntaxUID]
MyAE = AE(aet_client, 0, SupportedTransferSyntax, [], ts)

If I set ts to:
   ts = [
        ExplicitVRLittleEndian,
        ImplicitVRLittleEndian,
        ExplicitVRBigEndian
        ]

then I do not get this error.

Original issue reported on code.google.com by agrothberg on 29 Oct 2014 at 4:45

@naggie
Copy link
Collaborator

naggie commented Jul 26, 2017

image
I just got the same error. The transfer was otherwise successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants