BEopt Error - Option Editor constraint

asked 2023-09-22 13:35:00 -0500

muhl's avatar

updated 2023-09-26 11:54:13 -0500

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

edit retag flag offensive close merge delete