thegooglecodearchive / editra-plugins

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

[PyStudio] Crash in CompileChecker OnFileSave #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported via automated error reporter

Need to add check for return value from PyStudioUtils.GetEditorForFile
- Possibly caused from a save during exit of program

#---- System Information ----#
Editra Version: 0.6.58
Operating System: Mac OS X (Darwin 11.0.0 i386)
Mac OSX: 10.7.0
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.12.0 (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 Aug  2 16:27:39 2011 ***
Traceback (most recent call last):
  File %22wx/_core.pyo%22, line 14660, in <lambda>
  File %22ed_msg.pyo%22, line 298, in PostMessage
  File %22extern/pubsub.pyo%22, line 798, in sendMessage
  File %22extern/pubsub.pyo%22, line 483, in sendMessage
  File %22extern/pubsub.pyo%22, line 321, in sendMessage
  File %22/Users/dak/Library/Application Support/Editra/plugins/PyStudio-0.3-py2.6.egg/PyStudio/SyntaxChecker/CompileChecker.py%22, line 59, in OnFileSaved
AttributeError: NoneType object has no attribute RemoveAllMarkers

Original issue reported on code.google.com by CodyPrec...@gmail.com on 2 Aug 2011 at 2:42

GoogleCodeExporter commented 9 years ago

Original comment by CodyPrec...@gmail.com on 2 Aug 2011 at 2:42

GoogleCodeExporter commented 9 years ago
ensure reference is valid before use

Original comment by CodyPrec...@gmail.com on 5 Aug 2011 at 12:09