First time here? Check out the Help page!
1 | initial version |
Hi everyone, I've tried this method of using the resources directory. Can't get it to work and need some help. Here is the spreadsheet...
https://dl.dropboxusercontent.com/u/129768929/ReplaceModelTest.xlsx
I'm only running running for 2 osm models. I put ReplaceModelTest1.com in the Model setting in the Setup Tab. then I create a directory call osm models and point to the resources directory, where I have uploaded ReplaceModelTest2.osm. when I execute I get the following error...
Selection (1-36): 5
rake aborted!
NoMethodError: undefined method empty?' for nil:NilClass
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/openstudio-analysis-1.0.0.rc18/lib/openstudio/analysis/workflow_step.rb:430:in
distribution_valid?'
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/openstudio-analysis-1.0.0.rc18/lib/openstudio/analysis/workflow_step.rb:119:in make_variable'
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/openstudio-analysis-1.0.0.rc18/lib/openstudio/analysis/workflow.rb:139:in
block in add_measure_from_excel'
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/openstudio-analysis-1.0.0.rc18/lib/openstudio/analysis/workflow.rb:120:in each'
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/openstudio-analysis-1.0.0.rc18/lib/openstudio/analysis/workflow.rb:120:in
add_measure_from_excel'
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/openstudio-analysis-1.0.0.rc18/lib/openstudio/analysis/translator/excel.rb:241:in block in analysis'
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/openstudio-analysis-1.0.0.rc18/lib/openstudio/analysis/translator/excel.rb:224:in
each'
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/openstudio-analysis-1.0.0.rc18/lib/openstudio/analysis/translator/excel.rb:224:in analysis'
/var/pwspreadsheet/OpenStudio-analysis-spreadsheet/Rakefile:52:in
get_project'
/var/pwspreadsheet/OpenStudio-analysis-spreadsheet/Rakefile:373:in block in <top (required)>'
/home/ec2-user/.rvm/gems/ruby-2.2.4/gems/rake-11.3.0/exe/rake:27:in
<top (required)>'="" home="" ec2-user="" .rvm="" gems="" ruby-2.2.4="" bin="" ruby_executable_hooks:15:in="" <code="">eval'
/home/ec2-user/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:in<main>'
Tasks: TOP => run_custom
(See full trace by running task with --trace)
Any thoughts?