Advertisement
Guest User

Untitled

a guest
Jul 1st, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. This doesn't get called
  2. https://code.flumotion.com/cgit/flumotion/tree/flumotion/component/base/http.py#n89
  3.  
  4. With raising exceptions and from the traceback i found out that the call for setRequesterId ends at https://code.flumotion.com/cgit/flumotion/tree/flumotion/component/common/streamer/streamer.py#n398
  5.  
  6. where i get this error:
  7.  
  8. track@track-HP-ProBook-4520s:~/Downloads/flumotion$ trial flumotion.test.test_component_httpstreamer
  9. flumotion.test.test_component_httpstreamer
  10. TestStreamDataNoPlug
  11. testGetStreamData ... [ERROR]
  12. [ERROR]
  13. TestStreamDataPlug
  14. testGetStreamData ... [SKIPPED]
  15.  
  16. ===============================================================================
  17. [SKIPPED]
  18. See #1137
  19.  
  20. flumotion.test.test_component_httpstreamer.TestStreamDataPlug.testGetStreamData
  21. ===============================================================================
  22. [ERROR]
  23. Traceback (most recent call last):
  24. File "/home/track/Downloads/flumotion/flumotion/test/test_component_httpstreamer.py", line 52, in setUp
  25. self.component.parseProperties(config)
  26. File "/home/track/Downloads/flumotion/flumotion/component/common/streamer/streamer.py", line 400, in parseProperties
  27. self.httpauth.setRequesterId(self.config['avatarId'])
  28. exceptions.AttributeError: 'NoneType' object has no attribute 'setRequesterId'
  29.  
  30. flumotion.test.test_component_httpstreamer.TestStreamDataNoPlug.testGetStreamData
  31. ===============================================================================
  32. [ERROR]
  33. Traceback (most recent call last):
  34. Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
  35. DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
  36. <DelayedCall 0x2eb9cf8 [12.4978330135s] called=0 cancelled=0 MultifdSinkStreamer._feeder_probe_calllater()>
  37.  
  38. flumotion.test.test_component_httpstreamer.TestStreamDataNoPlug.testGetStreamData
  39. -------------------------------------------------------------------------------
  40. Ran 2 tests in 0.013s
  41.  
  42. FAILED (skips=1, errors=2)
  43.  
  44. I also tried the test with another attribute (domain) instead of avatarID, but i got the same error with domain instead of avatarID in the traceback.
  45.  
  46. I think it's because http.py doesn't get called and httpauth in streamer.py doesn't have the attributes on it's own.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement