Skip to content

tol2opl crashes when opening the OPL_SOC_S008_01_S02P00.csv

After opening the TOL_from_OPL_S008_01_S01P00_initial_v4_template.csv and then trying to open (OPL_SOC_S008_01_S02P00.csv) in the right panel the GUI crashes.

Traceback (most recent call last): File "/mnt/disk2/wrk/projects/swi/ground_segment/swi-planning-tools/BD_tools/tol2opl.py", line 186, in menu.addAction('Read OPL file',lambda: self.model().oplRead()) ^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/disk2/wrk/projects/swi/ground_segment/swi-planning-tools/BD_tools/tol2opl.py", line 147, in oplRead newRow[col]=[oldTOL[col][oldPointer]] ~~~~~~^^^^^ File "/home/ladi/anaconda3/lib/python3.11/site-packages/pandas/core/frame.py", line 4102, in getitem indexer = self.columns.get_loc(key) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ladi/anaconda3/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3812, in get_loc raise KeyError(key) from err KeyError: 'EDIT_FLAGS' Aborted (core dumped)