Do you have a question?

First Name:
Surname:
Email:
Phone:
Message:
Get Audio Code

Sample DICOM Images Not Opening - Empty Patient ID
Last Post 20 Apr 2010 11:49 PM by stewart. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
KrisUser is Offline
New Member
New Member
Posts:44

--
15 Apr 2010 11:03 PM  

I've been attempting to open some of the sample DICOM images available at http://pubimage.hcuge.ch:8080/ in the ClearCanvas Workstation but the few that I have tried so far will not open - each time it produces a message stating: ClearCanvas was unable to load any of the images you requested. Please contact your PACS adminstrator, or check the log." Checking the log it indicates that ClearCanvas doesn't like the fact that the Patient ID is empty. Is there a way that I can mass insert a Patient ID or turn off the checking of the Patient ID? 

 

2010-04-15 22:59:06,834 [3] ERROR - Exception thrown
ClearCanvas.ImageViewer.StudyManagement.SopValidationException: Patient ID must not be empty.
   at ClearCanvas.ImageViewer.StudyManagement.Sop.ValidatePatientId()
   at ClearCanvas.ImageViewer.StudyManagement.Sop.ValidateInternal()
   at ClearCanvas.ImageViewer.StudyManagement.ImageSop.ValidateInternal()
   at ClearCanvas.ImageViewer.StudyManagement.Sop.Validate()
   at ClearCanvas.ImageViewer.StudyManagement.StudyTree.AddSop(Sop sop)
   at ClearCanvas.ImageViewer.ImageViewerComponent.LocalSopLoader.LoadSop(String file)
2010-04-15 22:59:06,990 [1] ERROR - Exception thrown
ClearCanvas.ImageViewer.LoadSopsException: 1 of 1 sops have failed to load.
   at ClearCanvas.ImageViewer.ImageViewerComponent.LocalSopLoader.Load(String[] files, IDesktopWindow desktop, Boolean& cancelled)
   at ClearCanvas.ImageViewer.ImageViewerComponent.LoadImages(String[] files, IDesktopWindow desktop, Boolean& cancelled)
   at ClearCanvas.ImageViewer.StudyManagement.OpenStudyHelper.OpenFiles(String[] localFileList)

KrisUser is Offline
New Member
New Member
Posts:44

--
16 Apr 2010 12:16 AM  
I seem to be getting different errors depending on the image that I open. Here's another one that seems to be indicating that the Workstation cannot find the specified path. I'm opening the individual file from within the ClearCanvas Workstation explorer by double clicking on it so I'm not sure why it couldn't access the path.


2010-04-16 00:08:06,412 [1] ERROR - Exception thrown
System.IO.IOException: The specified path is inaccessible. ---> System.Exception: IShellFolder::EnumObjects failed to enumerate child objects. ---> System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
--- End of inner exception stack trace ---
at ClearCanvas.Controls.WinForms.ShellItem.EnumerateChildPidls(SHCONTF flags)
at ClearCanvas.Controls.WinForms.ShellItem.EnumerateChildren(ChildType types, Boolean includeHiddenItems)
at ClearCanvas.Controls.WinForms.FolderTree.FolderTreeNode.Reload()
--- End of inner exception stack trace ---
at ClearCanvas.Controls.WinForms.FolderTree.FolderTreeNode.Reload()
at ClearCanvas.Controls.WinForms.FolderTree.FolderTreeView.OnBeforeExpand(TreeViewCancelEventArgs e)
2010-04-16 00:08:09,350 [1] ERROR - Exception thrown
System.IO.IOException: The specified path is inaccessible. ---> System.InvalidOperationException: Children can only be enumerated on a folder-type item.
at ClearCanvas.Controls.WinForms.ShellItem.EnumerateChildPidls(SHCONTF flags)
at ClearCanvas.Controls.WinForms.ShellItem.EnumerateChildPidls(ChildType types, Boolean includeHiddenItems)
at ClearCanvas.Controls.WinForms.FolderView.FolderListView.PopulateItems()
at ClearCanvas.Controls.WinForms.FolderView.FolderListView.Browse(ShellItem destination)
--- End of inner exception stack trace ---
2010-04-16 00:08:23,897 [1] INFO - No session manager extension found
2010-04-16 00:08:24,209 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:24,225 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:25,428 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:25,443 [1] WARN - Time provider not found - defaulting to local machine time.
2010-04-16 00:08:25,443 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:25,459 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:26,100 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:27,037 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:30,053 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:43,287 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:44,303 [8] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2010-04-16 00:08:44,787 [8] ERROR - Exception thrown
ClearCanvas.ImageViewer.StudyManagement.SopValidationException: Transfer syntax UID must be one of: 1.2.840.10008.1.2, 1.2.840.10008.1.2.1, 1.2.840.10008.1.2.2 or 1.2.840.10008.1.2.5
at ClearCanvas.ImageViewer.StudyManagement.ImageSop.ValidateAllowableTransferSyntax()
at ClearCanvas.ImageViewer.StudyManagement.ImageSop.ValidateInternal()
at ClearCanvas.ImageViewer.StudyManagement.Sop.Validate()
at ClearCanvas.ImageViewer.StudyManagement.StudyTree.AddSop(Sop sop)
at ClearCanvas.ImageViewer.ImageViewerComponent.LocalSopLoader.LoadSop(String file)
2010-04-16 00:08:44,912 [1] ERROR - Exception thrown
ClearCanvas.ImageViewer.LoadSopsException: 1 of 1 sops have failed to load.
at ClearCanvas.ImageViewer.ImageViewerComponent.LocalSopLoader.Load(String[] files, IDesktopWindow desktop, Boolean& cancelled)
at ClearCanvas.ImageViewer.ImageViewerComponent.LoadImages(String[] files, IDesktopWindow desktop, Boolean& cancelled)
at ClearCanvas.ImageViewer.StudyManagement.OpenStudyHelper.OpenFiles(String[] localFileList)
2010-04-16 00:08:44,912 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
stewartUser is Offline
Veteran Member
Veteran Member
Posts:2359

--
20 Apr 2010 11:49 PM  
Hi, the exception in your first post is because, by default, the workstation rejects image with a blank patient id. You can disable this by setting CC.ImageViewer.StudyManagement.ValidationSettings.DisableSopValidation = false (via Tools/Utilities/Configure Settings).

In the second post, the exception generated from the explorer is disconcerting - is this something you can reproduce so we can try to fix it?

The last error in the second log is because the image is compressed (JPEG 2000?) and the Workstation doesn't have an appropriate codec.

Hope this helps,
Stewart
You are not authorized to post a reply.

Active Forums 4.1