Closed plasorak closed 2 months ago
Do you have a np04_hd in the ~/.nanorc.json
?
I got the same error when I tried (thanks @TiagoTAlves for reporting it here).
Here's the .nanorc.json
file. So, there is a np04_hd
in the elisa_configuration
block, but I'm not sure if that's the right level that the code is expecting? Haven't have time to try to follow that through.
[wketchum@np04-srv-024 ~]$ cat ~np04daq/.nanorc.json
{
"cern": {
"elisa_configuration":{
"np02_coldbox": {
"connection": "https://np-vd-coldbox-elog.app.cern.ch/elisa/api/np-vd-coldbox-elog/",
"website": "https://np-vd-coldbox-elog.app.cern.ch/",
"attributes": {
"start": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"Automatic"
},
"Automatic_Message_Type": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"SoR"
}
},
"stop": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"Automatic"
},
"Automatic_Message_Type": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"EoR"
}
},
"message": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"Automatic"
},
"Automatic_Message_Type": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"Alarm"
}
}
}
},
"np02_pds": {
"connection": "https://np-vd-coldbox-elog.app.cern.ch/elisa/api/np-vd-coldbox-elog/",
"website": "https://np-vd-coldbox-elog.app.cern.ch/",
"attributes": {
"start": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"Automatic"
},
"Automatic_Message_Type": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"SoR"
}
},
"stop": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"Automatic"
},
"Automatic_Message_Type": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"EoR"
}
},
"message": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"Automatic"
},
"Automatic_Message_Type": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"Alarm"
}
}
}
},
"np04_coldbox": {
"connection": "https://pdsp-elog.app.cern.ch/elisa/api/ProtoDUNE-SP/",
"website": "https://pdsp-elog.app.cern.ch",
"attributes": {
"start": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"RunControl Message"
},
"RunControl_MessageType": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"status"
}
},
"stop": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"RunControl Message"
},
"RunControl_MessageType": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"status"
}
},
"message": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"RunControl Message"
},
"RunControl_MessageType": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"status"
}
}
}
},
"np04_hd": {
"connection": "https://pdsp-elog.app.cern.ch/elisa/api/ProtoDUNE-SP/",
"website": "https://pdsp-elog.app.cern.ch",
"attributes": {
"start": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"RunControl Message"
},
"RunControl_MessageType": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"status"
}
},
"stop": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"RunControl Message"
},
"RunControl_MessageType": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"status"
}
},
"message": {
"type": {
"set_on_reply": false,
"set_on_new_thread": true,
"value":"RunControl Message"
},
"RunControl_MessageType": {
"set_on_reply": true,
"set_on_new_thread": true,
"value":"status"
}
}
}
}
},
"run_registry_configuration":{
"socket": "http://np04-srv-017.cern.ch:30015"
},
"run_number_configuration":{
"socket": "http://np04-srv-017.cern.ch:30016"
},
"authentication": {
"run_registry": {
"user": "fooUsr",
"password": "barPass",
"type": "simple"
},
"run_number": {
"user": "fooUsr",
"password": "barPass",
"type": "simple"
},
"elisa": {
"user": "rcpd",
"type": "service-account",
"realm": "CERN.CH"
}
}
}
}
@wesketchum, @TiagoTAlves I've corrected the logic.
Changed the target merge branch to prep-release/fddaq-v4.4.0
now that the first release candidate has been built.
…c.json?!?!)