Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#473 build 214: crash of Menu/Edit/Replace

closed-fixed
nobody
pythonwin (176)
6
2010-10-23
2010-03-02
kxroberto
No

happens with Menu/Edit/Replace (Ctrl-H) permanently:

PythonWin 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
>>> Traceback (most recent call last):
File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\scintilla\view.py", line 358, in OnCmdEditReplace
find.ShowReplaceDialog()
File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 39, in ShowReplaceDialog
_ShowDialog(ReplaceDialog)
File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 50, in _ShowDialog
curDialog = dlgClass()
File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 162, in __init__
dialog.Dialog.__init__(self,self._GetDialogTemplate())
File "C:\PYTHON23\Lib\site-packages\pythonwin\pywin\mfc\dialog.py", line 33, in __init__
dlg=win32ui.CreateDialogIndirect(id)
SystemError: C:\sf\python\dist23\src\Objects\longobject.c:240: bad argument to internal function
win32ui.error: Error in Command Message handler for command ID 57641, Code 0

(seems to be not with py2.5)

Discussion

  • kxroberto
    kxroberto
    2010-09-02

    • priority: 5 --> 6
     
  • kxroberto
    kxroberto
    2010-09-02

    reproduced with another py2.3.5 session.
    not with py2.6

     
  • kxroberto
    kxroberto
    2010-09-27

    error was in dialog template: 0 -> None

     
  • kxroberto
    kxroberto
    2010-09-27

    patch attached

     
  • Mark Hammond
    Mark Hammond
    2010-10-23

    Fixed:

    Checking in win32/src/win32dynamicdialog.cpp;
    new revision: 1.7; previous revision: 1.6
    Checking in CHANGES.txt;
    new revision: 1.63; previous revision: 1.62

     
  • Mark Hammond
    Mark Hammond
    2010-10-23

    • status: open --> closed-fixed