** Fatal ** The SQLite database failed to open.
I'm getting an intermittent failure using ep-launch to run a energyplus 9.0 simulation. Sometimes no err file is generated, and sometimes this err file is generated.
Link to file showing sqlite error
Program Version,EnergyPlus, Version 9.0.1-bb7ca4f0da, YMD=2019.01.03 08:16,
** Fatal ** The SQLite database failed to open.
...Summary of Errors that led to program termination:
..... Reference severe error count=0
..... Last severe error=
************* Warning: Node connection errors not checked - most system input has not been read (see previous warning).
************* Fatal error -- final processing. Program exited before simulations began. See previous error messages.
************* EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors.
************* EnergyPlus Sizing Error Summary. During Sizing: 0 Warning; 0 Severe Errors.
************* EnergyPlus Terminated--Fatal Error Detected. 0 Warning; 0 Severe Errors; Elapsed Time=00hr 00min 1.03sec
I have no idea what's causing it. Everything was running fine yesterday. I'm hoping it just goes away, but any idea what I can do to troubleshoot?
In response to @shorowit's comment
Here is the whole err file. Not all of it was overwritten, and there are a ton of characters notepad++ is displaying as NUL.
Are you working on a network drive or cloud or something? The quickest thing you can do is to go delete the SQL file before you relaunch the simulation...
Also, make sure the SQL file isn't open in another program or process (e.g. script). OpenStudio won't overwrite it during a sim if that's the case.
@Julien Marrec I am running energyplus on my personal computer locally with local file access. I tried deleting all the files related to the simulation besides the idf file. The problem is still intermittent.
@MatthewSteen As far as I can tell, the file is not open anywhere else. Also, I am not using openstudio.
Is there any additional information in the sqlite.err file?
@shorowit I looked for the sqlite.err file in my recycling bin, but couldn't find it. All I could find was the idf_file_name.err file, which I already posted. Is that its exact name?
I might not have it anymore. I kept rerunning the simulation and all the output files were overwritten. I'll try to remember to save a copy of all the output files the next time it happens.
Yes, that should be the exact name. You should see the file even for a successful simulation.
Another thought is to try disabling any antivirus-like software. It may be scanning the file, which would prevent E+ from deleting it and writing to it.
@shorowit I do not see any sqlite.err file generated. I reran one of the idf files in a separate folder to be sure. I attached an image of the outputted files in my post.
Unfortunately, I do not have authority over the antivirus on my computer. That is controlled by my university's IT that I work for.
@shorowit It started happening again. I saved the files from the run and put a link in the post. There is no sqlite.err file that I can see. The files don't seem to have been overwritten as well, even though the time on the newly generated files is the same as the altered err file. The err file was also not entirely overwritten and has many NUL characters when viewed with notepad++.