From: Chris R. <ch...@bp...> - 2011-09-07 08:51:40
|
I am having trouble getting the filedialog to work on linux, either with the ubuntu package (hangs), or building from source (SEGV). e.g. from visual.filedialog import get_file fd = get_file() data=fd.readlines() print data fd.close() This will generate a dialog box, but after selection, it hangs in the package version. When I build visual from source (5.71) - it gives a SEGV: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe7fbc700 (LWP 26050)] 0x00007ffff46612b0 in Gtk::Window::get_position(int&, int&) const () from /usr/lib/libgtkmm-2.4.so.1 which is a call from src/gtk2/display.cpp in display::on_window_configure - probably trying to get the position of the (deleted) window... Any suggestions? Thanks... Chris Richardson BPI Cambridge |