NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
494 stars 188 forks source link

Ruby crash - Mac 1.0.0 installer - prevents Mac users from creating Xcel QAQC report #425

Closed asparke2 closed 11 years ago

asparke2 commented 11 years ago

the following ruby script demonstrates the issue:

it works fine on all developer builds and the Windows installer, but fails on the Mac installer.


require 'openstudio'
require 'qaqc/QAQC'

OpenStudio::Application::instance.application

path_to_osp = OpenStudio::Path.new('Path/To/ProjectDir/')
proj = OpenStudio::AnalysisDriver::SimpleProject::open(path_to_osp)

#fail if the project didn't load correctly
if proj.empty?
  puts "fail"
  exit(false)
else
  puts "success"
end
kbenne commented 11 years ago

@lefticus @asparke2 I encountered similar problems preparing for PNNL training while trying to open projects in the Pat UI. Alex could not reproduce so I moved on thinking it was a isolated issue to my developer machine.

lefticus commented 11 years ago

@asparke2 It'd be handy if you said what the actual error was.

If it's an unhandled exception error, I've done a full analysis of the problem here 98a4427246e864193672e2c669501d81e214dd7c but have received no feedback on it.

-Jason

DavidGoldwasser commented 11 years ago

@asparke2 and @lefticus should this be closed as a duplicate of Issue #2?

asparke2 commented 11 years ago

@DavidGoldwasser This can be closed as a duplicate of whatever the issue was with the Mac exception handling. That is fixed now.

DavidGoldwasser commented 11 years ago

@asparke2 does that mean that not only this but that Issue #408 and Issue #2 should be closed? I see issue 408 in "Deliver" in Pivotal. Has that been tested?