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

Dicom viewer error #106

Closed
Harrykuch opened this issue Mar 25, 2024 · 4 comments · Fixed by #107
Closed

Dicom viewer error #106

Harrykuch opened this issue Mar 25, 2024 · 4 comments · Fixed by #107
Assignees
Labels
bug Something isn't working verified This is verified to be worked on

Comments

@Harrykuch
Copy link

Harrykuch commented Mar 25, 2024

Hi.
I open the dicom file on my server. The error appears in a new window:

Internal Server Error
The request could not be processed by the server.
If this happens again, send the server administrator a detailed message about what happened below.
Detailed information can be found in the server log.

Client details: Desktop Win 11 64b Chrome 123.0.6312.58
Server details: Linux raspberrypi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64
Nextcloud Hub 7 (28.0.3)

Nextcloud log:
ValueError Path cannot be empty
foreach() argument must be of type array|object, string given at /var/www/html/nextcloud/apps/dicomviewer/templates/viewer.php#12
foreach() argument must be of type array|object, string given at /var/www/html/nextcloud/apps/dicomviewer/lib/Controller/DisplayController.php#51

2024-03-25_13-07-50
image
image

What to do?

@Harrykuch Harrykuch added the bug Something isn't working label Mar 25, 2024
@ayselafsar ayselafsar added the duplicate This issue or pull request already exists label Mar 26, 2024
@ayselafsar
Copy link
Owner

Duplicate of #103
Fixed by #105

@Argon267
Copy link

Getting still the same error after update:

ValueError - Path cannot be empty
foreach() argument must be of type array|object, string given at /var/www/nextcloud/apps/dicomviewer/templates/viewer.php#12

@ayselafsar
Copy link
Owner

Confirmed that we have missed to fix it in that file, will apply a fix soon.

@ayselafsar ayselafsar reopened this Mar 27, 2024
@ayselafsar ayselafsar removed the duplicate This issue or pull request already exists label Mar 27, 2024
@ayselafsar ayselafsar self-assigned this Mar 27, 2024
@ayselafsar ayselafsar added the verified This is verified to be worked on label Mar 27, 2024
ayselafsar added a commit that referenced this issue Mar 27, 2024
ayselafsar added a commit that referenced this issue Mar 27, 2024
@Harrykuch
Copy link
Author

I tested the application. The viewer is working. Thank you! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified This is verified to be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants