TypeError: cannot unpack non-iterable MapInfo object
miguelwon opened this issue · 1 comments
miguelwon commented
I getting this error when trying to replicate the notebook:
>>> ret, map_info = buffer.map(Gst.MapFlags.READ | Gst.MapFlags.WRITE)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: cannot unpack non-iterable MapInfo object
jackersson commented
Hi @miguelwon ,
According to documentation:
map(Gst.MapFlags) -> Tuple(bool, Gst.MapInfo)
So, function signature is Ok.
But the reason of problem is installed version of gst-python. Check installation guide with gstreamer-python package, which should install everything right.
Also there is a dockerfile which I used to check project.
Best regards,