Wednesday, 2013-07-10

*** tpb has joined #timvideos00:00
*** CarlFK has quit IRC01:15
*** iiie has quit IRC01:38
*** mithro-work has joined #timvideos02:01
*** mithro-work has quit IRC02:02
*** mithro-work has joined #timvideos02:08
*** mithro has joined #timvideos02:23
mithromorning people02:24
mithroSewar, ping?02:25
Sewarmithro: pong!02:26
mithroSewar, so I'm going to send you an email about your blog posts :)02:27
*** CarlFK has joined #timvideos02:27
Sewarsure :)02:27
mithrowhat is your email address again?02:27
mithrohey CarlFK02:27
mithroSewar, sent02:28
mithroSewar, I sent the same set of tips to the other two students02:28
mithroSewar, so it's not specific to you02:28
SewarGreat, will make sure to follow them :)02:29
CarlFKhey mithro02:39
CarlFKdid you get the atlys firmware into your repo?02:40
CarlFKno hurry, I don't expect to touch it for a few days02:40
mithroCarlFK, yes02:57
mithroCarlFK, we are in the process of reorganising the repositories02:57
mithroto make it clearer where and what firmware to get02:57
mithroand make the source repository useful02:57
mithroSewar, what/how are you doing testing?02:59
mithroSewar, btw if you want to upgrade to django 1.6 - that is fine, it'll be out before GSoC finishes03:00
Sewarso far no real tests, I should write unittests next week03:02
Sewar1.6 sounds nice, but I can't upgrade due to apps, mainly django-revision03:03
mithro-workdjango-revision isn't compatible with django 1.6?03:16
mithro-workCarlFK, umm that link to settings in google plus is borked?03:17
*** hyades has joined #timvideos03:18
mithro-workhello hyades03:19
mithro-workyou have email03:19
hyadesyeah ahving a look03:20
CarlFKmithro-work: yeah - I was wondering about it.. but that's all I got03:20
hyadesahving/having03:20
mithro-workCarlFK, ?03:20
mithro-workCarlFK, this works - https://www.google.com/settings/plus03:21
tpbTitle: Google Accounts (at www.google.com)03:21
mithro-workBut i see nothing about third-party tools?03:22
CarlFKI don't either03:22
mithro-workGoogle+ settings03:23
mithro-workhttps://plus.google.com/u/0/b/116465228062479756375/pages/settings/plus03:23
mithro-workThird-party tools -03:23
mithro-workso you don't have any way to reproduce that?03:23
CarlFKlet me get back to you on this - I want to help R get all the vids up03:24
Sewarmithro-work: each version of django-revision is compatible with a single django version, https://github.com/etianen/django-reversion/wiki/Compatible-Django-Versions03:24
tpb<http://ln-s.net/-QKy> (at github.com)03:24
mithro-workSewar, wow that sucks03:25
CarlFKmithro-work:  do you know if uploading to youtube all goes to the same data center, or if Ryan uploads from his house might it hit a server local and then sync up with other youbube servers over time ?03:25
Sewaryeah03:25
mithro-workCarlFK, what you said was non-nonsensical03:26
mithro-workdjango-reversion is an actively-maintained project, and aims to stay compatible with the latest version of Django.03:26
mithro-work---> the latest release of django-reversion might not work with older versions of Django.03:26
mithro-workI would read that as it should support the latest and the upcoming version03:26
Sewaryeah, with every new Django release, there should be new django-reversion release03:27
mithro-workSewar, not how I read it03:27
hyadesmithro-work, i'll make the helpers class03:27
mithro-workSewar, I read it as, as django-reversions is released it will only work with the latest or newer versions of django03:28
mithro-workIE not work with older versions03:28
hyadesand the test suite should be something which goes on to test each every component of the api03:28
mithro-workhyades, there are two test suites03:28
mithro-workhyades, one which tests the gst-switch python API03:28
mithro-workhyades, and one which tests gst-switch itself using the gst-switch python API03:29
mithro-workCarlFK, Google has many, many data centers - where your video is uploaded is not your concern03:30
mithro-workCarlFK, there is likely to be a delay between uploading and it showing up - that can happen even to a single person03:31
CarlFKmithro-work: R is currently rsyncing the mp4s to a hosted box in the states, which is taking longer than when he uploads to youtube03:31
mithro-workas your not guaranteed to always hit the same location / server / frontend / IP route / etc03:31
mithro-workCarlFK, that makes sense, Google is likely to have better connectivity then the general public03:32
CarlFKah03:32
hyadesmithro-work, brb after breakfast03:32
mithro-workhyades, no worries03:33
Sewarit does not support 1.6 yet, 1.6 changed transaction manager behavior and that will break django-reversion03:35
Sewarhttps://docs.djangoproject.com/en/dev/topics/db/transactions/ vs https://docs.djangoproject.com/en/1.5/topics/db/transactions/03:35
tpb<http://ln-s.net/$NO7> (at docs.djangoproject.com)03:35
mithro-workSewar, okay03:35
mithro-workSewar, are these guesses or have you tested? found django-revision discussion about it?03:36
*** hyades has quit IRC03:37
SewarI think I read about it somewhere last 2 weeks, otherwise I won't have heard about the transaction manager03:37
mithro-workSewar, okay - good to document these things somewhere03:51
mithro-workI hear blog posts might be all the rage ;)03:51
Sewarhaha03:51
*** hyades has joined #timvideos04:10
*** hyades has quit IRC04:16
*** hyades has joined #timvideos04:16
*** hyades has quit IRC04:16
*** hyades has joined #timvideos04:17
mithro-workhyades, not having much luck with that internet connect?04:17
hyadesgood now :)04:17
hyadesso while doing those two things u mentioned04:19
hyadesi assume the other one is working good04:19
hyadesand write tests04:19
mithro-workhyades, you understand this part right04:19
mithro-work<mithro-work> hyades, there are two test suites04:19
mithro-work<mithro-work> hyades, one which tests the gst-switch python API04:19
mithro-work<mithro-work> hyades, and one which tests gst-switch itself using the gst-switch python API04:19
hyadesi will test the api when a part of it is done04:21
hyadessecond part i can do only when the api is done04:21
mithro-workyes agreed04:22
mithro-workwell04:22
mithro-workYou can test testing gst-switch's basic functionality when you have the basic API done04:22
mithro-workIE don't stall on testing gst-switch because your still trying to get the speaker track API right04:23
hyadesyeah got it04:25
mithro-workhyades, waterfall model of programming is bad :)04:25
hyadesi dont have much idea of the models but i think i am more or less following the software prototyping model04:29
mithro-worksoftware prototyping model?04:29
mithro-workhttp://en.wikipedia.org/wiki/Waterfall_model04:29
tpbTitle: Waterfall model - Wikipedia, the free encyclopedia (at en.wikipedia.org)04:29
hyadeshttp://en.wikipedia.org/wiki/Software_prototyping04:30
tpb<http://ln-s.net/-QNg> (at en.wikipedia.org)04:30
Sewaritems_list = Item.objects.filter(fk=2).annotate(Count('reverse_fk1')).annotate(Count('reverse_fk2')) returns both counts as (first count * second count), any idea?05:54
mithro-workSewar, nope!06:30
Sewarok, I just abandoned this idea, more in the blog later06:31
*** mithro has quit IRC07:12
*** mithro has joined #timvideos07:12
*** parx has left #timvideos07:25
mithro-workiiie2, ping? (for tomorrow I guess)08:37
*** shenki_ is now known as shenki09:29
*** bananadine has joined #timvideos11:04
bananadine hey mithro, did you see my last blogpost?11:21
mithro-workprobably, let me recheck11:21
bananadinei tried to be more elaborate this time11:22
mithro-workyes, that was much better11:22
mithro-workbut it still a good idea to post the *full* logs of stuff11:22
mithro-workrather then little bits11:22
bananadinethe full log is a bit too full11:23
bananadinewhen i paste it my computer freezes11:23
mithro-workdon't paste it then11:23
mithro-workupload it somewhere11:23
bananadineok good idea11:23
bananadineanyway11:24
mithro-workbtw your docs.google.com links are not links11:24
bananadineoh11:24
bananadinedone11:24
bananadinethe problem is what i mentioned in the post, i think11:25
bananadinebut i don't know yet why that happens11:25
*** hyades has quit IRC11:28
*** hyades has joined #timvideos11:30
mithro-workyes11:30
mithro-workso Python searches the sys.path11:31
mithro-workI'd expect to see a *huge* number more stats there11:31
bananadinefor other modules it looks in the same directory it looks for gi (my flumotion work dir ) but then it also looks for them in the system python2.7 directory11:32
bananadinewhy would gi be an exception :/11:32
bananadinei'll try and add the gi dir to python path11:34
mithro-worktake a read of11:50
mithro-workhttp://docs.python.org/3/reference/import.html11:51
tpbTitle: 5. The import system Python v3.3.2 documentation (at docs.python.org)11:51
bananadinei'll read it11:54
mithro-workbananadine, you might need to go earlier in the file11:55
mithro-workbecause Python has a cache of the directories it has search for a file11:55
bananadinewhat do you mean by "go earlier"?11:55
mithro-workin the strace log file11:59
mithro-workearlier in time11:59
bananadinewait i'll put the log somewhere12:02
*** elequ has joined #timvideos12:02
elequOoookay ...12:02
elequIf you can get precise specs to me this week I can have a go on Saturday, take some photos.12:03
elequSending over a board would be good, can get it perfect.12:03
mithro-workelequ, wecome to our little community!12:04
elequThe kind of specs required would be "padding" required around board for ventilation or some such thing :)12:04
elequHello!12:04
elequSorry, I just kept going mid-stream :)12:04
mithro-workso yeah, if you send me an email with shipping address I'll get that out tonight12:04
elequdone and done12:06
elequIt's a freestanding residential property so deliveries are no problem.12:06
elequIdeally I'd be able to do something up in some dodgy quick material I'm comfortable with so we can handle and eyeball.12:07
elequThen refine to meet any unforeseen requirements.12:07
elequ(which there always are)12:07
elequOne joy of milling machine is 0.03mm precision.12:07
elequConsidering we can only perceive about .1mm and at about there other factor have more influence (such as strong breezes and materials imperfections)12:08
elequ(get to the point elena) ? The point being that placing the holes/ports in the side is not a serious challenge12:09
elequSo long as they're perfectly and clearly specified.12:09
mithro-workelequ, okay that is ordered. It's likely not to turn up till Monday12:11
elequno probs12:11
elequif you've got any specs email/share them through12:11
bananadinemithro-work what am i looking for earlier in the file?12:11
elequI'll simply try and do my best on Sat :)12:11
mithro-workbananadine, other attempts to import gi which might have failed12:11
*** hyades has quit IRC12:11
mithro-workbananadine, upload the file somewhere and I can look at it12:12
mithro-workelequ, I included it in the original email12:12
mithro-workMechanical information I have https://docs.google.com/file/d/0B5VlNZ_Rvdw6MUhua2p5QUxJR1k/edit?usp=sharing12:12
tpb<http://ln-s.net/-Qej> (at docs.google.com)12:12
mithro-workIt should be able to mount in a 19inch rack case. Preferable 1ru high, half rack width (the A/V meaning). http://en.wikipedia.org/wiki/Rack_unit12:12
tpbTitle: Rack unit - Wikipedia, the free encyclopedia (at en.wikipedia.org)12:12
elequI'll have a rough go based on information scavenged ? then maybe try again early next week once board arrives and maybe physically post something back over that side next week.12:15
bananadinemithro-work https://docs.google.com/file/d/0B-c8fKV-iiDZajJXQ3d2UVp3Q1E/edit?usp=sharing12:16
tpb<http://ln-s.net/-Qer> (at docs.google.com)12:16
mithro-workwhat is in /home/max/Desktop/flumotion-porting/flumotion/flumotion/common/pygobject.py12:18
bananadinethat's the module12:21
bananadinewhich imports gi12:21
mithro-workyes12:21
mithro-workbut I don't have a local copy12:21
mithro-workso...12:21
bananadinewell i have it on github12:22
mithro-workplease give me the link...12:22
bananadinehttps://github.com/bananadine/flumotion/blob/master/flumotion/common/pygobject.py12:22
tpb<http://ln-s.net/-Qf9> (at github.com)12:22
mithro-workat line 2512:23
mithro-workprint sys.path12:23
bananadineit doesn't give me the print in the traceback12:25
bananadineoh12:25
bananadineit's in the shell12:25
bananadinei'll paste it12:25
bananadineone moment12:25
bananadinehttp://pastebin.com/QRBXxCJU12:26
tpbTitle: ['/home/max/Desktop/flumotion-porting/flumotion', '/home/max/Desktop/flumotion-p - Pastebin.com (at pastebin.com)12:26
bananadine/usr/lib/python2.7/dist-packages/gi is not in the path12:26
mithro-workbananadine, it should only need12:32
mithro-work/usr/lib/python2.7/dist-packages12:32
mithro-workhrm12:33
mithro-workgi is in /usr/share/pyshared for me....12:33
bananadinelet me check there12:33
bananadinei got it there too12:34
mithro-workyeah that is what packages.ubuntu says :)12:34
mithro-workis there an __init__.py file in /usr/lib/python2.7/dist-packages ?12:35
bananadinei think not12:36
bananadinewell i could find it with control+f12:37
mithro-workI recommend learning to use the "find" tool12:37
mithro-workbut a quick ls in /usr/lib/python2.7/dist-packages would show it up12:38
mithro-workls /usr/lib/python2.7/dist-packages/__init__.py :)12:39
bananadinenope12:39
bananadinethere is not __init__ file12:39
bananadineno*12:39
bananadineshould there be a init file?12:40
mithro-workprobably not12:41
mithro-workbananadine, this is a strange issue12:42
bananadineindeed12:42
bananadineare the gi modules in an on-line repository?12:44
mithro-workbananadine, ????12:44
bananadinewell12:44
bananadinei don't understand how does it work12:44
mithro-workbananadine, can you print a sys.modules after the sys.path?12:45
bananadineok12:45
bananadineoh boy quite a lot of modules12:46
mithro-workyeah12:46
bananadinehttp://pastebin.com/WgAtm1VZ12:46
tpbTitle: {'flumotion.configure': (at pastebin.com)12:46
mithro-workokay12:47
mithro-workcan you pprint that list?12:47
mithro-workimport pprint12:47
mithro-workpprint.pprint(sys.modules)12:47
bananadineright12:47
mithro-workelequ, as mentioned I'm happy to go through the HDMI2USB stuff with your husband if he is really interested12:48
bananadinehttp://pastebin.com/J9YQALaP12:51
tpbTitle: ['/home/max/Desktop/flumotion-porting/flumotion', '/home/max/Desktop/flumotion-p - Pastebin.com (at pastebin.com)12:51
bananadinehere's the print outout12:51
bananadineoutput*12:51
bananadine 'gi': None12:52
bananadine:/12:52
*** hyades has joined #timvideos12:53
mithro-workbananadine, can you give me the complete output?12:53
*** mithro has quit IRC12:54
mithro-workwb hyades12:55
bananadinemithro-work this is the complete output http://pastebin.com/J9YQALaP12:56
tpbTitle: ['/home/max/Desktop/flumotion-porting/flumotion', '/home/max/Desktop/flumotion-p - Pastebin.com (at pastebin.com)12:56
mithro-workoh elequ, Sewar is working on a Django website which is a database of monitor EDID information12:56
hyadesmithro-work, did i miss something again?12:56
mithro-workbananadine, that is not the pprint version I asek for12:56
bananadinei also have print sys.path12:57
bananadineprint sys.modules12:57
bananadineforgot to delete those two lines12:57
bananadinethe output of pprint is below that12:57
bananadinesorry12:57
mithro-workdoes pastebin have edit?12:58
bananadineno12:58
bananadinei'll ul again12:58
bananadinepaste* again12:58
mithro-workyou probably want to look at12:58
mithro-workhttp://pastebin.com/dSyh0xCc12:58
tpbTitle: PastebinCL Manual - Pastebin.com (at pastebin.com)12:58
bananadinehttp://pastebin.com/uH7AJMNX12:59
tpbTitle: ['/home/max/Desktop/flumotion-porting/flumotion', '/home/max/Desktop/flumotion - Pastebin.com (at pastebin.com)12:59
bananadinehere12:59
mithro-workwell13:01
mithro-workthe 'gi': None explains why it's only searching the local directory for gi13:01
mithro-workI'm not sure how 'gi: None' got in there13:01
mithro-workwasn't something previously forcing it to none?13:01
mithro-workhttp://portingflumotion.blogspot.com.au/2013/06/things-i-did-today.html13:02
tpb<http://ln-s.net/-QgV> (at portingflumotion.blogspot.com.au)13:02
bananadinegtk2reactor13:03
bananadinehmm13:03
bananadinebut i'm using Gtk3Reactor13:03
bananadineoh but that's in the testsuite13:05
bananadinei'll replace gtk2reactor with gtk3reactor everywhere13:08
bananadineand see what happens13:08
bananadinereplaced13:13
bananadineran flumotion-admin13:13
bananadinegot another error now13:13
bananadinei have imports which don't go together13:13
mithro-workimports which don't go together?13:14
bananadinewait13:14
bananadinei'll try to do something13:14
bananadineif i don't succeed i'll show you13:14
bananadineImportError: Introspected and static glib/gtk bindings must not be mixed; can't import gireactor since pygtk2 module is already imported.13:16
bananadinei need to find where pygtk2 is being imported13:16
bananadineoh13:16
bananadineok i found it13:16
bananadinehttps://github.com/bananadine/flumotion/blob/master/flumotion/common/boot.py#L2713:17
bananadinesee here13:17
tpb<http://ln-s.net/-Qh9> (at github.com)13:17
bananadinePYGTK_REQ = (2, 10, 0)13:17
bananadinealso look at that GST_REQ = {'0.10': {'gstreamer': (0, 10, 10),13:17
bananadine                    'gst-python': (0, 10, 4)}}13:17
mithro-workthe admin interface probably depends on gtk13:17
bananadinei think this implies that it should use gtk313:18
mithro-workyou should be able to connect the stable flumotion-admin tool to your ported flumotion13:18
*** tpb has joined #timvideos13:22
mithro-workregarding the testing part <--- which testing part - please be more descriptive13:22
hyadesit uses like assert statements13:23
bananadinemithro-work, can i run both manager and worker from sudo13:23
bananadine?13:23
hyadessuppose i want to see if preview is good, or pip mode is changing13:23
mithro-workyou shouldn't be running anything under sudo13:25
mithro-worknothing requires root to run13:25
*** micolous_ has joined #timvideos13:25
mithro-workhyades, you need to tell me13:26
mithro-worka) is this the test suite for the API or gst-switch-srv13:26
mithro-workb) are you talking integration or unittests ?13:27
hyadesAPI13:27
hyadesunittests13:27
bananadinecan't start the manager without sudo13:27
mithro-workhow are you starting the manager?13:27
hyadesi actually need an example on how to implement all these tests..13:28
bananadinehttp://pastebin.com/4crjfvi413:29
tpbTitle: [email protected]:~/Desktop/flumotion-porting/flumotion$ flumotion-manage - Pastebin.com (at pastebin.com)13:29
hyadesis it like each function returns something, which is checked at each step?13:29
*** micolous has quit IRC13:29
mithro-workbananadine, ls -l /home/max/Desktop/flumotion-porting/flumotion/cache/registry/13:29
mithro-workhyades, unittests test each little bit of code in isolation13:30
mithro-workhyades, integration tests test that the whole system works13:30
hyadesya13:30
bananadine-rw-r--r-- 1 root root 226675 Jul 10 15:22 registry.xml13:30
bananadinedo i need to add some privilege?13:31
mithro-workMy guess is that you ran this as root previously and it created that file13:32
hyadesfirstly is it good if I just use py.test everywhere?13:33
mithro-workchown -R max ~/Desktop/flumotion-porting13:33
bananadineis it ok to remove it?13:33
bananadineah13:33
bananadinedoes "chown -R max ~/Desktop/flumotion-porting" need to run with sudo?13:34
mithro-workyes13:34
mithro-workyou can't steal files from root13:34
mithro-work:P13:34
bananadinehaha13:34
bananadineah13:37
bananadinegtk2 still giving trouble even without the admin13:37
hyadesis it good if I just use py.test everywhere?13:37
mithro-workI don't see why not13:43
bananadinemithro-work here's the worker log http://pastebin.com/npmzfX7r13:43
tpbTitle: Worker Log - Pastebin.com (at pastebin.com)13:43
mithro-workso your worker is is importing pygtk2 somehow13:44
bananadinei know it's because of boot...13:44
mithro-workboot?13:44
bananadinehttps://github.com/bananadine/flumotion/blob/master/flumotion/common/boot.py#L2713:44
tpb<http://ln-s.net/-Qh9> (at github.com)13:44
mithro-workbananadine, something is calling the "init_gobject()" function?13:45
bananadineprobably13:46
bananadinebut13:46
bananadinehere13:47
bananadinewait13:47
mithro-workyou could just comment out pygtk import part of that?13:49
bananadineflumotion/common/gendoc.py calls "init_gobject()"13:49
bananadinei'll try13:49
mithro-workyou can still import gobject right?13:50
mithro-workor do you need to import gobject via gi?13:50
bananadinei need to import it via gi13:51
mithro-workokay13:51
mithro-workwell you need to fix that function right?13:51
bananadineyea13:51
bananadinethe init_gobject()13:51
*** Sewar_ has joined #timvideos13:51
mithro-workYOu'll also need to fix _init_gst_version too13:51
bananadineand should i change the required version of gtk to 3.013:54
bananadineor should i comment those lines?13:54
mithro-workany idea what kiwi-gtk is?13:56
mithro-workKiwi: A Framework for developing graphical applications in Python.13:57
mithro-workKiwi is a framework composed of a set of modules, which eases Python13:57
mithro-workdevelopment using PyGTK. Kiwi makes graphical applications *much* faster13:57
mithro-workto code, with good architecture and more Python-like bindings; it also13:57
mithro-workoffers extended widgets based upon the original PyGTK widgets.13:57
*** CarlFK has quit IRC13:57
*** Sewar has quit IRC13:57
*** Sewar_ is now known as Sewar13:57
bananadineyes13:57
bananadinei knew that13:57
mithro-workYou might want to put a 'raise NotImplimented("Shouldn't be using kiwi inside flumotion code")'13:58
bananadinebut i don't know anything more than that13:58
mithro-workactually13:58
mithro-workdef boot(path, gtk=False, gst=True, installReactor=True):13:58
mithro-workjust assert gtk=False ?13:58
bananadineum13:59
bananadineisn't it already False?13:59
mithro-worksomeone could do a13:59
mithro-workboot(gtk=True)13:59
mithro-workfalse is just the default argument13:59
bananadineflumotion-admin asserts True14:00
mithro-workbut your not running flumotion-admin?14:00
bananadinenope14:00
mithro-work(atleast from your ported version)14:00
mithro-workso then it shouldn't matter?14:01
bananadineyea14:01
mithro-workyour latest traceback was saying that it pygtk was being imported14:01
bananadineyes in boot14:01
mithro-workso I think you've led me down the wrong path....14:01
bananadinei think boot.py needs a lot of changes14:02
mithro-workbananadine, it can either be imported via14:02
mithro-workline 4214:02
mithro-workor via init_kiwi() function, right?14:03
mithro-workso you fix14:03
mithro-workdef init_gobject(): to import gobject via gi14:03
bananadineinit_kiwi doesn't import pygtk14:03
bananadineonly line 4214:03
mithro-workso, you fixed it then?14:04
mithro-workyou know what to do right?14:04
*** CarlFK has joined #timvideos14:04
bananadinei need to replace every "import gobject" with "from gi.repository import GObject"14:06
bananadineand every occurrence of gobject with GObject14:06
bananadineand i think i should do the same for gst14:06
bananadinereplace with Gst14:06
bananadineand also replace the import for it14:07
bananadineright?14:07
mithro-workbananadine, I thought you had done this?14:08
bananadinenot in boot.py, i haven't14:08
mithro-workwell, convert away I guess14:10
bananadinei replace "import gst" with "from gi.repository import Gst" , but what do i replace "import pygst" with?14:13
mithro-workNFI14:13
bananadinedamn14:13
mithro-workmy guess is that its probably not needed anymore14:14
bananadineand same for "import pygtk"14:15
bananadinei'll try and replace it with14:15
bananadine"from gi.repository import Gtk"14:15
mithro-workwell, we just determined that we shouldn't be importing pygtk?14:15
bananadineoh ok14:15
bananadinethen i'll trim boot.py of pygtk14:15
*** hyades_ has joined #timvideos14:21
*** hyades has quit IRC14:24
*** hyades_ is now known as hyades14:25
bananadinehmm14:25
bananadineinit_gobject() doesn't run14:25
*** mithro has joined #timvideos14:28
mithro-workbananadine, that doesn't give me any useful information14:28
CarlFKbananadine: "doesn't run" tell us much -14:28
CarlFKlol14:28
CarlFKyeah, that.14:28
CarlFKI am guessing either nothing calls it, or it errors14:29
bananadinei'll paste boot.py as it is now (in process of changing) and the traceback14:30
bananadineboot.py : http://pastebin.com/yzpxUYkZ14:31
tpbTitle: # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 # Flumotion - a streaming - Pastebin.com (at pastebin.com)14:31
bananadinesorrt14:31
bananadineill use python highlits14:32
bananadinewait14:32
bananadinehttp://pastebin.com/RS671EZb14:32
tpbTitle: [Python] # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 # Flumotion - a streaming - Pastebin.com (at pastebin.com)14:32
bananadineand here's the traceback http://pastebin.com/AaxGZc3F14:33
tpbTitle: INFO [13396] jelly Jul 10 16:30:59 - Pastebin.com (at pastebin.com)14:33
bananadinewhile you look at that i'll eat something14:33
bananadinei'm starving14:33
mithro-workbananadine, did you try printing out what was in sys.modules?14:35
mithro-workbananadine, btw the gst argument to boot( shouldn't have been captialized14:40
bananadineisn't that the Gst from gi.repository which i'm importing?14:42
mithro-workbananadine, yes that is correct14:42
mithro-workbut that doesn't mean the argument to that function should change14:42
CarlFKmithro-work: this?   boot.boot(PROGRAM_PATH)14:43
mithro-workCarlFK, no14:43
mithro-workdef boot(path, gtk=False, Gst=True, installReactor=True):14:43
mithro-workall arguments are in camelCaseWithNoInitialCapital14:43
bananadinethen i must change back Gst to gst on other lines as well14:45
bananadineok i changed those back14:45
bananadineaaand i got the same traceback as before14:46
mithro-workbananadine, I didn't say that would solve your problem14:47
mithro-work<mithro-work> bananadine, did you try printing out what was in sys.modules?14:47
bananadinei know i know14:47
bananadinei'm just saying14:47
bananadine:)14:47
bananadineright14:47
bananadinei'll do that now14:47
bananadinewith pprint?14:47
mithro-workwhat ever way you prefer14:51
bananadinehttp://pastebin.com/qR5whytc14:52
tpbTitle: INFO [13573] jelly Jul 10 16:49:55 - Pastebin.com (at pastebin.com)14:52
bananadineit's both the print from the traceback and from sys.modules14:52
bananadinebut i think it's repeating the same sys.modules print out14:53
mithro-workso no GObject in sys.modules14:54
mithro-workare you sure you are importing GObject then?14:54
mithro-worktry putting some prints where you are importing it14:54
*** tpb has joined #timvideos14:56
*** rajaniemi.freenode.net sets mode: +ns 14:56
*** services. sets mode: -o tpb14:56
-rajaniemi.freenode.net- *** Notice -- TS for #timvideos changed from 1373468218 to 136495392514:56
*** services. sets mode: +ct-s 14:56
*** ChanServ has joined #timvideos14:56
*** services. sets mode: +o ChanServ14:56
*** mithro has joined #timvideos15:04
*** hyades has joined #timvideos15:04
*** CarlFK has joined #timvideos15:04
*** Sewar has joined #timvideos15:04
*** micolous_ has joined #timvideos15:04
*** elequ has joined #timvideos15:04
*** bananadine has joined #timvideos15:04
*** mithro-work has joined #timvideos15:04
*** shenki has joined #timvideos15:04
*** iiie2 has joined #timvideos15:04
*** rajaniemi.freenode.net changes topic to "Getting Started - http://code.timvideos.us | Code - http://github.com/timvideos || mithro around - 11am till 11pm at UTC+10:00 || For important discussions use mailing lists: https://groups.google.com/group/timvideos || Logs at http://logs.timvideos.us/%23timvideos/"15:04
*** ChanServ has left #timvideos15:04
mithro-workokay15:04
mithro-worknow try those two lines on an interactive prompt15:04
bananadineon >>> ?15:04
bananadinei mean python >>>?15:05
mithro-workuse something like iPython or bPython if you want a nicer prompt15:05
bananadineso first15:06
bananadinei import boot.py15:06
bananadineright?15:06
mithro-workNo15:06
mithro-workJust try the two lines15:06
mithro-workthe import and the assert15:06
bananadineIn [4]: assert 'GObject' in sys.modules, "Run init_gobject() first"15:07
bananadine---------------------------------------------------------------------------15:07
bananadineNameError                                 Traceback (most recent call last)15:07
bananadine/home/max/Desktop/flumotion-porting/flumotion/<ipython-input-4-301d50c24b1b> in <module>()15:07
bananadine----> 1 assert 'GObject' in sys.modules, "Run init_gobject() first"15:07
bananadineNameError: name 'sys' is not defined15:07
mithro-workumm....15:07
bananadinei need to import15:07
bananadinesys15:07
bananadineright15:07
mithro-workyes15:07
bananadineok15:07
bananadinenow i got the same AssertionError15:08
bananadinei used to get15:08
mithro-workso take a look in sys.modules15:08
mithro-workand you'll find that15:08
mithro-workyour import doesn't add to sys.modules...15:08
mithro-workwhich is a bit weird15:08
bananadinei found this15:09
bananadinewait i'll paste15:09
bananadinehttp://pastebin.com/bLPYVniv15:10
tpbTitle: 'gi': , ' - Pastebin.com (at pastebin.com)15:10
bananadineit's what i get after i print sys.modules in the interactive prompt15:10
bananadinewell part of what i get15:10
bananadinei just noticed it has gi15:10
mithro-work 'gi.repository.GObject': <gi.module.DynamicGObjectModule 'GObject' from '/usr/lib/girepository-1.0/GObject-2.0.typelib'>,15:10
bananadineyes15:12
mithro-work"gi.repository.GObject" != "GObject"15:13
bananadinethat's what's wrong with the assert15:13
bananadineok great15:14
bananadineone problem solved15:14
bananadine:)15:14
bananadinenow what will i do with the deprecated attributes ...15:14
bananadineneed to find replacements15:15
*** tpb` has joined #timvideos15:26
bananadinei changed line 83 to "gst_version = Gst.version"15:26
bananadineit got pass that error now15:27
*** tpb has quit IRC15:32
*** tpb` is now known as tpb15:32
bananadinemithro-work, well i got here http://pastebin.com/yAHypEaU15:36
tpbTitle: INFO [14773] jelly Jul 10 17:34:09 - Pastebin.com (at pastebin.com)15:37
bananadineand i can see many things that need changes15:37
bananadinesome are things i missed in some modules15:37
bananadineand for some stuff i'l have to ask on #gstreamer15:37
bananadinefor instance AttributeError: 'gi.repository.Gst' object has no attribute 'MESSAGE_STATE_CHANGED'15:38
mithro-workbananadine, you probably want to figure out why those parts are not tested15:38
bananadinei couldn't find in the porting guide what 'MESSAGE_STATE_CHANGED' has been changed to15:38
bananadineprobably because they're not covered in the tests15:39
bananadineso the tests passed with them15:39
mithro-workso probably a good idea to see if you can add tests for them15:39
bananadineyea15:39
bananadinei'll leave it at here for today15:40
bananadinetomorrow i'll get on #gstreamer15:40
bananadineand finish up those modules i have been porting15:40
*** iiie has joined #timvideos16:04
*** bananadine has quit IRC16:07
*** parx has joined #timvideos16:39
mithro-workhey parx ?16:39
*** hyades has quit IRC17:36
*** hyades has joined #timvideos17:55
CarlFKmithro-work: that adapter doc is nice18:10
*** hyades has quit IRC18:15
CarlFKiiie iiie2 : I may be trying to stream Erlang in 4 hours18:49
mithro-workCarlFK, I did it instead of doing work they pay me to do18:49
CarlFKlol18:50
CarlFKare you up early or late ?18:50
mithro-worklate18:50
mithro-workcrap18:50
CarlFKouch18:50
mithro-workI only have 3 more pins to assign on this sheet18:50
CarlFKso I guess you won't be around in 4 hours :)18:50
iiieCarlFK, ack, we got an org name?18:50
iiieChipy psone?18:51
iiiefine, fine room name18:51
CarlFKchicagoerlang18:51
* iiie sighs18:51
CarlFKlol18:52
* iiie wonders what happened to the settings files18:53
* iiie suspects that email about a commit about settings going into the database was important18:54
mithro-workiiie, ?18:54
mithro-workiiie, that was a proposal not something that was implemented yet....18:55
mithro-workiiie, assuming we are talking about the same thing....18:55
iiieah, well then I'm lost for the moment18:55
iiieI think we are18:55
iiieI've forgotten how to add rooms18:56
iiieor not...18:56
iiienevermind, I was in the wrong directory18:57
CarlFKlol18:57
CarlFKmithro-work: what were you saying about planet being tinkered with?18:57
CarlFKsome problem with audio18:57
CarlFKyou un-tinkered it, wondering if it needs to be re-tinkered18:58
mithro-workI restore it to what was in the repository18:58
mithro-workdidn't think to take a backup....18:58
iiieCarlFK, chicagoerlang have a website, irc channel and twitter?18:59
iiieIt seems no, though there is a meetup http://www.meetup.com/ErlangChicago/19:03
tpbTitle: Chicago Erlang User Group (Chicago, IL) - Meetup (at www.meetup.com)19:03
iiieAnd a not so active google group https://groups.google.com/forum/#!forum/ceug and not so updated blog http://chicagoerlangusergroup.blogspot.com/19:04
tpbTitle: Google Groups (at groups.google.com)19:04
CarlFKyeah - that's about it19:06
iiieSo no twitter or irc :(19:06
CarlFKchicagoerlang chicagoerlang chicagoerlang for everything :)19:07
iiieAlright19:08
CarlFKomg I have a printer!!!19:08
iiiehe he he19:08
CarlFKI can print my own recording sheet for once19:08
iiiescore!19:08
CarlFKparx: can I get you to create a client, show and episode?19:09
CarlFKJoe Armstrong -  title: Sherlock's Last Case19:12
CarlFKi guess.19:12
iiieCarlFK, classy http://www.chicagoerlang.com/#!contact (I don't think any of the buttons / links for social media work)19:26
tpbTitle: Chicago Erlang Factory Lite 2013 (at www.chicagoerlang.com)19:26
CarlFKGarrett Smith = friend that coned me into this :)19:29
CarlFKapparently the only one of the presenters who knows what he is talking about :)19:29
iiieshould be fun19:29
iiieCarlFK, http://timvideos.us/chicagoerlang19:31
tpbTitle: Streaming for Chicago Erlang User Group (at timvideos.us)19:31
iiieno stream of course, but the room is ready19:32
CarlFKwoot19:35
CarlFKhas anyone figured out how to generate a test stream?19:36
CarlFKthat does not involve running dvswitch19:36
iiiehm, I recall something for flumotion, but I never got it running no19:38
iiieCarlFK, in theory http://www.flumotion.net/doc/flumotion/manual/en/trunk/html/reference-components-producer.html loop, videotest, or webcam should do19:43
tpb<http://ln-s.net/-QxP> (at www.flumotion.net)19:43
* iiie goes to lunch19:48
*** parx has quit IRC19:54
*** parx has joined #timvideos19:58
*** parx has quit IRC20:04
*** parx has joined #timvideos20:04
*** CarlFK has quit IRC20:55
*** mithro-work has quit IRC21:07
*** tpb has joined #timvideos21:11
*** CarlFK has joined #timvideos21:34
iiiehey CarlFK, about an hour and a half left?21:34
CarlFKI thnk so21:37
CarlFKI am scrambeling to get out the door21:37
iiieJust verifying21:38
CarlFKexcept I decided to re-image the dvswitch laptops21:38
CarlFKand forgot what flavor of ubumtu works21:38
CarlFKso I am on my 3rd try21:38
CarlFKdoh.21:38
iiie: /21:38
CarlFKI didn't touch trist21:38
iiieoh good, for I second there I thought "there is no way this will work"21:39
CarlFKlol21:39
CarlFKI brougth up mission21:40
CarlFKis that what I should connect trist to?21:40
iiieyes21:40
CarlFK      <property name="host">ec2-54-225-53-165.compute-1.amazonaws.com</property>21:41
CarlFKthat look right?21:41
CarlFK * Restarting Flumotion Streaming Server flumotion                       [ OK ]21:42
iiieec2-54-225-53-165.compute-1.amazonaws.com21:42
iiieyes21:42
iiieI'm on mission, starting with tmux21:42
CarlFKtrist should be streaming21:43
iiiecrap21:44
* iiie grumbles about string lengths21:44
iiie10 characters is the max for room name21:45
iiiechicagoerlang (13)21:45
iiiechierlang ?21:46
iiieceug ?21:46
*** CarlFK has quit IRC21:47
iiiegoing with ceug ...21:47
iiiehttp://timvideos.us/ceug21:48
tpbTitle: Streaming for Chicago Erlang User Group (at timvideos.us)21:48
* iiie sees a 121:49
iiieweird21:51
*** Sewar has quit IRC21:52
*** Sewar has joined #timvideos21:52
iiieI fired up the watch dog, which almost immediately restarted the processes, so I don't see a 1 anymore21:52
* iiie sees a one again!21:55
* iiie doesn't know where the stream is coming from, but flumotion-admin-text says processes are happy21:56
*** CarlFK has joined #timvideos22:00
CarlFKtesting dv over wifi is dumb.22:00
iiiewelcome back22:00
iiiehttp://timvideos.us/ceug22:00
tpbTitle: Streaming for Chicago Erlang User Group (at timvideos.us)22:00
CarlFKtesting over wired connection now22:00
iiieI changed the URL because there is a 10 character max22:01
CarlFKno prob22:01
iiiestreaming is working22:01
CarlFKdvswitch machine just finshed installing.. booting now22:01
CarlFKwoot!22:01
CarlFKnow I ahve 2 dvswtich machines!22:01
iiiesomeone other than me is watching22:02
iiie:)22:02
CarlFKok, I am shutting down and flying to the venue22:02
CarlFKwell, sitting in traffic22:02
CarlFKgrumbel22:02
iiiesee ya!22:02
*** CarlFK has quit IRC22:08
* iiie hasn't seen CarlFK23:20
iiieright, well if you see Carl tell him I'm on the road23:28
iiie(anyone who is awake, or the log will do)23:28
*** iiie has quit IRC23:36
*** CarlFK has joined #timvideos23:53
CarlFKwifi sucky23:56

Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!