Closed abramov-oleg closed 9 months ago
The problem is in from savant.config.schema import MetricsParameters
inside savant.metrics
. Moved build_metrics_exporter
to savant.deepstream.utils.pipeline
. Probably this was causing a cycled import:
savant.metrics -> savant.config.schema -> savant.base.pyfunc -> savant.gstreamer -> gst_plugins.pyfunc -> savant.metrics
Starting any sample currently logs messages like:
in the module and ao rtsp containers.
These messages also register as failed pytest runs in the integration tests.
The errors go away if commenting out this import line https://github.com/insight-platform/Savant/blob/ddd3ddad7ea08392451564725628b076ff9a6431/gst_plugins/python/pyfunc.py#L18C52-L18C52
Run
To see gst python plugin load error messages of a form: