formlayout
formlayout copied to clipboard
successive calls to fedit()
Under Linux (Ubuntu 14.04), advanced.py fails.
The first call to fedit() is OK.
The second has an ugly GTK+ theme with multiple times this error message:
(python:15710): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed
(python:15710): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion 'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
The third fails completely:
Segmentation fault (core dumped)
It seems like Travis uses 12.04 and it works on my laptop which uses 16.04.
I can try on my desktop next week which uses 14.04.
In Ubuntu 16.04 with python3 this can be fixed by removing python3-pyqt4 and installing python3-pyqt5.