I’m trying to get the WebViewer plugin to work. I have copied the .json from
the documentation page, adjusted it slightly and placed in /etc/orthanc. It is
read, but the webviewer does not come up anyway.
Hi Axel,
Speaking from experience. Make sure your Configuration file is valid JSON. If your using a simple text editor it is really easy to enter invalid JSON (in my case I had a space between the ** and / ending a comment. That space caused the rest of my config to be treated as a comment). Try google for a JSON validating and make sure your config is valid.
Best of luck.
James
When Orthanc is unable to parson the JSON file (it often happens with missing commas…), the message is rather clear.
Have you tried running orthanc with the --verbose flag ?
These lines should show up:
W1115 09:39:43.613740 main.cpp:702] Loading plugin(s) from: C:\Program Files\Orthanc Server\Plugins\OrthancWebViewer.dll
W1115 09:39:43.779777 PluginsManager.cpp:269] Registering plugin ‘web-viewer’ (version 2.5)
W1115 09:39:43.788737 PluginsManager.cpp:168] Initializing the Web viewer
W1115 09:39:43.795923 PluginsManager.cpp:168] Web viewer using 6 threads for the decoding of the DICOM images
W1115 09:39:43.802982 PluginsManager.cpp:168] Storing the cache of the Web viewer in folder: C:\OrthancTmp_dcm\WebViewerCache
I1115 09:39:43.826150 PluginsManager.cpp:172] No change in the versions, no need to clear the cache of the Web viewer
W1115 09:39:43.836111 PluginsManager.cpp:168] Web viewer using a cache of 100 MB
…
Thanks for the hints - I feel it just was an error in the .json file, I did a small change and now it works
BTW, this is the only plugins-line in the .json files!