View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012877 | VTK | (No Category) | public | 2012-01-26 16:35 | 2012-01-26 17:08 | ||||
Reporter | Christian Jauvin | ||||||||
Assigned To | David Gobbi | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012877: 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) | ||||||||
Tags | python | ||||||||
Project | TBD | ||||||||
Type | crash | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0027983) David Gobbi (developer) 2012-01-26 17:08 |
I looked into this, the bug is OS X specific. The SetSize(int a[2]) signature of vtkCocoaRenderWindow was not wrapped, I just fixed the header file to ensure that now it will be wrapped from now on. No changes to wxVTKRenderWindowInteractor.py are necessary. Fixed in commit c9a1819f5b70535b53f237c6924e850ed2e27227 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-01-26 16:35 | Christian Jauvin | New Issue | |
2012-01-26 16:37 | Christian Jauvin | Tag Attached: python | |
2012-01-26 16:46 | David Gobbi | Assigned To | => David Gobbi |
2012-01-26 16:46 | David Gobbi | Status | backlog => tabled |
2012-01-26 17:08 | David Gobbi | Note Added: 0027983 | |
2012-01-26 17:08 | David Gobbi | Status | tabled => closed |
2012-01-26 17:08 | David Gobbi | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |