Weasis 3.5.4 image display issue

273 views
Skip to first unread message

nutun

unread,
Nov 4, 2019, 1:43:11 AM11/4/19
to dcm4che
Hi,

-> I have deployed dcm4chee-arc-psql-5.19.0-secure which is working fine.
-> In HAL Management Console deployed weasis.war (3.5.4), weasis-ext.war (3.5.4) weasis-pacs-connector.war (7.1.1).
-> Using latest dicom-dcm4chee-arc.properties and weasis-pacs-connector.properties files.

-> Changed following attributes in configurations:
Invike Image Display Patient URL:
weasis://$dicom:rs --url "http://my.pacs:8080/dcm4chee-arc/aets/DCM4CHEE/rs" -r "&patientID={}"  --query-ext "&includedefaults=false" -H "Authorization: &access_token={}

Invike Image Display Study URL:
weasis://$dicom:rs --url "http://my.pacs:8080/dcm4chee-arc/aets/DCM4CHEE/rs" -r "&studyUID={}"  --query-ext "&includedefaults=false" -H "Authorization: &access_token={}

-> Installed weasis 3.5.4 on my windows desktop.

Now I am loading image and as a result weasis shows blank screen. And nothing is showing in logs.

Needs guidance to solve this issue.

Nicolas Roduit

unread,
Nov 4, 2019, 4:06:04 AM11/4/19
to dcm4che
I updated the documentation to explain how to connect with DICOMWeb directly. So, this configuration does not require any installation on the server-side (weasis.war, weasis-ext.war, weasis-pacs-connector.war), see the pages:

I noticed that a double quote was missing at the end of the command.

nutun

unread,
Nov 4, 2019, 6:57:20 AM11/4/19
to dcm4che
Thank you Nicolas. It solved my issue.

chris bashall

unread,
Nov 15, 2019, 9:20:59 PM11/15/19
to dcm4che
I should also add to this (in case other people have issues) i was having a similar issue as you described but had the correct urls. Turns out it didnt work for me in Chrome - but did work in Firefox and the new MS edge chromium browser - which was weird. It was latest version of Chrome

Nicolas Roduit

unread,
Nov 16, 2019, 2:50:14 AM11/16/19
to dcm4che
If the error is reproducible, can you describe how to reproduce it?

chris bashall

unread,
Nov 16, 2019, 3:59:19 AM11/16/19
to dcm4che
Hi nicolas,


My build
- postgres 10.4 , 5.19.0 archieve secure ui, wildfly 18 , keycloak 7

Can you try to see if you can launch weasis 3.5.4 from this version of chrome ?
Version 78.0.3904.97 (Official Build) (64-bit)

Chris

Nicolas Roduit

unread,
Nov 21, 2019, 3:01:37 PM11/21/19
to dcm4che
I don't see any issue with this version of chrome!

chris bashall

unread,
Nov 25, 2019, 8:46:56 AM11/25/19
to dcm4che
Perhaps its a permissions setting? 

Harley

unread,
Nov 26, 2019, 11:03:33 PM11/26/19
to dcm4che
Hi, i'm new and i've been following this group for a while, but i can't find under Configuration > Devices > dcm4chee-arc > Extensions > Archive Device, either Invoke Image Display Patient URL nor Invoke Image Display Study URL attributes.

Could you guide me where are those?

nutun

unread,
Nov 27, 2019, 12:41:13 AM11/27/19
to dcm4che
Hi Harley,

Go to Configuration -> Devices -> dcm4chee-arc -> Extensions -> Edit Extension of Device Extension -> Edit Extension of Archive Extension -> Attributes and find the Invoke Image Display Patient URL and Invoke Image Display Study URL.

screenshots are attached for understanding.
ScreenShot02.JPG
ScreenShot01.JPG

Harley

unread,
Nov 27, 2019, 1:21:04 AM11/27/19
to dcm...@googlegroups.com
Thanks for the support and response, but in the same page i don't have those attributes see the picture
I'm using the docker installation with secured (UI and RESTs) latest versions of each and the latest version of Weasis .war files
to make appear the eye icon in the UI, but when i hit the eye icon, for a study for example, i always got a 404 Error page without logs

Untitled.jpg

Gunter Zeilinger

unread,
Nov 27, 2019, 2:56:56 AM11/27/19
to dcm...@googlegroups.com


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, November 27, 2019 7:21 AM, Harley <harley...@gmail.com> wrote:

Thanks for the support and response, but in the same page i don't have those attributes see the picture
I'm using the docker installation with secured (UI and RESTs) latest versions of each and the latest version of Weasis .war files


--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.

nutun

unread,
Nov 30, 2019, 3:40:29 AM11/30/19
to dcm4che
Hi gunterze,

I have followed the link https://github.com/dcm4che/dcm4chee-arc-light/wiki/Invoke-Image-Display . but eye icon is not shown in my study list. I have added the screenshot on my configurations.



On Wednesday, November 27, 2019 at 12:56:56 PM UTC+5, gunterze wrote:
On Wednesday, November 27, 2019 7:21 AM, Harley <harle...@gmail.com> wrote:

Thanks for the support and response, but in the same page i don't have those attributes see the picture
I'm using the docker installation with secured (UI and RESTs) latest versions of each and the latest version of Weasis .war files


--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm...@googlegroups.com.
invoke.JPG

Harley

unread,
Nov 30, 2019, 9:22:06 PM11/30/19
to dcm4che
Thanks for your help, the problem with my config was solved

nutun

unread,
Dec 1, 2019, 11:24:10 PM12/1/19
to dcm4che
Hi Harley,

Please share the config steps which you done to solve the issue.

Harley

unread,
Dec 2, 2019, 12:41:06 AM12/2/19
to dcm4che
Hi, 
1 - i just opened the weasis-pacs-connector.war file with 7-Zip for example
2 - downloaded dicom-dcm4chee-arc.properties and weasis-pacs-connector.properties files as you did
3 - then in "weasis-pacs-connector.war\WEB-INF\classes\" i replaced those files changing the names by the originals
P.D: you don't need to copy any files to the container, just use wildfly console to deploy the .wars after the modifications in weasis-pacs-connector.war

nutun

unread,
Dec 2, 2019, 2:04:39 AM12/2/19
to dcm4che
Thank you harley for your quick response.

I have followed the steps you suggested but issue is still there.

According to my understanding, the configuration you suggested is helpful if there is eye icon shown with study and image loading fails by clicking on eye icon. But my issue is one step before. i.e there is no eye icon shown when I click on three vertical dots.

As per my understanding my issue is likely relevant to the invoking the image / study display URL etc.

I am attaching screenshot for this.
dcminvoke.JPG

Sheki Esadi

unread,
Dec 2, 2019, 5:59:20 AM12/2/19
to dcm...@googlegroups.com
Hi,

so the eye icon to be shown, there have to be two conditions fulfilled:
1. The links have to be configured in the (in study selected) web Applications, (in selected Web Applications->Property by setting the IID_PATIENT_URL and IID_STUDY_URL to the viewer URLs like described in the description of the config)
2. The role (of current logged in user) have to have the right permissions to see the icon. (You can check this by going in to the UI config (myArchive (default called `dcm4chee-arc`) -> Device Extension -> UI Configuration->default->Permission and by searching the permission `Action - Studies - Open Viewer` and in there if your role is listed in the `Accepted User Role` (see screenshot).

Best Regards
Shefki Esadi

nutun

unread,
Dec 3, 2019, 1:31:58 AM12/3/19
to dcm4che
Thank you Sheki Asadi.

I have followed both steps you suggested but I am still unable to see eye icon in study list.
I am attaching screen shots of my configuration.
invoke-01.JPG
invoke-02.JPG

Sheki Esadi

unread,
Dec 3, 2019, 5:15:19 AM12/3/19
to dcm4che
Hi,
which version do you have (maybe you have still the older version, where the configuration is a litle bit different)?
can you make sure that you have the role "admin", or in addition add the role "user" to the permissions, only for testing (The role "user" hase every UI user).

Best Regards
Shefki Esadi

nutun

unread,
Dec 4, 2019, 11:33:45 PM12/4/19
to dcm...@googlegroups.com

I have dcm4chee-arc-psql:5.19.1-secure with weasis.war:3.5.4, weasis-ext.war:3.5.4, weasis-pacs-connector.war:7.0.0 and weasis-pacs-connector.war:7.1.1 (tried / tested these both versions of weasis-pacs-connector)
I have role admin.

Sheki Esadi

unread,
Dec 5, 2019, 11:51:53 AM12/5/19
to dcm4che
Hi,

I can not reproduce your bug, pleas make sure you have the newest changes (especially the changes of this issue)
- To be sure that that's not an permission problem, activate super user.
- Maybe you can send me the main.xxxxxx.js (Open the inspect (In google chrome with F12), reload the page, go to network tab find the file with main.SOMECODE.js, go right click and save a) file of the UI, so I can check if you have the needed code in there.

Best Regards
Shefki Esadi

Harley

unread,
Dec 10, 2019, 2:43:11 AM12/10/19
to dcm4che
Now, after deployed the most recent docker implementation using https://github.com/dcm4che/dcm4chee-arc-light/wiki/Distribute-secured-archive-services-and-Elastic-Stack-over-several-hosts-without-Docker-Swarm
I have follow the steps for weasis-pacs-connector integration as https://github.com/dcm4che/dcm4chee-arc-light/wiki/Invoke-Image-Display
I'm facing a new issue when i clicked the eye icon in the UI(nothing happens) with a canceled status in the connection
see the image please
Untitled.jpg
Untitled1.jpg

Sheki Esadi

unread,
Dec 10, 2019, 6:17:14 AM12/10/19
to dcm...@googlegroups.com
Hi,

the connection should not happen in the UI as AJAX (there is actually no code in the UI that's doing that...).
Try adding in the URL config `&target=_blank` (this should open the URL/viewer in a new tab). (Before adding this you could maybe try to copy the URL (wright after the canceled connection happens) and paste it in the new tab, so you can check if the URL (without the dcm4chee UI) is actually correct. Try the same thing with different browser (to be sure that that's not a browser bug), make sure that the new window is not blocked...
Since this is now more an issue that's related to the viewer and not only to the UI, if the the issue stays unresolved, I suggest you maybe open another post (so the weasis guys could post there opinions about the bug too)

Best Regards
Shefki Esadi

nutun

unread,
Dec 11, 2019, 4:55:24 AM12/11/19
to dcm4che
Hi,

My problem is still there. Now I have tried two methods which are:

1. In Apache Directory Studio, I have added new attributes i.e dcmInvokeImageDisplayPatientURL and dcmInvokeImageDisplayStudyURL. And then added values against these attributes (screen hot attached) but eye icon did not displayed.

2. I have followed the link https://github.com/dcm4che/dcm4chee-arc-light/wiki/Invoke-Image-Display and created LDIF file for Secured Archive (both UI and RESTful secured). When I am importing that LDIF file through Apache Directory Studio, there comes an error message which is shown in screen shot.
01 - inoke-attribute.JPG
02 - ldif-error.JPG

Sheki Esadi

unread,
Dec 11, 2019, 6:17:34 AM12/11/19
to dcm4che
Hi,
I thought you have now another bug - not the missing eye-button (according to your preview post)? If I misunderstood that, how did you trigger that event that you were showing in the screenshot with canceled connection?
1. The dcmInvokeImageDisplayPatientURL and dcmInvokeImageDisplayStudyURL are the old methods, they should not effect the eye-button anymore.
2. The error only means that the values already exist in the LDAP, so that's ok.
- Make sure that the dcmPropeties are available in the selected webApplication by opening the inspect (F12) reload the page -> go to network tab-> select the webApplication service `...webapps/?dcmWebServiceClass=QIDO_RS`-> select the element that has the `dcmWebAppName` the same that you select in the dropdown and check if there are the dcmProperties. (See screenshot)

Best Regards
Shefki Esadi


Gunter Zeilinger

unread,
Dec 11, 2019, 6:22:48 AM12/11/19
to dcm...@googlegroups.com



Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
Screenshot from 2019-12-11 12-21-23.png
Screenshot from 2019-12-11 12-20-12.png
Reply all
Reply to author
Forward
0 new messages