View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001969 | Slicer4 | Module DICOM | public | 2012-05-02 09:40 | 2014-03-06 05:55 |
Reporter | kirbyju | Assigned To | pieper | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.1.0 | ||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.4.0 | ||
Summary | 0001969: can't import dicom images | ||||
Description | After starting Slicer, from "Welcome to Slicer" module: 1) Click "Load DICOM Data" I always receive a popup dialogue box stating the following: The database file path "./ctkDICOM-Database/ctkDICOM.sql" cannot be opened. If I click OK, then "Show DICOM Browser" to try again I do not get any more popups but the images still do not import and I can see in my terminal the following error repeating for each image that was in the directory: Processing /home/kirbyju/Pictures/PROSTATE-DIAGNOSIS/ProstateDx-01-0021/1.3.6.1.4.1.14519.5.2.1.4792.2002.119570163000912331050065782444/000001/000025.dcm | ||||
Additional Information | $ lsb_release -a $ uname -a | ||||
Tags | No tags attached. | ||||
I just tried running slicer with sudo and it works. Perhaps there is some way to avoid having to do this? |
|
Hi - You can chose the database directory by browsing to a location of your choice with the button labeled "Local Database" in the dicom study browser. If you pick a directory where you have right access this should allow you to avoid using 'sudo'. Please add a note if that works for you - we can change the behavior of the module to give a dialog if it can't save in the currently selected directory. -Steve |
|
I see the button you mentioned. The full path is: /home/kirbyju/Slicer-4.1.0-linux-amd64/ctkDICOM-Database/ As a test I deleted my Slicer installation and started fresh. I ran Slicer without sudo, and the default directory for the local database is the same as above. When the error occurred I checked and no directory was created in this location. I then created a directory from the dialogue box that pops up called "DICOM-Data" and chose this as the location for the Local Database. This worked correctly so I believe the problem is that Slicer is just having problems with automatically creating the ctkDICOM-Database directory if it doesn't yet exist. |
|
Things should be clearer after rev 20713 http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=20713 |
|
When I just extracted the new release to a new directory and ran Slicer (nightly) it somehow remembered my settings from the Slicer (stable) release. So I deleted both directories completely and extracted Slicer (nightly) again in an attempt to fully recreate the issue on the new release. Upon clicking "Load DICOM Data" I got the following error: The database file path "/home/kirbyju/Slicer-4.1.0-linux-amd64/DICOM-Database/ctkDICOM.sql" cannot be opened. After hitting OK on that error it presents the DICOM Details popup window. I clicked Import and selected a directory containing DICOM images. It looked like it worked but nothing showed up in the DICOM Details window afterwards. No error message either. So then I clicked the Local Database button, and created a directory called DICOM-Database and set this to be my LocalDatabase folder. Now importing works. I think it would be ideal if Slicer could just automatically create this directory if it's not found when you first click the Load DICOM Data but it appears something still prevents this from happening naturally. |
|
Fixed in r20817 One of the issues reported in the notes (that the wrong dicom directory persists across reinstalls) is related to this issue and needs to be solved on an application-wide basis. |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-02 09:40 | kirbyju | New Issue | |
2012-05-02 09:40 | kirbyju | Status | new => assigned |
2012-05-02 09:40 | kirbyju | Assigned To | => pieper |
2012-05-02 11:52 | kirbyju | Note Added: 0004125 | |
2012-05-02 13:13 | pieper | Note Added: 0004126 | |
2012-05-02 13:13 | pieper | Status | assigned => feedback |
2012-05-03 05:42 | kirbyju | Note Added: 0004145 | |
2012-05-18 06:33 | pieper | Target Version | => Slicer 4.2.0 AHM Summer 2012 |
2012-07-30 05:04 | pieper | Note Added: 0005444 | |
2012-07-30 05:04 | pieper | Resolution | open => fixed |
2012-08-02 09:38 | kirbyju | Note Added: 0005490 | |
2012-08-22 04:57 | pieper | Relationship added | related to 0002406 |
2012-08-22 05:17 | pieper | Relationship added | related to 0001655 |
2012-08-22 05:19 | pieper | Note Added: 0005679 | |
2012-08-22 05:19 | pieper | Status | feedback => resolved |
2014-03-06 05:07 | jcfr | Note Added: 0010953 | |
2014-03-06 05:10 | jcfr | Status | resolved => closed |
2014-03-06 05:55 | jcfr | Fixed in Version | => Slicer 4.4.0 |