Hi Laurent,<br><br>I was playing with wxIPython today and I wasn't able to spawn new wx objects within the shell.<br><br>I ran:<br><br>>>> import wxIPython<br>>>> wxIPython.MyApp().MainLoop()<br><br>Then, in the wxIPython shell, I typed:<br>
<br>>>> import wx<br>>>> wx.Frame(None).Show()<br><br>And the python process died with the following.<br><br>Warning! Hook 'show_in_pager' is not one of ['editor', 'fix_error_editor', 'result_display', 'input_prefilter', 'shutdown_hook', 'late_startup_hook', 'generate_prompt', 'generate_output_prompt']<br>
Warning! Hook 'shell_hook' is not one of ['editor', 'fix_error_editor', 'result_display', 'input_prefilter', 'shutdown_hook', 'late_startup_hook', 'generate_prompt', 'generate_output_prompt']<br>
^[[A^[[BXlib: unexpected async reply (sequence 0x31e8)!<br>Xlib: sequence lost (0x131e8 > 0x4bd8) in reply type 0x0!<br>The program 'python' received an X Window System error.<br>This probably reflects a bug in the program.<br>
The error was 'BadImplementation (server does not implement operation)'.<br>  (Details: serial 12776 error_code 17 request_code 20 minor_code 0)<br>  (Note to programmers: normally, X errors are reported asynchronously;<br>
   that is, you will receive the error a while after causing it.<br>   To debug your program, run it with the --sync command line<br>   option to change this behavior. You can then get a meaningful<br>   backtrace from your debugger if you break on the gdk_x_error() function.)<br>
<br>I am about to look at the editra source to see how you embed an ipython shell.  But, I'd appreciate if you have any insight into this.  Specifically, are you able to reproduce this error, or is it a bug in my X?<br>
<br>Thanks.<br><br>Igor<br>