Just a quick note to maybe save someone hours of debugging in the future.
Do not name the orthanc python script orthanc.py
.
I did this today and orthanc starts, the logs show that the script loads, but it doesn’t execute anything in the script. I’m not a python expert but I suspect because it conflicts with the orthanc default module.
Hope this helps someone.