Error handling in in the python bindings to the libgpo library is broken, so that underlying errors aren't properly reported as python exceoptions. The file libgpo/pygpo.c requires numerous fixes to address this and make it more robust. This but applies to all versions between 4.8 and 4.10
This appears to have been resolved by: c25e7953 5b4618ca 18638535 d2a75489 1ff252e3 a8b316d1 08b5b11b 36adf08f