Invalid: C-Move crashes when doing a Lua dicommove due to invalid presentation contexts/transfer syntax

Known bugs reported by PacsOne users
Post Reply
gordon
Posts:2
Joined:Tue May 05, 2015 8:46 am
Invalid: C-Move crashes when doing a Lua dicommove due to invalid presentation contexts/transfer syntax

Post by gordon » Tue May 05, 2015 9:05 am

I'm trying to move a study from a IntelliSpace PACS server to Conquest. Unfortunately I run into a somewhat uninformative transfer syntax error:
2015-05-05 10:43:02 [CONQUESTSRV1] ***No valid presentation contexts/transfer syntax found in 1 candidates
2015-05-05 10:43:02 [CONQUESTSRV1] ***In 1 presentation contexts
2015-05-05 10:43:02 [CONQUESTSRV1] ***#Possible transfer syntaxes: 1
2015-05-05 10:43:02 [CONQUESTSRV1] *** multiplex: connection terminated
The Lua-code that causes is this rather straight forward:

Code: Select all

local cmd = newdicomobject()
cmd.QueryRetrieveLevel = 'STUDY'
cmd.StudyInstanceUID= sUID
dicommove(srcAet, destAet, cmd)
Not sure if this has to do with the compression format, it is currently set to uncompressed according to the ACRNEMA.MAP (IP-addresses changed):

Code: Select all

CONQUESTSRV1                  1.1.1.1         5678		un
CONQUESTSRV2                  1.1.1.1         5679		un
INTELLISPACE_QRP              1.1.1.2         200	 	un
INTELLISPACE_SU               1.1.1.2         200	 	un
V*                            *               1234      un
W*                            *               666       un
S*                            *               5678      un
I believe that there may be some issue with this particular study and if possible I would like to have an assert:

Code: Select all

assert(dicommove(srcAet, destAet, cmd), "Failed to move " .. sUID)
Where I allow the script to skip this particular study with a mere warning. Unfortunately Lua crashes despite the assert when this happens and I need to stop the script and restart. Any ideas how to tackle this issue?

Minor update

I've looked into what studies are causing the move to crash and so far I've found that they seem to be correlated with odd or corrupt studies. In one study it crashed on an image that appears with a (J) sign when viewing it within the IntelliSpace viewer while another one wasn't available from the source. I've tried to look at the dicomquery() to get some kind of parameter that would hint that the study should not be retrieved but so far no luck...
Last edited by gordon on Tue May 05, 2015 4:55 pm, edited 1 time in total.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: C-Move crashes when doing a Lua dicommove due to invalid presentation contexts/transfer syntax

Post by pacsone » Tue May 05, 2015 4:23 pm

gordon wrote:I'm trying to move a study from a IntelliSpace PACS server to Conquest.
Where is PacsOne Server involved in this picture? If not, you should post this question in the Conquest or Intellispace support forum since it has nothing to do with PacsOne Server.

gordon
Posts:2
Joined:Tue May 05, 2015 8:46 am

Re: C-Move crashes when doing a Lua dicommove due to invalid presentation contexts/transfer syntax

Post by gordon » Tue May 05, 2015 4:54 pm

ahh.... curse of multiple tabs... and frantic searching. Sorry, pleas ignore/delete topic.

Post Reply