jenndhemus / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 0 forks source link

[ftpedit] Crash on exit Editra #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
*** Thu Jan 29 21:21:25 2009 ***
Traceback (most recent call last):
  File "build/bdist.macosx-10.3-i386/egg/ftpedit/ftpconfig.py", line 69, in
OnClose
  File "build/bdist.macosx-10.3-i386/egg/ftpedit/ftpconfig.py", line 148,
in SaveState
  File "build/bdist.macosx-10.3-i386/egg/ftpedit/ftpconfig.py", line 644,
in AddSite
  File "ed_msg.pyo", line 191, in PostMessage
  File "extern/pubsub.pyo", line 796, in sendMessage
  File "extern/pubsub.pyo", line 483, in sendMessage
  File "extern/pubsub.pyo", line 321, in sendMessage
  File "build/bdist.macosx-10.3-i386/egg/ftpedit/ftpwindow.py", line 326,
in OnCfgUpdated
  File "build/bdist.macosx-10.3-i386/egg/ftpedit/ftpwindow.py", line 558,
in RefreshControlBar
  File "wx/_core.pyo", line 10488, in Layout
PyAssertionError: C++ assertion "Ok()" failed at
/BUILD/wxPython-src-2.8.8.1/src/common/dcgraph.cpp(872) in
DoGetTextExtent(): wxGCDC(cg)::DoGetTextExtent - invalid DC

Original issue reported on code.google.com by CodyPrec...@gmail.com on 30 Jan 2009 at 3:23

GoogleCodeExporter commented 8 years ago
Assuming this was caused by either the method being called while the window or 
a bug
in 2.8.8.1 as this error has shown up in other places since using 2.8.8.1. 
Added some
extra checking and error handling to avoid this in the future.

fixed

Original comment by CodyPrec...@gmail.com on 8 Feb 2009 at 7:11