MurpheyLab / trep

Trep: Mechanical Simulation and Optimal Control Software
https://murpheylab.github.io/trep/
GNU General Public License v3.0
18 stars 11 forks source link

Qt visualization windows are not being released properly #20

Open adwilson10 opened 10 years ago

adwilson10 commented 10 years ago

From schultzj...@gmail.com on June 07, 2013 12:03:04

What steps will reproduce the problem? 1. run attached file using "python trepHelloWorld.py" What is the expected output? What do you see instead? File should produce two identical, empty trep 3D visualization windows. Instead, after the destruction of first window, there are many GTK warnings printed to terminal, and the second window ends up being decorated with GTK instead of Qt. This ends up producing segmentation faults when running simulations with multiple visualizations in IPython (although they can be worked around by passing "--gui=qt" to IPython invocation).

Beyond IPython issues, one expects all visualization windows to be rendered identically. Please use labels and text to provide additional information.

Attachment: trepHelloWorld.py

Original issue: http://code.google.com/p/trep/issues/detail?id=20

adwilson10 commented 10 years ago

From vlad.seg...@gmail.com on June 07, 2013 10:53:35

Cannot reproduce it on Arch with python 2.7.5, ipython 0.13.2, pyqt 4.10.1, py-opengl 3.0.2. qt4 is 4.8.4 and latest version of trep.

adwilson10 commented 10 years ago

From schultzj...@gmail.com on June 07, 2013 12:40:20

For reference, I am on python 2.7.3, ipython 0.13.2, PyQt4 4.9.1, py-opengl 3.0.1, qt4 4.8.1, and latest version of trep.