Zoumaho / dicompyler

Automatically exported from code.google.com/p/dicompyler
0 stars 0 forks source link

Fails to load phantom generated in MasterPlan #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Created a test phantom in the MasterPlan treatment planning system, having 5 
CT slices and a structure set with a few simple contours.
2. Open dicompyler, click open patient button, browse to the folder containing 
my 5 CT images and 1 structure set.

What is the expected output? What do you see instead?
Expected to see the phantom in the patient list, be able to select it and load 
it in the viewer.
The phantom is listed in the patient list, however it says "Progress: Searching 
for patients.... 0% and the select button is not active so Im not able to do 
anything.

What version of the product are you using? On what operating system?
dicompyler-0.3.exe running on Win XP SP3.

Please provide any additional information below.
I really like the idea of dicompyler, and would like to try it out, but it may 
seem that it is not very robust yet in its handling of dicom files.

If you are interested in looking into this, I can send you the dicom files I 
tested with.

From the error log it may seem like it complains about "Slice Location" 
(0020,1041) missing. In such a case, would it be possible for the program to 
use "Image Position (Patient)" (0020,0032) instead?

Regards,
Chris

Attached: Error log.

Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.pyo", line 532, in __bootstrap_inner
  File "threading.pyo", line 484, in run
  File "dicomgui.pyo", line 195, in DirectorySearchThread
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 
47: ordinal not in range(128)

Exception in thread Thread-3:
Traceback (most recent call last):
  File "threading.pyo", line 532, in __bootstrap_inner
  File "threading.pyo", line 484, in run
  File "dicomgui.pyo", line 231, in DirectorySearchThread
  File "dicom\dataset.pyo", line 238, in __getattr__
AttributeError: Dataset does not have attribute 'SliceLocation'.

Original issue reported on code.google.com by chris.le...@gmail.com on 12 May 2011 at 11:14

GoogleCodeExporter commented 9 years ago
Hi Chris,

I think this issue has already been resolved in the source code version. Thanks 
for reporting it though.

Please see Issue 34 for more information.

Adit

Original comment by bastula on 12 May 2011 at 11:31