[vtkusers] introduction to vtk webinar script fail

Wright James (NHS Greater Glasgow & Clyde) jamie.wright at nhs.net
Wed Mar 5 14:19:00 EST 2014


Dear vtkUsers,

I am just beginning with VTK and watched the introduction to vtk webinar on the kitware website to get me started.

I downloaded VTK-python 6.1.0 binary for Linux and followed along with webinar using the onlinecourse_VTK6.py script. Everything ran fine until the final section on user interaction with vtkrenderwindows. On running line 202 of the script (renwin.Render()) a second openGL window was created. Then when I attempted to initialize the UI loop vtkpython crashed with the error

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  11 (X_GLXSwapBuffers)
  Serial number of failed request:  160
  Current serial number in output stream:  160

On the webinar after calling renwin.Render() the interactive plane is drawn in the original renderwindow(), however when I run the script a second separate window is created. Does anyone know what could be the cause of this? Do I need to change any openGL settings?

I'm running 64 bit Linux, Ubuntu version 12.10

regards Jamie

********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere

********************************************************************************************************************


More information about the vtkusers mailing list