diff --git a/lib/stitches/auto_fill.py b/lib/stitches/auto_fill.py index b85d335e5..8435d156c 100644 --- a/lib/stitches/auto_fill.py +++ b/lib/stitches/auto_fill.py @@ -268,6 +268,11 @@ def build_travel_graph(fill_stitch_graph, shape, fill_stitch_angle, underpath): graph.add_edge(*edge, weight=p1.distance(p2)) + # otherwise we sometimes get exceptions like this: + # Exception AttributeError: "'NoneType' object has no attribute 'GEOSSTRtree_destroy'" in + # > ignored + del rtree + return graph