Opened 10 years ago
Closed 9 years ago
#117 closed defect (invalid)
Linux daily builds gives wx errors on startup
| Reported by: | Tom Goddard | Owned by: | Eric Pettersen |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Window Toolkit | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | chimera |
Description
Starting the current Linux daily build gives several errors of two types on startup:
ScreenToClient failed on unrealized window
Pane window not found
This is on an Ubuntu 15.04 system. Chimera 2 does start and appears to function normally after these error messages which appear in the start-up shell.
$ bin/Chimera2
Using 24-bit OpenGL depth buffer
Stereo mode is not supported by OpenGL driver
OpenGL Version: 3.0 Mesa 10.5.2
Traceback (most recent call last):
File "/home/goddard/ucsf/chimera2/lib/python3.4/site-packages/wx/lib/agw/aui/framemanager.py", line 8660, in OnRender
point = self._frame.ScreenToClient(mousePos)
wx._core.wxAssertionError: C++ assertion "source" failed at /var/tmp/chimera2_build/develop/chimera2/build/tmp/wxPython_Phoenix-3.0.3.dev1719+62a2221/ext/wxWidgets/src/gtk/window.cpp(3212) in DoScreenToClient(): ScreenToClient failed on unrealized window
Traceback (most recent call last):
File "/home/goddard/ucsf/chimera2/lib/python3.4/site-packages/wx/lib/agw/aui/framemanager.py", line 8660, in OnRender
point = self._frame.ScreenToClient(mousePos)
wx._core.wxAssertionError: C++ assertion "source" failed at /var/tmp/chimera2_build/develop/chimera2/build/tmp/wxPython_Phoenix-3.0.3.dev1719+62a2221/ext/wxWidgets/src/gtk/window.cpp(3212) in DoScreenToClient(): ScreenToClient failed on unrealized window
Traceback (most recent call last):
File "/home/goddard/ucsf/chimera2/lib/python3.4/site-packages/wx/lib/agw/aui/framemanager.py", line 8660, in OnRender
point = self._frame.ScreenToClient(mousePos)
wx._core.wxAssertionError: C++ assertion "source" failed at /var/tmp/chimera2_build/develop/chimera2/build/tmp/wxPython_Phoenix-3.0.3.dev1719+62a2221/ext/wxWidgets/src/gtk/window.cpp(3212) in DoScreenToClient(): ScreenToClient failed on unrealized window
Traceback (most recent call last):
File "/home/goddard/ucsf/chimera2/lib/python3.4/site-packages/wx/lib/agw/aui/framemanager.py", line 3145, in OnMove
self._owner_mgr.OnFloatingPaneMoved(self._pane_window, event)
File "/home/goddard/ucsf/chimera2/lib/python3.4/site-packages/wx/lib/agw/aui/framemanager.py", line 8497, in OnFloatingPaneMoved
raise Exception("Pane window not found")
Exception: Pane window not found
Traceback (most recent call last):
File "/home/goddard/ucsf/chimera2/lib/python3.4/site-packages/wx/lib/agw/aui/framemanager.py", line 3128, in OnActivate
self._owner_mgr.OnFloatingPaneActivated(self._pane_window)
File "/home/goddard/ucsf/chimera2/lib/python3.4/site-packages/wx/lib/agw/aui/framemanager.py", line 8479, in OnFloatingPaneActivated
raise Exception("Pane window not found")
Exception: Pane window not found
OpenGL Version: 3.0 Mesa 10.5.2
/home/goddard/ucsf/chimera2/lib/python3.4/site-packages/PyOpenGL-3.1.0-py3.4.egg/OpenGL/GL/shaders.py:223: BytesWarning: str() on a bytes instance
Change History (5)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
| Priority: | minor → major |
|---|
Don't think an initial release should have a page of errors when starting Chimera from linux shell.
So I bumped priority from minor to major.
comment:3 by , 10 years ago
This seems to be a wx bug on Linux / GTK described here
http://comments.gmane.org/gmane.comp.lib.wxwidgets.devel/156712
I patched wx to just suppress the error messages. This is a bad solution since the reported errors may cause further wx problems. I'm using this fix anyways to make the Linux Chimera2 usable.
We should revisit this problem if we do not switch window toolkits to Qt.
Leaving this ticket open until it is adequately resolved.
comment:4 by , 10 years ago
| Component: | User Interface → Window Toolkit |
|---|
Similar errors in August 13 Chimera daily build, but it does work after these errors:
$ MESA_GL_VERSION_OVERRIDE=3.3 bin/Chimera2
Using 24-bit OpenGL depth buffer
Stereo mode is not supported by OpenGL driver
Traceback (most recent call last):
wx._core.wxAssertionError: C++ assertion "source" failed at /var/tmp/chimera2_build/develop/chimera2/build/tmp/wxPython_Phoenix-3.0.3.dev1719+62a2221/ext/wxWidgets/src/gtk/window.cpp(3212) in DoScreenToClient(): ScreenToClient failed on unrealized window
Traceback (most recent call last):
wx._core.wxAssertionError: C++ assertion "source" failed at /var/tmp/chimera2_build/develop/chimera2/build/tmp/wxPython_Phoenix-3.0.3.dev1719+62a2221/ext/wxWidgets/src/gtk/window.cpp(3212) in DoScreenToClient(): ScreenToClient failed on unrealized window
Traceback (most recent call last):
wx._core.wxAssertionError: C++ assertion "source" failed at /var/tmp/chimera2_build/develop/chimera2/build/tmp/wxPython_Phoenix-3.0.3.dev1719+62a2221/ext/wxWidgets/src/gtk/window.cpp(3212) in DoScreenToClient(): ScreenToClient failed on unrealized window
Traceback (most recent call last):
Exception: Pane window not found
Traceback (most recent call last):
Exception: Pane window not found