Skip to content
Snippets Groups Projects
Commit 2ad35acc authored by Jan David Mol's avatar Jan David Mol
Browse files

Fix release issues

parent 4ba7d6ae
No related branches found
No related tags found
1 merge request!1067Fix release issues
......@@ -51,3 +51,7 @@ infra/dev/nomad/tmp/*
/docker/snmp-exporter/tmp/
/docker/snmp-exporter/snmp.yml
/.vs
Lib/*
Scripts/*
pyvenv.cfg
......@@ -5,7 +5,9 @@ notebook-as-pdf
PyPDF2==2.12.1 # until https://github.com/betatim/notebook-as-pdf/issues/40 hits a notebook-as-pdf release
jupyterlab-git >= 0.50.0 # BSD-3
jupyter-collaboration >= 3.0.0 # 3-Clause BSD
jupyter_server_nbmodel[lab,rtc] # BSD-3
# disabled as it breaks on JupyterLab 4.3.5 (cells do not run)
#jupyter_server_nbmodel[lab,rtc] # BSD-3
# high-level access to station components.
# NB: tangostationcontrol will also install lofar-station-client. The latter
......
......@@ -17,7 +17,7 @@ job "rpc-server" {
}
port "metrics" {
static = "8000"
to = "8000"
host_network = "station"
}
}
......
......@@ -189,7 +189,7 @@ class Statistics(OPCUADevice):
# decode payload
try:
message = json.loads(payload.decode())
message = json.loads(payload)
except (json.decoder.JSONDecodeError, UnicodeDecodeError):
logger.exception(
f"Could not decode message payload as JSON {topic=} {message=}"
......
......@@ -138,7 +138,7 @@ class MultiEndpointZMQMessageHandler:
# decode payload
try:
message = json.loads(payload.decode())
message = json.loads(payload)
except (json.decoder.JSONDecodeError, UnicodeDecodeError):
logger.exception(
f"Could not decode message payload as JSON {uri=} {topic=} {payload=}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment