From 7288bd9da31349612f4336026512a440fd499847 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 22 Jul 2022 13:42:04 +0300 Subject: add comment on point where it crashes --- parsers/survex.py | 1 + 1 file changed, 1 insertion(+) (limited to 'parsers/survex.py') 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...') -- cgit v1.2.3