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

Close

#24 Remove document producing a traceback

v1.3a1
closed-fixed
Interface (13)
5
2003-06-15
2003-05-23
Frank
No

When dealing with several documents and removing one
but the last, pyut produce a traceback:

Traceback (most recent call last):
File "C:\Data\dev\cvs\pyut2\src\AppFrame.py", line
923, in _OnMnuFileRemoveDocument
project.removeDocument(document)
File "C:\Data\dev\cvs\pyut2\src\PyutProject.py", line
337, in removeDocument
fileHandling.removeAllReferencesToUmlFrame(frame)
File "C:\Data\dev\cvs\pyut2\src\FileHandling.py",
line 826, in removeAllReferencesToUmlFrame
pageFrame = self.__notebook.GetPage(i)
File
"C:\Python22\Lib\site-packages\wxPython\windows2.py",
line 110, in GetPage
val = apply(windows2c.wxNotebook_GetPage,(self,) +
_args, _kwargs)
wxPython.wxc.wxPyAssertionError: C++ assertion "uiIndex
< m_nCount" failed in e:\projects\wx\inc
lude\wx/dynarray.h(468)

Discussion

  • Cédric Dutoit
    Cédric Dutoit
    2003-06-15

    • assigned_to: nobody --> dutoitc
    • status: open --> closed-fixed