You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to debug another issue, I ran voctocore with -ggg:
❯ python voctocore/voctocore.py -ggg
Traceback (most recent call last):
File "/home/samw/prog/voctomix/voctocore/voctocore.py", line 111, in <module>
main()
File "/home/samw/prog/voctomix/voctocore/voctocore.py", line 98, in main
voctocore = Voctocore()
File "/home/samw/prog/voctomix/voctocore/voctocore.py", line 49, in __init__
self.pipeline = Pipeline()
File "/home/samw/prog/voctomix/voctocore/lib/pipeline.py", line 169, in __init__
self.pipeline.use_clock(Clock)
AttributeError: 'Bin' object has no attribute 'use_clock'. Did you mean: 'set_clock'?
The really weird thing is that something is causing Gst.parse_launch to return a different type of object. If we add:
--- a/voctocore/lib/pipeline.py
+++ b/voctocore/lib/pipeline.py
@@ -166,6 +166,7 @@ class Pipeline(object):
for bin in self.bins:
bin.attach(self.pipeline)
+ print(type(self.pipeline))
self.pipeline.use_clock(Clock)
# fetch all queues
I've narrowed it down to Gst.debug_add_log_function in debug.py. If you comment that out, it works. So it seems to be a combination of setting the default threshold to DEBUG and adding a log function.
To be honest this caused me psychic damage but I thought I'd better write it down somewhere...
While trying to debug another issue, I ran voctocore with
-ggg
:The really weird thing is that something is causing
Gst.parse_launch
to return a different type of object. If we add:and run with
-gg
, we see (as expected):but if we run with
-ggg
, the type has changed!:I've narrowed it down to
Gst.debug_add_log_function
in debug.py. If you comment that out, it works. So it seems to be a combination of setting the default threshold to DEBUG and adding a log function.To be honest this caused me psychic damage but I thought I'd better write it down somewhere...
This is on voctomix 27e2c58.
The text was updated successfully, but these errors were encountered: