CarlFK | oc9e | 00:00 |
---|---|---|
*** tpb has joined #timvideos | 00:00 | |
CarlFK | sorry, pc9e | 00:01 |
iiie | I thought I was having problems :) | 00:02 |
CarlFK | look in ~/.dvswitchrc :p | 00:02 |
iiie | will do, I still don't remember that one | 00:02 |
iiie | CarlFK: is oc9e recording ? I'm guessing not. I'll get the other 4 up to where I have cnt2 | 00:34 |
CarlFK | opps | 00:34 |
CarlFK | pc9e dvswitch is up | 00:37 |
CarlFK | I think I terminated a screen session on cnt2 that was yours | 00:38 |
CarlFK | or wait.. maybe it was created and detached, but noting was running in it | 00:38 |
iiie | I'm not worried, I'm still on the box | 00:39 |
iiie | :) | 00:39 |
iiie | says hungry though... | 00:39 |
iiie | cnt2 | 00:39 |
iiie | also installing on cnt3 (finally) | 00:39 |
iiie | I don't know what too look at for the hungry. I've looked at the worker log and it says the avatar feed is logged out, often. | 00:45 |
iiie | so my expectation is that I've gotten flumotion installed fine, but the config is a little off.... | 00:48 |
CarlFK | Whats the avatar feed? :p | 00:52 |
iiie | I don't know either, my guess is that some config bit is off, almost done installing the last two cnt3 is installed, but not configured (even poorly) | 00:58 |
iiie | er I take that back, I was in the install on cnt3 | 00:59 |
iiie | now cnt3 is as far as it can go without a good config | 01:01 |
CarlFK | meh.. I think we should throw in the towl | 01:02 |
iiie | other two are almost to the same spot | 01:03 |
CarlFK | well... I guess this is a good test bed | 01:03 |
CarlFK | getting kicked out again :) | 01:03 |
iiie | 3 of 4 installed, 1 with the goodish config... | 01:04 |
iiie | well 4 of 4 installed | 01:04 |
iiie | I'm off the boxes boss | 01:05 |
CarlFK | grovy | 01:07 |
CarlFK | we are off to dinner | 01:07 |
iiie | have a good time | 01:07 |
CarlFK | thanks for the hacking.. hope some good comes out of it | 01:08 |
*** CarlFK has quit IRC | 01:09 | |
iiie | Yeah, at least I have a modified set of instructions to get it up to not configure. | 01:09 |
*** Jahanzeb has quit IRC | 02:48 | |
*** mithro has joined #timvideos | 04:06 | |
*** rihnapstor has joined #timvideos | 07:11 | |
*** rihnapstor has joined #timvideos | 07:11 | |
*** rihnapstor has quit IRC | 07:25 | |
*** rihnapstor has joined #timvideos | 07:27 | |
*** rihnapstor has quit IRC | 07:43 | |
*** rihnapstor has joined #timvideos | 09:17 | |
*** rihnapstor has joined #timvideos | 09:17 | |
*** rihnapstor_ has joined #timvideos | 09:34 | |
*** rihnapstor has quit IRC | 09:35 | |
*** rihnapstor_ has quit IRC | 09:48 | |
*** hyades has joined #timvideos | 10:16 | |
*** hyades has quit IRC | 10:32 | |
*** hyades has joined #timvideos | 11:26 | |
*** bananadine has joined #timvideos | 12:05 | |
*** rihnapstor has joined #timvideos | 12:12 | |
*** rihnapstor has quit IRC | 12:13 | |
*** rihnapstor has joined #timvideos | 12:13 | |
rihnapstor | hello | 12:17 |
*** rihnapstor_ has joined #timvideos | 12:18 | |
*** rihnapstor has quit IRC | 12:21 | |
bananadine | hi iiie | 12:22 |
*** Jahanzeb has joined #timvideos | 12:39 | |
*** hyades has quit IRC | 13:04 | |
*** hyades has joined #timvideos | 13:19 | |
*** hyades_ has joined #timvideos | 13:20 | |
*** hyades has quit IRC | 13:24 | |
*** hyades_ has quit IRC | 13:25 | |
*** rihnapstor_ has quit IRC | 13:33 | |
*** hyades has joined #timvideos | 13:35 | |
*** hyades has quit IRC | 14:07 | |
*** hyades has joined #timvideos | 14:59 | |
*** bananadine has quit IRC | 15:03 | |
iiie | arg | 15:08 |
*** rihnapstor has joined #timvideos | 15:28 | |
*** rihnapstor has joined #timvideos | 15:29 | |
*** parx has left #timvideos | 16:25 | |
*** CarlFK has joined #timvideos | 16:52 | |
*** hyades has quit IRC | 16:53 | |
*** bananadine has joined #timvideos | 16:56 | |
iiie | Goodday CarlFK | 16:56 |
iiie | and bananadine | 16:56 |
CarlFK | iiie: um.. using boto to upload to archive.org, seeems to retry 3 times, then error, and my code doesn't even trap the error right - "body doesn't have an e" | 16:56 |
*** rihnapstor has quit IRC | 16:57 | |
bananadine | hello hello | 16:57 |
CarlFK | ever use boto? | 16:57 |
bananadine | iiie i got rid of the problem with the parsing | 16:57 |
bananadine | it was the formating of the string | 16:57 |
iiie | bananadine: excellent! | 16:57 |
CarlFK | self.ret_text = "internet archive error: %s" % ( e.body ); AttributeError: 'error' object has no attribute 'body' | 16:57 |
bananadine | but still there are the other problems :) | 16:58 |
iiie | CarlFK: sounds like older versions attached attributes to the exception | 16:58 |
iiie | is that your code or from inside boto? | 16:58 |
*** parx has joined #timvideos | 16:59 | |
*** hyades has joined #timvideos | 16:59 | |
CarlFK | mine.. or maybe Sheila's :p | 16:59 |
iiie | right, I'd just swap in e rather than e.body | 17:00 |
bananadine | so i printed the arguments from verbose_deep_notify_cb in gstreamer.py and these are the results: | 17:01 |
bananadine | 'print object' prints <Pipeline object at 0x9cb0c34 (GstPipeline at 0x9ce6c38)> | 17:01 |
bananadine | 'print orig' prints <__main__.GstMultiFdSink object at 0x9868c0c (GstMultiFdSink at 0x98656d0)> | 17:02 |
bananadine | 'print pspec' prints None | 17:02 |
bananadine | 'print component' prints all components in the pipeline | 17:02 |
bananadine | (before i fixed the issue with the video test producer caps | 17:02 |
bananadine | print component didn't print that one, but now it does) | 17:02 |
bananadine | still don't know why pspec is None | 17:03 |
iiie | hm, pspec is still none, is the caps thing working or just differed to somewhere else? | 17:04 |
bananadine | the caps thing was with the video test producer | 17:05 |
bananadine | i don't think it's somehow related with the pspec problem | 17:06 |
iiie | hm, maybe we need to pull the pspec name from somewhere else, we have any idea what the old value (pre port) was? | 17:19 |
bananadine | no | 17:20 |
bananadine | i need to check that | 17:20 |
bananadine | ahh | 17:29 |
bananadine | in the pre-ported version i can't print out the arguments | 17:29 |
bananadine | everything runs smooth and i don't get the print out in the log | 17:29 |
* iiie grumbles, even just a > print "yes this function runs" < doesn't show? | 17:31 | |
bananadine | nope | 17:33 |
bananadine | but raising an exception shows up | 17:33 |
bananadine | so actually the function runs | 17:33 |
iiie | well, if you can raise an exception raise it with the pspec argument, see what it is | 17:34 |
bananadine | oh righr | 17:34 |
bananadine | right* | 17:34 |
iiie | : ) | 17:34 |
bananadine | Haaa got it! | 17:35 |
bananadine | so pspec changes/udpates | 17:35 |
bananadine | look at the values | 17:36 |
bananadine | <GParamInt 'bitrate'> | 17:36 |
bananadine | <GParamEnum 'pattern'> | 17:36 |
bananadine | <GParamEnum 'sync-method'> | 17:36 |
bananadine | etc. | 17:36 |
bananadine | <GParamBoxed 'caps'> | 17:36 |
iiie | Alright! Forward motion! | 17:37 |
bananadine | <GParamBoxed 'caps'> is the most is the most frequent one | 17:37 |
bananadine | so what is this actually? | 17:37 |
bananadine | properties? | 17:37 |
bananadine | pspec - spec for specifications ? | 17:38 |
iiie | I think so, pipeline specification | 17:39 |
bananadine | right, makes sense | 17:39 |
bananadine | btw, got to take a shower | 17:39 |
bananadine | will be back in 15 minutes, | 17:39 |
iiie | I'd try raising an exception with atributes of the pspec | 17:39 |
iiie | alright | 17:40 |
*** hyades has quit IRC | 17:47 | |
bananadine | back | 17:53 |
bananadine | i tried raising with pspec.name | 17:53 |
bananadine | that return 'bitrate' from <GParamInt 'bitrate'> | 17:53 |
bananadine | etc. | 17:53 |
iiie | hm, so it's called once per property? | 17:55 |
bananadine | yes | 17:56 |
iiie | does the exception give a stacktrace or just the exception itself? | 17:59 |
bananadine | just the exception itself | 17:59 |
bananadine | what passes the values on to pspec , i think that's what i need to know | 18:00 |
bananadine | to know why it's given none in the ported version | 18:00 |
iiie | yes, that's why we'd want the stacktrace | 18:01 |
iiie | alright, new notion to try on the new code, check pspec for None, if it is none, fake 'bitrate' for pspec.name | 18:02 |
iiie | see where that gets us | 18:02 |
bananadine | right | 18:02 |
bananadine | can i try that later? | 18:02 |
iiie | yes | 18:02 |
bananadine | i need to go somewhere now | 18:02 |
bananadine | some stuff turned up | 18:02 |
iiie | no problem | 18:03 |
iiie | I'll probably be wandering off a bit too | 18:03 |
bananadine | will you be on around 10 pm my time? | 18:03 |
bananadine | i think i can be on from 10 pm my time till 1 or 2 am | 18:04 |
* iiie utterly fails to remember the offset | 18:04 | |
bananadine | well | 18:04 |
iiie | what time is it now your time | 18:04 |
bananadine | now it's 8 pm my time | 18:04 |
bananadine | :) | 18:04 |
iiie | yes I can be available in a couple of hours | 18:04 |
iiie | 11am here just a bit ago | 18:04 |
bananadine | well great | 18:05 |
bananadine | catch ya later then | 18:05 |
*** bananadine has quit IRC | 18:05 | |
*** hyades has joined #timvideos | 19:06 | |
*** Sewar-- has joined #timvideos | 19:19 | |
*** Sewar-- has quit IRC | 19:54 | |
*** Sewar-- has joined #timvideos | 19:54 | |
*** Jahanzeb has quit IRC | 20:01 | |
*** hyades has quit IRC | 20:07 | |
*** hyades has joined #timvideos | 20:09 | |
*** Sewar-- has quit IRC | 20:34 | |
*** Jahanzeb has joined #timvideos | 20:35 | |
*** iiie0 has joined #timvideos | 20:55 | |
* iiie0 is back online | 20:55 | |
*** bananadine has joined #timvideos | 21:18 | |
bananadine | iiie0 | 21:19 |
bananadine | i'm back | 21:19 |
bananadine | gonna try that thing now | 21:19 |
iiie0 | cool | 21:20 |
bananadine | ah man | 21:22 |
bananadine | can't fake the name | 21:22 |
bananadine | cuz pspec is None | 21:22 |
iiie0 | right, oh it gets value from the name? | 21:23 |
bananadine | it's like sipping watter in a bottomless glass | 21:23 |
bananadine | i tried it like this: if pspec == None: | 21:23 |
bananadine | pspec.name = 'bitrate' | 21:23 |
iiie0 | one second, nephew in arms | 21:25 |
iiie0 | is pspec used other than .name? | 21:27 |
bananadine | yes | 21:27 |
bananadine | it has other atribures | 21:27 |
bananadine | attributes * | 21:27 |
iiie0 | right but in that function? | 21:27 |
bananadine | yes | 21:28 |
bananadine | value_type | 21:28 |
bananadine | but it'll be the same | 21:28 |
bananadine | since pspec is None | 21:28 |
iiie0 | pulling up the function again | 21:28 |
bananadine | what? | 21:29 |
iiie0 | https://github.com/bananadine/flumotion/blob/master/flumotion/common/gstreamer.py#L56 | 21:32 |
tpb | <http://ln-s.net/-aiR> (at github.com) | 21:32 |
iiie0 | so I'd skip the if and elif and go with the else | 21:32 |
bananadine | so | 21:32 |
bananadine | shall i comment those lines before the else | 21:33 |
bananadine | ? | 21:33 |
iiie0 | and not pspec.name, check pspec, and if None, use 'bitrate' in place of pspec.name | 21:33 |
bananadine | is this fine | 21:34 |
bananadine | if pspec == None: | 21:34 |
bananadine | pspec = 'bitrate' | 21:34 |
bananadine | ? | 21:34 |
iiie0 | comment / delete (you're in git, if you're uncomfortable with delete then yes comment) | 21:34 |
iiie0 | replace pspec.name with pspec_name | 21:34 |
iiie0 | if pspec == None: pspect_name = 'bitrate' | 21:35 |
bananadine | right | 21:35 |
bananadine | and comment everything before the else | 21:35 |
iiie0 | else: pspec_name = pspec.name | 21:35 |
iiie0 | yes, from if to else (57 - 65) | 21:36 |
bananadine | so i need to change | 21:37 |
bananadine | else: | 21:37 |
bananadine | output = value | 21:37 |
bananadine | with | 21:37 |
bananadine | else: pspec_name = pspec.name | 21:37 |
bananadine | ? | 21:37 |
bananadine | i'm asking to know if i understand correctly | 21:37 |
bananadine | sorry to be an annoyance :) | 21:37 |
iiie0 | could just delete 57 - 66 and make 56 "output = orig.get_property(pspec_name)" | 21:38 |
iiie0 | the idea is to not use pspec if it's none | 21:39 |
bananadine | i know i know | 21:39 |
iiie0 | so before 56 is where the "if pspec == None: pspec_name = 'bitrate'; else pspec_name = pspect.name" goes (filling in new lines for ";") | 21:40 |
iiie0 | er, and else: .... | 21:41 |
iiie0 | starting from https://github.com/bananadine/flumotion/blob/master/flumotion/common/gstreamer.py#L56 since I can't be sure what you have in your local file | 21:42 |
tpb | <http://ln-s.net/-aiR> (at github.com) | 21:42 |
bananadine | wait | 21:43 |
bananadine | but | 21:43 |
bananadine | what about | 21:43 |
bananadine | output = orig.get_property(pspec_name) | 21:44 |
bananadine | :) | 21:44 |
bananadine | shouldn't it be | 21:44 |
bananadine | if pspec == None: | 21:44 |
bananadine | pspec_name = 'bitrate' | 21:44 |
bananadine | output = orig.get_property(pspec_name) | 21:44 |
bananadine | else pspec_name = pspect.name | 21:44 |
iiie0 | before 65 need to deal with "pspec == None" . 57 - 66 we don't care so much about as they are making type | 21:44 |
iiie0 | no, you need an else, what if pspec isn't none? | 21:44 |
iiie0 | (which is to say almost) | 21:45 |
iiie0 | hm, yes if the last there goes before the second to last | 21:45 |
iiie0 | also I had it a little off | 21:45 |
iiie0 | else: pspec_name = pspec.name | 21:45 |
bananadine | soo | 21:46 |
iiie0 | output = orig ... goes after the else line | 21:46 |
bananadine | i ran flumotion | 21:46 |
iiie0 | yes? | 21:46 |
bananadine | Traceback (most recent call last): | 21:46 |
bananadine | File "/home/max/Desktop/flumotion-porting/flumotion/flumotion/common/gstreamer.py", line 54, in verbose_deep_notify_cb | 21:46 |
bananadine | output = orig.get_property(pspec_name) | 21:46 |
bananadine | TypeError: object of type `GstMultiFdSink' does not have property `bitrate' | 21:46 |
iiie0 | hm | 21:47 |
iiie0 | I wonder if we can check what properties out orig does have | 21:48 |
bananadine | we can | 21:48 |
bananadine | oh but | 21:48 |
bananadine | i don't know how much will it help | 21:48 |
bananadine | it gives stuff like: | 21:48 |
bananadine | <__main__.GstMultiFdSink object at 0x9868c0c (GstMultiFdSink at 0x98656d0)> | 21:48 |
iiie0 | orig.__dict__ | 21:49 |
bananadine | oh | 21:49 |
bananadine | ok | 21:49 |
bananadine | i'll print that | 21:49 |
bananadine | ok so | 21:55 |
bananadine | i tried print "doom %s" % orig.__dict__ | 21:55 |
bananadine | and i got | 21:55 |
bananadine | doom {} | 21:55 |
bananadine | that means orig is empty? | 21:56 |
iiie0 | well, that means that dict wasn't implemented | 21:56 |
iiie0 | we're reading from a log or from the command line? | 21:56 |
bananadine | from the log | 21:57 |
bananadine | well i redirect the output | 21:57 |
bananadine | from the command line | 21:57 |
bananadine | as a log | 21:57 |
iiie0 | print "doom %s" % dir(orig) | 21:57 |
iiie0 | that'll give us the keys | 21:57 |
bananadine | woa | 21:59 |
bananadine | a lot of keys... | 21:59 |
bananadine | wait | 22:00 |
bananadine | gonna pastebin it | 22:00 |
bananadine | http://pastebin.com/RA99xjN2 | 22:00 |
tpb | Title: doom ['__class__', '__copy__', '__deepcopy__', '__delattr__', '__dict__', '__doc - Pastebin.com (at pastebin.com) | 22:00 |
iiie0 | alright, the other bit is to figure out where get_properties are stored... | 22:01 |
iiie0 | get_properties | 22:02 |
iiie0 | print "doom %s" % orig.get_properites() | 22:02 |
bananadine | wait | 22:02 |
bananadine | ok | 22:02 |
bananadine | wait | 22:02 |
bananadine | gotta do something | 22:02 |
bananadine | back in 15 min. | 22:03 |
iiie0 | k | 22:04 |
*** CarlFK has quit IRC | 23:01 | |
bananadine | ok i'm back, sorry for the delay | 23:16 |
bananadine | Traceback (most recent call last): | 23:18 |
bananadine | File "/home/max/Desktop/flumotion-porting/flumotion/flumotion/common/gstreamer.py", line 51, in verbose_deep_notify_cb | 23:18 |
bananadine | print "doom %s" % orig.get_properites() | 23:18 |
bananadine | AttributeError: '__main__.GstFdSrc' object has no attribute 'get_properites' | 23:18 |
bananadine | darn it | 23:18 |
bananadine | iiie0 ping | 23:21 |
iiie0 | yeah back | 23:28 |
iiie0 | hm | 23:28 |
iiie0 | so that's a different object! | 23:29 |
bananadine | right | 23:29 |
iiie0 | put an "if hasattr(orig, 'get_properties'):" before the orig.get_properties | 23:32 |
bananadine | AttributeError: '__main__.GstFdSrc' object has no attribute 'get_properites' print "doom %s" % orig.get_properites() | 23:34 |
*** mithro has quit IRC | 23:35 | |
bananadine | so when i do a dir(orig) there's a get_properties key | 23:43 |
bananadine | but there's no attribute | 23:43 |
iiie0 | for the same orig or different ones | 23:45 |
iiie0 | ? | 23:45 |
bananadine | the same | 23:45 |
bananadine | maybe i should continue this tomorrow? | 23:50 |
bananadine | iiie0 ? i feel tired | 23:54 |
parx | It's nearly 2am for you, bananadine, right? | 23:55 |
bananadine | yea | 23:55 |
parx | I have a little addon in my browser that tells me what time it is for you guys. | 23:57 |
bananadine | cool | 23:57 |
bananadine | : ) | 23:57 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!