Don't name Python Plugin `orthanc.py`

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.

1 Like

Hi James

Thanks for the tip !

Your explanation makes a lot of sense…

–B

1 Like

Dear James,

Thanks for your message! This is a indeed good reminder, but this information was already included in the Orthanc Book:

image

Kind Regards,
Sébastien-

1 Like

Whoops. I missed that. Thanks for clarifying