Importing sample from Python to GUI segfaults if there is no "get_sample" function.

To reproduce, try e.g. with fq/Sphere.py.

Possibly related to the segfaults after repeated import (#643 (closed))?

Edited by Joachim Wuttke