BEopt Error - Option Editor constraint
Received this notification today when updating a "pool pump" option that I use to represent EV annual charging.
Message: The following application error has occurred in BEopt v3.0.1.0. Please report this to the BEopt development team and restart the application.
constraint failed UNIQUE constraint failed: Option.CategoryID, Option.OptionName
Stack Trace: at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at NREL.BEopt.ObjLibCS.Option.ReRunRules(Option BaseOption) in C:\git\beopt\Source\BEoptObjLibCS\Measures\Option.cs:line 966 at NREL.BEopt.UICS.OptionEditor.btnNavigate_Click(Object sender, EventArgs e) in C:\git\beopt\Source\BEoptUICS\OptionEditor.cs:line 700