TCIA connection

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

TCIA connection

Felix
This post has NOT been accepted by the mailing list yet.
Hi all,

I am trying to download a collection from the TCIA archive using slicer. I have successfully installed the TCIA browser module and added it the key for my TCIA account.

I can browse the database but I can neither load images on the scene nor add to my dicom database .

If I try to browse the database again, after trying to download something, I get this error:

Traceback (most recent call last):
  File "C:/Users/rayox010/AppData/Roaming/NA-MIC/Extensions-25516/TCIABrowser/lib/Slicer-4.6/qt-scripted-modules/TCIABrowser.py", line 682, in studiesTableSelectionChanged
    if self.studyInstanceUIDs[n].isSelected():
ValueError: Trying to call 'isSelected' on a destroyed QTableWidgetItem object

This is the full log:

[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Session start time .......: 2017-01-11 20:06:46
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Slicer version ...........: 4.6.2 (revision 25516) win-amd64 - installed
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Operating system .........: Windows / 7 / Service Pack 1 (Build 7601) - 64-bit
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Memory ...................: 6066 MB physical, 12131 MB virtual
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - CPU ......................: GenuineIntel , 2 cores, 16 logical processors
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Developer mode enabled ...: no
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Prefer executable CLI ....: no
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Additional module paths ..: C:/Users/rayox010/AppData/Roaming/NA-MIC/Extensions-25516/DeveloperToolsForExtensions/lib/Slicer-4.6/qt-scripted-modules, C:\programas\Slicer_4_6_2\XNATSlicer-master\XNATSlicer, C:/Users/rayox010/AppData/Roaming/NA-MIC/Extensions-25516/VolumeClip/lib/Slicer-4.6/qt-scripted-modules, C:/Users/rayox010/AppData/Roaming/NA-MIC/Extensions-25516/TCIABrowser/lib/Slicer-4.6/qt-scripted-modules
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Number of registered modules: 136
[DEBUG][Qt] 11.01.2017 20:06:46 [] (unknown:0) - Number of instantiated modules: 136
[INFO][Stream] 11.01.2017 20:06:47 [] (unknown:0) - Initializing terminology mapping for map file C:/programas/Slicer_4_6_2/share/Slicer-4.6/ColorFiles/Terminology//GenericAnatomyColors-SNOMED.csv
[INFO][Stream] 11.01.2017 20:06:47 [] (unknown:0) - 288 terms were read for Slicer LUT GenericAnatomyColors
[DEBUG][Qt] 11.01.2017 20:06:47 [] (unknown:0) - Number of loaded modules: 136
[DEBUG][Qt] 11.01.2017 20:06:47 [] (unknown:0) - Switch to module:  "Welcome"
[WARNING][Qt] 11.01.2017 20:07:11 [] (unknown:0) - libpng warning: iCCP: known incorrect sRGB profile
[WARNING][Qt] 11.01.2017 20:07:11 [] (unknown:0) - libpng warning: iCCP: known incorrect sRGB profile
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - Switch to module:  "TCIABrowser"
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - ctkDICOMModelPrivate::generateQuery: query is: SELECT UID as UID, PatientsName as Name, PatientsAge as Age, PatientsBirthDate as Date, PatientID as "Subject ID" FROM Patients ORDER BY "Name" DESC
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - ctkDICOMModelPrivate::updateQueries for Root: query is: SELECT UID as UID, PatientsName as Name, PatientsAge as Age, PatientsBirthDate as Date, PatientID as "Subject ID" FROM Patients ORDER BY "Name" DESC
[WARNING][Qt] 11.01.2017 20:07:14 [] (unknown:0) - QSqlQuery::exec: database not open
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - ctkDICOMModelPrivate::generateQuery: query is: SELECT UID as UID, PatientsName as Name, PatientsAge as Age, PatientsBirthDate as Date, PatientID as "Subject ID" FROM Patients ORDER BY "Name" DESC
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - ctkDICOMModelPrivate::updateQueries for Root: query is: SELECT UID as UID, PatientsName as Name, PatientsAge as Age, PatientsBirthDate as Date, PatientID as "Subject ID" FROM Patients ORDER BY "Name" DESC
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - ctkDICOMModelPrivate::generateQuery: query is: SELECT StudyInstanceUID as UID, StudyDescription as Name, ModalitiesInStudy as Scan, StudyDate as Date, AccessionNumber as Number, InstitutionName as Institution, ReferringPhysician as Referrer, PerformingPhysiciansName as Performer FROM Studies WHERE PatientsUID='30' ORDER BY "Name" DESC
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - ctkDICOMModelPrivate::updateQueries for Patient: query is: SELECT StudyInstanceUID as UID, StudyDescription as Name, ModalitiesInStudy as Scan, StudyDate as Date, AccessionNumber as Number, InstitutionName as Institution, ReferringPhysician as Referrer, PerformingPhysiciansName as Performer FROM Studies WHERE PatientsUID='30' ORDER BY "Name" DESC
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - ctkDICOMModelPrivate::generateQuery: query is: SELECT StudyInstanceUID as UID, StudyDescription as Name, ModalitiesInStudy as Scan, StudyDate as Date, AccessionNumber as Number, InstitutionName as Institution, ReferringPhysician as Referrer, PerformingPhysiciansName as Performer FROM Studies WHERE PatientsUID='31' ORDER BY "Name" DESC
[DEBUG][Qt] 11.01.2017 20:07:14 [] (unknown:0) - ctkDICOMModelPrivate::updateQueries for Patient: query is: SELECT StudyInstanceUID as UID, StudyDescription as Name, ModalitiesInStudy as Scan, StudyDate as Date, AccessionNumber as Number, InstitutionName as Institution, ReferringPhysician as Referrer, PerformingPhysiciansName as Performer FROM Studies WHERE PatientsUID='31' ORDER BY "Name" DESC
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -   File "C:/Users/rayox010/AppData/Roaming/NA-MIC/Extensions-25516/TCIABrowser/lib/Slicer-4.6/qt-scripted-modules/TCIABrowser.py", line 755, in onLoadButton
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -     self.addSelectedToDownloadQueue()
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -   File "C:/Users/rayox010/AppData/Roaming/NA-MIC/Extensions-25516/TCIABrowser/lib/Slicer-4.6/qt-scripted-modules/TCIABrowser.py", line 814, in addSelectedToDownloadQueue
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -     loadables = plugin.examine([fileList])
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -   File "C:\programas\Slicer_4_6_2\lib\Slicer-4.6\qt-scripted-modules\DICOMLib\DICOMPlugin.py", line 119, in examine
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -     return self.examineForImport(fileList)
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -   File "C:/programas/Slicer_4_6_2/lib/Slicer-4.6/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 52, in examineForImport
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -     loadablesForFiles = self.examineFiles(files)
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -   File "C:/programas/Slicer_4_6_2/lib/Slicer-4.6/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 67, in examineFiles
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) -     seriesUID = slicer.dicomDatabase.fileValue(files[0],self.tags['seriesUID'])
[CRITICAL][Stream] 11.01.2017 20:07:40 [] (unknown:0) - IndexError: tuple index out of range

Does any one of you know where the problem is and how to solve it?

Thanks in advance.

FĂ©lix.