Hi Andras,
i was able to connect properly to the xnat and its showing me the data in the left window but when I try to load one of the data into slicer window on the right its giving me error as follow:
[Qt] QSqlQuery::prepare: database not open
[Qt] SQL failed:
[Qt]
[Qt] Error:
[Qt] No query Unable to fetch row
[Qt] Failed to find patient with PatientsName=APT240 and PatientID=APT240
[Qt] Failed to find patient for SOP Instance UID = 1.3.46.670589.11.42221.5.0.8048.2022112109125589081
[Qt] Failed to find patient with PatientsName=APT240 and PatientID=APT240
[Qt] Failed to find patient for SOP Instance UID = 1.3.46.670589.11.42221.5.0.8048.2022112109090012081
[Qt] Failed to find patient with PatientsName=APT240 and PatientID=APT240
[Qt] Failed to find patient for SOP Instance UID = 1.3.46.670589.11.42221.5.0.8048.2022112109082171394
[Qt] Failed to find patient with PatientsName=APT240 and PatientID=APT240
[Qt] Failed to find patient for SOP Instance UID = 1.3.46.670589.11.42221.5.0.8048.2022112109134992983
[Qt] Failed to find patient with PatientsName=APT240 and PatientID=APT240
[Qt] Failed to find patient for SOP Instance UID = 1.3.46.670589.11.42221.5.0.8048.2022112109082131353
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Failed to find patient with PatientsName=APT240 and PatientID=APT240
[Qt] Failed to find patient for SOP Instance UID = 1.3.46.670589.11.42221.5.0.8048.2022112109132302540
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Required information (patient name, patient ID, study instance UID) is missing from dataset
[Qt] Failed to find patient with PatientsName= and PatientID=
Traceback (most recent call last):
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/slicer.org/Extensions-32706/XNATSlicer/lib/Slicer-5.7/qt-scripted-modules/XnatSlicerLib/io/Workflow_Load.py”, line 225, in __clearSceneButtonClicked
self.beginWorkflow()
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/slicer.org/Extensions-32706/XNATSlicer/lib/Slicer-5.7/qt-scripted-modules/XnatSlicerLib/io/Workflow_Load.py”, line 317, in beginWorkflow
self.MODULE.XnatIo.startDownloadQueue()
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/slicer.org/Extensions-32706/XNATSlicer/lib/Slicer-5.7/qt-scripted-modules/XnatSlicerLib/ext/Xnat/Xnat.py”, line 681, in startDownloadQueue
self.runEventCallbacks(‘downloadQueueFinished’)
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/slicer.org/Extensions-32706/XNATSlicer/lib/Slicer-5.7/qt-scripted-modules/XnatSlicerLib/ext/Xnat/Xnat.py”, line 617, in runEventCallbacks
callback(*args)
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/slicer.org/Extensions-32706/XNATSlicer/lib/Slicer-5.7/qt-scripted-modules/XnatSlicerLib/io/Workflow_Load.py”, line 283, in onDownloadFinished
loader.load()
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/slicer.org/Extensions-32706/XNATSlicer/lib/Slicer-5.7/qt-scripted-modules/XnatSlicerLib/io/Loader_Dicom.py”, line 169, in load
return self.loadDicomsFromDatabase(self.extractedFiles)
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/slicer.org/Extensions-32706/XNATSlicer/lib/Slicer-5.7/qt-scripted-modules/XnatSlicerLib/io/Loader_Dicom.py”, line 223, in loadDicomsFromDatabase
loadables = dicomScalarVolumePlugin.examine([matchedDatabaseFiles])
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/lib/Slicer-5.7/qt-scripted-modules/DICOMLib/DICOMPlugin.py”, line 157, in examine
return self.examineForImport(fileList)
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/bin/…/lib/Slicer-5.7/qt-scripted-modules/DICOMScalarVolumePlugin.py”, line 166, in examineForImport
loadablesForFiles = self.examineFiles(files)
File “/home/useradmin/Downloads/Slicer-5.7.0-2024-02-06-linux-amd64/bin/…/lib/Slicer-5.7/qt-scripted-modules/DICOMScalarVolumePlugin.py”, line 193, in examineFiles
seriesUID = slicer.dicomDatabase.fileValue(files[0], self.tags[“seriesUID”])
IndexError: list index out of range
[Qt] QSqlQuery::prepare: database not open
what could be the reason. for every data i try to load i get the same error.
thank you
regards,
Saima