diff --git a/parsers/survex.py b/parsers/survex.py index e5b2867..9443603 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -1489,6 +1489,7 @@ def LoadSurvexBlocks(): # this next makes a block_object assciated with a file_object.path = SURVEX_TOPNAME survexblockroot = SurvexBlock(name=ROOTBLOCK, survexpath="", cave=None, survexfile=survexfileroot, legsall=0, legslength=0.0) + # crashes here sometimes on MariaDB complaining that cave_id should not be null. But it should be. survexblockroot.save() print(' - Loading Survex Blocks...')