netdata/netdata · error · EmitterError
tag is not specified
Error message
tag is not specified
What it means
Error "tag is not specified" thrown in netdata/netdata.
Source
Thrown at src/collectors/python.d.plugin/python_modules/pyyaml3/emitter.py:488
def process_tag(self):
tag = self.event.tag
if isinstance(self.event, ScalarEvent):
if self.style is None:
self.style = self.choose_scalar_style()
if ((not self.canonical or tag is None) and
((self.style == '' and self.event.implicit[0])
or (self.style != '' and self.event.implicit[1]))):
self.prepared_tag = None
return
if self.event.implicit[0] and tag is None:
tag = '!'
self.prepared_tag = None
else:
if (not self.canonical or tag is None) and self.event.implicit:
self.prepared_tag = None
return
if tag is None:
raise EmitterError("tag is not specified")
if self.prepared_tag is None:
self.prepared_tag = self.prepare_tag(tag)
if self.prepared_tag:
self.write_indicator(self.prepared_tag, True)
self.prepared_tag = None
def choose_scalar_style(self):
if self.analysis is None:
self.analysis = self.analyze_scalar(self.event.value)
if self.event.style == '"' or self.canonical:
return '"'
if not self.event.style and self.event.implicit[0]:
if (not (self.simple_key_context and
(self.analysis.empty or self.analysis.multiline))
and (self.flow_level and self.analysis.allow_flow_plain
or (not self.flow_level and self.analysis.allow_block_plain))):
return ''
if self.event.style and self.event.style in '|>':View on GitHub (pinned to 4864de85e2)
Solutions
- A YAML node was emitted without a required tag.
- Provide an explicit tag for the node being emitted.
When it happens
Trigger: Thrown at src/collectors/python.d.plugin/python_modules/pyyaml3/emitter.py:488 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of netdata/netdata@4864de85e2 (2026-08-15).
Data as JSON: /api/errors/e54f75d9bd013c86.
Report an issue: GitHub.