Weird error from ASE module

Hello
I have a weird error that only happens after having already run my script once.

If i export my geometry from sofiPLUS and run all my teddy scripts (supports, loads etc) from top to bottom, there is no problem - ASE module will run, and results will be produced.

if i then try to run my ASE module again, it will throw me the error i have posted below.
Does anyone have any idea why this happens?

image