Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment (query_duration.py:25259): GStreamer-CRITICAL **: Trying to dispose element pipeline0, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment (query_duration.py:25259): GStreamer-CRITICAL **: Trying to dispose element filesrc0, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment Traceback (most recent call last): File "query_duration.py", line 29, in messageHandler duration = pipeline.query_duration(gst.FORMAT_TIME)[0] UnboundLocalError: local variable 'pipeline' referenced before assignment (query_duration.py:25259): GStreamer-CRITICAL **: Trying to dispose element vorbisdec1, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. (query_duration.py:25259): GStreamer-CRITICAL **: Failed to deactivate pad typefind:src, very bad (query_duration.py:25259): GStreamer-CRITICAL **: Failed to deactivate pad oggdemux0:sink, very bad (query_duration.py:25259): GStreamer-CRITICAL **: Trying to dispose element fakesink, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. (query_duration.py:25259): GStreamer-CRITICAL **: Trying to dispose element typefind, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. (query_duration.py:25259): GStreamer-CRITICAL **: Trying to dispose element decodebin0, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. (query_duration.py:25259): GStreamer-CRITICAL **: Trying to dispose element fakesink1, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. sys:1: Warning: invalid unclassed pointer in cast to `GstElement' (query_duration.py:25259): GStreamer-CRITICAL **: gst_element_no_more_pads: assertion `GST_IS_ELEMENT (element)' failed (query_duration.py:25259): GStreamer-CRITICAL **: Trying to dispose element oggdemux0, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. Command terminated