Someone else getting this warning showed up in #wxwidgets this
weekend. The problem seems to be that the native file selector wants
an absolute path, not a relative one. This is a legitimate wxGTK bug
(we should normalize the path if required) but in the mean time you
can work around it by expanding the path yourself using
os.path.abspath.
···
On Nov 24, 2007 5:14 PM, Rich Shepard <rshepard@appl-ecosys.com> wrote:
On Sat, 24 Nov 2007, Rich Shepard wrote:
> This appears as soon as I enter the openFile() method:
>
>> (python:2862): Gtk-CRITICAL **: gtk_file_system_unix_get_info: assertion
>> `g_path_is_absolute (filename)' failedMore information that might be pertinent. On the workstation with
python-2.4.3 and wxPython-2.8.6.0, when the file open dialog appears it is
in the cwd; on the notebook running python-2.5.1 and wxPython-2.8.6.1, the
file open dialog is on /home and I need to navigate to the directory holding
the file to open.So, it seems there's something different in the file open dialog.