First time here? Check out the Help page!

Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStudio swag errors when applying measures

Hello

I often get ''SWIG director method errors'' when I apply a measures OpenStudio 3.9 version Windows 11 OS

Measure.rb line 310 to 318 BTAP::Geometry::Wizards::create_shape_rectangle(model, length = a, width = b, above_ground_storys = above_grade_floors, under_ground_storys = 0, # Set to 1, when modeling a basement floor_to_floor_height = floor_to_floor_height, plenum_height = plenum_height, perimeter_zone_depth = perimeter_depth, initial_height = 0.0)

ADVANCED MEASURE OUTPUT Standard Output: [openstudio.measure.OSRunner] SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun' [openstudio.workflow.OSWorkflow] Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'

Standard Error: Failed to run workflow. Last Error: Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'

run.log: [08:02:13.549026 ERROR] [openstudio.measure.OSRunner] SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun' [08:02:13.550026 ERROR] [openstudio.workflow.OSWorkflow] Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'

OpenStudio swag errors when applying measures

Hello

I often get ''SWIG director method errors'' when I apply a measures OpenStudio 3.9 version Windows 11 OS

Measure.rb line 310 to 318 BTAP::Geometry::Wizards::create_shape_rectangle(model, length = a, width = b, above_ground_storys = above_grade_floors, under_ground_storys = 0, # Set to 1, when modeling a basement floor_to_floor_height = floor_to_floor_height, plenum_height = plenum_height, perimeter_zone_depth = perimeter_depth, initial_height = 0.0)

ADVANCED MEASURE OUTPUT Standard Output: [openstudio.measure.OSRunner] SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun' [openstudio.workflow.OSWorkflow] Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'

Standard Error: Failed to run workflow. Last Error: Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'

run.log: [08:02:13.549026 ERROR] [openstudio.measure.OSRunner] SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun' [08:02:13.550026 ERROR] [openstudio.workflow.OSWorkflow] Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'

OpenStudio swag errors when applying measures

Hello

I often get ''SWIG director method errors'' when I apply a measures OpenStudio 3.9 version Windows 11 OS

Measure.rb line 310 to 318 BTAP::Geometry::Wizards::create_shape_rectangle(model, length = a, width = b, above_ground_storys = above_grade_floors, under_ground_storys = 0, # Set to 1, when modeling a basement floor_to_floor_height = floor_to_floor_height, plenum_height = plenum_height, perimeter_zone_depth = perimeter_depth, initial_height = 0.0)

ADVANCED MEASURE OUTPUT Standard Output: [openstudio.measure.OSRunner] SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun' [openstudio.workflow.OSWorkflow] Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'

Standard Error: Failed to run workflow. Last Error: Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'

run.log: [08:02:13.549026 ERROR] [openstudio.measure.OSRunner] SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun' [08:02:13.550026 ERROR] [openstudio.workflow.OSWorkflow] Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure 'C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb' reported an error with [SWIG director method error. NameError: uninitialized constant BTAP::Geometry::Wizards

Traceback (most recent call last): eval:416:in const_missing' C:/Users/Marc/Documents/10. FICHIERS INSTALLATION/OPENSTUDIO/measures/nrc_create_geometry/measure.rb:310:inrun']'