I attempted to replicate #811200 with this branch.
I don't get Cian's terminal error; I think that's been fixed, and I suspect it's something to do with running the wrong version of diamond. Cian: when you check out a branch, just do
cd branch
./configure
python diamond/bin/diamond [args]
and it will automatically use the right code.
But I get a different bug. It doesn't give any exception, but when I save the file I get
Note that the second nonlinear solver has a) lost its name, and b) lost its python code. It *looks* fine in the live diamond window, but if you save it it gets lost. (If you open it up again, you'll get all sorts of lost element errors.)
I attempted to replicate #811200 with this branch.
I don't get Cian's terminal error; I think that's been fixed, and I suspect it's something to do with running the wrong version of diamond. Cian: when you check out a branch, just do
cd branch
./configure
python diamond/bin/diamond [args]
and it will automatically use the right code.
But I get a different bug. It doesn't give any exception, but when I save the file I get
<?xml version='1.0' encoding='utf-8'?> solver name="Simple">
<string_ value lines="20" type="python">some python code here</string_value> _solver> solver>
<string_ value type="python" lines="20"/> _solver>
<dummy_options>
<system name="Dummy">
<nonlinear_
<type name="SNES">
<python name="Jacobian" rank="1">
</python>
</type>
</nonlinear
<nonlinear_
<type name="SNES">
<python name="Jacobian" rank="1">
</python>
</type>
</nonlinear
</system>
</dummy_options>
Note that the second nonlinear solver has a) lost its name, and b) lost its python code. It *looks* fine in the live diamond window, but if you save it it gets lost. (If you open it up again, you'll get all sorts of lost element errors.)