I'm using the runmanager via the Python bindings to run OSM models. My code from OpenStudio 1.6.0 isn't working with the latest 1.8.0 bindings. When calling:
j = openstudio.runmanager.Job(
openstudio.runmanager.JobFactory.createModelToIdfJob(
os.path.join(osm_path, osm_name),
output_path
)
)
rm = openstudio.runmanager.RunManager(rm_path, True, True, False, False)
rm.enqueue(j, True)
I get the following error:
Traceback (most recent call last):
File "run_openstudio_models.py", line 45, in <module>
rm.enqueue(j, True)
File "/home/crafter/scripts/openstudio/openstudiorunmanager.py", line 3415, in enqueue
return _openstudiorunmanager.RunManager_enqueue(self, *args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'RunManager_enqueue'.
Possible C/C++ prototypes are:
openstudio::runmanager::RunManager::enqueue(openstudio::runmanager::Job const &,bool,openstudio::path const &)
openstudio::runmanager::RunManager::enqueue(openstudio::runmanager::Job const &,bool)
openstudio::runmanager::RunManager::enqueue(std::vector< openstudio::runmanager::Job,std::allocator< openstudio::runmanager::Job > > const &,bool,openstudio::path const &)
openstudio::runmanager::RunManager::enqueue(std::vector< openstudio::runmanager::Job,std::allocator< openstudio::runmanager::Job > > const &,bool)
I appear to have the correct number of arguments, so am at a loss for what is causing the problem.