[vtkusers] What's Wrong With This?!?
Andrea Gavana
andrea.gavana at gmail.com
Tue Mar 21 04:36:33 EST 2006
Hello Arnd & NG,
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.
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:
Windows XP
VTK 5.0.0 downloaded from the VTK website (not CVS)
VTK compiled with MS .NET 2003 (Release, Debug, no matter)
wxPython 2.6.2.1
Thank you very much for your help...
Andrea.
On 3/21/06, Arnd Baecker <arnd.baecker at web.de> wrote:
>
> On Tue, 21 Mar 2006, Andrea Gavana wrote:
>
> > Anyone? I thought there were some Python users of VTK...
> > BTW, by using the debug build of VTK, I found that the error comes from
> line
> > 328 of vtkdataarraytemplate.txx, in which I get:
> >
> > "Unhandled exception at 0x019e30db (vtkCommon.dll) in Python.exe"
> >
> > This line says:
> >
> > for(int j=0; j < this->NumberOfComponents; ++j)
> > {
> > this->Tuple[j] = static_cast<double>(t[j]);
> > }
> > return this->Tuple;
> >
> >
> > Sorry to bother you with my questions, but I am just unable to find
> where
> > the error is... is there anyone that can at least try the code and see
> if it
> > works?
> > Thank you very much for your suggestions.
>
> I just tried under debian sarge (with wxPython 2.6 installed
> additionally).
> I don't see a segfault, but only a black window. Presumably this
> is not what the programm is supposed to do.
>
> Expert help is needed, it seems ...
>
> Best, Arnd
>
--
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060321/9a847298/attachment.htm>
More information about the vtkusers
mailing list