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
The issue is that we do ScriptObject->run(args) whereas the ruby CLI was all under a rb_protect block.
We need to find a way to do things like RubyInterpreter::makeProtectedCall or RubyEval's evalString (the Ruby Engine has exec / eval that call evalString).
Details
Environment
Some additional details about your environment for this issue (if relevant):
Platform (Operating system, version): all
Version of OpenStudio (if using an intermediate build, include SHA): 3.7.0-rc2
Issue overview
Current Behavior
For example, if you put in a measure something like:
You end up with a hard crash.
Expected Behavior
It should gracefully fail and report the error.
Steps to Reproduce
See Current behavior
Possible Solution
The issue is that we do
ScriptObject->run(args)
whereas the ruby CLI was all under arb_protect
block.We need to find a way to do things like RubyInterpreter::makeProtectedCall or RubyEval's
evalString
(the Ruby Engine has exec / eval that call evalString).Details
Environment
Some additional details about your environment for this issue (if relevant):
Context
The text was updated successfully, but these errors were encountered: