BEopt 2.8.0.0 Database Image Malformed Error

5 replies [Last post]
jonathanyb
Offline
Joined: 01/15/2018

I'm getting a consistent error when I try to use the Option Editor. It happens whenever I try to use the Option Editor to add a new option. It happens whether I try to copy and modify an existing option or if I make a new option. Here's the message:

Quote:

Message:
The following application error has occurred in BEopt v2.8.0.0. Please report this to the BEopt development team and restart the application.

database disk image is malformed
database disk image is malformed

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.BEoptCommon.DBObject.Save(SQLiteCommand cmd, IList`1 saveParams, IDictionary`2 IDs, IDictionary`2 NewIDs, Boolean SupressDeletedRowsCheck)
at NREL.BEopt.BEoptCommon.DBLibraryObject.Save(SQLiteCommand cmd, IList`1 saveParams, Guid NewID, Boolean SupressDeletedRowsCheck)
at NREL.BEopt.BEoptCommon.DBLibraryIsolatedObject.Save(IList`1 saveParams, Guid NewID)
at NREL.BEopt.ObjLibCS.EconomicProperty.Save()
at NREL.BEopt.ObjLibCS.Option.Save()
at NREL.BEopt.UICS.OptionEditor.btnOK_Click(Object sender, EventArgs e)

I've attached a screenshot showing where I was when this happened. When I closed that window and went back to the main screen of the options editor I got another error:

Quote:

Message:
The following application error has occurred in BEopt v2.8.0.0. Please report this to the BEopt development team and restart the application.

database disk image is malformed
database disk image is malformed

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.BEoptCommon.DBManagement.UnlockLibrary()
at NREL.BEopt.UICS.OptionManager.OptionManager_FormClosing(Object sender, FormClosingEventArgs e)

Closing the program then gave me the above error once again.

I am running Windows 10 with fresh updates on a Mac via Parallels 13. I tried running BEopt in Windows 8 compatibility mode but am getting the same error.

I've attached a file that's giving me the problem. I'm also happy to add the BEopt log file but I can't find where it's located in this version.

Thanks for the help!

Jonathan

AttachmentSize
Screenshot 2018-01-21 11.44.21.png74.14 KB
Rudolph Existing 1_21_2018_attempt2.BEopt3.34 MB
shorowit
Offline
BEopt developer
Joined: 09/27/2011

Hi Jonathan,

This is known to happen if you use Shared Folders in Parallels. Could you try disabling that and see if it fixes the problem?

Scott


Scott Horowitz
Residential Buildings Group
National Renewable Energy Laboratory

jonathanyb
Offline
Joined: 01/15/2018

Doing that now. Thanks very much for the speedy reply.

Jonathan

jonathanyb
Offline
Joined: 01/15/2018

This fixed the problem. Thanks again.

MKSharp
Offline
Joined: 02/08/2012

I had the same problem. Before disabling file sharing, everything seemed to work except that I couldn't create new component types in Options Manager. After disabling file sharing in Parallels, restarting my Mac and Windows 10, and re-installing BEOpt and opening one of the sample files, I seem to be able to add a new wall type, however when I attempt to save the project, BEOpt locks up with the attached message. BEOpt appears to be caught in a loop, and End Task is necessary.

Also, no options appear for weather files, and clicking the download button for new weather files does nothing. Also, DView won't open.

Help please? Thanks.

An update: After specifying the directory for weather data in the Tools: Settings menu, I am able to see and select weather data in the Site Screen. After doing this, I am also able to add new component types with Options Manager. DView still does not work in Windows. The attached error results. However, a work-around is to copy the hourly data file to Mac and use DView there.

AttachmentSize
BEOpt Error.png 13.02 KB
DView Error.png 12.7 KB
shorowit
Offline
BEopt developer
Joined: 09/27/2011

Yes, I believe there is a DView packaging problem in BEopt 2.8 that some users may hit, where DView is now compiled as a 64-bit app but we still ship 32-bit dlls. I will contact you by email with a potential fix to test.

Scott


Scott Horowitz
Residential Buildings Group
National Renewable Energy Laboratory

This Web site is powered by renewable energy.