FINDSCU Query problem with worklists

Hello,

I have the following problem:
I configured orthanc.json to load the Worklist plugin.

"Plugins" : [
"/usr/local/share/orthanc/plugins/libModalityWorklists.so"
  ],

"Worklists" : {
  "Enable": true,
  "Database": "/home/k002941/WorklistsDatabase"
},

  "DicomModalities" : {
    
"findscu" : [ "FINDSCU", "127.0.0.1", 1234 ],
"modality" : [ "MODALITY", "10.0.0.6", 104]
},

I put a worklist file into the specified folder.
But when I do a query I get the following error:

findscu -v -W -k "ScheduledProcedureStepSequence[0].Modality=CT" 127.0.0.1 4244
I: Requesting Association
I: Association Accepted (Max Send PDV: 16372)
I: ===================== OUTGOING DIMSE MESSAGE ====================
I: Message Type : C-FIND RQ
I: Presentation Context ID : 1
I: Message ID : 1
I: Affected SOP Class UID : FINDModalityWorklistInformationModel
I: Data Set : present
I: Priority : low
I: ======================= END DIMSE MESSAGE =======================
I: Find SCU Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Unknown Transfer Syntax
I: (0040,0100) SQ (Sequence with explicit length #=1) # 0, 1 ScheduledProcedureStepSequence
I: (fffe,e000) na (Item with explicit length #=1) # 0, 1 Item
I: (0008,0060) CS [CT] # 2, 1 Modality
I: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
I:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-FIND RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : FINDModalityWorklistInformationModel
I: Data Set : none
I: DIMSE Status : 0xc000: Error: Failed - Unable to process
I: ======================= END DIMSE MESSAGE =======================
I: Releasing Association

log file:

W1202 23:06:17.841268 main.cpp:1129] Orthanc version: 1.0.0
W1202 23:06:17.843947 OrthancInitialization.cpp:128] Reading the configuration from: "/etc/orthanc/orthanc.json"
W1202 23:06:17.844531 HttpClient.cpp:386] No certificates are provided to validate peers, set "HttpsCACertificates" if you need to do HTTPS requests
W1202 23:06:17.845203 FromDcmtkBridge.cpp:200] Loading the embedded dictionaries
W1202 23:06:17.897291 OrthancInitialization.cpp:420] Registering JPEG Lossless codecs
W1202 23:06:17.897345 OrthancInitialization.cpp:425] Registering JPEG codecs
W1202 23:06:17.913839 main.cpp:618] Loading plugin(s) from: /usr/local/share/orthanc/plugins/libModalityWorklists.so
W1202 23:06:17.914533 PluginsManager.cpp:264] Registering plugin 'worklists' (version 1.0.0)
W1202 23:06:17.914578 PluginsManager.cpp:167] Sample worklist plugin is initializing
W1202 23:06:17.914937 PluginsManager.cpp:167] The database of worklists will be read from folder: /home/k002941/WorklistsDatabase
W1202 23:06:17.914979 OrthancInitialization.cpp:910] SQLite index directory: "/var/lib/orthanc/db-v4"
W1202 23:06:17.915238 OrthancInitialization.cpp:980] Storage directory: "/var/lib/orthanc/db-v4"
W1202 23:06:17.920038 LuaContext.cpp:103] Lua says: Lua toolbox installed
W1202 23:06:17.920224 ServerScheduler.cpp:134] The server scheduler has started
W1202 23:06:17.920834 ServerContext.cpp:168] Disk compression is disabled
W1202 23:06:17.920910 ServerIndex.cpp:1372] No limit on the number of stored patients
W1202 23:06:17.920957 ServerIndex.cpp:1389] No limit on the size of the storage area
W1202 23:06:17.921967 main.cpp:751] DICOM server listening with AET ORTHANC3 on port: 4244
W1202 23:06:17.922032 MongooseServer.cpp:950] HTTP keep alive is disabled
W1202 23:06:17.922054 MongooseServer.cpp:976] HTTP compression is enabled
W1202 23:06:17.930936 main.cpp:707] HTTP server listening on port: 8044
W1202 23:06:17.931007 main.cpp:630] Orthanc has started

Please make a trace logfile.
In the log you provided there is no debug information:
http://book.orthanc-server.com/faq/dicom.html

Thanks! The trace file had the solution in it. There was a problem with the directory with the worklist in it. I changed it and now it is working fine.

Below you can see the trace logfile.

E1203 18:05:46.973731 PluginsManager.cpp:163] Inexistent folder while scanning for worklists
E1203 18:05:46.973893 FindScp.cpp:188] C-FIND request handler has failed: The specified path does not point to a directory
I1203 18:05:46.975038 CommandDispatcher.cpp:860] DUL Peer Requested Release
I1203 18:05:46.975116 CommandDispatcher.cpp:867] Association Release