Question
Mathcad Prime crashes - "An unhandled exception occured. See .log file"
I am using Mathcad Prime Release 10.0 and Datecode10.0.0.0
My company uses Python scripts to extract Mathcad Prime data to Excel spreadsheets. The Python code uses the MathcadPy library to extract data to the spreadsheets, but I am continually getting errors when running the code. I have also seen the error popup when running Mathcad Prime normally.
We create a folder structure of Mathcad Prime files, using relative links to point to the folder/file at the next level up. We have a number of Mathcad sheets in the same folder and they all point to Mathcad files at the directory above , to make a make-shift library of electrical parts/parameters for our application.
I will randomly see the error pop-up when accessing these files. It is also random, and there is no predictability to the error popping up.
Here are the errors that I faced
"An unhandled exception occured. See .log file"
Exception data:
System.Exception: Lisp applying: CallNodeCallback {global} to Engine.NodeCallback, 1419, NODE_READY, System.Collections.Hashtable, System.Collections.Hashtable, True, False; Collection was modified; enumeration operation may not execute. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
The following files are being opened:
... (Exception when getting files list: The calling thread cannot access this object because a different thread owns it.)
My company uses Python scripts to extract Mathcad Prime data to Excel spreadsheets. The Python code uses the MathcadPy library to extract data to the spreadsheets, but I am continually getting errors when running the code. I have also seen the error popup when running Mathcad Prime normally.
We create a folder structure of Mathcad Prime files, using relative links to point to the folder/file at the next level up. We have a number of Mathcad sheets in the same folder and they all point to Mathcad files at the directory above , to make a make-shift library of electrical parts/parameters for our application.
I will randomly see the error pop-up when accessing these files. It is also random, and there is no predictability to the error popping up.
Here are the errors that I faced
"An unhandled exception occured. See .log file"
Exception data:
System.Exception: Lisp applying: CallNodeCallback {global} to Engine.NodeCallback, 1419, NODE_READY, System.Collections.Hashtable, System.Collections.Hashtable, True, False; Collection was modified; enumeration operation may not execute. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
The following files are being opened:
... (Exception when getting files list: The calling thread cannot access this object because a different thread owns it.)

