[vtk-developers] [VTK 0012877]: Type error in vtk/wx/wxVTKRenderWindowInteractor.py
Mantis Bug Tracker
mantis at public.kitware.com
Thu Jan 26 16:35:23 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=12877
======================================================================
Reported By: Christian Jauvin
Assigned To:
======================================================================
Project: VTK
Issue ID: 12877
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: backlog
Project: TBD
Type: crash
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2012-01-26 16:35 EST
Last Modified: 2012-01-26 16:35 EST
======================================================================
Summary: Type error in vtk/wx/wxVTKRenderWindowInteractor.py
Description:
At line 379 of vtk/wx/wxVTKRenderWindowInteractor.py:
# make sure the RenderWindow is sized correctly
self._Iren.GetRenderWindow().SetSize(self.GetSizeTuple())
it seems that the argument to SetSize() should be unpacked:
self._Iren.GetRenderWindow().SetSize(*self.GetSizeTuple())
because if not, this error is thrown:
TypeError: SetSize() takes exactly 2 arguments (1 given)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-01-26 16:35 Christian JauvinNew Issue
======================================================================
More information about the vtk-developers
mailing list