<DIV>Hi,</DIV>
<DIV>I think you should ask your question to a Python (comp.lang.python) or wxWidgets (comp.soft-sys.wxwindows) newsgroup since it does not seem to be a VTK problem.</DIV>
<DIV>Greets.<BR><BR><B><I>rharder@uiuc.edu</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi, <BR>I am hoping to use all of them together, but I have run into a problem<BR>just using Numarray and wxPython together.<BR>Here is a short example that crashes for me:<BR>numarray .9<BR>wxpython 2.4.0.7<BR>wxgtk 2.4.1-r1<BR>python 2.3.3<BR><BR>If I comment out either the numarray assignment or the wxScrolledWindow<BR>It will run fine. If both are left in I get a floating point exception<BR>from the frame.Show() command. Has anyone run into this before?<BR><BR>Ross<BR><BR>---------------------------------------------------------------<BR>from wxPython.wx import *<BR>import numarray <BR><BR>app = wxPySimpleApp()<BR><BR>np = numarray.ones(10000)<BR><BR>class MyFrame(wxFrame):<BR>def __init__(self, parent, ID, title):<BR>wxFrame.__init__(self, parent, ID, title,<BR>wxDefaultPosition, wxSize(512,512))<BR><BR>self.imagewindow = wxScrolledWindow(id=-1,
name='imagewindow',<BR>parent=self, pos=wxDefaultPosition, size=wxDefaultSize,<BR>style=wxHSCROLL|wxVSCROLL)<BR><BR><BR>frame=MyFrame(NULL,-1, "wxVizWindow")<BR>print "I am"<BR>frame.Show(true)<BR>print "an idiot"<BR>app.MainLoop()<BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: <HTTP: vtkfaq cgi-bin public.kitware.com><BR>Follow this link to subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers</BLOCKQUOTE><BR><BR>Aurélien REGAT-BARREL<p>
                <hr size=1>
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
<br><a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/mail/mail_taglines/default/*http://fr.benefits.yahoo.com/">Créez votre Yahoo! Mail</a>
<br><br>
Dialoguez en direct avec vos amis grâce à <a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com/">Yahoo! Messenger !</a>