FileDialog bug

Andrew Ziem <[email protected]>
Newsgroups gmane.comp.gnu.enterprise.devel
Message-ID <[email protected]>
I am using latest SVN GNUe Designer, wxPython 2.6, and Python 2.4 on 
Fedora Core 4.  When I click the floppy icon the toolbar to save, I get 
the traceback:

DB000: Traceback (most recent call last):
DB000:    File "/usr/lib/gnue/gnue/designer/base/ToolBar.py", line 123, 
in OnButtonSelected
DB000:     self.instance.dispatchEvent(evt)
DB000:    File "/usr/lib/gnue/gnue/common/events/EventController.py", 
line 107, in dispatchEvent
DB000:     handler(event)
DB000:    File "/usr/lib/gnue/gnue/designer/base/Instance.py", line 581, 
in OnSaveAs
DB000:     parentWindow=self.uiinstance)
DB000:    File "/usr/lib/gnue/gnue/designer/uidrivers/wx/Base.py", line 
204, in dialogSaveFile
DB000:     style=wxSAVE)
DB000:    File 
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_windows.py", 
line 2490, in __init__
DB000:     newobj = _windows_.new_FileDialog(*args, **kwargs)
DB000:  PyAssertionError: C++ assertion "wxAssertFailure" failed in 
../src/common/filefn.cpp(1675): missing '|' in the wildcard string!


In Base.py, wcstring is the following:
    GNUe Form Definition (*.gfd)|*.gfd|GNUe Form Library (*.gfl)|*.gfl|

If the trailing | is removed, everything works OK.



Andrew
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.