Checklist:
1.
- Traceback (most recent call last):
- File "/home/max/Desktop/flumotion-porting/flumotion/flumotion/common/gstreamer.py", line 51, in verbose_deep_notify_cb
- value = orig.get_property(pspec.name)
- AttributeError: 'NoneType' object has no attribute 'name'
Printing the arguments in verbose_deep_notify_cb in gstreamer.py gives the following:
'print object' prints <Pipeline object at 0x9cb0c34 (GstPipeline at 0x9ce6c38)>
'print orig' prints <__main__.GstMultiFdSink object at 0x9868c0c (GstMultiFdSink at 0x98656d0)>
'print pspec' prints None
'print component' prints all components in the pipeline
Printing pspec in the pre-ported Flumotion shows that it's only a log of the pipeline properties/specifications.
Tried a lot of things, but at the end i did this to get pass the problem:
https://github.com/bananadine/flumotion/commit/5a1ac72140408aeb84be09cc99de792c01390fcd#L0R51
2.
Printing pspec in the pre-ported Flumotion shows that it's only a log of the pipeline properties/specifications.
Tried a lot of things, but at the end i did this to get pass the problem:
https://github.com/bananadine/flumotion/commit/5a1ac72140408aeb84be09cc99de792c01390fcd#L0R51
2.
- Twisted traceback:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 896, in proto_message
- self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
- File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 910, in _recvMessage
- netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
- File "/home/max/Desktop/flumotion-porting/flumotion/flumotion/common/medium.py", line 279, in remoteMessageReceived
- self, broker, message, args, kw)
- File "/home/max/Desktop/flumotion-porting/flumotion/flumotion/twisted/pb.py", line 584, in remoteMessageReceived
- d = defer.maybeDeferred(method, *args, **kwargs)
- --- <exception caught here> ---
- File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
- result = f(*args, **kw)
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/component/3a795ff0d790d96af4e17e4306ad0c5c/flumotion/component/feedcomponent.py", line 249, in remote_setMasterClock
- return self.comp.set_master_clock(ip, port, base_time)
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/component/3a795ff0d790d96af4e17e4306ad0c5c/flumotion/component/feedcomponent010.py", line 504, in set_master_clock
- element = self.pipeline.get_by_name('src')
- exceptions.TypeError: unbound method get_by_name() must be called with Pipeline instance as first argument (got str instance instead)
Got rid of this:
https://github.com/bananadine/flumotion/commit/5a1ac72140408aeb84be09cc99de792c01390fcd#L0R51
3.
- Traceback (most recent call last):
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/vorbis-component/2b18938d80c0f3474d96f6eea8f6c471/flumotion/component/encoders/vorbis/vorbis010.py", line 75, in buffer_probe
- in_rate = kaps[0].get_value('rate')
- File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
- return info.invoke(*args, **kwargs)
- TypeError: unknown type GstIntRange
(pygst doesn't yet support the full set of gstreamer GType values)
4.
- WARN [13016] "encoder-audio" feedcomponent Jul 28 16:42:14 element /GstPipeline:pipeline-encoder-audio/GstFdSrc:eater:default error Internal data flow error. gstbasesrc.c(2809): gst_base_src_loop (): /GstPipeline:pipeline-encoder-audio/GstFdSrc:eater:default:
- streaming task paused, reason not-negotiated (-4) (flumotion/component/feedcomponent010.py:261)
- INFO [13016] "encoder-audio" feedcomponent Jul 28 16:42:14 We got an eos from pipeline-encoder-audio (flumotion/component/feedcomponent010.py:284)
I don't know anything about this one, yet.
5.
- Twisted traceback:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 84, in callWithLogger
- return callWithContext({"system": lp}, func, *args, **kw)
- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 69, in callWithContext
- return context.call({ILogContext: newCtx}, func, *args, **kw)
- File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
- return self.currentContext().callWithContext(ctx, func, *args, **kw)
- File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
- return func(*args,**kw)
- --- <exception caught here> ---
- File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 586, in _doReadOrWrite
- why = selectable.doRead()
- File "/home/max/Desktop/flumotion-porting/flumotion/flumotion/twisted/fdserver.py", line 98, in doRead
- message[offset:offset+msglen])
- File "/home/max/Desktop/flumotion-porting/flumotion/flumotion/job/job.py", line 338, in fileDescriptorsReceived
- os.close, eaterId)
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/component/3a795ff0d790d96af4e17e4306ad0c5c/flumotion/component/feedcomponent010.py", line 806, in feedToFD
- self.pipeline.get_state(0)[1] == Gst.State.NULL):
- exceptions.TypeError: unbound method get_state() must be called with Pipeline instance as first argument (got int instance instead)
This is gone.
6.
- Traceback (most recent call last):
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/component/3a795ff0d790d96af4e17e4306ad0c5c/flumotion/component/feedcomponent.py", line 985, in buffer_probe_cb
- pad = Gst.Element.get_static_pad('src')
- TypeError: unbound method get_static_pad() must be called with Element instance as first argument (got str instance instead)
This change needs to be applied here: https://github.com/bananadine/flumotion/commit/5a1ac72140408aeb84be09cc99de792c01390fcd#L1L1019
Instead of calling the method on Gst.Element (which makes no sense) I need to call it on something which is a GstElement.
Instead of calling the method on Gst.Element (which makes no sense) I need to call it on something which is a GstElement.
I'll post the current worker output tomorrow/later in an edit to show what needs to be fixed.
EDIT: Worker output http://pastebin.com/xsa7x7rj
No comments :
Post a Comment