Ed Leafe wrote:
I recently upgraded my machine to Fedora Core 2. I installed a fresh copy of python 2.3.3 from source, and built wxPython as I had before, following the instruction in BUILD.txt. Most of wxPython works fine; however, when I try to display a File dialog, I get the following error:
Traceback (most recent call last):
File "FieldSpecEditor.py", line 101, in ?
form = FieldEditorForm(None)
File "FieldSpecEditor.py", line 33, in __init__
openDlg = wx.FileDialog(None, "Select a file...", wildcard=wildcard, defaultDir=os.getcwd(), style=wx.SAVE ) #| wx.HIDE_READONLY)
File "/home/ed/dls/wxPythonSrc-2.5.1.5/wxPython/wx/windows.py", line 2105, in __init__
newobj = _windows.new_FileDialog(*args, **kwargs)
wx.core.PyAssertionError: C++ assertion "m_pLine == 0" failed in ../src/common/fileconf.cpp(1295)Any idea what's going on here?
This is a known problem and has been fixed. The issue is that one of
the config files on Fedora that is read by the wx.FileDialog to get
icons and such has a syntax error in it (one of the group headers is
duplicated or something like that.) The workaround until the next
version is to edit that file and correct the error. I don't remember
any other details but it should be in the mail list archive somewhere.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!