Menu

#34 closing edit window results in error loop

closed-fixed
nobody
None
5
2008-02-25
2003-07-12
bob gailer
No

Not always repeatable: make changes in an edit window.
click the close box. Say Yes to Save Changes? Result
Traceback (most recent call last):
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\framework\editor\document.py",
line 83, in OnSaveDocument
self._DocumentStateChanged()
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\framework\editor\document.py",
line 175, in _DocumentStateChanged

pywin.debugger.currentDebugger.UpdateDocumentLineStates(self)
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\debugger\debugger.py",
line 880, in UpdateDocumentLineStates
doc.MarkerDeleteAll( MARKER_BREAKPOINT )
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\scintilla\document.py",
line 117, in MarkerDeleteAll
self.GetEditorView().SCIMarkerDeleteAll(marker)
AttributeError: SCIMarkerDeleteAll
win32ui: OnSaveDocument() virtual handler (<bound
method SyntEditDocument.OnSaveDocument of
<pywin.framework.editor.color.coloreditor.SyntEditDocument
instance at 0x01885A68>>) raised an exception
Traceback (most recent call last):
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\framework\dbgcommands.py",
line 140, in OnUpdateAddBreakpoints
cmdui.SetCheck(doc.MarkerAtLine(lineNo,
pywin.framework.editor.color.coloreditor.MARKER_BREAKPOINT)
!= 0)
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\scintilla\document.py",
line 121, in MarkerAtLine
markerState =
self.GetEditorView().SCIMarkerGet(lineNo-1)Traceback
(most recent call last):
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\framework\dbgcommands.py",
line 108, in OnAdd
rc = d.set_break(pathName, lineNo)
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\debugger\debugger.py",
line 519, in set_break
self.SetLineState(filename, lineno,
LINESTATE_BREAKPOINT)
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\debugger\debugger.py",
line 867, in SetLineState
if not doc.MarkerCheck(lineNo, marker):
File
"P:\Python22\\lib\site-packages\Pythonwin\pywin\scintilla\document.py",
line 105, in MarkerCheck
markerState = v.SCIMarkerGet(lineNo)
AttributeError: SCIMarkerGet
win32ui: Error in Command Message handler for command
ID 16004, Code 0
then loops endlessly back to the last Traceback...

Discussion

  • Roger Upole

    Roger Upole - 2008-02-25

    Logged In: YES
    user_id=771074
    Originator: NO

    This should be solved by the fix to #1037629.

     
  • Roger Upole

    Roger Upole - 2008-02-25
    • status: open --> closed-fixed