*** tpb has joined #timvideos | 00:00 | |
*** CarlFK has joined #timvideos | 00:37 | |
*** mithro has joined #timvideos | 02:56 | |
*** CarlFK has quit IRC | 03:49 | |
*** CarlFK has joined #timvideos | 04:32 | |
*** CarlFK has quit IRC | 08:10 | |
*** bananadine has joined #timvideos | 08:44 | |
*** bananadine has quit IRC | 09:38 | |
*** mithro has quit IRC | 09:40 | |
*** bananadine has joined #timvideos | 09:41 | |
bananadine | mithro-work weekly meeting | 10:06 |
---|---|---|
mithro-work | hey | 10:06 |
mithro-work | Google Hangouts okay? | 10:06 |
bananadine | yea | 10:06 |
mithro-work | okay, give me 5 minutes to find a room here | 10:06 |
bananadine | already there | 10:06 |
bananadine | ok | 10:06 |
*** mithro has joined #timvideos | 10:08 | |
mithro | bananadine, your in a hangout? | 10:09 |
bananadine | yes | 10:09 |
mithro | URL? | 10:09 |
bananadine | i sent you an invite just now | 10:10 |
mithro | I don't see anything | 10:10 |
mithro | which address did you send it too? | 10:10 |
bananadine | [email protected] | 10:11 |
bananadine | mithro* | 10:11 |
bananadine | mithro, iiie this is what i've found out so far http://pastebin.com/EA3t6Nuk | 11:10 |
tpb | Title: This doesn't get called https://code.flumotion.com/cgit/flumotion/tree/flumotio - Pastebin.com (at pastebin.com) | 11:10 |
mithro-work | ummm | 11:16 |
mithro-work | https://code.flumotion.com/cgit/flumotion/tree/flumotion/component/base/http.py#n89 | 11:16 |
mithro-work | that links to | 11:16 |
tpb | <http://ln-s.net/-L9z> (at code.flumotion.com) | 11:16 |
mithro-work | logCategory = 'httpauth' | 11:16 |
mithro-work | btw | 11:17 |
mithro-work | do you understand what this means? | 11:17 |
mithro-work | self.httpauth.setRequesterId(self.config['avatarId']) | 11:17 |
mithro-work | exceptions.AttributeError: 'NoneType' object has no attribute 'setRequesterId' | 11:17 |
bananadine | yea i know where it links to, but the whole module is untouched | 11:18 |
bananadine | i tried raising exceptions and printing everywhere | 11:18 |
bananadine | and i guess that means that | 11:19 |
bananadine | the object = None | 11:19 |
bananadine | https://code.flumotion.com/cgit/flumotion/tree/flumotion/component/common/streamer/streamer.py#n273 | 11:20 |
tpb | <http://ln-s.net/-L$3> (at code.flumotion.com) | 11:20 |
bananadine | and yes that's true | 11:21 |
mithro-work | "the object = None" | 11:21 |
mithro-work | in | 11:21 |
mithro-work | self.httpauth.setRequesterId(self.config['avatarId']) <- on that line which is none? | 11:21 |
bananadine | https://code.flumotion.com/cgit/flumotion/tree/flumotion/component/common/streamer/streamer.py#n273 | 11:21 |
tpb | <http://ln-s.net/-L$3> (at code.flumotion.com) | 11:21 |
bananadine | thee | 11:21 |
bananadine | there* | 11:21 |
mithro-work | self.httpauth.setRequesterId(self.config['avatarId']) <- on that line which is none? | 11:24 |
bananadine | oooh | 11:25 |
bananadine | sorry | 11:25 |
bananadine | i misread | 11:25 |
bananadine | httpauth is none | 11:25 |
mithro-work | yes, correct | 11:26 |
bananadine | is this some kind of an alias https://code.flumotion.com/cgit/flumotion/tree/flumotion/component/base/http.py#n89 ? | 11:27 |
tpb | <http://ln-s.net/-L9z> (at code.flumotion.com) | 11:27 |
mithro-work | bananadine, no | 11:28 |
mithro-work | its setting the attribute "logCategory" to the string httpauth | 11:28 |
mithro-work | no magic there | 11:28 |
bananadine | instead of None i gave httpauth "http.HTTPAuthentication" | 11:31 |
bananadine | and got this | 11:32 |
bananadine | http://pastebin.com/1S7wyE6c | 11:32 |
tpb | Title: track@track-HP-ProBook-4520s:~/Downloads/flumotion$ trial flumotion.test.test_co - Pastebin.com (at pastebin.com) | 11:32 |
mithro-work | umm | 11:33 |
mithro-work | you need to find out how httpauth is created on that instace | 11:33 |
mithro-work | and make sure it is created | 11:33 |
bananadine | it has to be none? | 11:34 |
mithro-work | no | 11:37 |
mithro-work | your not listening | 11:37 |
mithro-work | you need to find out how httpauth is created on that instance | 11:37 |
mithro-work | and make sure it is created | 11:37 |
bananadine | well there's not much | 11:39 |
bananadine | there's a initialization self.httpauth = None in streamer.py | 11:39 |
bananadine | and there's logCategory = 'httpauth' in http.py | 11:39 |
bananadine | the two are related | 11:40 |
bananadine | right? | 11:40 |
mithro-work | no | 11:40 |
mithro-work | logCategory = 'httpauth' is totally unrelated | 11:41 |
bananadine | well | 11:45 |
mithro-work | you are looking for things which set httpauth | 11:45 |
bananadine | then there's no way that httpauth in streamer.py has the attributes in http.HTTPAuthentication | 11:45 |
mithro-work | that sentence makes no sense | 11:54 |
bananadine | haha | 11:55 |
bananadine | what i meant is | 11:55 |
bananadine | i don't understand how self.httpauth.setRequesterId(self.config['avatarId']) is supposed to work | 11:56 |
bananadine | when "self.httpauth = None" | 11:57 |
mithro-work | it doesn't | 11:57 |
mithro-work | so self.httpauth must be set to something other then none somewhere | 11:58 |
bananadine | i added "self.httpauth = http.HTTPAuthentication(self)" in https://code.flumotion.com/cgit/flumotion/tree/flumotion/component/common/streamer/streamer.py#n334 | 12:06 |
tpb | <http://ln-s.net/-L$L> (at code.flumotion.com) | 12:06 |
bananadine | and the test passed | 12:06 |
mithro-work | bananadine, why did you do that? | 12:06 |
bananadine | i don't know it just came to me | 12:07 |
bananadine | intuitively | 12:07 |
mithro-work | that is a bad reason to do that | 12:09 |
bananadine | well | 12:10 |
bananadine | httpauth needed to be able to call the methods from http.HTTPAuthentication | 12:11 |
bananadine | so first i wrote | 12:11 |
bananadine | "self.httpauth = http.HTTPAuthentication" | 12:11 |
bananadine | but then i got | 12:11 |
bananadine | "exceptions.TypeError: unbound method setRequesterId() must be called with HTTPAuthentication instance as first argument (got str instance instead) | 12:11 |
bananadine | " | 12:11 |
bananadine | so i changed it to "self.httpauth = http.HTTPAuthentication(self)" | 12:12 |
mithro-work | where else is http.HTTPAuthentication created? | 12:12 |
mithro-work | I doubt the (self) argument is right | 12:13 |
bananadine | i don't see it being created anywhere else | 12:14 |
bananadine | do you think the test result could be a false positive? | 12:15 |
mithro-work | why would http.HTTPAuthentication exist if it wasn't used somewhere? | 12:16 |
bananadine | ok sorry | 12:17 |
bananadine | it's actually used | 12:18 |
bananadine | in other modules | 12:18 |
bananadine | and | 12:18 |
bananadine | everywhere it's used in this context "self.httpauth = http.HTTPAuthentication(self)" | 12:18 |
bananadine | wait i'll link | 12:19 |
bananadine | https://code.flumotion.com/cgit/flumotion/tree/flumotion/component/common/streamer/multifdsinkstreamer.py#n174 | 12:19 |
tpb | <http://ln-s.net/-L$_> (at code.flumotion.com) | 12:19 |
mithro-work | so why are you doing self.httpauth yourself when there are a bunch of functions which do it for you? | 12:26 |
bananadine | right | 12:27 |
bananadine | that method which does that | 12:28 |
bananadine | doesn't get called | 12:28 |
bananadine | i check with raising an exception there | 12:28 |
bananadine | ok | 12:30 |
bananadine | so now i called the method in the test | 12:30 |
bananadine | and it works | 12:30 |
bananadine | :) | 12:30 |
*** hyades has joined #timvideos | 12:31 | |
bananadine | i think it's fine now | 12:32 |
mithro-work | yes | 12:38 |
bananadine | well since i'm done with that | 12:39 |
bananadine | i'm going to make a break now and later check out planet.xml files | 12:39 |
bananadine | i saw an example .xml file on the documentation | 12:39 |
bananadine | which is what i need for the basic pipeline | 12:40 |
hyades | mithro-work, i am working mostly offline till next two days | 12:41 |
mithro-work | hyades, | 12:54 |
mithro-work | we need to organise a weekly face to face meeting | 12:55 |
mithro-work | when is good foryou? | 12:55 |
hyades | after 3rd | 12:55 |
mithro-work | I mean time wise | 13:06 |
hyades | around this time? | 13:08 |
mithro-work | can you do any earlier, it's a bit late for me | 13:14 |
hyades | yeah.. | 13:19 |
*** hyades has quit IRC | 13:34 | |
*** CarlFK has joined #timvideos | 14:12 | |
bananadine | so i want to create a stream now without using the wizard and with this configuration http://www.flumotion.net/doc/flumotion/manual/en/trunk/html/examples/example_conf_planet_testinputs.xml | 14:14 |
tpb | <http://ln-s.net/-L-G> (at www.flumotion.net) | 14:14 |
bananadine | how do i do that? :) | 14:14 |
mithro-work | bananadine, this is where you should use your head :) | 14:43 |
CarlFK | mithro-work: can you merge or what ever the hdmi2usb code into your git repo? | 14:44 |
*** CarlFK has quit IRC | 14:46 | |
*** CarlFK has joined #timvideos | 14:50 | |
CarlFK | sorry if this is a double - wifi dropped, not sure if this made it: | 14:57 |
CarlFK | mithro-work: can you merge or what ever the hdmi2usb code into your git repo? | 14:58 |
CarlFK | in 10 hours I'll show my progress to Ste the local guy who owns his own Atlyus and has been looking for something to do with his | 14:58 |
mithro-work | did you get the atlys working with useful firmware? | 15:05 |
CarlFK | I got that broken test pattern | 15:08 |
CarlFK | did you ever see the screen shot I posted? | 15:08 |
mithro-work | CarlFK, you need to be more descriptive, what did you have plugged in, what firmware where you using, all that... | 15:09 |
CarlFK | sec.. I'll put my script on the wiki | 15:12 |
mithro-work | config.txt is part of the Raspberry Pi not the HDMI2USB | 15:23 |
CarlFK | ah.. thanks | 15:25 |
mithro-work | the raspberry pi doesn't do "hot plug" displays | 15:26 |
CarlFK | I can power cycle the atlys, load the firmware and without unplugging the usb cable run camorama and get the test pattern | 15:29 |
CarlFK | https://github.com/timvideos/HDMI2USB/wiki/Firmware-load-script | 15:31 |
tpb | <http://ln-s.net/-L:N> (at github.com) | 15:31 |
mithro-work | after the fxload step you should pull the USB connector and plug it back in | 15:35 |
mithro-work | the tool you want to test with is | 15:35 |
mithro-work | luvcview | 15:35 |
mithro-work | or mplayer | 15:36 |
mithro-work | or vlc | 15:36 |
mithro-work | or atleast something non-random | 15:36 |
*** CarlFK has quit IRC | 15:37 | |
bananadine | mithro-work, that .xml config in the documentation is probably way outdated | 15:39 |
bananadine | i managed to get a flow to the muxer but it alternates from active to inactive | 15:40 |
bananadine | p.s: i'm using the flumotion i got installed | 15:41 |
bananadine | not the one i'm porting | 15:41 |
bananadine | i could paste you the output from the terminal and the config file i'm using | 15:42 |
bananadine | if you like | 15:42 |
*** CarlFK has joined #timvideos | 15:43 | |
CarlFK | switched to a usb wifi dongle... which seems to work, unlike my built in wifi which seems to have gone from bad to worse in the last 24 hours | 15:44 |
mithro-work | <mithro-work> after the fxload step you should pull the USB connector and plug it back in | 15:45 |
mithro-work | <mithro-work> the tool you want to test with is | 15:45 |
mithro-work | <mithro-work> luvcview | 15:45 |
mithro-work | <mithro-work> or mplayer | 15:45 |
mithro-work | <mithro-work> or vlc | 15:45 |
mithro-work | <mithro-work> or atleast something non-random | 15:45 |
CarlFK | thanks | 15:46 |
CarlFK | luvcview gave me a similar image, only the grey area is orange | 15:47 |
CarlFK | are you sure about pulling the USB? | 15:47 |
mithro-work | what are the LEDs on the board displaying? | 15:47 |
iiie | bananadine: hey, sure is it giving errors in the log when it goes from active to inactive? | 15:48 |
CarlFK | 7 6 5 4 x 3 x x ( number = on, x = off) | 15:48 |
bananadine | iiie, i don't think i was saving a log | 15:49 |
iiie | bananadine: ls /usr/local/var/log | 15:50 |
mithro-work | So Led 7 and Led 6 both being on means you are currently getting the test image | 15:50 |
iiie | I'm actually unclear how to make it not log | 15:50 |
iiie | (or log less) | 15:50 |
mithro-work | LED7, LED6 | 15:50 |
mithro-work | Selected Input | 15:50 |
mithro-work | Off, Off | 15:50 |
mithro-work | HDMI 0 | 15:50 |
mithro-work | Off, On | 15:50 |
mithro-work | HDMI 1 | 15:50 |
mithro-work | On, Off | 15:50 |
mithro-work | Reserved (for VGA extension board) | 15:50 |
mithro-work | On, On | 15:51 |
mithro-work | Test pattern | 15:51 |
bananadine | iiie, are yousure that's the right dir? | 15:51 |
bananadine | i don't have var in local | 15:51 |
iiie | not 100%, one second and I'll verify | 15:51 |
CarlFK | mithro-work: should we move this to #hdmi2usb ? | 15:51 |
bananadine | only | 15:53 |
bananadine | /var/log/ | 15:53 |
iiie | bananadine: see if there is a flumotion directory in there | 15:53 |
bananadine | yep | 15:53 |
iiie | hm, well somehow mine is in /usr/local | 15:54 |
iiie | what logs are in the flumotion directory? (I have service.log) | 15:54 |
bananadine | i have service.log too | 15:54 |
bananadine | well actually | 15:54 |
bananadine | manager.default.log service.log.1 worker.default.log worker.default.log.2 | 15:54 |
bananadine | service.log service.log.2 worker.default.log.1 | 15:54 |
iiie | All the numbered ones are from logrotate, depending on the dates they may have useful information | 15:55 |
iiie | when the muxer (or stream?) is alternating active / inactive, have a terminal up running "tail -f FILENAME" | 15:57 |
iiie | you'll probably have to use sudo | 15:57 |
iiie | ("sudo tail -f /var/log/flumotion/worker.default.log" | 15:58 |
bananadine | yeah i figured | 15:58 |
bananadine | just a minute | 15:58 |
bananadine | i have some trouble with my text editor | 15:58 |
bananadine | can't exit it | 15:58 |
iiie | what editor? | 15:59 |
iiie | (pico/nano, emacs, vi/vim)? | 15:59 |
bananadine | sublime | 16:00 |
bananadine | damn | 16:01 |
bananadine | can't even kill it | 16:01 |
bananadine | never mind i'll open the log with another editor while you're here to help me | 16:01 |
bananadine | and then i'll restart | 16:01 |
iiie | tail -f has the advantage of not crashing no matter the size | 16:02 |
iiie | log files are particularly painful on that | 16:02 |
bananadine | so | 16:02 |
bananadine | i opened the log files | 16:02 |
bananadine | looked at the dates | 16:02 |
bananadine | there is nothing past April 21 | 16:03 |
bananadine | hmm | 16:03 |
iiie | run "ls -la /var/log/flumotion" are any of those passed 4/21? | 16:03 |
CarlFK | I am guessing a new version is logging somewhere else | 16:04 |
bananadine | nope, none are past 4/21 | 16:05 |
bananadine | i remember i changed the version of flumotion then | 16:05 |
bananadine | now to find where it's saving | 16:05 |
bananadine | i got recent logs in tmp | 16:06 |
bananadine | but that's not what we're looking for, right? | 16:06 |
iiie | we're looking for logs to watch while you're seeing the change in the muxer, presumably "something is wrong" | 16:07 |
CarlFK | (11:07:11 AM) skay: live streaming europython https://ep2013.europython.eu/p3/live/ | 16:07 |
tpb | Title: EuroPython 2013: Florence, July 17 (at ep2013.europython.eu) | 16:07 |
CarlFK | but everyone is asleep now | 16:07 |
iiie | bananadine: did you configure it to put logs in /tmp ? | 16:08 |
bananadine | nope | 16:08 |
iiie | tail the logs and see what you get | 16:10 |
iiie | a text editor is a poor choice for watching logs (even if it refreshes it has to read the whole file, while all you care about is the new end) | 16:10 |
bananadine | oh | 16:11 |
bananadine | wait | 16:11 |
bananadine | should i turn on the manager and worker? | 16:11 |
bananadine | and then look at the log | 16:11 |
iiie | yes, the only options are troubleshoot (investigate) while it's running, or record with great (excessive) accuracy when what happened and check in the logs. | 16:12 |
iiie | and start tail -f first, so you can see what's happening | 16:13 |
bananadine | can i configure planet.xml to tell the worker where to put the logs? | 16:24 |
iiie | I don't think so, I think it's in the service where the logs are set. There might be an option to change it in /etc/default/flumotion, but I wouldn't know what it was. | 16:26 |
iiie | I've got to run, back on hm, I'll be on at work, but my attention will mostly be lacking | 16:29 |
bananadine | no problem | 16:31 |
*** bananadine has quit IRC | 16:31 | |
*** iiie is now known as iiie2 | 16:32 | |
*** iiie has joined #timvideos | 19:06 | |
*** parx has left #timvideos | 19:26 | |
*** CarlFK has quit IRC | 23:16 | |
*** Jahanzeb has joined #timvideos | 23:19 | |
*** Jahanzeb has joined #timvideos | 23:37 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!