You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During testing of the new default implementation for js and file dialogs in the wxpython.py example on Linux, x11 errors started occuring and that caused app to shutdown. Logs from console:
The program 'python' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 1581 error_code 3 request_code 3 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
These 'BadWindow' errors are unimportant and application can continue working just fine by ignoring them. CEF Python installs x11 error handlers that ignore them during a call to cef.Initialize(), however it seems that wxPython resets X11 error handlers that were previously installed. In wxpython example CEF initialization happens before wx initialization, thus the issue. X11 error handlers can also be installed manually after wx was initialized, you can do so by calling WindowUtils.InstallX11ErrorHandlers().
The text was updated successfully, but these errors were encountered:
cztomczak
changed the title
Some frameworks like wxPython reset X11 error handlers that were installed during a call to cef.Initialize()
Some frameworks like wxPython reset X11 error handlers that were previously installed during a call to cef.Initialize()
Mar 19, 2017
During testing of the new default implementation for js and file dialogs in the wxpython.py example on Linux, x11 errors started occuring and that caused app to shutdown. Logs from console:
These 'BadWindow' errors are unimportant and application can continue working just fine by ignoring them. CEF Python installs x11 error handlers that ignore them during a call to cef.Initialize(), however it seems that wxPython resets X11 error handlers that were previously installed. In wxpython example CEF initialization happens before wx initialization, thus the issue. X11 error handlers can also be installed manually after wx was initialized, you can do so by calling WindowUtils.InstallX11ErrorHandlers().
The text was updated successfully, but these errors were encountered: