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

Uninitialized constant OpenStudio:Runmanager

Dear all,

Either there is something very wrong here or I am missing something very basic and I apologize, I am trying to run the following line of code to test a measure.

# class level variable @@co = OpenStudio::Runmanager::ConfigOptions.new(true)

Unfortunately, I get the error back: in `<class:pushcustomresultstomongodb_test>': uninitialized constant OpenStudio::Runmanager (NameError) (see attached screenshot).

I have 'required openstudio' so ruby should be able to access the constructor for this class from the openstudio SDK. What I am doing wrong here?

Many thanks

image description

Uninitialized constant OpenStudio:Runmanager

Dear all,

Either there is something very wrong here or I am missing something very basic and I apologize, I am trying to run the following line of code to test a measure.

# class level variable @@co = OpenStudio::Runmanager::ConfigOptions.new(true)

Unfortunately, I get the error back: in `<class:pushcustomresultstomongodb_test>': uninitialized constant OpenStudio::Runmanager (NameError) (see attached screenshot).

I have 'required openstudio' so ruby should be able to access the constructor for this class from the openstudio SDK. What I am doing wrong here?

Many thanks

image descriptionimage description

Uninitialized constant OpenStudio:Runmanager

Dear all,

Either there is something very wrong here or I am missing something very basic and I apologize, I am trying to run the following line of code to test a measure.

# class level variable @@co = OpenStudio::Runmanager::ConfigOptions.new(true)

Unfortunately, I get the error back: in `<class:pushcustomresultstomongodb_test>': uninitialized constant OpenStudio::Runmanager (NameError) (see attached screenshot).

I have 'required openstudio' so ruby should be able to access the constructor for this class from the openstudio SDK. What am I am doing wrong here?

Many thanks

image description