Please select the most relevant MFiX category: Bug report
I was using mfix early this morning working fine. let it till later 8ish hours, go to open mfix in conda and gives an error saying error has occurred with starting up mfix and the application may become unstable, see attachment. Wehn you go to close or okay this popup, mfix will shut down or freeze. see this in another post but there wasn’t any resolution to the problem
Does anyone have any idea why this happened and how to fix it? I have tried restarting.
# read the previous status table
job_status = os.path.join(path, '.nodeworks_run_status.json')
job_data = {}
if os.path.exists(job_status):
with open(job_status, 'r', encoding='utf-8', errors='replace') as json_file:
job_data = json.load(json_file)
data.update(job_data)
There is no error checking on that json.load(json_file) but that code only executes if the (hidden) file .nodeworks_run_status.json exists. My guess is that this file exists but is empty or somehow corrupted.