AutoClassify.py unable to write to disk

Hi All,

I have been playing round with Orthanc and so far it’s really impressive.

Looking to utilise the AutoClassify.py script in order to replicate data to a secondary location, unfortunately I am running into problems.

Background - Orthanc version 1.9.3, built from source on ubuntu 20.04 LTS. Starts up fine and can upload data as one would expect.

When executing the Autoclassify.py script it states that it cannot “write to disk”

python3 Autoclassify.py --all

Connecting to Orthanc on address: http://127.0.0.1:8042
Unable to write instance 9ee738f2-474480f1-faf00017-5bb96d24-2446d964 to the disk
Everything has been processed: Waiting…
Everything has been processed: Waiting…
Everything has been processed: Waiting…
Everything has been processed: Waiting…
Everything has been processed: Waiting…
Everything has been processed: Waiting…
Everything has been processed: Waiting…
Everything has been processed: Waiting…
Everything has been processed: Waiting…
^CTraceback (most recent call last):
File “AutoClassify.py”, line 129, in
time.sleep(1)
KeyboardInterrupt

I pretty sure it’s not a permissions/quota issue as I have tried various target locations using the ‘–target option’ but always receive the same error , i.e. unable to write to disk. Uploading new data while script running also results in the same out come.

Find trace log attached.

Any advice would be greatly appreciated.

Thanks

Chris

Orthanc.log (19.6 KB)

Hello,

This issue was due to an incompatibility of the “AutoClassify.py” sample script with Python 3.x. It has just been fixed by the following changeset:
https://hg.orthanc-server.com/orthanc/rev/43f13842bc3b

Regards,

Sébastien-

Great, works a treat.

Thanks

Chris