Hi,
I’m trying to use TCIA BROWSER, but slicer doesn’t let me.
This is the error that gives, how can I solve it?
Thank you!
Hi,
I’m trying to use TCIA BROWSER, but slicer doesn’t let me.
Thank you!
Can you provide the whole error log?
Instructions are here: https://www.slicer.org/wiki/Documentation/Nightly/Report_a_problem
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Session start time …: 2020-12-29 16:50:43
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Slicer version …: 4.13.0-2020-12-25 (revision 29542 / 210e827) macosx-amd64 - installed release
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Operating system …: macOS / 11.0.1 / 20B50 - 64-bit
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Memory …: 8192 MB physical, 1024 MB virtual
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - CPU …: GenuineIntel Intel® Core™ i5-7267U CPU @ 3.10GHz, 2 cores, 4 logical processors
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, Sequential threading
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Qt configuration …: version 5.15.1, with SSL, requested OpenGL 3.2 (core profile)
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Developer mode enabled …: no
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Application path …: /Applications/Slicer.app/Contents/MacOS
[DEBUG][Qt] 29.12.2020 16:50:43 [] (unknown:0) - Additional module paths …: /Applications/Slicer.app/Contents/Extensions-29542/TCIABrowser/lib/Slicer-4.13/qt-scripted-modules
[WARNING][Qt] 29.12.2020 16:50:45 [] (unknown:0) - Populating font family aliases took 1313 ms. Replace uses of missing font family “.SF NS Text” with one that exists to avoid this cost.
[DEBUG][Python] 29.12.2020 16:50:47 [Python] (/Applications/Slicer.app/Contents/lib/Python/lib/python3.6/site-packages/pydicom/datadict.py:432) - Reversing DICOM dictionary so can look up tag from a keyword…
[DEBUG][Python] 29.12.2020 16:50:49 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.13/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 29.12.2020 16:50:49 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.13/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 29.12.2020 16:50:49 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.13/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 29.12.2020 16:50:49 [] (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - Switch to module: “TCIABrowser”
[DEBUG][Qt] 29.12.2020 16:51:01 [] (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] 29.12.2020 16:51:01 [] (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] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - SQL failed
Bad SQL: SELECT Version from SchemaInfo;
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - Error text:
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - SQL failed
Bad SQL: SELECT Filename from Images;
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - Error text:
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - SQL failed
Bad SQL: DROP TABLE IF EXISTS ‘SchemaInfo’;
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - Error text:
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[WARNING][Qt] 29.12.2020 16:51:01 [] (unknown:0) - QSqlQuery::exec: database not open
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - SQL failed
Bad SQL: SELECT SOPInstanceUID, SeriesInstanceUID FROM Images WHERE DisplayedFieldsUpdatedTimestamp IS NULL;
[DEBUG][Qt] 29.12.2020 16:51:01 [] (unknown:0) - Error text:
[CRITICAL][Stream] 29.12.2020 16:51:01 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 29.12.2020 16:51:01 [] (unknown:0) - File “/Applications/Slicer.app/Contents/Extensions-29542/TCIABrowser/lib/Slicer-4.13/qt-scripted-modules/TCIABrowser.py”, line 95, in init
[CRITICAL][Stream] 29.12.2020 16:51:01 [] (unknown:0) - os.makedirs(self.storagePath)
[CRITICAL][Stream] 29.12.2020 16:51:01 [] (unknown:0) - File “/Applications/Slicer.app/Contents/bin/…/lib/Python/lib/python3.6/os.py”, line 210, in makedirs
[CRITICAL][Stream] 29.12.2020 16:51:02 [] (unknown:0) - makedirs(head, mode, exist_ok)
[CRITICAL][Stream] 29.12.2020 16:51:02 [] (unknown:0) - File “/Applications/Slicer.app/Contents/bin/…/lib/Python/lib/python3.6/os.py”, line 220, in makedirs
[CRITICAL][Stream] 29.12.2020 16:51:02 [] (unknown:0) - mkdir(name, mode)
[CRITICAL][Stream] 29.12.2020 16:51:02 [] (unknown:0) - OSError: [Errno 30] Read-only file system: ‘./ctkDICOM-Database’
[CRITICAL][Qt] 29.12.2020 16:51:02 [] (unknown:0) - qSlicerPythonCppAPI::instantiateClass - [ “TCIABrowserWidget” ] - Failed to instantiate scripted pythonqt class “TCIABrowserWidget” 0x7f800b2c05f8
[DEBUG][Qt] 29.12.2020 16:51:02 [] (unknown:0) - Warning, the module “TCIABrowser” has no widget representation
[DEBUG][Qt] 29.12.2020 16:51:02 [] (unknown:0) - Warning, there is no UI for the module “TCIABrowser”
This is the error log
TCIA module needs Slicer to have a valid DICOM database. Switch to DICOM module to create and initialize the database (you just need to do it once after you install Slicer on your computer).