Hi All,
I have been using Orthanc for a few months now mainly to take advantage of the REST api to run queries on a large set of DICOM Instances. Due to the large amount of images being uploaded to Orthanc, I have been using the postgresql plugin. I have also been using the "index-only" mode of orthanc by setting the "EnableStorage" of postgresql to "false", and setting "StoreDicom" to "false".
As I mentioned my main goal is to use orthanc to index a set of images and store only the DICOM tags and not the pixel data. The problem is that I have found that when I query orthanc for images using certain DICOM tags, it returns the "Path does not point to a regular file" error.
For example, this query works fine:
curl https://user:pass@myhost/tools/find -d '{ "Level" : "Series", "Query" : { "Manufacturer" : "*GE*"} }'
[
"fa5228d7-252fe403-19f47d39-25e4e195-450ff00b",
"d1effee1-c532e158-208eb26c-797140c3-372eaf41",
"9e1913c2-12fb4b47-d11c213c-a645b6bc-bd3282b0"
]
However when I try to query for a tag like "SliceThickness" I get an error:
curl https://user:pass@myhost/tools/find -d '{ "Level" : "Series", "Query" : { "Manufacturer" : "*GE*", "SliceThickness" : "5"} }'
{
"Details" : "The path does not point to a regular file: /var/lib/orthanc/db/5e/b1/5eb11406-d6be-4075-a70b-2937714266ea",
"HttpError" : "Internal Server Error",
"HttpStatus" : 500,
"Message" : "The specified path does not point to a regular file",
"Method" : "POST",
"OrthancError" : "The specified path does not point to a regular file",
"OrthancStatus" : 2006,
"Uri" : "/tools/find"
}
I don't understand why Orthanc is looking in the /var/lib/orthanc directory as this directory does not even exist on the host, and orthanc should not be storing the DICOMs anyway. Are not all DICOM tags stored in the JSON summary that is generated during "index-only" mode?
All help and guidance is appreciated.
Thanks,
Jasper