As i said in my previous posts Flumotion didn't import GstNet, but i could import it in the interactive prompt (ipython). I looked for a solution and i thought 'Why i don't try and initialize GstNet in the boot.py file?' . So did this change, where i assert GstNet in boot.py:
https://github.com/bananadine/flumotion/commit/83f2d799e550d9483a2d6c26aa2391537b473376#L0R256
And then i printed sys.modules:
http://pastebin.com/8B3SnjH2
And i got this line:
'gi.repository.GstNet': <gi.module.DynamicModule 'GstNet' from '/usr/lib/girepository-1.0/GstNet-1.0.typelib'>
GstNet gets imported successfully now.
Other changes are made here -> [83f2d79]
What problems I'm currently having
flumotion-worker output: http://pastebin.com/7bA4Ldf0
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'
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/component/7b26f59c71d7d30689ac8d72ceef8fc0/flumotion/component/feedcomponent010.py", line 534, in pipelinePaused
- self.clock_provider = GstNet.NetTimeProvider.new(clock, None, port)
- File "/usr/lib/python2.7/dist-packages/gi/types.py", line 72, in constructor
- return info.invoke(cls, *args, **kwargs)
- exceptions.TypeError: Argument 1 does not allow None as a value
3.
- Traceback (most recent call last):
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/volume-effect/5236a1d089cdbda5f04595a1315bdec1/flumotion/component/effects/volume/volume.py", line 67, in _bus_message_received_cb
- if message.structure.get_name() == 'level':
- AttributeError: 'Message' object has no attribute 'structure'
4.
- Traceback (most recent call last):
- File "/home/max/Desktop/flumotion-porting/flumotion/cache/vorbis-component/f5edb82cece7c472fab6e049e0573240/flumotion/component/encoders/vorbis/vorbis010.py", line 74, in buffer_probe
- in_rate = caps[0]['rate']
- TypeError: string indices must be integers, not str
- TypeError: event_probe_cb() takes exactly 5 arguments (4 given)
TO DO:
Fix the above mentioned problems
No comments :
Post a Comment