You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To generalize this, any call to get a string from the sql file fails execAndReturnFirstString and execAndReturnVectorOfString methods
# load sql as per the comment above
sql = model.sqlFile.get
string_query = "SELECT EnvironmentName FROM EnvironmentPeriods"
strings = sql.execAndReturnFirstString(string_query)
This issue originated and discovered by @mdahlhausen. See the issue/problem below.
Using ruby bindings on Windows segfaults when parsing eplusout.sql results file.
Expected Behavior
It should parse the eplusout.sql or fail gracefully if the eplusout.sql file is corrupt and/or returning incorrect info (e.g. bad query).
Steps to Reproduce
Using openstudio 3.1.0-rc1](https://github.com/NREL/OpenStudio/releases/tag/v3.1.0-rc1) run the following script using ruby bindings. See attached eplusout.zip (unzip first).
eplusout.zip
Possible Solution
Details
Environment
Some additional details about your environment for this issue (if relevant):
Windows 10 Pro x64
Ruby 2.5.5
OpenStudio-3.1.0-rc1+062e7a8260-Windows.exe
The text was updated successfully, but these errors were encountered: