<div>Hello Arnd & NG,</div>
<div> </div>
<div> thanks a lot for your answer. Yes, the black window should be correct as I just put dummy data on the grid (everything is zero). I was expecting the same result, but I am not even able to get that black window. VTK crashes with a Windows error message popup before that black window appears... I don't know where the cause of the problem is.
</div>
<div>I thought that maybe my configuration of software is somewhat wrong/incompatible... usually Charl P. Botha and/or Prabhu Ramachandran are the gurus of wxPython+VTK, so maybe they knows what's wrong my my config:</div>
<div> </div>
<div>Windows XP</div>
<div>VTK 5.0.0 downloaded from the VTK website (not CVS)</div>
<div>VTK compiled with MS .NET 2003 (Release, Debug, no matter)</div>
<div>wxPython <a href="http://2.6.2.1">2.6.2.1</a><br> </div>
<div>Thank you very much for your help...</div>
<div> </div>
<div>Andrea.</div>
<div><br> </div>
<div><span class="gmail_quote">On 3/21/06, <b class="gmail_sendername">Arnd Baecker</b> <<a href="mailto:arnd.baecker@web.de">arnd.baecker@web.de</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Tue, 21 Mar 2006, Andrea Gavana wrote:<br><br>> Anyone? I thought there were some Python users of VTK...
<br>> BTW, by using the debug build of VTK, I found that the error comes from line<br>> 328 of vtkdataarraytemplate.txx, in which I get:<br>><br>> "Unhandled exception at 0x019e30db (vtkCommon.dll) in Python.exe
"<br>><br>> This line says:<br>><br>> for(int j=0; j < this->NumberOfComponents; ++j)<br>> {<br>> this->Tuple[j] = static_cast<double>(t[j]);<br>> }<br>> return this->Tuple;
<br>><br>><br>> Sorry to bother you with my questions, but I am just unable to find where<br>> the error is... is there anyone that can at least try the code and see if it<br>> works?<br>> Thank you very much for your suggestions.
<br><br>I just tried under debian sarge (with wxPython 2.6 installed<br>additionally).<br>I don't see a segfault, but only a black window. Presumably this<br>is not what the programm is supposed to do.<br><br>Expert help is needed, it seems ...
<br><br>Best, Arnd<br></blockquote></div><br><br clear="all"><br>-- <br>"Imagination Is The Only Weapon In The War Against Reality."<br><br><a href="http://xoomer.virgilio.it/infinity77/">http://xoomer.virgilio.it/infinity77/
</a><br>