Please include any relevant log files, screenshots or other output here.
-- Traceback (most recent call last):
File "/home/goldy/Projects/CAMDEN/ccpp_framework/scripts/ccpp_capgen.py", line 777, in <module>
_main_func()
File "/home/goldy/Projects/CAMDEN/ccpp_framework/scripts/ccpp_capgen.py", line 770, in _main_func
_ = capgen(framework_env)
File "/home/goldy/Projects/CAMDEN/ccpp_framework/scripts/ccpp_capgen.py", line 730, in capgen
host_files = [write_host_cap(host_model, ccpp_api, cap_module,
File "/home/goldy/Projects/CAMDEN/ccpp_framework/scripts/host_cap.py", line 679, in write_host_cap
ConstituentVarDict.write_host_routines(cap, host_model, reg_name, init_name,
File "/home/goldy/Projects/CAMDEN/ccpp_framework/scripts/constituents.py", line 494, in write_host_routines
evar.write_def(cap, 2, host, dummy=True, add_intent="out")
TypeError: VarDDT.write_def() got an unexpected keyword argument 'add_intent'
Description
The
hostCCPP metadata table type should be able to accept DDT items.However, the error variables are somewhat special and they are not handled correctly when inside a DDT.
Steps to Reproduce
ccpp_error_messageand/orccpp_error_codevariables to the DDTtype = hostmetadata tableOutput
Please include any relevant log files, screenshots or other output here.