So i changed it back and tried to fix the error i have.
With help from the flumotion team i arrived at this point .
TestStreamDataNoPlug passes but without "avatarId" which as you can see it's commented out. Here's the reason why:
track@track-HP-ProBook-4520s:~/Downloads/flumotion$ trial flumotion.test.test_component_httpstreamer
flumotion.test.test_component_httpstreamer TestStreamDataNoPlug testGetStreamData ... [ERROR] TestStreamDataPlug testGetStreamData ... [SKIPPED] =============================================================================== [SKIPPED] See #1137 flumotion.test.test_component_httpstreamer.TestStreamDataPlug.testGetStreamData =============================================================================== [ERROR] Traceback (most recent call last): File "/home/track/Downloads/flumotion/flumotion/test/test_component_httpstreamer.py", line 65, in testGetStreamData self.component.parseProperties({}) File "/home/track/Downloads/flumotion/flumotion/component/common/streamer/streamer.py", line 400, in parseProperties self.httpauth.setRequesterId(self.config['avatarId']) exceptions.AttributeError: 'NoneType' object has no attribute 'setRequesterId' flumotion.test.test_component_httpstreamer.TestStreamDataNoPlug.testGetStreamData ------------------------------------------------------------------------------- Ran 2 tests in 0.014s FAILED (skips=1, errors=1)
And when i comment "avatarId" the test passes ( so everything else works well):
track@track-HP-ProBook-4520s:~/Downloads/flumotion$ trial flumotion.test.test_component_httpstreamer
flumotion.test.test_component_httpstreamer TestStreamDataNoPlug testGetStreamData ... [OK] TestStreamDataPlug testGetStreamData ... [SKIPPED] =============================================================================== [SKIPPED] See #1137 flumotion.test.test_component_httpstreamer.TestStreamDataPlug.testGetStreamData ------------------------------------------------------------------------------- Ran 2 tests in 0.013s
PASSED (skips=1, successes=1)
TO DO:
*Make httpstreamer.py work
*Configure the basic pipline for a stream i mentioned in a earlier post
No comments :
Post a Comment