Closed GoogleCodeExporter closed 8 years ago
Keep getting a fair number of bug reports about this issue here is the latest
one
with some additional info:
#---- Notes ----#
Please provide additional information about the crash here
I launched Editra, opened an R script, then clicked on "Code Templates":"Show
Code
Templates".
#---- System Information ----#
Editra Version: 0.5.51
Operating System: Mac OS X (Darwin 9.8.0 i386)
Mac OSX: 10.5.8
Python Version: 2.6 (trunk:66714:66715M, Oct 1 2008, 18:36:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)]
wxPython Version: 2.8.10.1 (mac-unicode)
wxPython Info: (__WXMAC__, wxMac, unicode, wx-assertions-on, SWIG-1.3.29,
mac-cg,
mac-native-tb)
Python Encoding: Default=ascii File=utf-8
wxPython Encoding: mac-roman
System Architecture: 32bit i386
Byte order: little
Frozen: macosx_app
#---- End System Information ----#
#---- Traceback Info ----#
*** Tue Mar 16 10:42:29 2010 ***
Traceback (most recent call last):
File %22wx/lib/eventStack.pyo%22, line 108, in HandleEvent
File %22/Users/gbrush/Library/Application
Support/Editra/plugins/CodeTemplater-0.2-py2.6.egg/codetemplater/__init__.py%22,
line
81, in OnShow
File %22wx/stc.pyo%22, line 2382, in UserListShow
PyAssertionError: C++ assertion %22litem >= 0
Original comment by CodyPrec...@gmail.com
on 17 Mar 2010 at 12:17
I still cannot reproduce this error even on the same version of wxPython, so I
suspect
it is somehow platform-specific (or possibly wx version specific). I have
committed a
change to the svn repository that prevents the userlist from being shown if
there are
no elements in the list, which I *suspect* is what's triggering the problem.
I'd
appreciate testing of this patch by someone who is encountering the problem...
Original comment by etolle...@gmail.com
on 17 Mar 2010 at 5:43
Finally got some time to do some testing. I can confirm that you change fixes
the
issue. Might be good to install an UpdateUI handler so that that menu item is
disabled when there are no templates available.
Closing as fixed
Original comment by CodyPrec...@gmail.com
on 31 Mar 2010 at 12:17
Original issue reported on code.google.com by
etolle...@gmail.com
on 18 Feb 2010 at 8:10