*** tpb has joined #timvideos | 00:00 | |
*** CarlFK has quit IRC | 01:15 | |
*** iiie has quit IRC | 01:38 | |
*** mithro-work has joined #timvideos | 02:01 | |
*** mithro-work has quit IRC | 02:02 | |
*** mithro-work has joined #timvideos | 02:08 | |
*** mithro has joined #timvideos | 02:23 | |
mithro | morning people | 02:24 |
---|---|---|
mithro | Sewar, ping? | 02:25 |
Sewar | mithro: pong! | 02:26 |
mithro | Sewar, so I'm going to send you an email about your blog posts :) | 02:27 |
*** CarlFK has joined #timvideos | 02:27 | |
Sewar | sure :) | 02:27 |
mithro | what is your email address again? | 02:27 |
mithro | hey CarlFK | 02:27 |
mithro | Sewar, sent | 02:28 |
mithro | Sewar, I sent the same set of tips to the other two students | 02:28 |
mithro | Sewar, so it's not specific to you | 02:28 |
Sewar | Great, will make sure to follow them :) | 02:29 |
CarlFK | hey mithro | 02:39 |
CarlFK | did you get the atlys firmware into your repo? | 02:40 |
CarlFK | no hurry, I don't expect to touch it for a few days | 02:40 |
mithro | CarlFK, yes | 02:57 |
mithro | CarlFK, we are in the process of reorganising the repositories | 02:57 |
mithro | to make it clearer where and what firmware to get | 02:57 |
mithro | and make the source repository useful | 02:57 |
mithro | Sewar, what/how are you doing testing? | 02:59 |
mithro | Sewar, btw if you want to upgrade to django 1.6 - that is fine, it'll be out before GSoC finishes | 03:00 |
Sewar | so far no real tests, I should write unittests next week | 03:02 |
Sewar | 1.6 sounds nice, but I can't upgrade due to apps, mainly django-revision | 03:03 |
mithro-work | django-revision isn't compatible with django 1.6? | 03:16 |
mithro-work | CarlFK, umm that link to settings in google plus is borked? | 03:17 |
*** hyades has joined #timvideos | 03:18 | |
mithro-work | hello hyades | 03:19 |
mithro-work | you have email | 03:19 |
hyades | yeah ahving a look | 03:20 |
CarlFK | mithro-work: yeah - I was wondering about it.. but that's all I got | 03:20 |
hyades | ahving/having | 03:20 |
mithro-work | CarlFK, ? | 03:20 |
mithro-work | CarlFK, this works - https://www.google.com/settings/plus | 03:21 |
tpb | Title: Google Accounts (at www.google.com) | 03:21 |
mithro-work | But i see nothing about third-party tools? | 03:22 |
CarlFK | I don't either | 03:22 |
mithro-work | Google+ settings | 03:23 |
mithro-work | https://plus.google.com/u/0/b/116465228062479756375/pages/settings/plus | 03:23 |
mithro-work | Third-party tools - | 03:23 |
mithro-work | so you don't have any way to reproduce that? | 03:23 |
CarlFK | let me get back to you on this - I want to help R get all the vids up | 03:24 |
Sewar | mithro-work: each version of django-revision is compatible with a single django version, https://github.com/etianen/django-reversion/wiki/Compatible-Django-Versions | 03:24 |
tpb | <http://ln-s.net/-QKy> (at github.com) | 03:24 |
mithro-work | Sewar, wow that sucks | 03:25 |
CarlFK | mithro-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 |
Sewar | yeah | 03:25 |
mithro-work | CarlFK, what you said was non-nonsensical | 03:26 |
mithro-work | django-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-work | I would read that as it should support the latest and the upcoming version | 03:26 |
Sewar | yeah, with every new Django release, there should be new django-reversion release | 03:27 |
mithro-work | Sewar, not how I read it | 03:27 |
hyades | mithro-work, i'll make the helpers class | 03:27 |
mithro-work | Sewar, I read it as, as django-reversions is released it will only work with the latest or newer versions of django | 03:28 |
mithro-work | IE not work with older versions | 03:28 |
hyades | and the test suite should be something which goes on to test each every component of the api | 03:28 |
mithro-work | hyades, there are two test suites | 03:28 |
mithro-work | hyades, one which tests the gst-switch python API | 03:28 |
mithro-work | hyades, and one which tests gst-switch itself using the gst-switch python API | 03:29 |
mithro-work | CarlFK, Google has many, many data centers - where your video is uploaded is not your concern | 03:30 |
mithro-work | CarlFK, there is likely to be a delay between uploading and it showing up - that can happen even to a single person | 03:31 |
CarlFK | mithro-work: R is currently rsyncing the mp4s to a hosted box in the states, which is taking longer than when he uploads to youtube | 03:31 |
mithro-work | as your not guaranteed to always hit the same location / server / frontend / IP route / etc | 03:31 |
mithro-work | CarlFK, that makes sense, Google is likely to have better connectivity then the general public | 03:32 |
CarlFK | ah | 03:32 |
hyades | mithro-work, brb after breakfast | 03:32 |
mithro-work | hyades, no worries | 03:33 |
Sewar | it does not support 1.6 yet, 1.6 changed transaction manager behavior and that will break django-reversion | 03:35 |
Sewar | https://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-work | Sewar, okay | 03:35 |
mithro-work | Sewar, are these guesses or have you tested? found django-revision discussion about it? | 03:36 |
*** hyades has quit IRC | 03:37 | |
Sewar | I think I read about it somewhere last 2 weeks, otherwise I won't have heard about the transaction manager | 03:37 |
mithro-work | Sewar, okay - good to document these things somewhere | 03:51 |
mithro-work | I hear blog posts might be all the rage ;) | 03:51 |
Sewar | haha | 03:51 |
*** hyades has joined #timvideos | 04:10 | |
*** hyades has quit IRC | 04:16 | |
*** hyades has joined #timvideos | 04:16 | |
*** hyades has quit IRC | 04:16 | |
*** hyades has joined #timvideos | 04:17 | |
mithro-work | hyades, not having much luck with that internet connect? | 04:17 |
hyades | good now :) | 04:17 |
hyades | so while doing those two things u mentioned | 04:19 |
hyades | i assume the other one is working good | 04:19 |
hyades | and write tests | 04:19 |
mithro-work | hyades, you understand this part right | 04:19 |
mithro-work | <mithro-work> hyades, there are two test suites | 04:19 |
mithro-work | <mithro-work> hyades, one which tests the gst-switch python API | 04:19 |
mithro-work | <mithro-work> hyades, and one which tests gst-switch itself using the gst-switch python API | 04:19 |
hyades | i will test the api when a part of it is done | 04:21 |
hyades | second part i can do only when the api is done | 04:21 |
mithro-work | yes agreed | 04:22 |
mithro-work | well | 04:22 |
mithro-work | You can test testing gst-switch's basic functionality when you have the basic API done | 04:22 |
mithro-work | IE don't stall on testing gst-switch because your still trying to get the speaker track API right | 04:23 |
hyades | yeah got it | 04:25 |
mithro-work | hyades, waterfall model of programming is bad :) | 04:25 |
hyades | i dont have much idea of the models but i think i am more or less following the software prototyping model | 04:29 |
mithro-work | software prototyping model? | 04:29 |
mithro-work | http://en.wikipedia.org/wiki/Waterfall_model | 04:29 |
tpb | Title: Waterfall model - Wikipedia, the free encyclopedia (at en.wikipedia.org) | 04:29 |
hyades | http://en.wikipedia.org/wiki/Software_prototyping | 04:30 |
tpb | <http://ln-s.net/-QNg> (at en.wikipedia.org) | 04:30 |
Sewar | items_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-work | Sewar, nope! | 06:30 |
Sewar | ok, I just abandoned this idea, more in the blog later | 06:31 |
*** mithro has quit IRC | 07:12 | |
*** mithro has joined #timvideos | 07:12 | |
*** parx has left #timvideos | 07:25 | |
mithro-work | iiie2, ping? (for tomorrow I guess) | 08:37 |
*** shenki_ is now known as shenki | 09:29 | |
*** bananadine has joined #timvideos | 11:04 | |
bananadine | hey mithro, did you see my last blogpost? | 11:21 |
mithro-work | probably, let me recheck | 11:21 |
bananadine | i tried to be more elaborate this time | 11:22 |
mithro-work | yes, that was much better | 11:22 |
mithro-work | but it still a good idea to post the *full* logs of stuff | 11:22 |
mithro-work | rather then little bits | 11:22 |
bananadine | the full log is a bit too full | 11:23 |
bananadine | when i paste it my computer freezes | 11:23 |
mithro-work | don't paste it then | 11:23 |
mithro-work | upload it somewhere | 11:23 |
bananadine | ok good idea | 11:23 |
bananadine | anyway | 11:24 |
mithro-work | btw your docs.google.com links are not links | 11:24 |
bananadine | oh | 11:24 |
bananadine | done | 11:24 |
bananadine | the problem is what i mentioned in the post, i think | 11:25 |
bananadine | but i don't know yet why that happens | 11:25 |
*** hyades has quit IRC | 11:28 | |
*** hyades has joined #timvideos | 11:30 | |
mithro-work | yes | 11:30 |
mithro-work | so Python searches the sys.path | 11:31 |
mithro-work | I'd expect to see a *huge* number more stats there | 11:31 |
bananadine | for 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 directory | 11:32 |
bananadine | why would gi be an exception :/ | 11:32 |
bananadine | i'll try and add the gi dir to python path | 11:34 |
mithro-work | take a read of | 11:50 |
mithro-work | http://docs.python.org/3/reference/import.html | 11:51 |
tpb | Title: 5. The import system Python v3.3.2 documentation (at docs.python.org) | 11:51 |
bananadine | i'll read it | 11:54 |
mithro-work | bananadine, you might need to go earlier in the file | 11:55 |
mithro-work | because Python has a cache of the directories it has search for a file | 11:55 |
bananadine | what do you mean by "go earlier"? | 11:55 |
mithro-work | in the strace log file | 11:59 |
mithro-work | earlier in time | 11:59 |
bananadine | wait i'll put the log somewhere | 12:02 |
*** elequ has joined #timvideos | 12:02 | |
elequ | Ooookay ... | 12:02 |
elequ | If you can get precise specs to me this week I can have a go on Saturday, take some photos. | 12:03 |
elequ | Sending over a board would be good, can get it perfect. | 12:03 |
mithro-work | elequ, wecome to our little community! | 12:04 |
elequ | The kind of specs required would be "padding" required around board for ventilation or some such thing :) | 12:04 |
elequ | Hello! | 12:04 |
elequ | Sorry, I just kept going mid-stream :) | 12:04 |
mithro-work | so yeah, if you send me an email with shipping address I'll get that out tonight | 12:04 |
elequ | done and done | 12:06 |
elequ | It's a freestanding residential property so deliveries are no problem. | 12:06 |
elequ | Ideally 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 |
elequ | Then refine to meet any unforeseen requirements. | 12:07 |
elequ | (which there always are) | 12:07 |
elequ | One joy of milling machine is 0.03mm precision. | 12:07 |
elequ | Considering 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 challenge | 12:09 |
elequ | So long as they're perfectly and clearly specified. | 12:09 |
mithro-work | elequ, okay that is ordered. It's likely not to turn up till Monday | 12:11 |
elequ | no probs | 12:11 |
elequ | if you've got any specs email/share them through | 12:11 |
bananadine | mithro-work what am i looking for earlier in the file? | 12:11 |
elequ | I'll simply try and do my best on Sat :) | 12:11 |
mithro-work | bananadine, other attempts to import gi which might have failed | 12:11 |
*** hyades has quit IRC | 12:11 | |
mithro-work | bananadine, upload the file somewhere and I can look at it | 12:12 |
mithro-work | elequ, I included it in the original email | 12:12 |
mithro-work | Mechanical information I have https://docs.google.com/file/d/0B5VlNZ_Rvdw6MUhua2p5QUxJR1k/edit?usp=sharing | 12:12 |
tpb | <http://ln-s.net/-Qej> (at docs.google.com) | 12:12 |
mithro-work | It 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_unit | 12:12 |
tpb | Title: Rack unit - Wikipedia, the free encyclopedia (at en.wikipedia.org) | 12:12 |
elequ | I'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 |
bananadine | mithro-work https://docs.google.com/file/d/0B-c8fKV-iiDZajJXQ3d2UVp3Q1E/edit?usp=sharing | 12:16 |
tpb | <http://ln-s.net/-Qer> (at docs.google.com) | 12:16 |
mithro-work | what is in /home/max/Desktop/flumotion-porting/flumotion/flumotion/common/pygobject.py | 12:18 |
bananadine | that's the module | 12:21 |
bananadine | which imports gi | 12:21 |
mithro-work | yes | 12:21 |
mithro-work | but I don't have a local copy | 12:21 |
mithro-work | so... | 12:21 |
bananadine | well i have it on github | 12:22 |
mithro-work | please give me the link... | 12:22 |
bananadine | https://github.com/bananadine/flumotion/blob/master/flumotion/common/pygobject.py | 12:22 |
tpb | <http://ln-s.net/-Qf9> (at github.com) | 12:22 |
mithro-work | at line 25 | 12:23 |
mithro-work | print sys.path | 12:23 |
bananadine | it doesn't give me the print in the traceback | 12:25 |
bananadine | oh | 12:25 |
bananadine | it's in the shell | 12:25 |
bananadine | i'll paste it | 12:25 |
bananadine | one moment | 12:25 |
bananadine | http://pastebin.com/QRBXxCJU | 12:26 |
tpb | Title: ['/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 path | 12:26 |
mithro-work | bananadine, it should only need | 12:32 |
mithro-work | /usr/lib/python2.7/dist-packages | 12:32 |
mithro-work | hrm | 12:33 |
mithro-work | gi is in /usr/share/pyshared for me.... | 12:33 |
bananadine | let me check there | 12:33 |
bananadine | i got it there too | 12:34 |
mithro-work | yeah that is what packages.ubuntu says :) | 12:34 |
mithro-work | is there an __init__.py file in /usr/lib/python2.7/dist-packages ? | 12:35 |
bananadine | i think not | 12:36 |
bananadine | well i could find it with control+f | 12:37 |
mithro-work | I recommend learning to use the "find" tool | 12:37 |
mithro-work | but a quick ls in /usr/lib/python2.7/dist-packages would show it up | 12:38 |
mithro-work | ls /usr/lib/python2.7/dist-packages/__init__.py :) | 12:39 |
bananadine | nope | 12:39 |
bananadine | there is not __init__ file | 12:39 |
bananadine | no* | 12:39 |
bananadine | should there be a init file? | 12:40 |
mithro-work | probably not | 12:41 |
mithro-work | bananadine, this is a strange issue | 12:42 |
bananadine | indeed | 12:42 |
bananadine | are the gi modules in an on-line repository? | 12:44 |
mithro-work | bananadine, ???? | 12:44 |
bananadine | well | 12:44 |
bananadine | i don't understand how does it work | 12:44 |
mithro-work | bananadine, can you print a sys.modules after the sys.path? | 12:45 |
bananadine | ok | 12:45 |
bananadine | oh boy quite a lot of modules | 12:46 |
mithro-work | yeah | 12:46 |
bananadine | http://pastebin.com/WgAtm1VZ | 12:46 |
tpb | Title: {'flumotion.configure': (at pastebin.com) | 12:46 |
mithro-work | okay | 12:47 |
mithro-work | can you pprint that list? | 12:47 |
mithro-work | import pprint | 12:47 |
mithro-work | pprint.pprint(sys.modules) | 12:47 |
bananadine | right | 12:47 |
mithro-work | elequ, as mentioned I'm happy to go through the HDMI2USB stuff with your husband if he is really interested | 12:48 |
bananadine | http://pastebin.com/J9YQALaP | 12:51 |
tpb | Title: ['/home/max/Desktop/flumotion-porting/flumotion', '/home/max/Desktop/flumotion-p - Pastebin.com (at pastebin.com) | 12:51 |
bananadine | here's the print outout | 12:51 |
bananadine | output* | 12:51 |
bananadine | 'gi': None | 12:52 |
bananadine | :/ | 12:52 |
*** hyades has joined #timvideos | 12:53 | |
mithro-work | bananadine, can you give me the complete output? | 12:53 |
*** mithro has quit IRC | 12:54 | |
mithro-work | wb hyades | 12:55 |
bananadine | mithro-work this is the complete output http://pastebin.com/J9YQALaP | 12:56 |
tpb | Title: ['/home/max/Desktop/flumotion-porting/flumotion', '/home/max/Desktop/flumotion-p - Pastebin.com (at pastebin.com) | 12:56 |
mithro-work | oh elequ, Sewar is working on a Django website which is a database of monitor EDID information | 12:56 |
hyades | mithro-work, did i miss something again? | 12:56 |
mithro-work | bananadine, that is not the pprint version I asek for | 12:56 |
bananadine | i also have print sys.path | 12:57 |
bananadine | print sys.modules | 12:57 |
bananadine | forgot to delete those two lines | 12:57 |
bananadine | the output of pprint is below that | 12:57 |
bananadine | sorry | 12:57 |
mithro-work | does pastebin have edit? | 12:58 |
bananadine | no | 12:58 |
bananadine | i'll ul again | 12:58 |
bananadine | paste* again | 12:58 |
mithro-work | you probably want to look at | 12:58 |
mithro-work | http://pastebin.com/dSyh0xCc | 12:58 |
tpb | Title: PastebinCL Manual - Pastebin.com (at pastebin.com) | 12:58 |
bananadine | http://pastebin.com/uH7AJMNX | 12:59 |
tpb | Title: ['/home/max/Desktop/flumotion-porting/flumotion', '/home/max/Desktop/flumotion - Pastebin.com (at pastebin.com) | 12:59 |
bananadine | here | 12:59 |
mithro-work | well | 13:01 |
mithro-work | the 'gi': None explains why it's only searching the local directory for gi | 13:01 |
mithro-work | I'm not sure how 'gi: None' got in there | 13:01 |
mithro-work | wasn't something previously forcing it to none? | 13:01 |
mithro-work | http://portingflumotion.blogspot.com.au/2013/06/things-i-did-today.html | 13:02 |
tpb | <http://ln-s.net/-QgV> (at portingflumotion.blogspot.com.au) | 13:02 |
bananadine | gtk2reactor | 13:03 |
bananadine | hmm | 13:03 |
bananadine | but i'm using Gtk3Reactor | 13:03 |
bananadine | oh but that's in the testsuite | 13:05 |
bananadine | i'll replace gtk2reactor with gtk3reactor everywhere | 13:08 |
bananadine | and see what happens | 13:08 |
bananadine | replaced | 13:13 |
bananadine | ran flumotion-admin | 13:13 |
bananadine | got another error now | 13:13 |
bananadine | i have imports which don't go together | 13:13 |
mithro-work | imports which don't go together? | 13:14 |
bananadine | wait | 13:14 |
bananadine | i'll try to do something | 13:14 |
bananadine | if i don't succeed i'll show you | 13:14 |
bananadine | ImportError: Introspected and static glib/gtk bindings must not be mixed; can't import gireactor since pygtk2 module is already imported. | 13:16 |
bananadine | i need to find where pygtk2 is being imported | 13:16 |
bananadine | oh | 13:16 |
bananadine | ok i found it | 13:16 |
bananadine | https://github.com/bananadine/flumotion/blob/master/flumotion/common/boot.py#L27 | 13:17 |
bananadine | see here | 13:17 |
tpb | <http://ln-s.net/-Qh9> (at github.com) | 13:17 |
bananadine | PYGTK_REQ = (2, 10, 0) | 13:17 |
bananadine | also look at that GST_REQ = {'0.10': {'gstreamer': (0, 10, 10), | 13:17 |
bananadine | 'gst-python': (0, 10, 4)}} | 13:17 |
mithro-work | the admin interface probably depends on gtk | 13:17 |
bananadine | i think this implies that it should use gtk3 | 13:18 |
mithro-work | you should be able to connect the stable flumotion-admin tool to your ported flumotion | 13:18 |
*** tpb has joined #timvideos | 13:22 | |
mithro-work | regarding the testing part <--- which testing part - please be more descriptive | 13:22 |
hyades | it uses like assert statements | 13:23 |
bananadine | mithro-work, can i run both manager and worker from sudo | 13:23 |
bananadine | ? | 13:23 |
hyades | suppose i want to see if preview is good, or pip mode is changing | 13:23 |
mithro-work | you shouldn't be running anything under sudo | 13:25 |
mithro-work | nothing requires root to run | 13:25 |
*** micolous_ has joined #timvideos | 13:25 | |
mithro-work | hyades, you need to tell me | 13:26 |
mithro-work | a) is this the test suite for the API or gst-switch-srv | 13:26 |
mithro-work | b) are you talking integration or unittests ? | 13:27 |
hyades | API | 13:27 |
hyades | unittests | 13:27 |
bananadine | can't start the manager without sudo | 13:27 |
mithro-work | how are you starting the manager? | 13:27 |
hyades | i actually need an example on how to implement all these tests.. | 13:28 |
bananadine | http://pastebin.com/4crjfvi4 | 13:29 |
tpb | Title: max@max-HP-ProBook-4520s:~/Desktop/flumotion-porting/flumotion$ flumotion-manage - Pastebin.com (at pastebin.com) | 13:29 |
hyades | is it like each function returns something, which is checked at each step? | 13:29 |
*** micolous has quit IRC | 13:29 | |
mithro-work | bananadine, ls -l /home/max/Desktop/flumotion-porting/flumotion/cache/registry/ | 13:29 |
mithro-work | hyades, unittests test each little bit of code in isolation | 13:30 |
mithro-work | hyades, integration tests test that the whole system works | 13:30 |
hyades | ya | 13:30 |
bananadine | -rw-r--r-- 1 root root 226675 Jul 10 15:22 registry.xml | 13:30 |
bananadine | do i need to add some privilege? | 13:31 |
mithro-work | My guess is that you ran this as root previously and it created that file | 13:32 |
hyades | firstly is it good if I just use py.test everywhere? | 13:33 |
mithro-work | chown -R max ~/Desktop/flumotion-porting | 13:33 |
bananadine | is it ok to remove it? | 13:33 |
bananadine | ah | 13:33 |
bananadine | does "chown -R max ~/Desktop/flumotion-porting" need to run with sudo? | 13:34 |
mithro-work | yes | 13:34 |
mithro-work | you can't steal files from root | 13:34 |
mithro-work | :P | 13:34 |
bananadine | haha | 13:34 |
bananadine | ah | 13:37 |
bananadine | gtk2 still giving trouble even without the admin | 13:37 |
hyades | is it good if I just use py.test everywhere? | 13:37 |
mithro-work | I don't see why not | 13:43 |
bananadine | mithro-work here's the worker log http://pastebin.com/npmzfX7r | 13:43 |
tpb | Title: Worker Log - Pastebin.com (at pastebin.com) | 13:43 |
mithro-work | so your worker is is importing pygtk2 somehow | 13:44 |
bananadine | i know it's because of boot... | 13:44 |
mithro-work | boot? | 13:44 |
bananadine | https://github.com/bananadine/flumotion/blob/master/flumotion/common/boot.py#L27 | 13:44 |
tpb | <http://ln-s.net/-Qh9> (at github.com) | 13:44 |
mithro-work | bananadine, something is calling the "init_gobject()" function? | 13:45 |
bananadine | probably | 13:46 |
bananadine | but | 13:46 |
bananadine | here | 13:47 |
bananadine | wait | 13:47 |
mithro-work | you could just comment out pygtk import part of that? | 13:49 |
bananadine | flumotion/common/gendoc.py calls "init_gobject()" | 13:49 |
bananadine | i'll try | 13:49 |
mithro-work | you can still import gobject right? | 13:50 |
mithro-work | or do you need to import gobject via gi? | 13:50 |
bananadine | i need to import it via gi | 13:51 |
mithro-work | okay | 13:51 |
mithro-work | well you need to fix that function right? | 13:51 |
bananadine | yea | 13:51 |
bananadine | the init_gobject() | 13:51 |
*** Sewar_ has joined #timvideos | 13:51 | |
mithro-work | YOu'll also need to fix _init_gst_version too | 13:51 |
bananadine | and should i change the required version of gtk to 3.0 | 13:54 |
bananadine | or should i comment those lines? | 13:54 |
mithro-work | any idea what kiwi-gtk is? | 13:56 |
mithro-work | Kiwi: A Framework for developing graphical applications in Python. | 13:57 |
mithro-work | Kiwi is a framework composed of a set of modules, which eases Python | 13:57 |
mithro-work | development using PyGTK. Kiwi makes graphical applications *much* faster | 13:57 |
mithro-work | to code, with good architecture and more Python-like bindings; it also | 13:57 |
mithro-work | offers extended widgets based upon the original PyGTK widgets. | 13:57 |
*** CarlFK has quit IRC | 13:57 | |
*** Sewar has quit IRC | 13:57 | |
*** Sewar_ is now known as Sewar | 13:57 | |
bananadine | yes | 13:57 |
bananadine | i knew that | 13:57 |
mithro-work | You might want to put a 'raise NotImplimented("Shouldn't be using kiwi inside flumotion code")' | 13:58 |
bananadine | but i don't know anything more than that | 13:58 |
mithro-work | actually | 13:58 |
mithro-work | def boot(path, gtk=False, gst=True, installReactor=True): | 13:58 |
mithro-work | just assert gtk=False ? | 13:58 |
bananadine | um | 13:59 |
bananadine | isn't it already False? | 13:59 |
mithro-work | someone could do a | 13:59 |
mithro-work | boot(gtk=True) | 13:59 |
mithro-work | false is just the default argument | 13:59 |
bananadine | flumotion-admin asserts True | 14:00 |
mithro-work | but your not running flumotion-admin? | 14:00 |
bananadine | nope | 14:00 |
mithro-work | (atleast from your ported version) | 14:00 |
mithro-work | so then it shouldn't matter? | 14:01 |
bananadine | yea | 14:01 |
mithro-work | your latest traceback was saying that it pygtk was being imported | 14:01 |
bananadine | yes in boot | 14:01 |
mithro-work | so I think you've led me down the wrong path.... | 14:01 |
bananadine | i think boot.py needs a lot of changes | 14:02 |
mithro-work | bananadine, it can either be imported via | 14:02 |
mithro-work | line 42 | 14:02 |
mithro-work | or via init_kiwi() function, right? | 14:03 |
mithro-work | so you fix | 14:03 |
mithro-work | def init_gobject(): to import gobject via gi | 14:03 |
bananadine | init_kiwi doesn't import pygtk | 14:03 |
bananadine | only line 42 | 14:03 |
mithro-work | so, you fixed it then? | 14:04 |
mithro-work | you know what to do right? | 14:04 |
*** CarlFK has joined #timvideos | 14:04 | |
bananadine | i need to replace every "import gobject" with "from gi.repository import GObject" | 14:06 |
bananadine | and every occurrence of gobject with GObject | 14:06 |
bananadine | and i think i should do the same for gst | 14:06 |
bananadine | replace with Gst | 14:06 |
bananadine | and also replace the import for it | 14:07 |
bananadine | right? | 14:07 |
mithro-work | bananadine, I thought you had done this? | 14:08 |
bananadine | not in boot.py, i haven't | 14:08 |
mithro-work | well, convert away I guess | 14:10 |
bananadine | i replace "import gst" with "from gi.repository import Gst" , but what do i replace "import pygst" with? | 14:13 |
mithro-work | NFI | 14:13 |
bananadine | damn | 14:13 |
mithro-work | my guess is that its probably not needed anymore | 14:14 |
bananadine | and same for "import pygtk" | 14:15 |
bananadine | i'll try and replace it with | 14:15 |
bananadine | "from gi.repository import Gtk" | 14:15 |
mithro-work | well, we just determined that we shouldn't be importing pygtk? | 14:15 |
bananadine | oh ok | 14:15 |
bananadine | then i'll trim boot.py of pygtk | 14:15 |
*** hyades_ has joined #timvideos | 14:21 | |
*** hyades has quit IRC | 14:24 | |
*** hyades_ is now known as hyades | 14:25 | |
bananadine | hmm | 14:25 |
bananadine | init_gobject() doesn't run | 14:25 |
*** mithro has joined #timvideos | 14:28 | |
mithro-work | bananadine, that doesn't give me any useful information | 14:28 |
CarlFK | bananadine: "doesn't run" tell us much - | 14:28 |
CarlFK | lol | 14:28 |
CarlFK | yeah, that. | 14:28 |
CarlFK | I am guessing either nothing calls it, or it errors | 14:29 |
bananadine | i'll paste boot.py as it is now (in process of changing) and the traceback | 14:30 |
bananadine | boot.py : http://pastebin.com/yzpxUYkZ | 14:31 |
tpb | Title: # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 # Flumotion - a streaming - Pastebin.com (at pastebin.com) | 14:31 |
bananadine | sorrt | 14:31 |
bananadine | ill use python highlits | 14:32 |
bananadine | wait | 14:32 |
bananadine | http://pastebin.com/RS671EZb | 14:32 |
tpb | Title: [Python] # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 # Flumotion - a streaming - Pastebin.com (at pastebin.com) | 14:32 |
bananadine | and here's the traceback http://pastebin.com/AaxGZc3F | 14:33 |
tpb | Title: INFO [13396] jelly Jul 10 16:30:59 - Pastebin.com (at pastebin.com) | 14:33 |
bananadine | while you look at that i'll eat something | 14:33 |
bananadine | i'm starving | 14:33 |
mithro-work | bananadine, did you try printing out what was in sys.modules? | 14:35 |
mithro-work | bananadine, btw the gst argument to boot( shouldn't have been captialized | 14:40 |
bananadine | isn't that the Gst from gi.repository which i'm importing? | 14:42 |
mithro-work | bananadine, yes that is correct | 14:42 |
mithro-work | but that doesn't mean the argument to that function should change | 14:42 |
CarlFK | mithro-work: this? boot.boot(PROGRAM_PATH) | 14:43 |
mithro-work | CarlFK, no | 14:43 |
mithro-work | def boot(path, gtk=False, Gst=True, installReactor=True): | 14:43 |
mithro-work | all arguments are in camelCaseWithNoInitialCapital | 14:43 |
bananadine | then i must change back Gst to gst on other lines as well | 14:45 |
bananadine | ok i changed those back | 14:45 |
bananadine | aaand i got the same traceback as before | 14:46 |
mithro-work | bananadine, I didn't say that would solve your problem | 14:47 |
mithro-work | <mithro-work> bananadine, did you try printing out what was in sys.modules? | 14:47 |
bananadine | i know i know | 14:47 |
bananadine | i'm just saying | 14:47 |
bananadine | :) | 14:47 |
bananadine | right | 14:47 |
bananadine | i'll do that now | 14:47 |
bananadine | with pprint? | 14:47 |
mithro-work | what ever way you prefer | 14:51 |
bananadine | http://pastebin.com/qR5whytc | 14:52 |
tpb | Title: INFO [13573] jelly Jul 10 16:49:55 - Pastebin.com (at pastebin.com) | 14:52 |
bananadine | it's both the print from the traceback and from sys.modules | 14:52 |
bananadine | but i think it's repeating the same sys.modules print out | 14:53 |
mithro-work | so no GObject in sys.modules | 14:54 |
mithro-work | are you sure you are importing GObject then? | 14:54 |
mithro-work | try putting some prints where you are importing it | 14:54 |
*** tpb has joined #timvideos | 14:56 | |
*** rajaniemi.freenode.net sets mode: +ns | 14:56 | |
*** services. sets mode: -o tpb | 14:56 | |
-rajaniemi.freenode.net- *** Notice -- TS for #timvideos changed from 1373468218 to 1364953925 | 14:56 | |
*** services. sets mode: +ct-s | 14:56 | |
*** ChanServ has joined #timvideos | 14:56 | |
*** services. sets mode: +o ChanServ | 14:56 | |
*** mithro has joined #timvideos | 15:04 | |
*** hyades has joined #timvideos | 15:04 | |
*** CarlFK has joined #timvideos | 15:04 | |
*** Sewar has joined #timvideos | 15:04 | |
*** micolous_ has joined #timvideos | 15:04 | |
*** elequ has joined #timvideos | 15:04 | |
*** bananadine has joined #timvideos | 15:04 | |
*** mithro-work has joined #timvideos | 15:04 | |
*** shenki has joined #timvideos | 15:04 | |
*** iiie2 has joined #timvideos | 15: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 #timvideos | 15:04 | |
mithro-work | okay | 15:04 |
mithro-work | now try those two lines on an interactive prompt | 15:04 |
bananadine | on >>> ? | 15:04 |
bananadine | i mean python >>>? | 15:05 |
mithro-work | use something like iPython or bPython if you want a nicer prompt | 15:05 |
bananadine | so first | 15:06 |
bananadine | i import boot.py | 15:06 |
bananadine | right? | 15:06 |
mithro-work | No | 15:06 |
mithro-work | Just try the two lines | 15:06 |
mithro-work | the import and the assert | 15:06 |
bananadine | In [4]: assert 'GObject' in sys.modules, "Run init_gobject() first" | 15:07 |
bananadine | --------------------------------------------------------------------------- | 15:07 |
bananadine | NameError 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 |
bananadine | NameError: name 'sys' is not defined | 15:07 |
mithro-work | umm.... | 15:07 |
bananadine | i need to import | 15:07 |
bananadine | sys | 15:07 |
bananadine | right | 15:07 |
mithro-work | yes | 15:07 |
bananadine | ok | 15:07 |
bananadine | now i got the same AssertionError | 15:08 |
bananadine | i used to get | 15:08 |
mithro-work | so take a look in sys.modules | 15:08 |
mithro-work | and you'll find that | 15:08 |
mithro-work | your import doesn't add to sys.modules... | 15:08 |
mithro-work | which is a bit weird | 15:08 |
bananadine | i found this | 15:09 |
bananadine | wait i'll paste | 15:09 |
bananadine | http://pastebin.com/bLPYVniv | 15:10 |
tpb | Title: 'gi': , ' - Pastebin.com (at pastebin.com) | 15:10 |
bananadine | it's what i get after i print sys.modules in the interactive prompt | 15:10 |
bananadine | well part of what i get | 15:10 |
bananadine | i just noticed it has gi | 15:10 |
mithro-work | 'gi.repository.GObject': <gi.module.DynamicGObjectModule 'GObject' from '/usr/lib/girepository-1.0/GObject-2.0.typelib'>, | 15:10 |
bananadine | yes | 15:12 |
mithro-work | "gi.repository.GObject" != "GObject" | 15:13 |
bananadine | that's what's wrong with the assert | 15:13 |
bananadine | ok great | 15:14 |
bananadine | one problem solved | 15:14 |
bananadine | :) | 15:14 |
bananadine | now what will i do with the deprecated attributes ... | 15:14 |
bananadine | need to find replacements | 15:15 |
*** tpb` has joined #timvideos | 15:26 | |
bananadine | i changed line 83 to "gst_version = Gst.version" | 15:26 |
bananadine | it got pass that error now | 15:27 |
*** tpb has quit IRC | 15:32 | |
*** tpb` is now known as tpb | 15:32 | |
bananadine | mithro-work, well i got here http://pastebin.com/yAHypEaU | 15:36 |
tpb | Title: INFO [14773] jelly Jul 10 17:34:09 - Pastebin.com (at pastebin.com) | 15:37 |
bananadine | and i can see many things that need changes | 15:37 |
bananadine | some are things i missed in some modules | 15:37 |
bananadine | and for some stuff i'l have to ask on #gstreamer | 15:37 |
bananadine | for instance AttributeError: 'gi.repository.Gst' object has no attribute 'MESSAGE_STATE_CHANGED' | 15:38 |
mithro-work | bananadine, you probably want to figure out why those parts are not tested | 15:38 |
bananadine | i couldn't find in the porting guide what 'MESSAGE_STATE_CHANGED' has been changed to | 15:38 |
bananadine | probably because they're not covered in the tests | 15:39 |
bananadine | so the tests passed with them | 15:39 |
mithro-work | so probably a good idea to see if you can add tests for them | 15:39 |
bananadine | yea | 15:39 |
bananadine | i'll leave it at here for today | 15:40 |
bananadine | tomorrow i'll get on #gstreamer | 15:40 |
bananadine | and finish up those modules i have been porting | 15:40 |
*** iiie has joined #timvideos | 16:04 | |
*** bananadine has quit IRC | 16:07 | |
*** parx has joined #timvideos | 16:39 | |
mithro-work | hey parx ? | 16:39 |
*** hyades has quit IRC | 17:36 | |
*** hyades has joined #timvideos | 17:55 | |
CarlFK | mithro-work: that adapter doc is nice | 18:10 |
*** hyades has quit IRC | 18:15 | |
CarlFK | iiie iiie2 : I may be trying to stream Erlang in 4 hours | 18:49 |
mithro-work | CarlFK, I did it instead of doing work they pay me to do | 18:49 |
CarlFK | lol | 18:50 |
CarlFK | are you up early or late ? | 18:50 |
mithro-work | late | 18:50 |
mithro-work | crap | 18:50 |
CarlFK | ouch | 18:50 |
mithro-work | I only have 3 more pins to assign on this sheet | 18:50 |
CarlFK | so I guess you won't be around in 4 hours :) | 18:50 |
iiie | CarlFK, ack, we got an org name? | 18:50 |
iiie | Chipy psone? | 18:51 |
iiie | fine, fine room name | 18:51 |
CarlFK | chicagoerlang | 18:51 |
* iiie sighs | 18:51 | |
CarlFK | lol | 18:52 |
* iiie wonders what happened to the settings files | 18:53 | |
* iiie suspects that email about a commit about settings going into the database was important | 18:54 | |
mithro-work | iiie, ? | 18:54 |
mithro-work | iiie, that was a proposal not something that was implemented yet.... | 18:55 |
mithro-work | iiie, assuming we are talking about the same thing.... | 18:55 |
iiie | ah, well then I'm lost for the moment | 18:55 |
iiie | I think we are | 18:55 |
iiie | I've forgotten how to add rooms | 18:56 |
iiie | or not... | 18:56 |
iiie | nevermind, I was in the wrong directory | 18:57 |
CarlFK | lol | 18:57 |
CarlFK | mithro-work: what were you saying about planet being tinkered with? | 18:57 |
CarlFK | some problem with audio | 18:57 |
CarlFK | you un-tinkered it, wondering if it needs to be re-tinkered | 18:58 |
mithro-work | I restore it to what was in the repository | 18:58 |
mithro-work | didn't think to take a backup.... | 18:58 |
iiie | CarlFK, chicagoerlang have a website, irc channel and twitter? | 18:59 |
iiie | It seems no, though there is a meetup http://www.meetup.com/ErlangChicago/ | 19:03 |
tpb | Title: Chicago Erlang User Group (Chicago, IL) - Meetup (at www.meetup.com) | 19:03 |
iiie | And a not so active google group https://groups.google.com/forum/#!forum/ceug and not so updated blog http://chicagoerlangusergroup.blogspot.com/ | 19:04 |
tpb | Title: Google Groups (at groups.google.com) | 19:04 |
CarlFK | yeah - that's about it | 19:06 |
iiie | So no twitter or irc :( | 19:06 |
CarlFK | chicagoerlang chicagoerlang chicagoerlang for everything :) | 19:07 |
iiie | Alright | 19:08 |
CarlFK | omg I have a printer!!! | 19:08 |
iiie | he he he | 19:08 |
CarlFK | I can print my own recording sheet for once | 19:08 |
iiie | score! | 19:08 |
CarlFK | parx: can I get you to create a client, show and episode? | 19:09 |
CarlFK | Joe Armstrong - title: Sherlock's Last Case | 19:12 |
CarlFK | i guess. | 19:12 |
iiie | CarlFK, classy http://www.chicagoerlang.com/#!contact (I don't think any of the buttons / links for social media work) | 19:26 |
tpb | Title: Chicago Erlang Factory Lite 2013 (at www.chicagoerlang.com) | 19:26 |
CarlFK | Garrett Smith = friend that coned me into this :) | 19:29 |
CarlFK | apparently the only one of the presenters who knows what he is talking about :) | 19:29 |
iiie | should be fun | 19:29 |
iiie | CarlFK, http://timvideos.us/chicagoerlang | 19:31 |
tpb | Title: Streaming for Chicago Erlang User Group (at timvideos.us) | 19:31 |
iiie | no stream of course, but the room is ready | 19:32 |
CarlFK | woot | 19:35 |
CarlFK | has anyone figured out how to generate a test stream? | 19:36 |
CarlFK | that does not involve running dvswitch | 19:36 |
iiie | hm, I recall something for flumotion, but I never got it running no | 19:38 |
iiie | CarlFK, in theory http://www.flumotion.net/doc/flumotion/manual/en/trunk/html/reference-components-producer.html loop, videotest, or webcam should do | 19:43 |
tpb | <http://ln-s.net/-QxP> (at www.flumotion.net) | 19:43 |
* iiie goes to lunch | 19:48 | |
*** parx has quit IRC | 19:54 | |
*** parx has joined #timvideos | 19:58 | |
*** parx has quit IRC | 20:04 | |
*** parx has joined #timvideos | 20:04 | |
*** CarlFK has quit IRC | 20:55 | |
*** mithro-work has quit IRC | 21:07 | |
*** tpb has joined #timvideos | 21:11 | |
*** CarlFK has joined #timvideos | 21:34 | |
iiie | hey CarlFK, about an hour and a half left? | 21:34 |
CarlFK | I thnk so | 21:37 |
CarlFK | I am scrambeling to get out the door | 21:37 |
iiie | Just verifying | 21:38 |
CarlFK | except I decided to re-image the dvswitch laptops | 21:38 |
CarlFK | and forgot what flavor of ubumtu works | 21:38 |
CarlFK | so I am on my 3rd try | 21:38 |
CarlFK | doh. | 21:38 |
iiie | : / | 21:38 |
CarlFK | I didn't touch trist | 21:38 |
iiie | oh good, for I second there I thought "there is no way this will work" | 21:39 |
CarlFK | lol | 21:39 |
CarlFK | I brougth up mission | 21:40 |
CarlFK | is that what I should connect trist to? | 21:40 |
iiie | yes | 21:40 |
CarlFK | <property name="host">ec2-54-225-53-165.compute-1.amazonaws.com</property> | 21:41 |
CarlFK | that look right? | 21:41 |
CarlFK | * Restarting Flumotion Streaming Server flumotion [ OK ] | 21:42 |
iiie | ec2-54-225-53-165.compute-1.amazonaws.com | 21:42 |
iiie | yes | 21:42 |
iiie | I'm on mission, starting with tmux | 21:42 |
CarlFK | trist should be streaming | 21:43 |
iiie | crap | 21:44 |
* iiie grumbles about string lengths | 21:44 | |
iiie | 10 characters is the max for room name | 21:45 |
iiie | chicagoerlang (13) | 21:45 |
iiie | chierlang ? | 21:46 |
iiie | ceug ? | 21:46 |
*** CarlFK has quit IRC | 21:47 | |
iiie | going with ceug ... | 21:47 |
iiie | http://timvideos.us/ceug | 21:48 |
tpb | Title: Streaming for Chicago Erlang User Group (at timvideos.us) | 21:48 |
* iiie sees a 1 | 21:49 | |
iiie | weird | 21:51 |
*** Sewar has quit IRC | 21:52 | |
*** Sewar has joined #timvideos | 21:52 | |
iiie | I fired up the watch dog, which almost immediately restarted the processes, so I don't see a 1 anymore | 21: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 happy | 21:56 | |
*** CarlFK has joined #timvideos | 22:00 | |
CarlFK | testing dv over wifi is dumb. | 22:00 |
iiie | welcome back | 22:00 |
iiie | http://timvideos.us/ceug | 22:00 |
tpb | Title: Streaming for Chicago Erlang User Group (at timvideos.us) | 22:00 |
CarlFK | testing over wired connection now | 22:00 |
iiie | I changed the URL because there is a 10 character max | 22:01 |
CarlFK | no prob | 22:01 |
iiie | streaming is working | 22:01 |
CarlFK | dvswitch machine just finshed installing.. booting now | 22:01 |
CarlFK | woot! | 22:01 |
CarlFK | now I ahve 2 dvswtich machines! | 22:01 |
iiie | someone other than me is watching | 22:02 |
iiie | :) | 22:02 |
CarlFK | ok, I am shutting down and flying to the venue | 22:02 |
CarlFK | well, sitting in traffic | 22:02 |
CarlFK | grumbel | 22:02 |
iiie | see ya! | 22:02 |
*** CarlFK has quit IRC | 22:08 | |
* iiie hasn't seen CarlFK | 23:20 | |
iiie | right, well if you see Carl tell him I'm on the road | 23:28 |
iiie | (anyone who is awake, or the log will do) | 23:28 |
*** iiie has quit IRC | 23:36 | |
*** CarlFK has joined #timvideos | 23:53 | |
CarlFK | wifi sucky | 23:56 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!