Closed elrond716smith closed 5 months ago
It looks like problem is in encoding. This DICOMs have not UTF-8 encoding, but cp1251. Can support of cp1251 encoding be added? Found another CBCT with UTF-8 encoding - no problem with DICOM viewer:
This is a link with DICOMs, witch are not showing up in DICOM Viewer: https://elrond.org.ua/s/p9iowYdGG5Dyfxe
Comparing the behavior & the error log, this seems to be identical to bug#110 -> https://github.com/ayselafsar/dicomviewer/issues/110
Hi, today I experienced the same problem. Files that previously opened normally now no longer open showing the behavior described above
Log:
My system: Ubuntu 22.04.4 Apache PHP 8.2 Nextcloud 28.0.5
When the error appeared it was in the versions Nextcloud 28.03 Dicom Viewer 2.1.0
In an attempt to resolve the error I upgraded to: Nextcloud 28.05 Dicom Viewer 2.1.1 and the error persists
Any solution ?
Same here.
Ubuntu 20.04
PHP 8.2
Nextcloud 28.0.5
docker Nextcloud 29.0.0 \ Dicom Viewer 2.1.1 the problem persists
error log: JsonException Malformed UTF-8 characters, possibly incorrectly encoded
Clicking on dicom file or "Open with DICOM Viewer" open new tab with black page:
Previews are ok:
Nextcloud installed in docker-compose Version: 28.0.4
DICOM viewer app version: 2.1.1
Nextcloud log:
JsonException Malformed UTF-8 characters, possibly incorrectly encoded /var/www/html/lib/public/AppFramework/Http/JSONResponse.php рядок 71 undefinedundefinedjson_encode( [ [ [ "1.2.410.200051.1707735840", "20240212", "130342", "STUDY_DESCRIPTION", null, "And 8 more entries, set log level to debug to see all entries" ] ] ], 4194305 ) /var/www/html/lib/private/AppFramework/Http/Dispatcher.php рядок 182 OCP\AppFramework\Http\JSONResponse->render() /var/www/html/lib/private/AppFramework/App.php рядок 184 OC\AppFramework\Http\Dispatcher->dispatch( [ "OCA\\DICOMViewer\\Controller\\DisplayController", [ "OC\\AllConfig" ], [ "OC\\AppFramework\\Logger" ], [ "OC\\Files\\Type\\Detection" ], [ "OC\\Files\\Node\\LazyRoot" ], [ "OC\\Share20\\Manager" ], [ "OC\\User\\Session" ], "/var/www/html/custom_apps/dicomviewer/js/public/viewer", "/var/www/html/custom_apps/dicomviewer/js/public/viewer/assets", "/var/www/html/custom_apps/dicomviewer", "/var/www/html/data" ], "getDICOMJson" ) /var/www/html/lib/private/Route/Router.php рядок 315 OC\AppFramework\App::main( "OCA\\DICOMViewer\\Controller\\DisplayController", "getDICOMJson", [ "OC\\AppFramework\\DependencyInjection\\DIContainer" ], [ "dicomviewer.display.getDICOMJson" ] ) /var/www/html/lib/base.php рядок 1069 OC\Route\Router->match( "/apps/dicomviewer/dicomjson" ) /var/www/html/index.php рядок 39 OC::handleRequest()