Error when importing dicom

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when importing dicom

Harary, Maya

Hello,

 

I am all of a sudden having difficulty importing certain dicomb directories and getting the following error message (after selecting directoty > OK > Add Link):

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem

 

I press OK on the error message and Slicer opens to import progress window (percentage imported) which is stuck on 0%. When I close that window, the patient appears in the dicom browser (without any studies) and I am unable to delete the patient…

 

Any advice?

 

Thanks!

Maya

 

 

 

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: Error when importing dicom

Steve Pieper-2
Hi Maya -

Is this something that happened with a new version of Slicer or with new data?

It might help to look at the log file (see the Help menu, Report a Bug dialog).  If there's no patient info in it you could share it with the list for help debugging.

-Steve

On Wed, Mar 1, 2017 at 9:46 PM, Harary, Maya <[hidden email]> wrote:

Hello,

 

I am all of a sudden having difficulty importing certain dicomb directories and getting the following error message (after selecting directoty > OK > Add Link):

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem

 

I press OK on the error message and Slicer opens to import progress window (percentage imported) which is stuck on 0%. When I close that window, the patient appears in the dicom browser (without any studies) and I am unable to delete the patient…

 

Any advice?

 

Thanks!

Maya

 

 

 

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: Error when importing dicom

Harary, Maya
In reply to this post by Harary, Maya

Hi Steve and all

 

I am using the 4.6.2 version (haven’t changed version I’m using recently). I was in the middle of working with the program and everything was going fine, I closed the previous scene and when I went to import a new dicom (same dataset as before but new patient) this problem started happening.

 

This is the error log – first error was when trying to delete the patient from the dicom browser (the browser didn’t show any studies for this patient) and the second error in the bottom was me trying to add the patient again and receiving an error message. I redacted the patient’s name.

 

Would appreciate any help!

 

Thanks

Maya

 

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Session start time .......: 2017-03-02 17:09:11

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Slicer version ...........: 4.6.2 (revision 25516) macosx-amd64 - installed

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Operating system .........: Mac OS X / 10.11.6 / 15G1217 - 64-bit

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Memory ...................: 8192 MB physical, 0 MB virtual

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - CPU ......................: GenuineIntel Intel(R) Core(TM) M-5Y51 CPU @ 1.10GHz, 2 cores, 4 logical processors

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Developer mode enabled ...: no

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Prefer executable CLI ....: yes

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Additional module paths ..: (none)

[DEBUG][Qt] 02.03.2017 17:09:17 [] (unknown:0) - Number of registered modules: 133

[DEBUG][Qt] 02.03.2017 17:09:19 [] (unknown:0) - Number of instantiated modules: 133

[WARNING][Qt] 02.03.2017 17:09:19 [] (unknown:0) - When loading module "CLIEventTest" , the dependency "CLI4Test" failed to be loaded.

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - Initializing terminology mapping for map file /Applications/Slicer.app/Contents/share/Slicer-4.6/ColorFiles/Terminology//GenericAnatomyColors-SNOMED.csv

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - 288 terms were read for Slicer LUT GenericAnatomyColors

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInARowTest" , the dependency "CLI4Test" failed to be loaded.

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInParallelTest" , the dependency "CLI4Test" failed to be loaded.

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Number of loaded modules: 130

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Switch to module: "Welcome"

[CRITICAL][FD] 02.03.2017 17:10:14 [] (unknown:0) - 2017-03-02 17:10:14.308 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:10:17 [] (unknown:0) - Switch to module: "DICOM"

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:24 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Deleting 1 patients

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.694.png

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.695.png

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[CRITICAL][FD] 02.03.2017 17:11:42 [] (unknown:0) - 2017-03-02 17:11:42.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:08 [] (unknown:0) - 2017-03-02 17:13:08.509 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:18 [] (unknown:0) - 2017-03-02 17:13:18.124 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Indexing

 

 

 

"/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Processing /Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - inserting filePath: "/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - database filename for "2.25.191989159200686067042914596880873903968" is empty - we should insert on top of it

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - This looks like a different patient from last insert: "26171520"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Found patient in the database as UId: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Going to insert this instance with dbPatientID: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing study: "1.2.840.113619.2.182.1035125527124.1413832657.7155419"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Study Added

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Statement: SELECT * FROM Series WHERE SeriesInstanceUID = ?

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing series: "2.25.283093240806754854041225032041102358729"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Series Added

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Maybe add Instance

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Could not load ""

DCMTK says: Invalid filename

[CRITICAL][Qt] 02.03.2017 17:13:18 [] (unknown:0) - "Slicer has caught an internal error.

 

You may be able to continue from this point, but results are undefined.

 

Suggested action is to save your work and restart.

 

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

 

 

The message detail is:

 

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"

[CRITICAL][FD] 02.03.2017 17:13:19 [] (unknown:0) - 2017-03-02 17:13:19.416 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:20 [] (unknown:0) - 2017-03-02 17:13:20.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:21 [] (unknown:0) - 2017-03-02 17:13:21.767 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

 

 

 

From: Steve Pieper <[hidden email]>
Date: Thursday, March 2, 2017 at 09:13
To: "Harary, Maya" <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Maya -

 

Is this something that happened with a new version of Slicer or with new data?

 

It might help to look at the log file (see the Help menu, Report a Bug dialog).  If there's no patient info in it you could share it with the list for help debugging.

 

-Steve

 

On Wed, Mar 1, 2017 at 9:46 PM, Harary, Maya <[hidden email]> wrote:

Hello,

 

I am all of a sudden having difficulty importing certain dicomb directories and getting the following error message (after selecting directoty > OK > Add Link):

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem

 

I press OK on the error message and Slicer opens to import progress window (percentage imported) which is stuck on 0%. When I close that window, the patient appears in the dicom browser (without any studies) and I am unable to delete the patient…

 

Any advice?

 

Thanks!

Maya

 

 

 

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: Error when importing dicom

Csaba Pinter-2

Hi Maya,

 

Does the [patient name redacted] contain special characters with accents maybe?

 

csaba

 

From: slicer-users [mailto:[hidden email]] On Behalf Of Harary, Maya
Sent: Thursday, March 2, 2017 17:17
To: Steve Pieper <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Steve and all

 

I am using the 4.6.2 version (haven’t changed version I’m using recently). I was in the middle of working with the program and everything was going fine, I closed the previous scene and when I went to import a new dicom (same dataset as before but new patient) this problem started happening.

 

This is the error log – first error was when trying to delete the patient from the dicom browser (the browser didn’t show any studies for this patient) and the second error in the bottom was me trying to add the patient again and receiving an error message. I redacted the patient’s name.

 

Would appreciate any help!

 

Thanks

Maya

 

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Session start time .......: 2017-03-02 17:09:11

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Slicer version ...........: 4.6.2 (revision 25516) macosx-amd64 - installed

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Operating system .........: Mac OS X / 10.11.6 / 15G1217 - 64-bit

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Memory ...................: 8192 MB physical, 0 MB virtual

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - CPU ......................: GenuineIntel Intel(R) Core(TM) M-5Y51 CPU @ 1.10GHz, 2 cores, 4 logical processors

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Developer mode enabled ...: no

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Prefer executable CLI ....: yes

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Additional module paths ..: (none)

[DEBUG][Qt] 02.03.2017 17:09:17 [] (unknown:0) - Number of registered modules: 133

[DEBUG][Qt] 02.03.2017 17:09:19 [] (unknown:0) - Number of instantiated modules: 133

[WARNING][Qt] 02.03.2017 17:09:19 [] (unknown:0) - When loading module "CLIEventTest" , the dependency "CLI4Test" failed to be loaded.

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - Initializing terminology mapping for map file /Applications/Slicer.app/Contents/share/Slicer-4.6/ColorFiles/Terminology//GenericAnatomyColors-SNOMED.csv

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - 288 terms were read for Slicer LUT GenericAnatomyColors

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInARowTest" , the dependency "CLI4Test" failed to be loaded.

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInParallelTest" , the dependency "CLI4Test" failed to be loaded.

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Number of loaded modules: 130

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Switch to module: "Welcome"

[CRITICAL][FD] 02.03.2017 17:10:14 [] (unknown:0) - 2017-03-02 17:10:14.308 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:10:17 [] (unknown:0) - Switch to module: "DICOM"

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:24 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Deleting 1 patients

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.694.png

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.695.png

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[CRITICAL][FD] 02.03.2017 17:11:42 [] (unknown:0) - 2017-03-02 17:11:42.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:08 [] (unknown:0) - 2017-03-02 17:13:08.509 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:18 [] (unknown:0) - 2017-03-02 17:13:18.124 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Indexing

 

 

 

"/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Processing /Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - inserting filePath: "/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - database filename for "2.25.191989159200686067042914596880873903968" is empty - we should insert on top of it

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - This looks like a different patient from last insert: "26171520"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Found patient in the database as UId: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Going to insert this instance with dbPatientID: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing study: "1.2.840.113619.2.182.1035125527124.1413832657.7155419"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Study Added

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Statement: SELECT * FROM Series WHERE SeriesInstanceUID = ?

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing series: "2.25.283093240806754854041225032041102358729"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Series Added

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Maybe add Instance

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Could not load ""

DCMTK says: Invalid filename

[CRITICAL][Qt] 02.03.2017 17:13:18 [] (unknown:0) - "Slicer has caught an internal error.

 

You may be able to continue from this point, but results are undefined.

 

Suggested action is to save your work and restart.

 

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

 

 

The message detail is:

 

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"

[CRITICAL][FD] 02.03.2017 17:13:19 [] (unknown:0) - 2017-03-02 17:13:19.416 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:20 [] (unknown:0) - 2017-03-02 17:13:20.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:21 [] (unknown:0) - 2017-03-02 17:13:21.767 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

 

 

 

From: Steve Pieper <[hidden email]>
Date: Thursday, March 2, 2017 at 09:13
To: "Harary, Maya" <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Maya -

 

Is this something that happened with a new version of Slicer or with new data?

 

It might help to look at the log file (see the Help menu, Report a Bug dialog).  If there's no patient info in it you could share it with the list for help debugging.

 

-Steve

 

On Wed, Mar 1, 2017 at 9:46 PM, Harary, Maya <[hidden email]> wrote:

Hello,

 

I am all of a sudden having difficulty importing certain dicomb directories and getting the following error message (after selecting directoty > OK > Add Link):

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem

 

I press OK on the error message and Slicer opens to import progress window (percentage imported) which is stuck on 0%. When I close that window, the patient appears in the dicom browser (without any studies) and I am unable to delete the patient…

 

Any advice?

 

Thanks!

Maya

 

 

 

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: Error when importing dicom

Steve Pieper-2
In reply to this post by Harary, Maya

Hi Maya - 


It also looks like there's something funny with your database file - these messages in the log look bad:


"Error text: database disk image is malformed Unable to fetch row"


You could try switching to a fresh directory (use the More button from the browser [1] and then pick a directory).  You could then try re-importing data to see.  Csaba could be right that an accented character in the file or path name can cause a problem.


Best,

Steve



[1] https://www.slicer.org/w/images/2/25/DICOM_Screenshot-1_1204-11-17-10-36.png



On Thu, Mar 2, 2017 at 5:35 PM, Csaba Pinter <[hidden email]> wrote:

Hi Maya,

 

Does the [patient name redacted] contain special characters with accents maybe?

 

csaba

 

From: slicer-users [mailto:[hidden email]] On Behalf Of Harary, Maya
Sent: Thursday, March 2, 2017 17:17
To: Steve Pieper <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Steve and all

 

I am using the 4.6.2 version (haven’t changed version I’m using recently). I was in the middle of working with the program and everything was going fine, I closed the previous scene and when I went to import a new dicom (same dataset as before but new patient) this problem started happening.

 

This is the error log – first error was when trying to delete the patient from the dicom browser (the browser didn’t show any studies for this patient) and the second error in the bottom was me trying to add the patient again and receiving an error message. I redacted the patient’s name.

 

Would appreciate any help!

 

Thanks

Maya

 

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Session start time .......: 2017-03-02 17:09:11

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Slicer version ...........: 4.6.2 (revision 25516) macosx-amd64 - installed

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Operating system .........: Mac OS X / 10.11.6 / 15G1217 - 64-bit

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Memory ...................: 8192 MB physical, 0 MB virtual

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - CPU ......................: GenuineIntel Intel(R) Core(TM) M-5Y51 CPU @ 1.10GHz, 2 cores, 4 logical processors

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Developer mode enabled ...: no

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Prefer executable CLI ....: yes

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Additional module paths ..: (none)

[DEBUG][Qt] 02.03.2017 17:09:17 [] (unknown:0) - Number of registered modules: 133

[DEBUG][Qt] 02.03.2017 17:09:19 [] (unknown:0) - Number of instantiated modules: 133

[WARNING][Qt] 02.03.2017 17:09:19 [] (unknown:0) - When loading module "CLIEventTest" , the dependency "CLI4Test" failed to be loaded.

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - Initializing terminology mapping for map file /Applications/Slicer.app/Contents/share/Slicer-4.6/ColorFiles/Terminology//GenericAnatomyColors-SNOMED.csv

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - 288 terms were read for Slicer LUT GenericAnatomyColors

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInARowTest" , the dependency "CLI4Test" failed to be loaded.

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInParallelTest" , the dependency "CLI4Test" failed to be loaded.

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Number of loaded modules: 130

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Switch to module: "Welcome"

[CRITICAL][FD] 02.03.2017 17:10:14 [] (unknown:0) - 2017-03-02 17:10:14.308 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:10:17 [] (unknown:0) - Switch to module: "DICOM"

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:24 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Deleting 1 patients

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.694.png

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.695.png

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[CRITICAL][FD] 02.03.2017 17:11:42 [] (unknown:0) - 2017-03-02 17:11:42.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:08 [] (unknown:0) - 2017-03-02 17:13:08.509 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:18 [] (unknown:0) - 2017-03-02 17:13:18.124 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Indexing

 

 

 

"/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Processing /Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - inserting filePath: "/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - database filename for "2.25.191989159200686067042914596880873903968" is empty - we should insert on top of it

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - This looks like a different patient from last insert: "26171520"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Found patient in the database as UId: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Going to insert this instance with dbPatientID: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing study: "1.2.840.113619.2.182.1035125527124.1413832657.7155419"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Study Added

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Statement: SELECT * FROM Series WHERE SeriesInstanceUID = ?

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing series: "2.25.283093240806754854041225032041102358729"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Series Added

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Maybe add Instance

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Could not load ""

DCMTK says: Invalid filename

[CRITICAL][Qt] 02.03.2017 17:13:18 [] (unknown:0) - "Slicer has caught an internal error.

 

You may be able to continue from this point, but results are undefined.

 

Suggested action is to save your work and restart.

 

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

 

 

The message detail is:

 

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"

[CRITICAL][FD] 02.03.2017 17:13:19 [] (unknown:0) - 2017-03-02 17:13:19.416 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:20 [] (unknown:0) - 2017-03-02 17:13:20.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:21 [] (unknown:0) - 2017-03-02 17:13:21.767 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

 

 

 

From: Steve Pieper <[hidden email]>
Date: Thursday, March 2, 2017 at 09:13
To: "Harary, Maya" <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Maya -

 

Is this something that happened with a new version of Slicer or with new data?

 

It might help to look at the log file (see the Help menu, Report a Bug dialog).  If there's no patient info in it you could share it with the list for help debugging.

 

-Steve

 

On Wed, Mar 1, 2017 at 9:46 PM, Harary, Maya <[hidden email]> wrote:

Hello,

 

I am all of a sudden having difficulty importing certain dicomb directories and getting the following error message (after selecting directoty > OK > Add Link):

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem

 

I press OK on the error message and Slicer opens to import progress window (percentage imported) which is stuck on 0%. When I close that window, the patient appears in the dicom browser (without any studies) and I am unable to delete the patient…

 

Any advice?

 

Thanks!

Maya

 

 

 

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ

 



_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: Error when importing dicom

Harary, Maya
In reply to this post by Harary, Maya

Hi Csaba,

 

No it’s just all letters like “Jones” or the likes

 

Maya

 

From: Csaba Pinter <[hidden email]>
Date: Thursday, March 2, 2017 at 17:35
To: "Harary, Maya" <[hidden email]>, Steve Pieper <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: RE: [slicer-users] Error when importing dicom

 

Hi Maya,

 

Does the [patient name redacted] contain special characters with accents maybe?

 

csaba

 

From: slicer-users [mailto:[hidden email]] On Behalf Of Harary, Maya
Sent: Thursday, March 2, 2017 17:17
To: Steve Pieper <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Steve and all

 

I am using the 4.6.2 version (haven’t changed version I’m using recently). I was in the middle of working with the program and everything was going fine, I closed the previous scene and when I went to import a new dicom (same dataset as before but new patient) this problem started happening.

 

This is the error log – first error was when trying to delete the patient from the dicom browser (the browser didn’t show any studies for this patient) and the second error in the bottom was me trying to add the patient again and receiving an error message. I redacted the patient’s name.

 

Would appreciate any help!

 

Thanks

Maya

 

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Session start time .......: 2017-03-02 17:09:11

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Slicer version ...........: 4.6.2 (revision 25516) macosx-amd64 - installed

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Operating system .........: Mac OS X / 10.11.6 / 15G1217 - 64-bit

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Memory ...................: 8192 MB physical, 0 MB virtual

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - CPU ......................: GenuineIntel Intel(R) Core(TM) M-5Y51 CPU @ 1.10GHz, 2 cores, 4 logical processors

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Developer mode enabled ...: no

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Prefer executable CLI ....: yes

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Additional module paths ..: (none)

[DEBUG][Qt] 02.03.2017 17:09:17 [] (unknown:0) - Number of registered modules: 133

[DEBUG][Qt] 02.03.2017 17:09:19 [] (unknown:0) - Number of instantiated modules: 133

[WARNING][Qt] 02.03.2017 17:09:19 [] (unknown:0) - When loading module "CLIEventTest" , the dependency "CLI4Test" failed to be loaded.

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - Initializing terminology mapping for map file /Applications/Slicer.app/Contents/share/Slicer-4.6/ColorFiles/Terminology//GenericAnatomyColors-SNOMED.csv

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - 288 terms were read for Slicer LUT GenericAnatomyColors

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInARowTest" , the dependency "CLI4Test" failed to be loaded.

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInParallelTest" , the dependency "CLI4Test" failed to be loaded.

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Number of loaded modules: 130

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Switch to module: "Welcome"

[CRITICAL][FD] 02.03.2017 17:10:14 [] (unknown:0) - 2017-03-02 17:10:14.308 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:10:17 [] (unknown:0) - Switch to module: "DICOM"

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:24 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Deleting 1 patients

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.694.png

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.695.png

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[CRITICAL][FD] 02.03.2017 17:11:42 [] (unknown:0) - 2017-03-02 17:11:42.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:08 [] (unknown:0) - 2017-03-02 17:13:08.509 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:18 [] (unknown:0) - 2017-03-02 17:13:18.124 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Indexing

 

 

 

"/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Processing /Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - inserting filePath: "/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - database filename for "2.25.191989159200686067042914596880873903968" is empty - we should insert on top of it

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - This looks like a different patient from last insert: "26171520"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Found patient in the database as UId: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Going to insert this instance with dbPatientID: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing study: "1.2.840.113619.2.182.1035125527124.1413832657.7155419"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Study Added

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Statement: SELECT * FROM Series WHERE SeriesInstanceUID = ?

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing series: "2.25.283093240806754854041225032041102358729"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Series Added

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Maybe add Instance

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Could not load ""

DCMTK says: Invalid filename

[CRITICAL][Qt] 02.03.2017 17:13:18 [] (unknown:0) - "Slicer has caught an internal error.

 

You may be able to continue from this point, but results are undefined.

 

Suggested action is to save your work and restart.

 

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

 

 

The message detail is:

 

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"

[CRITICAL][FD] 02.03.2017 17:13:19 [] (unknown:0) - 2017-03-02 17:13:19.416 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:20 [] (unknown:0) - 2017-03-02 17:13:20.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:21 [] (unknown:0) - 2017-03-02 17:13:21.767 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

 

 

 

From: Steve Pieper <[hidden email]>
Date: Thursday, March 2, 2017 at 09:13
To: "Harary, Maya" <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Maya -

 

Is this something that happened with a new version of Slicer or with new data?

 

It might help to look at the log file (see the Help menu, Report a Bug dialog).  If there's no patient info in it you could share it with the list for help debugging.

 

-Steve

 

On Wed, Mar 1, 2017 at 9:46 PM, Harary, Maya <[hidden email]> wrote:

Hello,

 

I am all of a sudden having difficulty importing certain dicomb directories and getting the following error message (after selecting directoty > OK > Add Link):

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem

 

I press OK on the error message and Slicer opens to import progress window (percentage imported) which is stuck on 0%. When I close that window, the patient appears in the dicom browser (without any studies) and I am unable to delete the patient…

 

Any advice?

 

Thanks!

Maya

 

 

 

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: Error when importing dicom

Harary, Maya
In reply to this post by Harary, Maya

Steve - That worked! When I picked a new directory the import just went through normally. Just for reference, what is the default directory Slicer uses? (So that I can find the patients I uploaded earlier on)

 

Thanks again!

Maya

 

From: Steve Pieper <[hidden email]>
Date: Thursday, March 2, 2017 at 18:28
To: Csaba Pinter <[hidden email]>
Cc: "Harary, Maya" <[hidden email]>, SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Maya - 

 

It also looks like there's something funny with your database file - these messages in the log look bad:

 

"Error text: database disk image is malformed Unable to fetch row"

 

You could try switching to a fresh directory (use the More button from the browser [1] and then pick a directory).  You could then try re-importing data to see.  Csaba could be right that an accented character in the file or path name can cause a problem.

 

Best,

Steve

 

 

[1] https://www.slicer.org/w/images/2/25/DICOM_Screenshot-1_1204-11-17-10-36.png

 

 

On Thu, Mar 2, 2017 at 5:35 PM, Csaba Pinter <[hidden email]> wrote:

Hi Maya,

 

Does the [patient name redacted] contain special characters with accents maybe?

 

csaba

 

From: slicer-users [mailto:[hidden email]] On Behalf Of Harary, Maya
Sent: Thursday, March 2, 2017 17:17
To: Steve Pieper <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Steve and all

 

I am using the 4.6.2 version (haven’t changed version I’m using recently). I was in the middle of working with the program and everything was going fine, I closed the previous scene and when I went to import a new dicom (same dataset as before but new patient) this problem started happening.

 

This is the error log – first error was when trying to delete the patient from the dicom browser (the browser didn’t show any studies for this patient) and the second error in the bottom was me trying to add the patient again and receiving an error message. I redacted the patient’s name.

 

Would appreciate any help!

 

Thanks

Maya

 

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Session start time .......: 2017-03-02 17:09:11

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Slicer version ...........: 4.6.2 (revision 25516) macosx-amd64 - installed

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Operating system .........: Mac OS X / 10.11.6 / 15G1217 - 64-bit

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Memory ...................: 8192 MB physical, 0 MB virtual

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - CPU ......................: GenuineIntel Intel(R) Core(TM) M-5Y51 CPU @ 1.10GHz, 2 cores, 4 logical processors

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Developer mode enabled ...: no

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Prefer executable CLI ....: yes

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Additional module paths ..: (none)

[DEBUG][Qt] 02.03.2017 17:09:17 [] (unknown:0) - Number of registered modules: 133

[DEBUG][Qt] 02.03.2017 17:09:19 [] (unknown:0) - Number of instantiated modules: 133

[WARNING][Qt] 02.03.2017 17:09:19 [] (unknown:0) - When loading module "CLIEventTest" , the dependency "CLI4Test" failed to be loaded.

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - Initializing terminology mapping for map file /Applications/Slicer.app/Contents/share/Slicer-4.6/ColorFiles/Terminology//GenericAnatomyColors-SNOMED.csv

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - 288 terms were read for Slicer LUT GenericAnatomyColors

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInARowTest" , the dependency "CLI4Test" failed to be loaded.

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInParallelTest" , the dependency "CLI4Test" failed to be loaded.

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Number of loaded modules: 130

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Switch to module: "Welcome"

[CRITICAL][FD] 02.03.2017 17:10:14 [] (unknown:0) - 2017-03-02 17:10:14.308 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:10:17 [] (unknown:0) - Switch to module: "DICOM"

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:24 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Deleting 1 patients

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.694.png

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.695.png

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[CRITICAL][FD] 02.03.2017 17:11:42 [] (unknown:0) - 2017-03-02 17:11:42.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:08 [] (unknown:0) - 2017-03-02 17:13:08.509 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:18 [] (unknown:0) - 2017-03-02 17:13:18.124 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Indexing

 

 

 

"/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Processing /Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - inserting filePath: "/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - database filename for "2.25.191989159200686067042914596880873903968" is empty - we should insert on top of it

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - This looks like a different patient from last insert: "26171520"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Found patient in the database as UId: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Going to insert this instance with dbPatientID: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing study: "1.2.840.113619.2.182.1035125527124.1413832657.7155419"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Study Added

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Statement: SELECT * FROM Series WHERE SeriesInstanceUID = ?

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing series: "2.25.283093240806754854041225032041102358729"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Series Added

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Maybe add Instance

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Could not load ""

DCMTK says: Invalid filename

[CRITICAL][Qt] 02.03.2017 17:13:18 [] (unknown:0) - "Slicer has caught an internal error.

 

You may be able to continue from this point, but results are undefined.

 

Suggested action is to save your work and restart.

 

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

 

 

The message detail is:

 

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"

[CRITICAL][FD] 02.03.2017 17:13:19 [] (unknown:0) - 2017-03-02 17:13:19.416 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:20 [] (unknown:0) - 2017-03-02 17:13:20.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:21 [] (unknown:0) - 2017-03-02 17:13:21.767 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

 

 

 

From: Steve Pieper <[hidden email]>
Date: Thursday, March 2, 2017 at 09:13
To: "Harary, Maya" <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Maya -

 

Is this something that happened with a new version of Slicer or with new data?

 

It might help to look at the log file (see the Help menu, Report a Bug dialog).  If there's no patient info in it you could share it with the list for help debugging.

 

-Steve

 

On Wed, Mar 1, 2017 at 9:46 PM, Harary, Maya <[hidden email]> wrote:

Hello,

 

I am all of a sudden having difficulty importing certain dicomb directories and getting the following error message (after selecting directoty > OK > Add Link):

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem

 

I press OK on the error message and Slicer opens to import progress window (percentage imported) which is stuck on 0%. When I close that window, the patient appears in the dicom browser (without any studies) and I am unable to delete the patient…

 

Any advice?

 

Thanks!

Maya

 

 

 

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: Error when importing dicom

Steve Pieper-2
In reply to this post by Harary, Maya
That's great Maya!  By default slicer puts the database in your "Documents" folder, which so it's usually something like:

windows:

c:\Users\username\Documents\SlicerDICOMDatabase

or linux:

/home/username/Documents/SlicerDICOMDatabase

Best,
Steve

On Thu, Mar 2, 2017 at 7:57 PM, Harary, Maya <[hidden email]> wrote:

Steve - That worked! When I picked a new directory the import just went through normally. Just for reference, what is the default directory Slicer uses? (So that I can find the patients I uploaded earlier on)

 

Thanks again!

Maya

 

From: Steve Pieper <[hidden email]>
Date: Thursday, March 2, 2017 at 18:28
To: Csaba Pinter <[hidden email]>
Cc: "Harary, Maya" <[hidden email]>, SPL Slicer Users <[hidden email]>


Subject: Re: [slicer-users] Error when importing dicom

 

Hi Maya - 

 

It also looks like there's something funny with your database file - these messages in the log look bad:

 

"Error text: database disk image is malformed Unable to fetch row"

 

You could try switching to a fresh directory (use the More button from the browser [1] and then pick a directory).  You could then try re-importing data to see.  Csaba could be right that an accented character in the file or path name can cause a problem.

 

Best,

Steve

 

 

[1] https://www.slicer.org/w/images/2/25/DICOM_Screenshot-1_1204-11-17-10-36.png

 

 

On Thu, Mar 2, 2017 at 5:35 PM, Csaba Pinter <[hidden email]> wrote:

Hi Maya,

 

Does the [patient name redacted] contain special characters with accents maybe?

 

csaba

 

From: slicer-users [mailto:[hidden email]] On Behalf Of Harary, Maya
Sent: Thursday, March 2, 2017 17:17
To: Steve Pieper <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Steve and all

 

I am using the 4.6.2 version (haven’t changed version I’m using recently). I was in the middle of working with the program and everything was going fine, I closed the previous scene and when I went to import a new dicom (same dataset as before but new patient) this problem started happening.

 

This is the error log – first error was when trying to delete the patient from the dicom browser (the browser didn’t show any studies for this patient) and the second error in the bottom was me trying to add the patient again and receiving an error message. I redacted the patient’s name.

 

Would appreciate any help!

 

Thanks

Maya

 

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Session start time .......: 2017-03-02 17:09:11

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Slicer version ...........: 4.6.2 (revision 25516) macosx-amd64 - installed

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Operating system .........: Mac OS X / 10.11.6 / 15G1217 - 64-bit

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Memory ...................: 8192 MB physical, 0 MB virtual

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - CPU ......................: GenuineIntel Intel(R) Core(TM) M-5Y51 CPU @ 1.10GHz, 2 cores, 4 logical processors

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Developer mode enabled ...: no

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Prefer executable CLI ....: yes

[DEBUG][Qt] 02.03.2017 17:09:11 [] (unknown:0) - Additional module paths ..: (none)

[DEBUG][Qt] 02.03.2017 17:09:17 [] (unknown:0) - Number of registered modules: 133

[DEBUG][Qt] 02.03.2017 17:09:19 [] (unknown:0) - Number of instantiated modules: 133

[WARNING][Qt] 02.03.2017 17:09:19 [] (unknown:0) - When loading module "CLIEventTest" , the dependency "CLI4Test" failed to be loaded.

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - Initializing terminology mapping for map file /Applications/Slicer.app/Contents/share/Slicer-4.6/ColorFiles/Terminology//GenericAnatomyColors-SNOMED.csv

[INFO][Stream] 02.03.2017 17:09:27 [] (unknown:0) - 288 terms were read for Slicer LUT GenericAnatomyColors

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInARowTest" , the dependency "CLI4Test" failed to be loaded.

[WARNING][Qt] 02.03.2017 17:09:28 [] (unknown:0) - When loading module "TwoCLIsInParallelTest" , the dependency "CLI4Test" failed to be loaded.

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Number of loaded modules: 130

[DEBUG][Qt] 02.03.2017 17:09:28 [] (unknown:0) - Switch to module: "Welcome"

[CRITICAL][FD] 02.03.2017 17:10:14 [] (unknown:0) - 2017-03-02 17:10:14.308 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:10:17 [] (unknown:0) - Switch to module: "DICOM"

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:19 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:20 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:21 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:23 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:23 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[CRITICAL][Stream] 02.03.2017 17:10:24 [] (unknown:0) - W: DcmItem: Invalid Element (0003,3000) found in data set

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: INSERT OR REPLACE INTO TagCache VALUES(?,?,?)

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - SQL failed

Bad SQL: SELECT Value FROM TagCache WHERE SOPInstanceUID = :sopInstanceUID AND Tag = :tag

[DEBUG][Qt] 02.03.2017 17:10:24 [] (unknown:0) - Error text: database disk image is malformed Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Deleting 1 patients

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 1.2.840.113619.2.5.191820182300.701.1317655417.626

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.694.png

[WARNING][Qt] 02.03.2017 17:10:28 [] (unknown:0) - Failed to remove thumbnail /Applications/ctkDICOM-Database/thumbs/1.2.124.113532.170.223.162.178.20110831.142542.11663477/1.2.840.113619.2.5.191820182300.701.1317655417.626/1.2.840.113619.2.5.1258633.19560.1317655417.695.png

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: could not remove seriesInstanceUID 2.25.122169544270970089652791313374626871702

[CRITICAL][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE ERROR: Unable to fetch row

[DEBUG][Qt] 02.03.2017 17:10:28 [] (unknown:0) - SQLITE: removing seriesInstanceUID 2.25.283093240806754854041225032041102358729

[CRITICAL][FD] 02.03.2017 17:11:42 [] (unknown:0) - 2017-03-02 17:11:42.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:08 [] (unknown:0) - 2017-03-02 17:13:08.509 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:18 [] (unknown:0) - 2017-03-02 17:13:18.124 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Indexing

 

 

 

"/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Processing /Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - inserting filePath: "/Users/mayaharary/Dropbox (Partners HealthCare)/Fate of Pituitary/DICOM106 - (Patient name redacted)/1"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - database filename for "2.25.191989159200686067042914596880873903968" is empty - we should insert on top of it

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - This looks like a different patient from last insert: "26171520"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Found patient in the database as UId: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Going to insert this instance with dbPatientID: 175

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing study: "1.2.840.113619.2.182.1035125527124.1413832657.7155419"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Study Added

[WARNING][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Statement: SELECT * FROM Series WHERE SeriesInstanceUID = ?

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Used existing series: "2.25.283093240806754854041225032041102358729"

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Series Added

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Maybe add Instance

[DEBUG][Qt] 02.03.2017 17:13:18 [] (unknown:0) - Could not load ""

DCMTK says: Invalid filename

[CRITICAL][Qt] 02.03.2017 17:13:18 [] (unknown:0) - "Slicer has caught an internal error.

 

You may be able to continue from this point, but results are undefined.

 

Suggested action is to save your work and restart.

 

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

 

 

The message detail is:

 

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"

[CRITICAL][FD] 02.03.2017 17:13:19 [] (unknown:0) - 2017-03-02 17:13:19.416 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:20 [] (unknown:0) - 2017-03-02 17:13:20.372 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

[CRITICAL][FD] 02.03.2017 17:13:21 [] (unknown:0) - 2017-03-02 17:13:21.767 Slicer[744:5244] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

 

 

 

From: Steve Pieper <[hidden email]>
Date: Thursday, March 2, 2017 at 09:13
To: "Harary, Maya" <[hidden email]>
Cc: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] Error when importing dicom

 

Hi Maya -

 

Is this something that happened with a new version of Slicer or with new data?

 

It might help to look at the log file (see the Help menu, Report a Bug dialog).  If there's no patient info in it you could share it with the list for help debugging.

 

-Steve

 

On Wed, Mar 1, 2017 at 9:46 PM, Harary, Maya <[hidden email]> wrote:

Hello,

 

I am all of a sudden having difficulty importing certain dicomb directories and getting the following error message (after selecting directoty > OK > Add Link):

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem

 

I press OK on the error message and Slicer opens to import progress window (percentage imported) which is stuck on 0%. When I close that window, the patient appears in the dicom browser (without any studies) and I am unable to delete the patient…

 

Any advice?

 

Thanks!

Maya

 

 

 

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ

 

 

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.



_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ