wlmscpfs - Missing parameter port

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Johannes
Posts: 5
Joined: Wed, 2011-08-31, 13:41

wlmscpfs - Missing parameter port

#1 Post by Johannes »

Good day. We have downloaded the latest wlmscpfs and tried to use it
as we used it in the past as follow.

wlmscpfs -dfr -dfp c:\Active_Dicom_Worklist\ 143
W: (notice: dcmdata auto correction disabled.)
$dcmtk: wlmscpfs v3.6.0 2011-01-06 $


But the moment we do a query from a modality we get

wlmscpfs: DICOM Basic Worklist Management SCP (based on data files)
error: Missing parameter port


There is nothing extra, even if we put debug on, make logging trace nothing. We actually dont know what to do to get it to work. The reason we want to move to the new one is the older one has a problem with modalities where it just hangs suddenly and without error or anything, we have to manually kill it and open it up again to get it to work.

Used on Windows platform (XP - 2003 server)

Thanks in advance for any help

Johannes Pretorius

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi,

I guess it works in single process mode (option -s?) -- I expect the parsing of the backslashes in your path name to be the problem. Try to put them into quotes, i.e.

Code: Select all

wlmscpfs -dfr -dfp "c:\Active_Dicom_Worklist\" 143
HTH,
Michael

Johannes
Posts: 5
Joined: Wed, 2011-08-31, 13:41

#3 Post by Johannes »

Michael Onken wrote:Hi,

Code: Select all

wlmscpfs -dfr -dfp "c:\Active_Dicom_Worklist" 143
HTH,
Michael
Thanks for quick reply. If I do it as above it gives the following :

wlmscpfs -dfr -dfp "c:\Active_Dicom_Worklist\ 143" 143

E: Cannot connect to data source.



If I do it as follow

wlmscpfs -dfr -dfp "c:\Active_Dicom_Worklist" 143

it gives the following immediatly

$dcmtk: wlmscpfs v3.6.0 2011-01-06 $

wlmscpfs: DICOM Basic Worklist Management SCP (based on data files)
error: Missing parameter port


with -s option

wlmscpfs -s -dfr -dfp c:\Active_Dicom_Worklist\ 143

that seems to work more correctly (have not setup what it must query for yet).

W: (notice: dcmdata auto correction disabled.)
W: DIMSE Warning: (MODALITY,ALL): sendMessage: dataset is empty
E: Find SCP Failed: 0006:020e DIMSE Failed to send message
E: DIMSE failure (aborting association): 0006:020e DIMSE Failed to send message



Anything else I can maybe look at ?

thanks for help

Johannes
Posts: 5
Joined: Wed, 2011-08-31, 13:41

#4 Post by Johannes »

This is interesting, If I remove -dfr

then it works ! Not ideal as we need the -dfr switch. but I am going to play with this.

thought I mention it.

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#5 Post by Michael Onken »

Hi Johannes,

the first try you quoted in the last post is wrong since the port is doubled -- I removed that error from me 20 seconds after my post by editing it but you were faster it seems ;)

The error "missing parameter/port" is very weird. For
W: DIMSE Warning: (MODALITY,ALL): sendMessage: dataset is empty
E: Find SCP Failed: 0006:020e DIMSE Failed to send message
Did you send an empty worklist request?

I have to try out your setup as well in order to have more ideas...hope I can do it during the day.

Best regards,
Michael

Johannes
Posts: 5
Joined: Wed, 2011-08-31, 13:41

#6 Post by Johannes »

Michael Onken wrote:Hi Johannes,

The error "missing parameter/port" is very weird. For
W: DIMSE Warning: (MODALITY,ALL): sendMessage: dataset is empty
E: Find SCP Failed: 0006:020e DIMSE Failed to send message
Did you send an empty worklist request?

Best regards,
Michael
Thanks for your time and help, yes basically I just send a demo query that came with DVTk, just used it to test worklist, not really setup for my files, thus wont worry about that so much, but what is very interesting is the it does work if the -dfr is removed. (Just all my files are ignored as I have min files to create a query from the RIS, but it does work. I am playing to see if there is way I can get it to work with -dfr , but thought it was very intersting.

thanks

Johannes Pretorius
(South Africa)

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#7 Post by J. Riesmeier »

As far as I can see, the problem is related to the trailing "\" in the path you've provided to the -dfp option. The following " is not treated as expected if there is a \ in front of it. And in multi-process mode the wlmscpfs tool adds " around all parameters (as far as I remember).

Welcome to the strange world of M...$... Win... :?

Johannes
Posts: 5
Joined: Wed, 2011-08-31, 13:41

#8 Post by Johannes »

J. Riesmeier wrote:As far as I can see, the problem is related to the trailing "" in the path you've provided to the -dfp option. The following " is not treated as expected if there is a \ in front of it. And in multi-process mode the wlmscpfs tool adds " around all parameters (as far as I remember).

Welcome to the strange world of M...$... Win... :?
good day,. Thanks for the reply. We have tried with and without the " with a trailing \ and without, all these have the same result. but the moment I remove the disabling of file rejections, then it works (but reject my files as they are the minimum).

I am trying to see if there is way to view what calls are made when the process is forked ? that can give a indication of what is going wrong


thanks

Johannes

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 1 guest