[vtkusers] vtkTkImageViewerWidget and vtkTkPhotoImage pointer problem
Sven Prevrhal
sven.prevrhal at radiology.ucsf.edu
Tue Jul 11 16:38:58 EDT 2006
I am trying to run the OrthogonalPlanesWithTkPhoto.py test and get the
errors below, with Vanilla python and vtkpython. All other tests run fine.
Any idea what's happening?
E:\users\sprevrhal\src\VTK\Examples\GUI\Python>vtkpython
OrthogonalPlanesWithTkP
hoto.py _05ce0358_p_vtkImageData vtkImageDataToTkPhoto
_05ce0358_p_vtkImageDa pyimage1
32 transverse 1370 1268
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Python24\lib\lib-tk\Tkinter.py", line 1345, in
__call__
return self.func(*args)
File "OrthogonalPlanesWithTkPhoto.py", line 117, in SetWindowLevel
self.SetImages()
File "OrthogonalPlanesWithTkPhoto.py", line 127, in SetImages
Level )
File
"E:\users\sprevrhal\packages\VTK-nightly-22MAR06\Wrapping\Python\vtk\tk\v
tkTkPhotoImage.py", line 26, in PutImageSlice
self.tk.eval ( s )
TclError: could not find vtkImageData: _05ce0358_p_vtkImageDa
_05ce0358_p_vtkImageData vtkImageDataToTkPhoto _05ce0358_p_vtkImageDa
pyimage1
32 transverse 1370 1268
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Python24\lib\lib-tk\Tkinter.py", line 1345, in
__call__
return self.func(*args)
File "OrthogonalPlanesWithTkPhoto.py", line 117, in SetWindowLevel
self.SetImages()
File "OrthogonalPlanesWithTkPhoto.py", line 129, in SetImages
self.Position[0],
File
"E:\users\sprevrhal\packages\VTK-nightly-22MAR06\Wrapping\Python\vtk\tk\v
tkTkPhotoImage.py", line 26, in PutImageSlice
self.tk.eval ( s )
TclError: could not find vtkImageData: _03f45790_p_vtkImageDa
- Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060711/091e7006/attachment.htm>
More information about the vtkusers
mailing list