Radiance measure failed to run

asked 2020-11-10 04:06:19 -0600

Prasanth M gravatar image

updated 2020-11-10 10:32:04 -0600

Hi! I am a new user of Openstudio, I modelled radiance in a small room with illuminance map, daylight control. While running, I faced the following error, Could you please help me

[15:22:55.282208 ERROR] :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.'
      t_radGlareSensorViews[space_name]&.each do |sensor, v|
                                         ^
C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1418: syntax error, unexpected keyword_rescue, expecting keyword_end
  rescue Exception => e
  ^ in :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `load'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in `run'
:/openstudio_cli.rb:920:in `execute'
:/openstudio_cli.rb:709:in `execute'
:/openstudio_cli.rb:1686:in `<main>'
eval:110:in `eval'
eval:110:in `require_embedded_absolute'
eval:95:in `block in require'
eval:89:in `each'
eval:89:in `require'
eval:2:in `<main>'
[15:22:55.283190 ERROR] Found error in state 'os_measures' with message [":/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.'
      t_radGlareSensorViews[space_name]&.each do |sensor, v|
                                         ^
C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1418: syntax error, unexpected keyword_rescue, expecting keyword_end
      rescue Exception => e
      ^ in :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `load'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in `run'
:/openstudio_cli.rb:920:in `execute'
:/openstudio_cli.rb:709:in `execute ...
(more)
edit retag flag offensive close merge delete