Hi
My current script is:
import orthanc
orthanc.LogInfo(“Hello world”)
I’ve tried various different things though and none seem to work.
Logs:
W1116 09:31:20.735008 main.cpp:1956] Orthanc version: 1.9.7
W1116 09:31:20.735008 OrthancConfiguration.cpp:117] Scanning folder “Configuration” for configuration files
W1116 09:31:20.735008 OrthancConfiguration.cpp:66] Reading the configuration from: “Configuration\indexer.json”
W1116 09:31:20.750667 OrthancConfiguration.cpp:66] Reading the configuration from: “Configuration\orthanc.json”
W1116 09:31:20.771843 OrthancConfiguration.cpp:66] Reading the configuration from: “Configuration\python.json”
W1116 09:31:20.771843 OrthancConfiguration.cpp:66] Reading the configuration from: “Configuration\serve-folders.json”
W1116 09:31:21.019419 main.cpp:878] Loading plugin(s) from: C:\Program Files\Orthanc Server\Plugins
W1116 09:31:21.103776 PluginsManager.cpp:269] Registering plugin ‘connectivity-checks’ (version 1.9.7)
W1116 09:31:21.372728 PluginsManager.cpp:269] Registering plugin ‘gdcm’ (version 1.4)
W1116 09:31:21.372728 PluginsManager.cpp:168] Version of GDCM: 3.0.8
W1116 09:31:21.372728 PluginsManager.cpp:168] GDCM throttling is disabled
W1116 09:31:21.450900 PluginsManager.cpp:269] Registering plugin ‘indexer’ (version 1.0)
W1116 09:31:21.450900 PluginsManager.cpp:168] OrthancIndexer is disabled
W1116 09:31:21.589056 PluginsManager.cpp:269] Registering plugin ‘python’ (version 3.4)
W1116 09:31:21.589056 PluginsManager.cpp:168] Python plugin is initializing
W1116 09:31:21.589056 PluginsManager.cpp:168] Using Python script “orthanc.py” from directory: C:\Program Files\Orthanc Server
W1116 09:31:21.589056 PluginsManager.cpp:168] Program name: C:\Program Files\Orthanc Server\Orthanc.exe
W1116 09:31:21.888633 PluginsManager.cpp:269] Registering plugin ‘serve-folders’ (version 1.9.7)
W1116 09:31:21.888633 PluginsManager.cpp:168] ServeFolders: Empty configuration file: No additional folder will be served!
W1116 09:31:21.888633 OrthancInitialization.cpp:358] SQLite index directory: “C:\Orthanc”
W1116 09:31:21.904287 OrthancInitialization.cpp:457] Storage directory: “C:\Orthanc”
W1116 09:31:21.904287 HttpClient.cpp:1176] HTTPS will use the CA certificates from this file: C:\Program Files\Orthanc Server\Configuration\ca-certificates.crt
W1116 09:31:21.904287 LuaContext.cpp:93] Lua says: Lua toolbox installed
W1116 09:31:21.904287 LuaContext.cpp:93] Lua says: Lua toolbox installed
W1116 09:31:21.904287 ServerContext.cpp:478] Disk compression is disabled
W1116 09:31:21.904287 ServerIndex.cpp:391] No limit on the number of stored patients
W1116 09:31:21.904287 ServerIndex.cpp:411] No limit on the size of the storage area
W1116 09:31:21.904287 ServerContext.cpp:220] Reloading the jobs from the last execution of Orthanc
W1116 09:31:21.904287 JobsEngine.cpp:271] The jobs engine has started with 2 threads
W1116 09:31:21.904287 main.cpp:1263] DICOM server listening with AET ORTHANC on port: 4242
W1116 09:31:21.904287 HttpServer.cpp:1992] HTTP compression is enabled
W1116 09:31:21.904287 main.cpp:1138] Remote LUA script execution is disabled
W1116 09:31:21.904287 HttpServer.cpp:1769] HTTP server listening on port: 8042 (HTTPS encryption is disabled, remote access is not allowed)
W1116 09:31:21.904287 main.cpp:890] Orthanc has started
W1116 09:34:23.886102 main.cpp:952] Orthanc is stopping
W1116 09:34:24.023947 main.cpp:1170] HTTP server has stopped
W1116 09:34:24.540370 main.cpp:1279] DICOM server has stopped
W1116 09:34:24.772335 JobsEngine.cpp:312] The jobs engine has stopped
W1116 09:34:25.156934 PluginsManager.cpp:219] Unregistering plugin ‘connectivity-checks’ (version 1.9.7)
W1116 09:34:25.156934 PluginsManager.cpp:219] Unregistering plugin ‘gdcm’ (version 1.4)
W1116 09:34:25.172528 PluginsManager.cpp:219] Unregistering plugin ‘indexer’ (version 1.0)
W1116 09:34:25.172528 PluginsManager.cpp:168] Folder indexer plugin is finalizing
W1116 09:34:25.172528 PluginsManager.cpp:219] Unregistering plugin ‘python’ (version 3.4)
W1116 09:34:25.172528 PluginsManager.cpp:168] Python plugin is finalizing
W1116 09:34:25.172528 PluginsManager.cpp:219] Unregistering plugin ‘serve-folders’ (version 1.9.7)
W1116 09:34:25.172528 main.cpp:2044] Orthanc has stopped