APSIMInitiative / APSIM710

APSIM
https://www.apsim.info
31 stars 47 forks source link

ApsimX: Some simulations are getting two entries in the database #1382

Closed ApsimBot closed 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 1951 Author: Justin Date: 2014-09-01 15:59:04 +0000 UTC

So far only seen in the Wheat tests. Affected simulations cause errors in the R test suite.

Running the WheatValidation set sometimes causes one or more simulations to generate more than one entry in the Simulations table:

"106"    "Lincoln9192Irrig11" "108"    "Lincoln9192Irrig11" "107"    "Lincoln9192Irrig08" "109"    "Lincoln9192Irrig08"

The exact simulation that doubles seems to change as well. The first time it was Lincoln9192Irrig05 only, but the next few it's been Lincoln9192Irrig08 and Lincoln9192Irrig11 even after deleting the .db file.

After restarting ApsimX the problem went away and only one simulation was generated so it could be the database isn't get cleaned out properly.

ApsimBot commented 5 years ago

Author: hol353 Date: 2014-09-02 16:12:00 +0000 UTC

Fixed.