/srv/irclogs.ubuntu.com/2012/01/03/#ubuntuone.txt

=== eu is now known as Guest14752
jono_hey all00:06
jono_I am having problems authenticating with U1 in a free 12.04 install00:07
jono_are there issues with the auth server right now?00:07
=== Guest14752 is now known as adorilson
=== Alcine is now known as jalcine
Arun_hi I am trying to use ubuntu one on my ubuntu 10.04 live USB... but its not working ..can someome plz help me out here04:00
burrito_i cannot get ubuntuone to sync my documents folder on a 10.04 machine04:01
Arun_same prob here.. my ubuntu one displays as disconnetec even after I logged into my A/C in firefox browser04:03
burrito_my client also doesn't have the tab where i can specify to synchronize a file locally like my linux mint 12 has, on this 10.04 i've only got some crabby little gui with a few generic tabs04:05
mandelmorning all!!10:04
mandelI managed to fix my machine :)10:04
ryemandel, congrats! What got broken and will it affect me :) ?10:06
mandelrye, for some crazy reason in my machine lightdm woul nto let me log in, I installed gdm and tested that I could login, that work, but broke unity10:07
mandelrye, reinstalling lightdm and later unity fixed the problem.. weird10:07
JamesTaitGood morning all, happy new year!10:10
mandelJamesTait, same to you!"10:11
mandelcoffee for me :)10:28
* mandel back10:53
ChipacaJamesTait: happy new year! :)11:05
JamesTaitChipaca: Why thank you, my good man, and the same to you. :)11:05
nessitahello everyone!11:59
gatoxgood morning!11:59
mandelnessita, gatox morning!12:01
nessitahello mandel! gatox!12:01
gatoxmandel, i read that you fix your machine12:02
gatoxnessita, hi12:02
mandelgatox, yeah, took part of the morning but know I'm full track doing some code :)12:02
mandelgatox, funny thing is that I could just log in the machie via ssh.. but was enough to fix it12:02
nessitamandel: oh, what happened?12:05
mandelnessita, lightdm stopped allowing me to log in my machine after an update in P, so I was left out of the box, I played around a little with gdm and got the login working yet it broke unity badly12:06
mandelnessita, but after reinstalling unity and forcing lightdm to be reconfigured I got it working, I was lucky I though about trying to use sshing the machine12:07
nessitamandel: oh12:07
gatoxmandel, review please? https://code.launchpad.net/~diegosarmentero/ubuntuone-windows-installer/default-agree/+merge/8728212:17
mandelgatox, sure, looking12:18
mandelgatox, why the unpolish call and then a polish call?12:18
gatoxmandel, that's the qt way to reapply the style to some widget12:19
mandelgatox, ugh, their api there is ugly, because just doing a single polish does not work, right?12:19
gatoxmandel, well..... they have different purposes and can be called without the need of the other one in some cases12:21
mandeljust read http://developer.qt.nokia.com/doc/qt-4.8/qstyle.html#unpolish got what your are doing gatox  :)12:21
gatoxbut...... it would be nice to have a: refreshStyle :P12:21
=== teknico is now known as teknico_away
mandelgatox, yeah, but if they don't have it, lets better use their default pattern :)12:23
gatoxmandel, yep, obviusly12:23
mandelgatox, on more question, in the test_license_page_agree_button_style you are just asserting that the button is default and enabled, is there a way we could check that the styles was applied?12:24
mandelgatox, maybe patching the polish and unpolish calls and asserting on them?12:24
gatoxmandel, that is not going to ensure that the STYLE was applied, just that the widget was repainted...... to check for the STYLE, you would need to check the color of the pixels of the widget.....12:25
gatoxmandel, because if i remove the .qss..... the test is going to pass.....12:25
gatoxbut the style is not going to be applied12:26
gatoxso...... it doesn't has sense to me....... but maybe i'm wrong12:26
mandelgatox, so, why do we repaint the widget, it is to set the correct style, right?12:26
gatoxmandel, if you change a property of the widget, and you have a style associated to that property (in this case "default" and "enabled".... you can create your own properties too)..... you need to repolish the widget12:27
gatoxin order to see the new style based on that property in that widget12:28
mandelgatox, so, if we remove the polish and unpolish calls, the test will pass yet the style will be wrong, right?12:29
gatoxmandel, yep12:30
mandelgatox, so there is something wrong in the test, right, since we added 2 important lines and we do not test they are performed12:30
mandelalthough I can be completely wrong with my assertion :P12:30
gatoxmandel, i understand what you mean...... i'm thinking....12:31
mandelgatox, maybe checking the style is not what should be done, but assert that it was repainted12:31
mandelgatox, and assume that the polish and unpolish call do their work correctly :)12:31
gatoxmandel, yep..... we could check that12:32
mandelgatox, I think that would be a little better for the test, in case an ass like me says, WTF?! polish and unpolish, I'm removing those!12:32
mandelgatox, lets call it defense programming against smart asses like manuel hehehe12:33
gatoxmandel, ok, i'll add the checks for that12:33
gatoxjejjeje12:33
mandelgatox, cool! let me know and I'll approve the branch, since the rest looks great :)12:33
mandelgatox, I hope is not a major PITA12:34
gatoxmandel, nap.... should patch the wizard.....12:34
gatoxin this case i can't just patch the function or the button12:35
mandelgatox, how come, issues with the C++ code?12:35
gatoxi can patch the button function from the wizard..... that would be better12:35
gatoxmandel, nono12:35
gatoxmandel, i'm going to patch the button..... patching the button function from the wizard..... that will work just fine12:36
gatoxmandel, in the meanwhile: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/fix-links/+merge/86605 :P12:36
gatoxand nessita ^12:36
gatoxplease12:36
nessitagatox: sure!!!12:36
gatoxthanks12:37
mandelgatox, on it12:37
gatoxthanks12:37
mandelnessita, can you help me debug a branch, I have a problem with a dirty reactor and I cant see the reason :(12:39
nessitamandel: sure!12:39
gatoxnessita, mandel just in case.... i've just fix some docstrings in the branch i gave you for review12:40
nessitagatox: ack12:40
mandelnessita, the branch is lp:~mandel/ubuntuone-dev-tools/proxy-testcase, the idea is that the MockServer stops the need of the test case to access the internet, but I get a dirty reactor12:41
mandelnessita, the revno should be 7712:41
mandelgatox, and adds new lines hehehe12:41
nessitamandel: did you disconnected all connected clients?12:41
mandelnessita, hm.. maybe I have to force the disconnection of the WebClient12:42
gatoxmandel, where?12:42
gatoxmandel, ahhhhhhhhh.... those ones was to fix pep8 issues...... i couldn't resist :P12:43
mandelgatox, 156 in the diff for example, not that it matters :)12:43
mandelgatox, hehe12:43
mandelI though so12:43
nessitamandel: yeah, you need to disconnect everything that you connect12:43
mandelnessita, let me check down that path12:44
nessitamandel: sure12:44
nessitagatox: your fix links branch has removed some flags from some files12:47
gatoxnessita, :S fixing that...12:47
gatoxnessita, ahhhhhh maybe when i copied the files from one machine to another12:48
nessitagatox: if you switch between windows and linux, yes12:48
gatoxnessita, i switch between one linux to another..... but i think that the problem was the permissions of that disk12:49
nessitaah... is it a fat32 FS in the disk?12:50
ralsinagatox: "copied the files" -- cp doesn't preserve permissions by default12:50
gatoxnessita, from ext4 -> ntfs -> ext4 (migrating my data from one laptop to another)12:51
nessitagatox: right, that will mess up all your file perms12:52
mandelgatox, and we are in 2012! you would imaging that fs developers should have fixed that already :(12:52
mandelmaybe the mayas were right..12:52
gatoxmandel, jejeje and we are in 2012 and you will expect that windows handles unicode properly :P12:53
mandelgatox, and that I would not have to write crazy code to disconnect for a twisted server..12:55
mandeljesus!12:55
ralsinanessita or mandel: I would love a second review of this: https://code.launchpad.net/~ralsina/ubuntuone-control-panel/even_more_unique_than_the_other_snowflake/+merge/8691212:56
ralsinaif that gets approved, we are down to 1 (one) manually applied branch on windows releases ;-)12:57
mandelralsina, did you make the changes regarding glob, which branch was it so I can take a second look?12:57
ralsinamandel: yep12:57
ralsinamandel: let me get you a link12:57
mandelralsina, thx12:57
ralsinamandel: https://code.launchpad.net/~ralsina/ubuntuone-windows-installer/fix_809873/+merge/6791112:58
mandelralsina, I'll do that one first :)12:58
mandelgatox, nessita would be nice to have a better review with mine in: https://code.launchpad.net/~ralsina/ubuntuone-windows-installer/fix_809873/+merge/6791112:59
mandelralsina, 'Get the VistaLib32.dll and VistaLib64.dll' where do I get those from?13:00
ralsinamandel: from the share I shared with you yesterday13:00
mandelralsina, ok, and If i don't have that share?13:01
ralsinamandel: then you are not part of the team and should not be building releases? ;-)13:01
mandelralsina, we are opensource, we should provide everything, they might not be making canonical releases :)13:01
ralsinamandel: those files are not necessary to make the software work, they are just needed to build installers. The installer is not open source.13:01
ralsinamandel: after all, the installer is done using InstallBuilder. You need a license for that, you know.13:02
mandelralsina, you can get an opensource license for that.. I mean, our sources should be complete, if not, if we EVER get people to help use the will be like, WTF? where do I get those13:03
mandelralsina, I know it will never happen, yet I know the first person that will say WTF about that, and is the new windows guy :)13:03
mandelbut you are the boss, so you decide what to do :)13:03
ralsinamandel: well, I am ope to suggestions13:03
mandelralsina, hm do we have the code for those dlls?13:06
mandelralsina, or is it from somewhere else?13:06
ralsinamandel: we do13:06
ralsinamandel: but I have never built them myself. We should add a README for them, too, according to the license13:07
ralsinamandel: I'll do it right away13:07
mandelralsina, yeah, sounds reasonable, point to the code, and explain how to build them13:07
mandelralsina, we can use the share to simplify our work :)13:07
ralsinamandel: pushed URL, explanation, and README. The license is a MIT-style "no guarantees, don't remove these paragraphs"13:13
mandelralsina, super! I think this is better since if we get ran over by a bus everyone else will know what to do :)13:13
mandelralsina, and we would not be the first ones to be ran over by a vehicle :(13:14
ralsinaIn an ideal world, we would reimplement those DLLs but the code is gnarly13:14
nessitarebooting after big update13:15
mandelralsina, yeah, I do understand the fact that we do not have the time or resources, documenting sounds good enough for me :)13:16
mandellets hope google cache does the rest hehe13:16
mandelnessita, I'm going to assume that your update went better than mine13:23
nessitamandel: I updated to P before xmas, it went well :-)13:25
nessitamandel: I was updating a kernel now13:25
nessita(and it also went well, luckly)13:25
mandelnessita, I did the upgrade, that went smooth, but the update after NYE was what broke it13:26
nessitamandel: ah, hum13:26
nessitamandel: it worked here :-D13:26
mandelnessita, I'm glad for you :)13:26
ralsinanessita: what do you think of https://bugs.launchpad.net/ubuntuone-windows-installer/+bug/91083413:30
ubot4Launchpad bug 910834 in ubuntuone-windows-installer (and 3 other projects) "The bin/ scripts should have no logic in them (affects: 1) (heat: 6)" [Undecided,New]13:30
nessitaralsina: looking13:31
nessitaralsina: what would be "no logic" in that bug report? cuz I see some scripts in bin/ and those are pretty logic-less13:32
ralsinanessita: script should just be "from whatever import foo; foo.bar(sys.argv)"13:33
ralsinanessita: we have option processing, for instance13:33
ralsinanessita: maybe not even passing sys.argv ;-)13:33
ralsinau1sdtool is far from logic-less, too13:34
nessitaralsina: agreed on client  bin/  scripts, but does it worth the time but the rest, that has the option parse code there?13:34
ralsinanessita: sorry, I don't understad13:34
nessitaralsina: I think is a good idea to do that, specially on the u1client bin/ scripts. But from my POV, I'd say is low priority13:35
nessita(given the things we have queued up)13:35
ralsinanessita: I agree it's not a high priority13:36
ralsinanessita: it does make windows releases considerably more work, though13:36
nessitaralsina: I read from the bug report that the .exe will not have to be resign, but I'm not sure I follow that13:36
nessitaralsina: the bin/foo may not change, but all the other pys will13:37
nessitaso why there would be no need of signing?13:37
ralsinanessita: the exes only contain a loader and bin/whatever's bytecode13:37
ralsinanessita: the rest is in library.zip13:37
nessitahum, I, as a end user, would expect that the sign covers everything, included the library.zip, otherwise what guarantee canonical gives me that the library.zip is authenthic?13:38
ralsinanessita: the second signing is for that13:39
ralsinathe whole installer is signed13:39
nessitaralsina: sorry, but now you loose me (evidently I'm not familiar with that process). So, we have 2 signs? (I did not know that)13:40
ralsinabut also individual .exes need signing. So right now, it takes about 12 hours and three large uploads to get everything signed. And that can go down to one upload and whatever hours it takes IS to sign13:40
mandelok, I'm off to lunch13:40
mandelbbl13:40
* mandel -> lunch13:40
ralsinanessita: yes, first all the .exes (and python27.dll) need to be signed. Then the installer is built with the signe files in it, and the installer is signed again.13:41
ralsinanessita: on windows, you have to sign every .exe, and the installer is an .exe too13:41
nessitaralsina: I see. So we'd need to sign every exe only when they change?13:41
ralsinanessita: yes13:41
nessitaand are they changing too much lately?13:41
ralsinanessita: well, at least windows-installer has.13:42
ralsinanessita: and u1sdtool13:42
ralsinaand if we ever make u1sdtool --version do something useful, then that will change every version13:43
nessitaralsina: we can workaround that importing the version from clientdefs, like we do now, no?13:43
nessitaanyways, I see your point. From my POV, I would advice tackling that after feature freeze, but if you consider it more important than the thing we're doing, we can ceratinly schedule it13:44
ralsinanessita: it can wait until FF, I just wanted to get your OK about doing it13:44
nessitaralsina: makes sense :-)13:44
=== teknico_away is now known as teknico
nessitagatox: you let me know when you fix the perms in the branch?13:53
gatoxnessita, ah sorry..... it's already fixed13:54
nessitaralsina: ping14:00
ralsinanessita: pong14:00
nessitaralsina: the code you added to https://code.launchpad.net/~ralsina/ubuntuone-control-panel/fix_906541/+merge/86911 is not a good one, os.path.expanduser('~') does not work well for usernames with non-ascii characters in it14:01
ralsinanessita: it was used in the same file, IIRC14:01
ralsinanessita: let me check14:01
nessitaralsina: gatox implemented a home variable in sso.xdg_base_directory14:01
nessitaralsina: may be, but we need to fix that (gatox hasn't reached controlpanel yet)14:02
ralsinanessita: I'll do a new branch and fix all uses on that file, then14:02
nessitaralsina: well, if it's already used somewhere else, we can wait until diego reach controlpanel to fix it?14:02
ralsinanessita: I am checking that14:02
gatoxralsina, nessita, when my last branch of u1-client is approved.... i have another one to propose for controlpanel that should fix the problems in folders14:03
nessitaralsina: I just wanted to let you know we should not be using that anymore (so is basically a FYI)14:03
nessitagatox: right, you should also cover in your branch what ralsina added in https://code.launchpad.net/~ralsina/ubuntuone-control-panel/fix_906541/+merge/8691114:03
ralsinanessita: ack!14:04
gatoxnessita, ah ok!14:04
nessitaralsina, gatox: thanks!14:04
nessitadobey: hum, I wanted to ask here, sorry14:23
dobeyoh14:23
nessitaralsina: were you able to run the linux tests for your is_root branch?14:35
ralsinanessita: didn't try it since I touched nothing of the linux side14:36
ralsinanessita: it fails?14:36
nessitaralsina: can you please try?14:36
nessitaralsina: no, I'm getting an error re-translations, and I want to see if it's a precise-only thing14:36
ralsinanessita: sure14:36
ralsinanessita: I'll try on natty14:37
alecuuh... hello...14:42
alecusorry guys I'm so late today.14:42
alecuthe first two weeks of january there's no kinder, so they are a bit... complicated.14:43
dobeyheh14:43
dobeyyoung cylons are so troublesome!14:43
aleculol14:45
nessitahello alecu! I missed you14:45
alecuhola nessita!14:45
dobeyit is too damn cold. :(14:48
ralsinaayone has the "setting up the windows development environment" wiki page handy?14:50
gatoxralsina, this one? https://wiki.ubuntu.com/UbuntuOne/Contribute/WindowsTesting14:51
gatoxralsina, i updated the wiki today adding the comtypes dependency14:51
ralsinagatox: thanks14:51
ralsinagatox: if I am lucky, that whole page will re replaced with two commands in a few days :-)14:52
dobeyso few weeks then ;)14:52
gatoxralsina, that would be awesome!!!..... and a lot easier to attract people to contribute too14:52
ralsinagatox, dobey: well, the main missing bit is a buildout recipe for PyQt, which is kind of a pain14:53
* mandel back14:54
mandelalecu, dobey hello :)14:54
dobeyhola mandel14:54
ralsinaOTOH, I do have a "full dev. env. in a zip" kinda working14:54
mandeldobey, I'm fixing the proxy-testcase code, and while I was implementing the changes you suggested I've decided to change the test so they do not use a real url14:55
dobeycool14:55
mandeldobey, there are a few things to change related to cleaning the reactor, as soon as I'm done I'll let you know :)14:55
ralsinanessita: tests for my branch are running OK on natty15:00
nessitaralsina: right, seems like something related to translations is broken on precise15:01
dobeyit's because of the new intltool15:01
nessitadobey: shall we add the clientdefs.py in the .skip file?15:01
gatoxstandup?15:01
nessitaralsina: another question, did you run the tests from your branch in windows?15:01
nessitagatox: yes!!!15:01
gatoxme15:02
nessitame15:02
dobeynessita: i'll get back to you in a minute; i just finished upgrading my laptop's packages, about to test it there15:02
ralsinanessita: those, yes, I ran:)15:02
nessitadobey: ack15:02
ralsiname15:02
ralsinaDONE15:02
ralsinaoops15:02
dobeyme15:02
nessitaralsina: and is syncdaemon starting for you? I'm getting15:02
nessitaE:\client\review_fix_904300>python bin\ubuntuone-syncdaemon15:02
nessitaTraceback (most recent call last):15:02
nessita  File "bin\ubuntuone-syncdaemon", line 33, in <module>15:02
nessita    from ubuntuone.platform import (15:02
nessitaImportError: No module named platform15:02
nessitaalecu, mandel: standup?15:02
mandelups, sorry15:03
mandelme15:03
ralsinanessita: I'll check in a few minutes15:03
nessitaDONE: holidays! managed to avoid touching the computer for 10 days :-D15:03
nessitaTODO: catch up, reviews15:03
nessitaBLOCKED: nopes15:03
nessitaNEXT: gatox15:03
gatoxDONE:15:03
gatoxFixed License page in Installer, fixed problem with dirty reactor in cp, tests improved for some of my branches, couple of reviews.15:03
gatoxTODO:15:03
gatoxKeep fixing bugs.15:03
gatoxBLOCKED:15:03
gatoxNo15:03
alecume15:03
gatoxmandel, go15:03
gatoxsorry15:03
gatoxdobey, go15:03
dobeyralsina15:03
ralsinaDONE: reviews, started process or january mini-sprint, canonicaladmin cleanup, bug triaging, started on a buildout config to make windows dev.env. repeatable TODO: calls, reviews, etc. BLOCKED: no15:04
mandelDONE: Fixed machine, cleaned inbox from mail. Reviews for gatox and ralsina (please let me know when you are done with the changes).15:04
mandelTODO: Finish fixing proxy-testcase branch to no use a real url and use a localhost one.15:04
mandelBLOCKED: no15:04
ralsinadobey?15:04
dobeyλ DONE: holidays15:04
dobeyλ TODO: fix crashers in P, releases, fixes for gireactor from review, initial music store work15:04
dobeyλ BLCK: No.15:04
dobeythen me, then mandel15:04
dobeynow alecu15:04
mandeldobey, sorry, I show my name and pasted my notes15:04
ralsinamandel: I have no changes pending15:04
mandelralsina, true, sorry, I'll continue the review in a few mins15:04
alecuDONE: force use proxy in libsoup based webclient15:05
alecuTODO: use webclient in sso15:05
alecuBLOCKED: no15:05
nessitaany comments anyone?15:05
alecuralsina, january mini-sprint ?15:05
gatoxmandel, updated: https://code.launchpad.net/~diegosarmentero/ubuntuone-windows-installer/default-agree/+merge/8728215:05
ralsinaalecu: syndaemon knowledge transfer and new hire welcome15:06
alecuoh, and BLOCKED: on mandel's devtools branch!  :-)15:06
ralsinamini in the sense that it's not the whole team15:06
alecuralsina, cool. Any idea on where & when & who?15:06
mandelalecu, should be ready in a few mins, as soon as it is done, I'll ask you and dobey for a review15:06
alecumandel, vamos!!!! :-)15:07
dobeyreview will take a while i think :(15:07
ralsinaalecu: nessita, facundobatista, Brian Curtin all week, you and I a couple of days15:07
nessitaralsina: yes, I'm interested in the when so I can book tickets, if you tell me to15:07
ralsinanessita: marianna is on swap today, I scheduled it for last week of january but I need to talk t o her15:07
nessitaack15:07
nessitaralsina: can brian make it in that week?15:08
ralsinanessita: yes15:08
nessitanice15:08
nessitaanyone: I can't start ubuntuone-syncdaemon using u1client\trunk. Can anyone try that, please?15:08
nessita(that's in windows)15:09
ralsinanessita: starts here. Maybe you didn't set PYTHONPATH?15:09
nessitaralsina: I did... http://pastebin.ubuntu.com/791728/15:09
dobeynessita: ok, yes the 2 clientdefs.py files need to be added to POTFILES.skip15:09
nessitadobey: ok, I'll propose a branch15:10
nessitaralsina: hum, I see my mistake15:10
ralsinayes, ":"15:10
nessitayes15:10
nessitaalecu: would you have some time to help me with some kinda-integration tests that use dbus?15:12
nessitaalecu: they are driving me crazy, and I (think I) checked everthing15:12
alecunessita, for you, always :-)15:13
nessitaalecu: let me know when you have 15-13 minutes (no rush, I have a lot of reviews to do still)15:13
alecunessita, can you point me at the code?15:13
nessitayes, one sec15:13
nessitaalecu: the test suite is test_clients.py. The goal of the suite is to provide multiplatform tests for all the IPC clients that access the sso service, both for the SSOLogin and Credentials sub-services. The code is: http://bazaar.launchpad.net/~nataliabidart/ubuntu-sso-client/unify-signal-broadcaster/view/head:/ubuntu_sso/main/tests/test_clients.py15:16
nessitaalecu: note that SSOLoginProxyTestCase is skipped, since it does not work on linux. You can try running a single test with:15:17
nessitau1trial -t GenerateCaptchaTestCase.test_success ubuntu_sso/main/tests/test_clients.py15:18
alecunessita, but that gets skipped on linux, so I should try that on windows, right?15:20
nessitaalecu: on windows they work perfectly, the problem is linux and dbus15:20
nessitaalecu: UbuntuSSOService, on linux, will start the dbus service, and the get_sso_client will give you an object with clients connected to that dbus service15:20
nessitaalecu: you should remove the .skip and run the test I mentioned, you'll notice it never finishes15:21
nessitabecause the dbus call timeouts15:21
alecunessita, ok, but the u1trial line you pasted above runs one test that gets skipped.15:21
alecuok15:21
alecuah15:21
alecuok15:21
nessitaalecu: right, you should remove the SSOLoginProxyTestCase.skip = 'foo' line15:22
nessitaalecu: the error I'm getting is ERROR:dbus.proxies:Introspect error on com.ubuntu.sso:/com/ubuntu/sso/accounts: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply. But if I pdb into the setUp, after the UbuntuSSOService() is created, and I connect to the test dbus address session, I see the service running15:23
dobeynessita: btw, contrib/testing/testcase.py also needs to be added to POTFILES.skip in trunk I think15:23
alecunessita, my gut tells me something is not being called async15:24
aleculooking anyway15:24
alecunessita, just so I don't forget: I don't like the "import BaseTestCase as _BaseTestCase"; I think you should rename the BaseTestCase class defined below instead.15:25
nessitaalecu: yeah, absolutely, this branch is on-going15:25
alecuack15:25
alecunessita,         getattr(self.client, self.method)(*self.params)15:27
alecunessita, that bit calls the dbus method, right?15:27
nessitaalecu: yes15:27
alecunessita, but is it calling the method in an async way?15:27
nessita... no15:28
alecuright15:28
* alecu googles15:28
nessitabut... it should not block15:28
nessitathe method should return almost immediately -- perhaps the reactor is not giving a "turn"?15:28
alecu"To make a call asynchronous, pass two callables as keyword arguments reply_handler and error_handler to the proxy method"15:28
alecunessita, right now the call is blocking, so the reactor gets no turn to handle the reply from your mock objects15:29
nessitaalecu: I see, so we need the async for the tests... even though we don't need them IRL15:29
alecunessita, we *should* have them async too15:30
nessitaalecu: right. Thanks *a lot*, I will continue from here15:30
alecunessita, no problem :-)15:30
* alecu adjusts his dbus hat, and rides silver into the sunset.15:31
nessitalol15:32
alecunessita, btw: http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#making-asynchronous-calls15:32
nessitaalecu: I certainly know how to make async calls with dbus, is just that I did not want that in the API...15:33
nessitain the multiplatform, unified API15:33
nessitaalecu: it complicates the PB code a lot15:33
alecunessita, right. Then perhaps your code should add the async handlers... and have the sucess_handler be a No-op, but the error_handler should raise the error signal15:35
alecunessita, and the calling code should not worry about adding that.15:35
nessitaalecu: i did not understand the "the sucess_handler be a No-op, but the error_handler should raise the error signal". By 'success_handler' you mean the  cb = lambda *a: d.callback(a)?15:37
alecunessita, no, I don't mean the signal handler, I meant the reply_handler that's used to call the dbus proxy method and make it async15:40
alecunessita, but I'm thinking of another approach that might be more similar to the pb call15:40
gatoxpeople.... i'm going to leave now and resume my work tonight.... i'm not feeling very well right now :S15:41
nessitaalecu: right, but then I need the (windows) PB API to also accept the keyword reply_handler and error_handler... and call them somehow (given that the tests are multiplatform)15:41
nessitagatox: oh, is it the heat?15:41
gatoxnessita, yep..... i couldn't sleep very well last night15:41
alecugatox, :-(15:42
nessitagatox: me too :-/15:42
ralsinagatox: take care.15:42
nessitagatox: get better!15:42
gatoxsee you later15:42
alecugatox, stop spending money on computers, get an air conditioner!15:42
gatoxalecu, jejeje tomorrow i'm going to carrefour to but an air conditioner15:42
gatoxi'm not going to survive the summer15:43
alecugatox, don't buy a portable one, they are a piece of crap15:43
ralsinathat heat was surely the alienware's fault15:43
gatoxralsina, jejejeje15:43
gatoxalecu, roger that15:43
ralsinagatox: +1 to what alecu said15:43
ralsinathe bad side is, you gonna need an installer15:43
mandelalecu, one question, I'm using a mock server similar to the one you used in the webclient tests, is there a way to access to the protocol that is used, I want to know when the connection is lost so that I do not get dirty reactor issues15:44
gatoxralsina, but the installer now is only just one script...... jejejeje deliraba15:44
gatoxok....... gatox off..... see you later15:44
=== gatox is now known as gatox_away
alecunessita, I think I found a better way.... give me a few minutes15:45
nessitaalecu: I give you whatever you need to have that cleverness flowing :-D15:46
alecumandel, in my experience, all the dirty reactor issues mean that there was some function that was not called; so it would not be good to wait till the connection is lost15:46
alecunessita, ok, here's my idea:15:47
alecunessita, we should stop using the dbus "proxies"15:47
dobeynessita: you are doing releases today as well, right?15:47
alecunessita, both dbus proxies and pb proxies15:47
alecunessita, and we should use the calls by name instead15:47
alecuby string name I mean15:47
nessitadobey: ah, I wanted to talk you about that. I'm not confident on today's trunks to make releases, I haven't been using them. Unless there a specific change to backport, I would release in 2 weeks15:48
alecufor instance, dbus.call_async("method_name") instead of dbus.method_name(...)15:48
alecunessita, ^ and the same for pb15:48
nessitaalecu: we can call by string name in ob?15:48
nessitapb*15:48
mandelalecu, I'm getting to the point where my second HttpClientFactory is used to retry the connection after a 407, and then I get a dirty reactor, with the first request only, and getting a 407 or 401 it works..15:49
nessitadobey: I read about the libsyncdaemon issue, I'm +1 to release that. Are you aware of any other important fix?15:49
alecuit's the default way to do it in pb; there's a bunch of crap our code does with metaclasses so it looks more like dbus proxies.15:49
alecunessita, ^15:49
alecumandel, can you point me at the code?15:49
mandelalecu, sure, let me clean it a little15:49
dobeynessita: there is a fix in sso that needs to go out; and i think we should make the releases anyway, regardless of what we think is or isn't important to get out. doing releases even if there are no changes, gets us in the habit of releasing on the schedule15:50
dobeynessita: so for me "releasing on schedule" is an important fix :)15:51
nessitadobey: I agree to that, but I'd also would like to update stables-3 from trunk, and I don't have the confidence to  do it. DO you?15:51
dobeysure15:51
dobeywhat has changed in the last week with nobody around to work on anything? :)15:52
dobeymaybe sso and cp got a couple changes last week; but for the most part, nothing's changed from the release 2 weeks ago15:53
nessitadobey: I'll check15:53
alecunessita, http://dbus.freedesktop.org/doc/dbus-python/api/dbus.connection.Connection-class.html#call_async and http://twistedmatrix.com/documents/11.0.0/api/twisted.spread.pb.RemoteReference.html#callRemote15:54
nessitaalecu: I ll look into that, thanks!15:54
alecunessita, both call_async and callRemote take the method name as a parameter15:54
dobeyin u1client, there were 4 changes since last release, and they are all generally quite small; (plus the fixes i'm about to propose for the crashes)15:56
mandelalecu, the code is in lp:~mandel/+junk/proxy-testcase if you run the tests you will see where it fails15:56
mandelalecu, I would really appreciate a hand on this..15:56
dobeythere are 3 changes in cp, though not sure what the scale is15:57
dobeyi think they are also quite small15:57
dobeyand sso is 2 very small changes as well15:58
dobeyso i don't think there's any reason to not be confident :)15:58
nessitadobey: ack16:00
alecumandel, looking right now16:01
mandelalecu, thx!16:01
nessitadobey: I will do the releases for sso, controlpanel, installer. Want me to do something else? protocol?16:01
ralsinaI have to go have a long lunch (relatives visiting) will be back in 90 minutes, I hope16:01
=== ralsina is now known as ralsina_lunch
alecumandel, it's the u1-dev-tools branch, right?16:02
mandelalecu, yeah, it is in lp:~mandel/+junk/proxy-testcase where I'm looking for fixes :)16:03
dobeynessita: installer == windows-installer?16:03
nessitayeap, sorry16:03
dobeyok16:03
alecumandel, btw: the squid(2|3).conf.in files are very similar, right?16:04
mandelalecu, yeah, there are some minor diffs between them, but that if they are there, the squi3 wont work16:04
alecumandel, your branch has some pdbs; but it seems to pass all tests here.16:04
mandelalecu, really?16:04
mandelalecu, not in my case.. so there is something wrong for sure, I'll keep looking16:05
alecumandel, http://pastebin.ubuntu.com/791786/16:05
mandelalecu, ok, I'll see wtf is going on in my machine16:06
alecumandel, this is oneiric, let me try on the precise vm16:06
alecumandel, I'll need to update it first16:06
mandelalecu, thx16:06
* alecu tried updating his laptop to precise yesterday, but the updater kept failing16:06
nessitadobey: where in the system should be located thye pylintrc shipped by u1devtools?16:08
dobeyalecu: it worked fine there16:08
dobeynessita: on linux, or on windows?16:08
nessitadobey: linux16:08
alecumandel, where is "there" ?16:08
alecusorry...16:08
nessitadobey: I'm getting "bad" errors such as16:08
alecuI mean:16:08
nessitaubuntu_sso/gtk/tests/test_gui.py:16:08
nessita    34:  [F0401] Unable to import 'ubuntuone.devtools.handlers'16:08
nessita    34:  [E0611] No name 'devtools' in module 'ubuntuone'16:08
dobeynessita: /usr/share/ubuntuone-dev-tools/pylintrc i think is where it is16:08
alecudobey, where is "there" ?16:08
nessitadobey: and I have nightli4es installed and updated16:08
mandelalecu, he, I was like wtf, spain :P16:09
dobeynessita: ah, yes; new pylint in precise i think :(16:09
dobeyalecu: sorry "here" not "there" :)16:09
nessitadobey: and is that file being loaded in our u1lint?16:09
alecudobey, cool16:09
dobeyyes16:09
dobeynessita: the problem is new pylint is being more evil i think16:09
* dobey *really* wants to kick pylint to the curb16:10
nessitadobey: didn't we have a patch of our own for this?16:10
dobeynessita: i think for a different problem we had a patch?16:10
nessitadobey: as far as I recall, the patch was for this. And that may be the issue, since I just confirmed that python-logilab-common is 0.57.1-1ubuntu1 in my computer16:11
dobeynessita: and if we have to maintain a patch for every new release of pylint, to be able to use it, then even more reason to just not use it.16:11
alecumandel, can you paste a run of that branch on your machine?16:11
nessitadobey: and I should have the package from our ppa, no?16:11
mandelalecu, sure, give me a sec16:12
dobeynessita: probably not16:12
nessitadobey: why not?16:12
dobeynessita: did you forward port the patch to the new version and get it built in the PPA?16:12
nessitadobey: no, I'm not sure how to do that, but if you teach me, I'm happy to do it16:12
mandelalecu, http://pastebin.ubuntu.com/791800/16:13
dobeynessita: i think we should just move off pylint :)16:13
nessitadobey: no until we have a *better* alternative16:13
nessita(and atm, pyflakes is not a better alternative)16:13
dobeypyflakes is better :)16:13
alecumandel, try adding this line to some test file: twisted.internet.base.DelayedCall.debug = True16:14
nessitadobey: I really don't want to have this talk now, it leads nowhere. Would you please teach me how to do the update of the logilab-common package?16:14
alecumandel, globally16:14
mandelalecu, sure, I was doing that but commented it out :)16:14
mandelalecu, let me run that again16:14
alecumandel, cool16:14
mandelalecu, here: http://pastebin.ubuntu.com/791806/16:15
mandelalecu, some of the passing tests are not there due to the buffer size, but the important errors are16:16
alecudobey, you ran mandel's test on precise, right?16:16
dobeynessita: apt-get source the new version, grab the .debian.tar.gz for the older nightlies package, pull the patch file out and put it in the new package, fix the debian/changelog, make sure it applies and builds correctly, test it, and upload it to the PPA16:17
alecumandel, the weird lines in the previous pastebin are those above, the ones where squid complains about some process that's missing16:17
dobeyalecu: mandel's test?16:17
nessitadobey: ack, thanks!16:17
alecu<dobey> alecu: it worked fine there16:17
dobeyalecu: updgrading to precise yesterday, worked fine for me, here16:17
alecudobey, doh!16:18
dobeyalecu: i upgraded my other laptop yesterday16:18
mandelalecu, squid is complaining about the ip config, not about processes missing :)16:18
mandelalecu, for example: 'WARNING: (B) '::/0' is a subnetwork of (A) '::/0''16:18
alecumandel, then the only difference is you are using precise and squid3, and I'm on oneiric and squid216:18
dobeyalecu: i haven't run the squid branch on anything yet; all my reviews so far of it, were purely reading the diff :)16:18
mandeldobey, can you try to pull from lp:~mandel/+junk/proxy-testcase16:19
mandeldobey, and see if they pass in P ?16:19
mandelalecu, yeah, but since it about async stuff maybe I'm just hitting the error more often, ut you will eventually16:19
dobeynot right now; i am doing something else and about to go get lunch :)16:19
alecumandel, in the previous paste:16:20
alecusquid: ERROR: Could not send signal 0 to process 6300: (3) No such process16:20
alecuWaiting for squid to start..16:20
alecu(signal 0? wtf!)16:20
mandelalecu, yeah, is a test to ensure that the process is running, is a command line tool from squid, the message is kinda bad16:21
dobey       0          0   n/a       exit code indicates if a signal may be sent16:21
dobey(from man kill)16:21
mandelalecu, it sends a signal to the process asking if it is ready, if not we wait16:21
alecumandel, I think I found the issue16:24
mandelalecu, if you did, I could love you :)16:24
alecumandel, squid 3 knows how to speak http/1.1, but squid 2 does not.16:24
nessitadobey: could you please trivial-review https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/stable-3-0-update-2.99.1/+merge/87378 and https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/stable-3-0-update-2.99.1/+merge/8737916:25
mandelalecu, la puta de oros!!!16:25
alecumandel, that means that squid 3 will try to keep connections open to web servers, to send more than one request in a given connection.16:25
alecumandel, also that means that the mock web server in twisted does not have it's connection terminated.16:25
alecumandel, hence the error.16:26
mandelalecu, yeah, once you mentioned 1.1 it made sense16:26
* alecu is waiting for the link to the picture of "la puta de oros"16:26
mandelalecu, http://86400.es/2009/02/24/la-puta-de-oros/16:27
alecu"Squid trunk claims HTTP/1.1 support. Squid v3.1 claims HTTP/1.1 support but only in sent requests (from Squid to servers). Earlier Squid versions do not claim HTTP/1.1 support by default"16:27
alecuhttp://wiki.squid-cache.org/Features/HTTP1116:27
alecu"una mujer blanca, de cabello rubio o entrecano, generalmente joven, de una muy buena posición económica pero descontrolada a la hora de gastar dinero, generosa, apasionada, leal, pero soñadora e imaginativa como pocas."16:28
alecuMadonna?16:28
dobeynessita: cp one needs small fix :)16:29
mandelalecu, hehehe could be, but I always think of the card :P16:29
nessitadobey: looking16:29
alecu"¿Quien no ha escuchado esta expresión alguna vez? Bien usada es en España y lo relajado que se queda uno al decirla." -> lol!16:29
nessitadobey: ah, we should ask ralsina_lunch to change his whoami16:30
dobeyyes that too16:30
nessitadobey: MP commit message updated16:30
mandelalecu, so, knowing that, how the hell do I force the connection to be lost so that I get a clean reactor..16:31
mandelalecu, this is like a dejabu, again the same problem with closing connections16:31
alecumandel, the way I'm doing it in my proxy branches is by forcing the disconnection with a header...16:32
aleculet me find it.16:32
mandelalecu, please16:33
nessitadobey: want me to do all the protocol release process up to upload the tarball?16:34
dobeynessita: if you want to sure; it doesn't have any changes does it?16:34
nessitadobey: haven't checked, looking16:34
nessitadobey: right, no change. So no new tarball?16:36
dobeynessita: sure; version bump, bzr tag, and tarball16:37
nessitaack16:37
nessitadobey: I ll do that when doing it for the rest (right now I'm at building stable-3-0 update branches)16:37
dobeynessita: great, thanks; please prioritize uploading the sso release first. :)16:39
nessitadobey: of course16:39
nessitadobey: also, when you have some minutes https://code.launchpad.net/~nataliabidart/ubuntuone-client/ignore-po/+merge/87383 (I targeted it to 2.99.1 as well)16:40
mandelalecu, found it? need some help?16:42
dobeynessita: and i have https://code.launchpad.net/~dobey/ubuntuone-client/fix-crashes/+merge/87382 :)16:43
nessitadobey: looking16:43
dobeyand i am off to get some lunch :)16:43
dobeybbiab16:43
nessitame too16:44
alecumandel, I can't find it. I'm pretty sure I did something like that... but perhaps I solved it in a cleaner way :P16:44
mandelalecu, hehehe I love when we have this kind of problems, make me feel stupid :P16:45
mandelalecu, which branches are you looking at so that I can look at the code16:45
alecumandel, this is one of the branches I'm looking at: https://code.launchpad.net/~alecu/ubuntu-sso-client/proxy-integration-tests16:49
alecuI'm pushing newer stuff to that branch.16:49
alecumandel, anyway: IIRC, that branch uses the qt4network http client, that likes to use HTTP/1.116:50
mandelalecu, ok, I'll take a look then16:50
nessitalunchtime!17:08
nessitaand another reboot17:08
mandelalecu, I sometimes really hate twisted: http://paste.ubuntu.com/791892/17:33
mandeldobey, ^17:33
dobeymandel: that's code you wrote, or that's code in twisted?17:34
mandeldobey, from twisted17:34
mandeldobey, I'm a bad person, but not that bad17:35
dobeylovely17:35
dobeyyeah, twisted is nasty17:35
alecumandel, that's metaprogramming the documentation, right?17:35
dobeybut it's python, so that generally goes without saying ;)17:35
mandelalecu, from here: http://twistedmatrix.com/trac/browser/tags/release-2.0.1/twisted/application/internet.py17:36
=== ralsina_lunch is now known as ralsina
ralsinanessita: what's wrong with my whoami?17:37
mandelalecu, I understand is doing something else17:37
alecumandel, "This module (dynamically) defines various Service subclasses that let you represent clients and servers in a Service hierarchy."17:37
mandelalecu, and I hate them for that :)17:37
alecumandel, I think the bit of code you showed is more understandable than 11 classes that are very similar but slightly different.17:38
mandelalecu, I'm sure something nicer could be done between the 2 extremes..17:40
dobeymandel: rewrite it in vala? ;)17:40
alecudobey, ralsina: do you guys know what would be the best way to read gsettings from a pyqt application?17:49
ralsinaalecu: not the slightest17:49
dobeyalecu: uhm; use the gsettings API?17:50
alecuI'm looking at libdconf-qt, but I've no idea how to check if there's python bindings17:50
alecudobey, would it be safe to use it from a qt mainloop?17:50
dobeyalecu: should be, mostly17:51
* alecu is tempted to use os.system("gsettings get ...")17:51
dobeyif there's a qt api though, use it instead17:51
dobeyalecu: why do you need to even?17:52
mandelalecu, 'cause you cannotuse dbus, right?17:52
ralsinaalecu: using os.system is discouraged. Other than that, looks simple enough ;-)17:52
alecudobey, to put the ubuntu proxy settings into the qt proxy configuration object17:52
alecuralsina, yup, not "os.system", but "subprocess.something"17:53
ralsinaalecu: there is a dconf-qt which unity-2d uses17:53
dobeyralsina: unity-2d isn't written in python17:53
ralsinaalecu: but I am not sure of python bindings for it17:53
alecuralsina, right, that's the project I'm looking at, and I see that it defines some bindings for QML17:53
alecuralsina, so I was wondering if some of those bindings allowed that classes to be exported to other languages, like GI does17:54
nessitaralsina: could I please have a review for releasing windows-installer? https://code.launchpad.net/~nataliabidart/ubuntuone-windows-installer/stable-3-0-update-2.99.1/+merge/8738517:54
ralsinadobey: if dconf-qt is C++, PyQt-style wrappers are easy enough to write, but sounds like way too much work to replace a call to system()17:54
ralsinanessita: want me to do a IRL?17:54
nessitaralsina: if you can, that would be great17:55
ralsinanessita: I can try :-)17:55
dobeyralsina: well you could just talk to dconf directly over dbus or whatever17:55
ralsinadobey: yep, makes sense. You can use dbus with PyQt17:55
alecudobey, I'm puzzled by this note: "Note: Most applications will not want to interface directly with dconf, but rather with GSettings." http://live.gnome.org/GnomeGoals/GSettingsMigration17:56
mandelI sometimes feel I have the invisibility super power (I mentioned dbus.. ) :P17:57
alecuwho is saying that!17:57
alecuI heard a voice!17:57
ralsinaalecu: ghosts!17:57
dobeyalecu: right; GSettings does some extra stuff for you, that you'd have to do yourself if you talk directly to dconf17:58
dobeyalecu: and GSettings uses registry on windows17:58
mandelthe caterville ghost, give me a bucket of paint and you will suffer!17:58
ralsinanessita: +1 on that branch17:59
mandelok, EOD for me, alecu I think I have an idea on how to fix that stupid dirty reactor issue on p with squid3...18:02
mandelis a PITA but I think I can do it within the code18:02
alecumandel, cool18:02
mandelralsina, nessita, gatox_away , dobey see you all tom!18:02
nessitabye mandel!18:03
ralsinabye mandel!18:03
dobeycheers mandel18:03
mandelralsina, in case I forget, I should feel a admin request, reyes is a holiday in spain18:03
mandelwe are that weird18:03
ralsinamandel: please file. Or show up ;-)18:03
mandelralsina, doing now :)18:03
alecumandel, dobey, ralsina: we can't use dbus to read settings from dconf18:04
alecuonly the writer is a dbus service18:04
ralsinamandel: why?18:04
ralsinamandel: that makes so little sense :-)18:04
alecureading is done in the users process.18:04
ralsinaoops I meant alecu18:04
mandelralsina, , hehehe I was trying to think a reason why we believe in three men that get into kids rooms while they are sleep..18:05
mandelralsina, I could just think of pedophiles :P18:05
mandelok, I need to go and buy presents with extreme urgency, a218:05
dobeyto give a little kid while he's asleep?18:06
ralsinamandel: do you rent your camel, or you own?18:06
dobeylol18:06
=== yofel_ is now known as yofel
alecuthis is why I hate Gnome Introspection: no python exceptions, but fatal errors: http://pastebin.ubuntu.com/791943/18:15
verterokalecu: nice! oh, a KeyError...let's kill the interpreter! :/18:22
dobeyalecu: that's a bug; it should raise a Gio.Error for that i think18:22
dobeyverterok: not quite; C doesn't have KeyErrors :)18:22
verterokdobey: I see python code there ;)18:22
verterokand expect a Key|Value|AnythingError18:23
alecudobey, right. But I've seen many of those fatal errors elsewhere while using GI with GTK or Gnome too.18:23
dobeyverterok: import ctypes; foo = ctypes.int("foo");18:25
dobeyalthough, python might handle that18:25
dobeyalecu: yes, GI is not 100% yet18:25
dobeyand may well never be, sadly :(18:25
verterokdobey: will be replaced by something else?18:26
dobeyi don't know. not anytime soon18:27
verterokI asked because of: "may well never be" :)18:27
dobeywell it's software18:27
dobeyit's not like GNOME 3.0 got released, and everyone just stopped working on GNOME :)18:28
dobeyand gsettings in precise is a bit more, uh evil, now; about schemas and keys, not being there18:29
dobeybasically, if there is no schema, it will abort()18:29
dobeynessita: did you review https://code.launchpad.net/~dobey/ubuntuone-client/fix-crashes/+merge/87382 ? :)18:37
dobeyralsina: ^^ care to review that?18:37
nessitadobey: not yet, finishing a former review for diego. On it soon!18:37
ralsinadobey: looking18:38
ralsinadobey: isn't indentation wrong there? Just by looking at the diff :-)18:38
dobeyno18:38
dobeyall the other indentation is wrong ;)18:39
ralsinadobey: hahaha18:40
ralsinadobey: for C we could adopt using indent as a pre-commit hook someday, so that whatever style we choose we stick to it ;-)18:41
dobeyralsina: i'm going to adopt not using C in this code :)18:42
ralsinadobey: that's another way to fix it18:42
dobeyalthough it would be nice to have a nice "lint" solution for C/Vala/C++/C#/whatever18:43
nessitadobey: why did you remove the marshaller? no longer used?18:55
dobeyit's not needed or used, yes18:56
nessitadobey: looks good, +118:58
dobeythanks18:59
nessitadobey: can I build the protocol package and you sponsor it, so I can practice a bit more?19:03
dobeyi guess19:03
nessitadobey: would you help me solving a lint issue for the ussoc package?19:18
dobeysure19:18
nessitaW: ubuntu-sso-client: package-contains-readme-for-other-platform-or-distro usr/share/doc/ubuntu-sso-client/README.windows19:18
dobeyignore it :)19:19
nessitadobey: you sure?19:19
dobeyyes19:19
nessitadobey: thanks. How can I know which lint warning are ignorable?19:20
dobeyunless someone complains about that, but nobody should19:20
dobeynessita: well, ones that start with E: must be fixed :)19:21
nessitafor sure19:21
dobeynessita: and the W: ones, usually should be fixed.19:21
dobeythat warning makes no sense anyway19:21
nessitadobey: well, apparently we're installing the README.windows on usr/share/doc, no?19:22
nessitadobey: what I don't know is how to make a package to "drop" a file19:22
dobeylintian is making a false assumption that the extension .windows is about the operating system from MS19:22
dobeynessita: i think debuild or dh_something is installing that file, actually19:23
nessitabut it's! :-)19:23
nessita(.windows is about installing on windows)19:23
dobeynessita: it is, but it is not reasonable for software to make that assumption19:23
dobeysetup.py intall itself doesn't actually install the README files anywhere19:24
nessitaright19:24
nessitabut...19:24
nessitanessita@dali:~$ ls /usr/share/doc/ubuntu-sso-client/19:24
nessitachangelog.Debian.gz  copyright  README.gz  README.windows19:24
dobeydo lintian is complaining about something dpkg itself did19:24
dobeywhich is brilliantly stupid19:24
nessitadobey: is there a way to prevent a file of being "processed"?19:25
dobeydh_shootselfinfoot19:25
dobeylint: W: OW! I SHOT MYSELF IN THE FOOT!19:25
dobeynessita: you can remove it after it's intalled, but i don't see the point in working around dpkg being stupid about itself :)19:25
nessitaok, let's see what the sponsor say :-)19:26
dobeybesides, we also include the windows .py files19:26
dobeyand if you really wanted to, you could take the resulting .deb, and install it on windows, and use it19:26
nessita:-/19:26
dobeya way to tell lintian to shut up for such things, would be nice though19:27
nessitadobey: https://code.launchpad.net/~nataliabidart/ubuntu/precise/ubuntuone-storage-protocol/ubuntuone-storage-protocol-2.99.1/+merge/8740419:41
dobeygrr launchpad and the stupid broken +download page :(19:45
nessitadobey: yeah, I know :-(19:45
nessitadobey: all 4 releases are made now, and the 3 packages proposed19:52
dobeyok19:53
dobeyi hope we can get sso sponsored quickly19:53
=== eu is now known as Guest49835
=== Guest49835 is now known as adorilson
dobeyman, doing releases is so easy when nothing changed20:30
dobeynessita: uhm; did you do ubuntuone-installer also?20:38
nessitadobey: I did  windows-installer tarball, no package20:38
dobeynessita: no, not windows-installer; ubuntuone-installer20:38
nessitadobey: nopes20:39
dobeynessita: you uploaded to the wrong place20:39
nessitadobey: oh, hum, let me look20:40
dobeynessita: and i didn't realize that the filename conflicted with ubuntuone-installer :-/20:40
dobeyhttps://launchpad.net/ubuntuone-installer/stable-3-0/2.99.120:40
nessitadobey: you're right, I ran this:20:40
nessitalp-project-upload ubuntuone-installer 2.99.1 ubuntuone-installer-2.99.1.tar.gz20:40
nessitadobey: will remove the download and re-upload20:40
dobeynessita: also, please check that the milestones are deactivated for the ones you did release :)20:41
nessitadobey: yes, got that in my ToDo now20:41
dobeynessita: also, why is the ubuntuone-windows-installer tarball named as ubuntuone-installer?20:43
nessitabu! the tarball generated with setup.py is ubuntuone-installer-2.99.1.tar.gz!!!20:43
nessitadobey: don't know, checking (I just ran ./setup.py clean sdist)20:43
nessitabecause of:20:43
nessita    229 DistUtilsExtra.auto.setup(20:43
nessita    230     name='ubuntuone-installer',20:43
nessita    231     version='2.99.1',20:43
dobeycan we change that setup.py to use ubuntuone-windows-installer?20:44
dobeyright. let's change that?20:44
nessitayeap20:44
dobeythanks20:44
nessitadobey: shall I push to trunk so we catch this in next release and just rename the tarball in the stable-3-0 branch?20:45
nessitaor shall I push to stable-3-0 the name change?20:46
dobeynessita: i think push it to both20:46
nessitaack20:46
dobeyand stable-2-0 as well perhaps?20:46
nessitayeah...20:46
dobeynessita: we can move the release-2_99_1 tag on stable-3-0 also20:48
nessitadobey: not sure what you mean20:48
dobeynessita: i presume you already tagged the revision that you modified setup.py to be 2.99.1?20:49
nessitayes20:49
nessitahow can I move a tag?20:49
dobeynessita: making a new tarball with the name= change, we should mvoe the tag as well20:49
dobeyi think you'll probably have to delete it and re-tag20:50
nessitadobey: hum... have you ever deleted a tag?20:50
dobeyyes20:50
dobey2 weeks ago even ;)20:50
dobeynessita: so in the local stable-3-0 copy, you can "bzr tag --force release-2_99_1" to move it to the new revision20:52
nessitanice20:52
dobeynessita: then you'll have to "bzr tag --delete -d lp:ubuntuone-windows-installer/stable-3-0 release-2_99_1"20:52
dobeynessita: then push the branch again with the moved tag20:52
dobeyyou have to delete the remote one, because bzr gets a little confused if you moved it locally20:53
dobeyand then try to push20:53
dobeyyou can probably do tag --force on the remote branch too; but this way feels more "consistent" to my brain :)20:54
nessitadobey: ack, done, it worked well20:54
nessitadobey: tarball uploaded to the proper location now20:56
nessitaand i'm off for the day!20:56
dobeythanks20:56
nessitaok, bye crowd!21:02
=== gatox_away is now known as gatox
gatoxback22:33
ralsinahi gatox!22:53
gatoxralsina, hi22:53
ralsinagatox: if you have a clean windows VM, I would love if you could try the stuff I described in my ubunet-discuss mail22:53
gatoxralsina, i'll install one now22:53
gatoxralsina, clean clean?22:54
* gatox reading the email22:54
ralsinagatox: clean is better :-)22:54
gatoxralsina, i mean.... a fresh install..... or with any dependency?22:55
gatoxi should read the email probablty :P22:55
ralsinagatox: yes. Basically you need python, pyqt, bazaar and everything else is installed automatically22:56
ralsinaoh, and pywin3222:56
gatoxralsina, ok..... i'm creating a new vm with win7 right now22:57
ralsinagatox: cool. Remember to snapshot ;-)22:57
gatoxralsina, yes! i was thinking exactly thaat! :P22:57
gatoxralsina, i can't find the email....... which is the subject?23:05
ralsinagatox: A first attempt at making windows development easier (please try it?)23:05
ralsinagatox: here it is if you didn't get it: https://pastebin.canonical.com/57688/23:06
gatoxralsina, i think i didn't get it..... i can't find it23:06
ralsinagatox: it's ok23:06
ralsinagatox: BTW, buildout.cfg needs a interpreter = python at the end so you have a python that uses everything that was installed ;-)23:07
gatoxralsina, ack23:07
gatoxralsina, this looks really cool!! this truly was needed for newcomers23:09
ralsinagatox: thanks!23:10
ralsinagatox: apparently ubunet-discuss takes a while to deliver mail. I just got mine from 2 hours ago23:14
gatoxralsina, i hope it arrives or i should check if i'm missing other emails23:17
ralsinagatox: it should, eventually23:17
* gatox taking snapshot.... installing the programs23:18
ralsinagatox: if it says "internal error" when installing logilab-whatever try again and it may work23:21
gatoxralsina, the old trick of trying again in windows :P23:22
ralsinagatox: well, it does look like a bug in pip, but yes ;-)23:22
gatoxralsina, here is your email :D23:25
ralsinagatox: after you do all that, bzr branch our code, and run it using build\bin\python and everything should work :-)23:28
gatoxralsina, ack23:29
ralsinaok, really really EOD for me. Bye gatox123:45
gatoxralsina, bye!23:45
gatoxralsina, i'll let you know how it was23:45
ralsinagatox, cool post to ubunet-discuss23:45
gatoxok!23:45

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