Closed copemande closed 6 months ago
@copemande Thanks for the report. Could you please send an anonymized DICOM file you are having issue with?
@ayselafsar Sent to you by email.
Good afternoon, I have encountered this problem. Is there no decision yet?
Describe the bug I have created a prototype VM before I update my main instance to Nextcloud v28 to test functionalities. I noticed, that there are some dicom studies and even single files that don't get displayed. Previews are visible in the details panel. When I try to open the folder or a file in DICOM viewer, a new tab is created and the viewer seams to launch but the window keeps black. Nextcloud throws an error: "JsonException Malformed UTF-8 characters, possibly incorrectly encoded" see below.
Other, mainly older series are opened fine. Under Nextcloud 27 and the corresponding DICOM viewer, all studies where displayed.
To Reproduce I can send credentials for the prototype VM where the error can be reproduced, if required, by email scince there is sensitive data in.
Client details:
DICOM viewer app version: 2.1.1
Operating system: Ubuntu 22
Web server: Apache
Database: MariaDB
PHP version: 8.1
Nextcloud version: 28.04
Logs
#### Nextcloud log (data/nextcloud.log) ``` JsonException Malformed UTF-8 characters, possibly incorrectly encoded /var/www/nextcloud/lib/public/AppFramework/Http/JSONResponse.php Zeile 71 undefinedundefinedjson_encode() /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php Zeile 182 OCP\AppFramework\Http\JSONResponse->render() /var/www/nextcloud/lib/private/AppFramework/App.php Zeile 184 OC\AppFramework\Http\Dispatcher->dispatch() /var/www/nextcloud/lib/private/Route/Router.php Zeile 315 OC\AppFramework\App::main() /var/www/nextcloud/lib/base.php Zeile 1069 OC\Route\Router->match() /var/www/nextcloud/index.php Zeile 39 OC::handleRequest() Roh-Protokolleintrag { "reqId": "tdoLXZhTHBRpwru2y91f", "level": 3, "time": "2024-04-03T17:08:47+00:00", "remoteAddr": "xx.xx.xx.xx", "user": "admin", "app": "index", "method": "GET", "url": "/nextcloud/index.php/apps/dicomviewer/dicomjson?file=admin|1466", "message": "Malformed UTF-8 characters, possibly incorrectly encoded", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0", "version": "28.0.4.1", "exception": { "Exception": "JsonException", "Message": "Malformed UTF-8 characters, possibly incorrectly encoded", "Code": 5, "Trace": [ { "file": "/var/www/nextcloud/lib/public/AppFramework/Http/JSONResponse.php", "line": 71, "function": "json_encode" }, { "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php", "line": 182, "function": "render", "class": "OCP\\AppFramework\\Http\\JSONResponse", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/AppFramework/App.php", "line": 184, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Route/Router.php", "line": 315, "function": "main", "class": "OC\\AppFramework\\App", "type": "::" }, { "file": "/var/www/nextcloud/lib/base.php", "line": 1069, "function": "match", "class": "OC\\Route\\Router", "type": "->" }, { "file": "/var/www/nextcloud/index.php", "line": 39, "function": "handleRequest", "class": "OC", "type": "::" } ], "File": "/var/www/nextcloud/lib/public/AppFramework/Http/JSONResponse.php", "Line": 71, "message": "Malformed UTF-8 characters, possibly incorrectly encoded", "exception": [], "CustomMessage": "Malformed UTF-8 characters, possibly incorrectly encoded" }, "id": "660d8e0da6235" }