Import 2017-06-07 23:51:09: master d40d55d7

Author Committer Branch Timestamp Parent
lassoan lassoan master 2014-09-03 17:17:51 master 5298ed7f
Changeset

BUG: Fixed slice annotation not displayed for patient names containing international characters

Error log before the fix:

[INFO][Stream] 03.09.2014 17:00:41 [] (unknown:0) - Traceback (most recent call last):
[INFO][Stream] 03.09.2014 17:00:41 [] (unknown:0) - File "C:/S4D/Slicer-build/lib/Slicer-4.3/qt-scripted-modules\DataProbeLib\SliceViewAnnotations.py", line 594, in updateCornerAnnotations
[INFO][Stream] 03.09.2014 17:00:41 [] (unknown:0) - self.makeAnnotationText(caller)
[INFO][Stream] 03.09.2014 17:00:41 [] (unknown:0) - File "C:/S4D/Slicer-build/lib/Slicer-4.3/qt-scripted-modules\DataProbeLib\SliceViewAnnotations.py", line 825, in makeAnnotationText
[INFO][Stream] 03.09.2014 17:00:41 [] (unknown:0) - self.drawCornerAnnotations()
[INFO][Stream] 03.09.2014 17:00:41 [] (unknown:0) - File "C:/S4D/Slicer-build/lib/Slicer-4.3/qt-scripted-modules\DataProbeLib\SliceViewAnnotations.py", line 976, in drawCornerAnnotations
[INFO][Stream] 03.09.2014 17:00:41 [] (unknown:0) - sliceCornerAnnotation.SetText(i, cornerAnnotation)
[INFO][Stream] 03.09.2014 17:00:41 [] (unknown:0) - TypeError: SetText argument 2: (unicode conversion error)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23645 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/Scripted/DataProbe/DataProbeLib/SliceViewAnnotations.py Diff File