/srv/irclogs.ubuntu.com/2010/12/20/#ubuntuone.txt

WoodenshoeThisfred how are you00:04
mandelmorning everyone!08:46
duanedesignhello mandel08:47
mandelduanedesign: you do not cease to amaze me, what do you get up? or got to bed ?08:49
mandelduanedesign: I own you some help in the translation of you app, sorry for that, I have been kind of overloaded, will do during the hollidays, aka tom 'til next year :)08:49
mandelcan anyone tell be where is the code of u1-trial?09:18
duanedesignmandel: :) no worries09:30
=== karthick1987 is now known as karthick87
duanedesignsome positive feedback about Ubuntu One. http://ubuntuforums.org/showthread.php?t=164678412:04
nessitaduanedesign: thanks!12:05
=== zyga is now known as zyga-coffee
=== teknico is now known as teknico_away
=== zyga-coffee is now known as zyga
ralsinamandel ping12:55
Chipacaralsina: probably having lunch now13:23
Chipacaralsina: he was alive a few hours ago13:23
ralsinachipaca: ok, he' ll see it when he comes back then13:23
=== teknico_away is now known as teknico
mandelralsina: pong13:40
mandelralsina: sorry, I was walking the pet13:41
ralsinano problem mandel13:41
mandelralsina: tell me13:41
ralsinaI was wondering, if you have a couple of hours sometime today, I have Windows seven waiting :-)13:42
mandelralsina: yes, lets do it after the standup, specially because I need a couple of reviews on windows for the ubuntuone-dev-tools13:43
ralsinacool13:43
mandelralsina: mainly I'm making sure that u1trial works on windows since it is the code used to run tests in desktopcouch, sso, and I think sd too13:44
mandelralsina: when do you have holidays and all that?13:45
ralsinaI'm not here tomorrow morning, but will only take between xmas and jan 3.13:48
ralsinaSo, basically, I am here all the time except tomorrow morning and when the company is closed13:48
mandelralsina: ok, I was saying such because I've got tom on holidays, yet I'll be working on the train (3 hours) and will probably be around during the mornings since I want to teach my brother some python + pygame13:52
ralsinaoh, cool13:52
ralsinamandel: I will try not to bither you much13:53
ralsinas/bit/bot/g13:53
mandelralsina: my plan is to move foward on desktopcouch on windows and mac os x during my holidays :)13:53
ralsinamandel: that's not holidays :-)13:53
mandelralsina: he, yes they are, because I do it when I want, not when someone else wants13:53
mandelralsina: so, I was thinking we could move foward on the windows new UI13:54
ralsinamandel: so, if I told you to do it whenever you feel like it, I ruin your vacations? ;-)13:54
ralsinamandel: yes, that's what I want to work on13:54
mandelralsina: could be hehe13:54
ralsinamandel: I will try to do some basic stuff this evening13:54
ralsinamandel: mostly designer work, just to see the UI13:55
mandelralsina: cool, we can work on https://code.launchpad.net/~ubuntuone-hackers/ubuntuone-windows-installer/sync_daemon  which is a nearly clean branch where all the code to use the sd will go13:55
ralsinamandel: ok13:56
mandelralsina: that way we can keep the other branch stable 'til we see pyqt + sd working as we want it13:56
ralsinamandel: I intend to take some private time to make it work on Linux too, but that's in the semi-far future13:56
mandelralsina: I guess that we could look at that branch to setup your env and review one of my first proposals13:57
ralsinayou know, when I have some private time again ;-)13:57
mandelralsina: haha well, I consider private time just that one you spend in your room hehehe13:57
mandelthe rest, is public ;)13:57
ralsinamandel: got any news on the desktopcouch thing with chad?13:57
ralsinanessita mandel: standup in 3 minutes13:58
mandelralsina: I have not talked with him, I know that dobey porposed a branch, which chad and I reviews and approved13:58
CardinalFangralsina, hi.  It's built in our nightlies PPA.  I have the packages installed here, and I'm testing.13:58
CardinalFang<- chad, btw.13:58
ralsinaCardinalFang: oh, great13:58
* ralsina is confused :-)13:59
mandelCardinalFang: sweet, what the issues with the test13:59
ralsinaCardinalFang: but great anyway13:59
mandelCardinalFang: I did not look into it much, was skiing :)13:59
CardinalFangmandel, which test?  A merge?  d-bey's merge failed twice, but I don't know why.14:00
CardinalFangEverything (AFAIK) eventually landed.14:00
mandelCardinalFang: that one, the merge from dobey that failed14:00
ralsinamandel nessita, standup now14:00
ralsiname14:00
nessitamre14:01
nessitame*14:01
mandelCardinalFang: I was wondering the reason, but since you do not know I'll look deeper14:01
mandelme14:01
CardinalFangI'm in.  me.14:01
nessitaralsina: dobey as well?14:01
ralsinadobey is away14:01
ralsinaI pinged him in private14:01
CardinalFangmandel, I don't know.  I didn't see code test fail, so I assumed it was lint or transient.14:01
nessitaah, sorry14:01
ralsinaDONE: chased people around, redoing my maverick setup because of freakish bug14:02
mandelCardinalFang: ok, I'm working on desktopcouch so I'll take a ook14:02
ralsinaTODO: start on Windows development with mandel today14:02
ralsinaBLOCKED: no14:02
ralsinanessita?14:02
nessitaDONE: worked on Saturday, it was a very productive day. Submitted 3 branches, all awaiting for reviews (https://code.launchpad.net/ubuntuone-control-panel/+activereviews). Work focused on device display and removal (all done), basic interface improvement (trying to avoid resizings, added the "official" messahges list to the first screen).14:02
nessitaAlso, got fix for double token in maverick-proposed, so we only need to do the verifications to have moved to maverikc-updates.14:02
nessitaTODO: Application tab content on the Control Panel.14:02
nessitaBLOCKED: nopes, but time is evil!14:02
nessitaNEXT: mandel14:02
* ralsina heads for nessita's branches ASAP14:02
mandelone sec14:03
mandelDONE: Holidays. Worked on u1trial so that it works on windows. to be precise bug 692494 bug 692507 and bug 69251614:03
ubot4Launchpad bug 692494 in ubuntuone-dev-tools "Add a batch to run dev tools unit tests on windows (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/69249414:03
ubot4Launchpad bug 692507 in ubuntuone-dev-tools "u1trial should import the correct reactor according to the platform in which the tests are being ran (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/69250714:03
ubot4Launchpad bug 692516 in ubuntuone-dev-tools "Allow u1trial to ignore modules (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/69251614:03
mandelTODO: Allow to disable the use of dbus in 1trial for windows and mac os x14:03
mandelBLOCKED: No14:03
mandelCardinalFang: your turn!14:03
CardinalFangDONE-webmobile: filename bug fixed in music.  more testing of photo collection.14:03
CardinalFangDONE-desktop: tested service of desktopcouch.14:03
CardinalFangTODO-desktop: test API as much as I can.14:03
CardinalFangBLOCKED: Too few hours in the day.14:03
nessitaCardinalFang: amen14:04
mandelCardinalFang: indeed, I require 30 hours at least!14:04
ralsinaI have asked to get more hours but they tell me 24-hour days are company policy14:04
mandellets move to pluto!14:05
mandelthat will sort it14:05
ralsinaI will try to do reviews for everyone today, as far as I can, so bug me14:05
CardinalFangWith enough space elevators, we mght be able to slow our rotation.   /me emails NASA again.14:05
dobeyhi14:05
ralsinahi dobey, your turn :-)14:05
nessitaralsina: consider yourself bugged14:05
ralsinaYes, I am cloning yours as I type :-)14:06
mandelralsina: join #u1-reviews in the canonicals irc14:06
* nessita dances14:06
dobeyλ DONE: 657850, reviewed 691647, desktopcouch pairing14:06
dobeyλ TODO: 683351, backports14:06
dobeyλ BLCK: None.14:06
ralsinamandel: done14:06
dobeyCardinalFang, mandel: my branch failed to land twice due to tests. first time is apparently due to testtools being broken on python 2.7, second time appears to be an intermittent failure14:07
dobeyprobably an isolation issue14:07
CardinalFangAh.14:07
nessitadobey: could you please add the word "bug" next to the bug numbers to have ubot4 showing the links?14:07
nessitais much easier to know what you're talking about :-)14:08
ralsinamandel: can we do the windows stuff in ... two hours or that's too late for you?14:08
mandelralsina: is never too late, that way I can have lunch14:08
mandel:)14:08
mandeldobey: are u on holidays?14:08
ralsinamandel: cool, see you in now+2 :-)14:09
CardinalFangfacundobatista, what do you think of Bug #692241?14:09
ubot4Launchpad bug 692241 in ubuntuone-storage-protocol "Ubuntu One should normalize names (affects: 1) (heat: 6)" [Medium,Confirmed] https://launchpad.net/bugs/69224114:09
dobeynessita: i intentially don't do that because i don't have any control on how long the bot will take to actualy say something, so it often ends up messing up continuity14:09
dobeymandel: no, i was on friday, but i am working this week until friday, then off until january14:09
ralsinaEveryone in desktop+ when is your last day before holidays?14:09
mandelralsina: 2day :)14:09
* mandel dances14:09
CardinalFangThursday, 23rd.14:10
nessitadobey: but we agreed we'll do that on stand ups, and also, even if the link appears a bit late, is very very useful14:10
ralsinamandel: I thought it was tomorrow?14:10
dobeyralsina: thursday14:10
mandelralsina: AFAIK is not, let me double check14:10
nessitaralsina: Thursday inclusive, not coming tomorrow14:10
ralsinaok, I won't be around tomorrow morning, but should be here until friday, inclusinve14:10
nessitaralsina: ack14:10
dobeynessita: i find it noisy, especially if i'm actually trying to read what people are posting in the standups14:11
ralsinaso, before leaving talk to me about where you are leaving stuff :-)14:11
ralsinaso I know what I should complain about in january.14:11
ralsinaAny other comments?14:11
nessitadobey: having your report stating just bug numbers and nothing else says pretty little about what you have done, one have to go and actually browse the bugs in LP14:11
nessitaralsina: what I'm asking to dobey14:12
facundobatistaCardinalFang, not opinion, really, but after I finish on #684937, doing that would be a lot easier14:12
ralsinadobey: do as nessita says, I agree with her. Pretty please :-)14:12
dobeydoes #685342 work14:12
mandelralsina: will tell you about the holidays as soon as canonial admin decides to let me know… lotus notes are shit!14:12
dobeyor do you actually have to type "bug"14:12
dobeybah14:12
nessitadobey: I think not with ubot414:12
* ralsina has no idea what the numbers are, and needs the descriptions. And ralsina having an idea what you are doing is one of the goals of standup14:12
nessitabug 685342 works14:12
ubot4Launchpad bug 685342 in python-launchpadlib (Ubuntu) "Sync python-launchpadlib 1.8.0-1 (main) from Debian experimental (main) (affects: 1) (heat: 387)" [Wishlist,Fix released] https://launchpad.net/bugs/68534214:12
dobeysomeone should fix ubot4 then14:12
ralsinamandel: ok, don't worry about it14:13
nessitaralsina: nothing else on my end14:13
ralsinaeom it is then. EOM!14:13
mandelnessita: did you move to u1trial in sso?14:13
nessitamandel: not yet, waiting for your branches14:14
nessitamandel: want me to dfo that before? I have the branch almost done14:14
nessitamandel: I can propose it in 15 minutes~14:14
mandelnessita: yes, please do, I'm moving the windows stuff to ubuntuone-dev-tools14:14
nessitamandel: sure!14:14
mandelnessita: so that we can run the tests with u1trial in all platforms14:15
nessitamandel: +1014:15
nessitamandel: I just have to merge trunk in and run the tests, and I'm good to propose14:15
mandelnessita: great :)14:16
mandelnessita: I'll work on u1trial and as soon as it has everything we need, I'll adapt the sso batch etc to work correctly on windows14:16
nessitaok14:16
mandelnessita: is nicer than working on 3 diff places14:16
nessita:-D14:17
mandelralsina: you were right I'm working tom14:17
dobeyhmm14:17
* mandel is not dancing anymore14:17
mandelnessita: have you heard about Pygenie, would that me nice in addition to pylint?14:18
dobeyis pygenie another lint thing?14:19
nessitamandel: never heard of it, I'll google it ina but\14:19
mandeldobey: in measures cyclomatic complexity, so I guess it is kind of it14:19
nessitain a bit*14:19
ralsinaguys, is the last day at the office the right day to think about adding something that tells you your code sucks? ;-)14:19
mandelnessita: butt was cooler ;)14:20
nessita:-D14:20
dobeyralsina: we don't need something else for that. we already have me :)14:20
mandelralsina: yes, is a great way to start the year with new goals :)14:20
ralsinawhoa, a butt that has google. Modern gadgets amaze me :-D14:20
mandeldobey: I'm just trying to automate you hehe14:21
mandelto a limit ofcourse ;)14:21
mandeldobey: that way you have more time for your cars and that mini you have14:21
* ralsina approves new-sso-iface branch14:21
dobeyi don't have a mini any more14:22
=== bac` is now known as bac
mandeldobey: uh, what happened?14:23
* CardinalFang hugs Launchpad.14:24
ralsinamandel: how'm I supposed to review this? https://code.launchpad.net/~mandel/ubuntuone-dev-tools/add_tests_batch/+merge/4420714:24
ralsinamandel: except by reading a .bat file and trusting you, of course ;-)14:24
mandelralsina: ok, there is a test process since I do not know how to unit tests batch processes14:25
ralsinamandel: worse, I don't have the windows env. setup yet, remember? You are the only one that has one :-)14:25
mandelralsina: you have to run the script with python not installed and see if it fails14:25
mandelralsina: then install 2.6 or 2.7 and see that it runs the tests (although they will fail since we do not have the correct code just yet)14:26
ralsinaok, will do14:26
ralsina2.7 should work?14:26
dobeymandel: traded it and my s-10 both, for a full size 1/2 truck.14:26
dobeyerr, 1/2 ton truck14:26
mandelralsina: then easy_install pep8 and see it the script checks the style14:26
mandeldobey: you have a 1/2 truck?? got picts? I wanna see it :)14:26
mandelralsina: I wish there was a way to unit test batch scripts, but there are no14:28
mandelbut i was not expecting to have unit tests since I'm talking about a lang where you need to use GOTO :(14:28
dobeymandel: 1/2 ton14:28
ralsinamandel: I was more talking about "how am I supposed to run this thing" tests ;-)14:28
mandeldobey: hehe I meant that, not 1/2 truck, which would also be cool to see hehe14:29
mandelralsina: I know, I was not apologing, just complaining about batch :D14:29
dobeyralsina: wine run-tests-windows.bat14:29
ralsinadobey: go work on the bug about windows client not working on wine, please ;-)14:30
dobeythis isn't the windows client :)14:30
nessitamandel, dobey: could you please review? https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/use-devtools/+merge/4423714:31
mandelralsina, dobey: I was proud about my comment in that wine bug thing :)14:31
mandelfirst time I use a movie quote for a bug report14:32
mandelnessita: I'm looking14:32
* ralsina will fix bug #375145 some day14:33
ubot4Launchpad bug 375145 in ubuntuone-client "Ubuntu One should have a KDE client (affects: 85) (dups: 2) (heat: 457)" [Wishlist,Confirmed] https://launchpad.net/bugs/37514514:33
jblountmandel: Maybe you should start responding to bug reports exclusively with movie quotes. Concept art in bug reporting?14:33
mandeljblount: I'd love to do that, but I do not know if people will like it14:34
ralsina"My name is Manuel De La Peña, you claimed my bug, prepare to die!" :-)14:35
mandelhee, I'm Inigo Montoya, you killed my father, prepare to die!14:35
ralsinamandel: finally someone who likes the princess bride :-)14:36
mandelralsina: well, liming is too far, lets say I'm watch it14:36
facundobatistaquestion: for code that is written now into the client, that will be released with Natty (11.04), we don't need to support Jaunty (9.04) anymore, right?14:37
* ralsina is waiting until his kid is 6 so he can make him watch it14:37
ralsinamandel: I am hating windows development already. That took me 17 whole minutes14:37
ralsinaAnd I am not getting them back. EVER14:37
mandelralsina: hahaha14:38
mandelralsina: welcome to my world, I have to ell you I used to be a happy spaniard14:38
mandelnow, I just kill caesars...14:39
dobeyfacundobatista: we haven't supported jaunty for some time now14:40
nessitaI needs another review for https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/new-sso-iface/+merge/4413714:40
facundobatistadobey, thanks14:40
nessitaI need*14:40
dobeyfacundobatista: but no, new code doesn't have to work on old versions of ubuntu; though it would be nice for it to.14:40
facundobatistadobey, yes, I'll take a couple of minutes more and support it14:41
dobeyfacundobatista: but right now, we're only building nightlies on lucid, maverick, and narwhal14:41
mandelnessita: on it too14:41
nessitamandel: thanks!14:41
dobeyfacundobatista: so as long as it continues to build on those, i'm happy :)14:41
ralsinadobey, mandel: what's the status on preferred python versions. 2.6 or 2.7? It's about dobey's comment in mandel's branch14:41
nessitadobey: would you please check if bug 692566  is PICNIC or we have a real problem in natty?14:42
ubot4Launchpad bug 692566 in ubuntuone-client (Ubuntu) (and 1 other project) "ImportError: No module named tools (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/69256614:42
facundobatistadobey, :)14:42
dobeyralsina: narwhal defaults to 2.714:42
ralsinadobey: but this is in windows?14:42
dobeyralsina: i think we should not prefer different versions on different OSes if possible14:42
dobeyralsina: working with both is fine, but i think we should check for newer things before older ones.14:42
dobeyit is generally how things are done14:43
mandeldobey: ok, I've got no problem to change that… and will ix the typos to, sorry I dont usually pay atention to those to much14:43
mandeldobey: not big deal, thx for the review14:43
ralsinadobey: yes, I was asking more like "does this work the same on 2.7 as in 2.6? " That's the reason I imagined for trying 2.6 first14:43
mandelralsina, dobey: I tried 2.6 because I think is more common on windows, just that14:44
dobeynessita: that bug is in trunk also it seems14:44
ralsinamandel: yes it is. Bazaar installs 2.6, for example. But I agree with Dobey about that.14:44
mandelralsina: me too14:45
nessitadobey: it is? the report says Package: ubuntuone-client 1.5.1-0ubuntu214:45
mandelralsina: I know 2.6 has more eggs from windows that 2.7, that might be the reason, but I do not know 100%14:45
dobeynessita: yes, but that doesn't mean it has already been fixed14:47
ralsinanessita, what am I missing if I get "ImportError: No module named platform.linux14:49
ralsina"14:49
nessitaralsina: on windows or linux?14:49
ralsinalinux14:49
dobeyralsina: something important14:49
nessitaralsina: when doing what exactly?14:49
ralsinatesting the remove-devices branch14:50
ralsinaDEBUG=True PYTHONPATH=. ./bin/ubuntuone-control-panel-backend14:50
nessitaralsina: you need natty syncdaemon: that is having the nightlies installed14:50
ralsinaok, will do14:50
nessitathanks!14:50
ralsinaHowever, I *was* on natty for that one ;-)14:51
ralsinabut anyway, I should have nightlies anyway14:51
nessitaralsina: you were? what revno of u1client?14:51
nessitaralsina: when I said revno I meant package version14:52
ralsina1.5.0-0ubuntu214:52
nessitadobey: I need to package control panel so it depends on proper u1client. Do you know what package version is the one with the new directory hierarchy (ie platform independent)?14:52
nessitaralsina: that looks like an old client, that was the first release on natty, there should be newers14:52
nessitaralsina: is what I'm asking dobey right now14:52
dobeynessita: 1.5.1 definitely does14:52
nessitadobey: thanks!14:53
ralsinanessita: right, I'm upgrading to nightlies as we speak14:53
nessitaralsina: that's good, though what I meant is that a regular natty user should have at least 1.5.114:53
ralsinanessita: let me check then14:53
ralsinaYes there is a 1.5.114:54
ralsinaI wonder why I didn't get it earlier, I thought I did an upgrade14:54
nessitacan you install it and try with it without noightlies?14:54
nessitait should work (tm)14:54
ralsinanessita: sure14:54
dobeynessita: are you fixing the ubuntuone-launch bug, or?14:56
mandeldobey: ping14:56
dobeymandel: yes?14:57
ralsinanessita: yes, it works, and then I get an error about soup we had before (missing dep somewhere?)14:57
mandeldobey: I fixed the batch code, let me know if there is any other grammar issues or something similar14:57
ralsinanessita: so, I will fix that and test your branch in a minute14:57
mandeldobey: also, regarding the correct reactor branch, I wanted to use the correct one in that branch, then move the dbus stuff out, I want to go step by step, otherwhise, the change would be big and I do not like those kind of merges14:58
mandelif possible ofcourse14:58
nessitaralsina: thanks!14:58
dobeymandel: what do you mean by "move the dbus stuff out" ?14:59
nessitaralsina: in the mean time I'm writing down all the dependencies to check those are required at packaging level14:59
ralsinanessita: cool14:59
mandeldobey: I mean, ensure that u1trial does not start the dbus session and sets the dbus testcase etc.. on platforms that do not support it14:59
dobeymandel: i think we should handle doing that first, rather than just breaking the platforms that do15:00
mandeldobey: will that brake the platforms that do?15:01
mandeldobey: the glib reactor will be installed in linux2, in the other, select will be used15:01
mandelralsina, nessita: can you take a look at https://code.launchpad.net/~mandel/ubuntuone-dev-tools/allow_ignore_modules/+merge/4421815:01
ralsinamandel: not too soon15:01
nessitamandel: yes15:02
mandelnessita: thx15:02
nessitaralsina: only on review is needed for mandel, so I'll take care of it15:02
ralsinanessita: cool15:03
dobeymandel: yes. it's actually a bit more complicated than that15:03
mandeldobey: can you explain it tome so that I chage is correctly15:03
mandelchage => change15:03
nessitamandel: this ignored = [n.strip() for n in ignored.split(',')] should be ignored = map(str.strip, ignored.split(','))15:03
nessitamandel: is more pythonic and readable15:03
dobeymandel: well, cygwin should probably be using glib reactor15:04
dobeyand it does work on darwin (there's a difference between darwin and OSX)15:04
dobey:-/15:04
dobeyof course i guess open source darwin is dead now15:04
dobeyalso, all the *BSDs15:05
ralsinanessita: is it important that it works with 1.5.1? Because it doesn't15:05
mandeldobey: it does work on darwin, if you install it, but darwin does not have glib by default15:05
nessitaralsina: how come it doesn't?15:05
* nessita checks15:05
ralsinalet me pastebin15:05
dobeymandel: nor does windows have python.15:05
dobey:)15:05
mandeldobey: he, I sometime hate when you answer back that fast ;)15:06
mandeldobey: but, ok, python is not there… but that would mean to do something that is far to smart15:06
mandeldobey: also, I have no clue of how to find if we are running on cygwin15:06
ralsinanessita: https://pastebin.canonical.com/41245/15:06
* mandel tests with cygwin15:07
dobeymandel: sys.platform on cygwin is different15:07
dobeyalthough i don't know what it is15:07
nessitaralsina: not sure what you're showing to me15:07
dobeymandel: but my point is that we should handle the standard action as "use glib reactor" and handle windows/osx specially15:07
ralsinanessita: that's what I get on the terminal where I run the backend. And I get everything as error in the UI, "Value could not be retrieved"15:08
dobeymandel: defaulting to the standard POSIX world reality lets us support more platforms by default, and we can handle the weird ones with special case checks15:08
nessitaralsina: hum, that's the web api failing15:08
mandeldobey: ok, makes sense, but in this case we are just talking abut inverting the if, right?15:08
nessitaralsina: let me ping beuno15:08
ralsinanessita: so it's not me for once. Cool.15:08
* dobey hands ralsina pastebin.ubuntu.com for publically viewable pastes15:08
* beuno looks up15:09
beunonessita, wattap?15:09
nessitabeuno: hey there! calling the rest api for account info we're getting a status code of 400, 'Expired timestamp: given 1292771091 and now 1292857541 has a greater difference than threshold 900'15:09
nessitaralsina: can you run with DEBUG? so we can see the urls we're hitting15:09
ralsinanessita: sure!15:10
dobeymandel: "if not sys.platform in ['win32', 'osx']: install_glib2_reactor()"  or whatever the actual values are, makes more sense to me, yes15:10
ralsinanessita: that was with DEBUG=True15:10
beunonessita, that is very strange, I don't think we've changed anything there15:10
dobeymandel: i'd be more accepting of the "get this in, and fix the requirements for service runners in another branch" if it were that way, since it wouldn't break the already-working platforms :)15:10
ralsinanessita: anything else I'm missing?15:10
nessitaralsina: PYTHONPATH? :-/15:11
dobeynessita: is your clock wrong?15:11
ralsinaDEBUG=True PYTHONPATH=. ./bin/ubuntuone-control-panel-backend15:11
nessitadobey: mine? or ralsina's?15:11
ralsinadobey: it's mine and it says 12:10 ART :-)15:11
dobeyralsina's15:11
dobeyi guess15:11
nessitabeuno: ok, we'll keep debugging in our end. Thanks!15:12
mandeldobey: ok, that is much more cleat :)15:12
mandeldobey: will do that then15:12
nessitamandel: got my comment above? also, "not test in ignored" is best read as "test not in ignored"15:12
dobeyralsina: "date -u +%s"15:13
nessitamandel: other than that, +115:13
mandelnessita: ok, will do what you mentioned15:13
dobeyralsina: try again, and run that immediately after, and see what the difference is15:13
ralsinadobey: here's one -- https://pastebin.canonical.com/41246/15:13
nessitaralsina: and I see your problem: AUTH_FAILED15:14
nessitaralsina: you're using a local token that was removed on the server side15:14
ralsinanessita: it worked with 1.5.0 20 minutes ago :-(15:14
ralsinanessita: and it never asks me for  a new auth either15:14
nessitaralsina: please do u1sdtool -s15:15
dobeynessita: no15:15
nessitaralsina: it won't ask for new auth since you have a token in your computer15:15
dobeynessita: why would the devices url give a 200, and then the account url give a 400, then15:15
dobeyif the token was just invalid, both should give 40115:15
nessitadobey: devices haven't been requested yet15:15
ralsinanessita: If it has auth erros it should forget its token, right?15:16
dobeynessita: https://pastebin.canonical.com/41246/ says otherwise15:16
* ralsina feels like a bug magnet15:16
nessitaralsina: nopes, the user has to remove it by hand in seahorse15:16
dobeyWebClient: got http response 200 for uri 'https://one.ubuntu.com/api/1.0/devices/'15:16
ralsinanessita: ok, will remove and retry15:16
dobeyand then WebClient: got http response 400 for uri 'https://one.ubuntu.com/api/account/'15:16
nessitadobey: right... somehow in between ralsina's token was remove from the server15:17
dobeyralsina: what does "date +%s" say for you?15:17
nessitawhich needs further investigation\15:17
ralsinadobey 129277183215:18
dobeyralsina: that's the problem15:18
ralsinadobey: ?15:18
nessitadobey: also, the devices list is empty15:18
dobeyralsina: your clock is about 86000 seconds slow15:18
ralsinahmmmm.... ok, will install ntpdate15:19
dobeyralsina: almost exactly 24 hours off it seems15:19
ralsinaRight, wrong day15:19
nessitadobey: how that can affect the calls to the rest api?15:20
ralsinaIn any case, is this really a good way to fail if the user has the clock wrong?15:20
dobeynessita: because oauth requests have a timestamp value15:20
dobeyralsina: i didn't write the oauth spec :(15:20
nessitaralsina: before moving on with more testing, can you please check how many tokens do you have in https://one.ubuntu.com/account/machines/ ?15:20
nessitamandel: let me know when those changes are in so I approve15:21
dobeyralsina: it's obviusly not a good failure, but not sure what we can do about it as long as we continue to use oauth15:21
ralsinanatty: something like 1315:21
mandelnessita: will do, I'm loking at your branches atm15:21
ralsinadobey: check that the date is semi-correct before connecting?15:22
ralsinadobey: like by using some sort of timestamp echo15:22
nessitaralsina: ok, so we should first resolve the date issue and then retry the auth. Do not remove the token yet from seahorse15:23
ralsinanessita: too late for that one15:23
dobeyralsina: i'm not sure failing in the same way at a different point of entry is really goign to help. although i do agree it sucks and we should figure out some way to handle it better15:23
nessitaralsina: no problem you can re authorize then15:23
ralsinaBut if it makes you happy, it fails anyway if the date is wrong15:23
nessitaralsina: if the date is correct?15:24
ralsinadobey: won't fail in the same way. If we check the date first, then we can tell the user "Hey, your clock is very wrong and u1 doesn't work"15:24
ralsinanessita: trying that one now15:24
dobeyralsina: we could do that anyway15:25
ralsinaworks now! Yipee15:25
nessitaralsina: I understand your point, though this is the first case in more than one year that I hear about this issue. And I read all the bug reports.15:25
dobeyralsina: we don't need to waste more bandwidth to get the same result. as you can see in the error message you pasted, it tells you that your clock is wrong :)15:25
dobeyjust not in a particularly friendly way15:26
ralsinanessita: the error limit seems to be 15 minutes, that's not too much. But I agree if it was never reported....15:26
nessitaralsina: so it doesn't look like a real problem in the sense that not many users are affected15:26
ralsinadobey: it says that IN THE TERMINAL. The part the user never sees.15:26
nessitaralsina: it will be on the logs, logged as ERROR15:26
nessitaralsina: so if the user reports the bug, we'll be able to diagnose15:26
ralsinanessita: which the user won't see either. And as a unix timestamp.15:27
dobeyralsina: yes, but the message is there. we just need to handle it appropriately15:27
ralsinadobey: ok, I agree in that15:27
ralsinaSo, what can be done is check for that error, but I agree that it's not urgent15:27
nessitaralsina: wanna file a bug report for that under https://bugs.launchpad.net/ubuntuone-control-panel/+filebug ?15:27
dobeyralsina: writing another daemon that periodically checks the timestamp against our server is a waste of time. we could just require ntpd to be installed instead :)15:27
nessitaralsina: set it as Low, please15:27
ralsinanessita: will do15:27
ralsinadobey: installed is not enough. Running is the word here. And ntpd doesn't fix errrors of over 18 hours or so15:28
ralsinadobey: IIRC15:28
dobeyralsina: well if ntpd is running and your time slips that far, you've got other problems15:29
=== JanC_ is now known as JanC
dobeyralsina: but i don't see how having a dialog pop up every 18 hours that says "click here to fix your clock" is better. it should be automatic, and reimplementing a basic ntp-like thing that merely checks the time is valid and then does nothing about it, is a waste i think.15:30
dobeyralsina: i'm happy to argue that we should have ntp installed and running by default on every ubuntu install, with it pointing to ntp.ubuntu.com or something15:30
ralsinadobey: not every 18 hours, just before trying to connect. But in any case, yes, ntp running is good enough.15:32
dobeybut i don't think we should be spending our time setting up yet another server process that is going to get constantly hit by millions of ubuntu users, that is a very sub-optimal solution to the problem :)15:32
ralsinadobey: it's one entry point in REST, maybe 3 lines of code, hit by users when they start ubuntuone, just like they hit 10 more. But I already agreed that ntp running is enough, so can we drop this?15:34
karniľwin 515:36
dobeyralsina: i was already typing that last comment before you said anything, and we hit "enter" at about the same time15:36
mandelnessita: u1dev tools in sso approved, yet I do not know the diff between u1lint and pylint15:36
* karni fails to type on the phone on the train:P15:37
CardinalFangIs there really a problem to solve?  I suspect almost everyone who has enough clue to be using file-sync will notice wrong clocks and fix it to be close enough that NTPD wll take over.15:37
dobeymandel: what do you mean?15:37
* ralsina points at himself as proof CardinalFang is wrong. Maybe ;-)15:37
mandeldobey: you comment in https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/use-devtools/+merge/4423715:37
mandeldobey: I approved, yet I did not set it as approved just in case15:37
dobeyCardinalFang: no; the problem is solved, because that is exactly why someone made NTP in the first place :)15:37
ralsinadobey: natty doesn't start ntpd by default15:38
CardinalFangMy only concern is whether Ubuntu systems have NTP running by default.15:38
mandeldobey: if you tell me that with the tests running everything is ok, I'll approved, better save than sorry15:38
CardinalFangAh.15:38
ralsinadobey: non-running software fixes squat15:38
nessitamandel: right, current policies states that only branch submitter set it to approve15:38
dobeyralsina: i don't think ntpd is installed by default. but just because that is the case doesn't mean it's not the correct solution. like i said, i am happy if you want me to berate someone into changing that :)15:39
mandelnessita: really, when did that chages?15:39
mandelchanges == changed15:39
ralsinadobey: installed: yes, running, no.15:39
nessitamandel: using u1lint instead of pylint?15:39
dobeyralsina: ntpdate != ntpd15:39
mandelnessita: the policies thing15:40
dobeyralsina: the ntp package (what provides ntpd) is not installed even15:40
ralsinadobey: right. Let me change that to "natty installs ways to set your time right but doesn't run them"15:40
nessitamandel: with the huge email from Chipaca15:40
nessitamandel: let me show you15:40
mandelnessita: uh uh, that one, yes I remember15:40
dobeyralsina: that's not entirely true15:40
nessitamandel: in the last paragraph, in the summary, it says15:41
dobeyralsina: it is configured to run when a network interface is brought up15:41
mandelnessita: is there any other review you need to get done15:41
ralsinadobey: well, it didn't here...15:41
nessitamandel: "Rules for tarmac continue as they are, but managers will be able to bypass it (and merge approval should be twiddled by merge proposer only)."15:41
nessitamandel: YES!15:41
nessitamandel: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/remove-devices/+merge/4413915:41
dobeyralsina: you should run "ubuntu-bug ntp" then and complain :)15:42
ralsinadobey: hahaha will do eventually :-)15:42
* ralsina is more concerned about not having ANOTHER vm that can't use u115:42
dobeymandel: i don't understand what you mean with "I do not know the diff between u1lint and pylint"15:42
nessitamandel: did you review https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/new-sso-iface/+merge/44137 already?15:43
dobeydear firefox15:43
dobeySTOP CRASHING DAMNIT15:43
mandelnessita: yes, jus forgot to give the +1, now is done15:44
nessitamandel: thanks so much!15:44
dobeynessita: https://code.launchpad.net/~dobey/ubuntuone-client/fix-692566/+merge/44243 :)15:44
nessitadobey: on it15:45
nessitamandel: your sso branch is conditionally approved, so once tweaks are in place and pushed you can just set it to Approved and you're done15:45
nessitadobey: to confirm: have you grepped that every import like that is now fixed?15:46
dobeynessita: i grpped everything in bin/15:46
dobeybut not all of u1-client15:46
nessitadobey: can you, please?15:46
nessitaotherwise we may get more errores like this one15:47
nessitaerrors* :-D15:47
dobeyi guess it was the last one using .tools anyway15:48
nessitadobey: dbus-doc is outdated, both for contrib/dbus-docs:49 and contrib/dbus-docs:3915:48
dobeynessita: seems ok15:49
nessitacontrib/dbus-docs:49:from ubuntuone.syncdaemon.tools import DBusClient15:49
nessitacontrib/dbus-docs:39:from ubuntuone.syncdaemon.dbus_interface import (15:49
nessitaother than that, +115:49
ralsinanessita: I'm leaving for 15' I will get to review that branch yet.15:50
dobeynessita: ah, ok; pushing fix to dbus-docs now15:51
nessitaralsina: ok15:51
mandeldobey: I was saying, that I do not know why we use $MODULE rather than enumerating the dirs to look at15:52
mandeldobey: cna you let me if I still need to fix https://code.launchpad.net/~mandel/ubuntuone-dev-tools/add_tests_batch/+merge/4420715:52
dobeymandel: u1lint doesn't take arguments like that. it just checks everything under .15:53
dobeymandel: so the $MODULE is just an ignored arg for u1lint. but i imagine nessita was adding the $MODULE thing in order to allow separation of unit/integration tests, similar to how it is done in ubuntuone-control-panel15:54
mandeldobey: oh, ok15:54
dobeymandel: yes i commented on it already that you do.15:55
mandeldobey: and ok again ;)15:55
mandeldobey: I think I misunderstood you comment about the batch comments15:56
mandeldobey: fixing now15:56
nessitadobey: yes, though I already removed the $MODULE when calling u1lint15:56
dobeynessita: ok; i was just trying to explain to mandel :)15:59
mandelnessita: I was curious16:00
mandelI mean, what was dobyes comment about16:00
mandeldobey: I've already added the comments you suggested in the branch16:01
dobeyok, one second and i'll look again16:03
dobeymy system load went > 3 for some reason just now :(16:04
mandeldobey: regarding the correct reactor installation, I was thinking that having an except ImportError would do the trick, would that be nicer?16:07
dobeyhow would that function exactly?16:08
dobeymandel: re: .bat file, one more suggested change i just thought of. rename it to just be "run-tests.bat" instead of run-tests-windows.bat, for consistency and brevity sake16:11
mandeldobey: sure, np16:11
mandeldobey: regaing the import error, let me get you a pastebin16:11
=== beuno is now known as beuno-lunch
dobeyok16:12
mandeldobey: here it is: http://paste.ubuntu.com/545993/16:13
dobeymandel: i'm guessing that to "use the select reactor" nothing is actually being done to specify that (ie, it's the default in twsited)16:16
mandeldobey: exactly16:16
dobeymandel: which means the except ImportError: should just do a 'pass' there16:17
dobeymandel: but i'm not entirely sure if that's a valid assertion to make that it will fail16:17
mandeldobey: unless we want to use the iocp or something else16:17
mandeldobey: I just tested it, it does fail, and it should fail because gobject should not be present16:17
dobeymandel: how is gobject not going to be present when ubuntuone requires it?16:18
mandeldobey: well, because it platforms that we do not use glib, we will not have it, ie windows will not have it16:19
mandeldobey: or mac os x whenever that happens16:19
dobeymandel: so we aren't using gtk+ at all on windows?16:19
mandeldobey: no, we will not16:20
dobeymandel: i'm just saying that we shouldn not expect that it will fail in all cases16:20
dobeymandel: what if i am using something else that does use gobject and the import suddenly stops failing16:20
* ralsina apparently has managed to break Natty the same way he broke Maverick16:21
mandeldobey: then you will have no issues, right? is not that, the reactors have the sam e interface16:21
dobeymandel: i see why you would expect that code to be valid and work, but i don't think we can validly make that assumption16:21
mandeldobey: uh, I have no real preference to use one way or another, it was jst an idea ;)16:21
dobeymandel: well, won't i? the dbus stuff should think it might work then, but is likely to fail instaed16:22
dobeyso rather than having working tests, i might have a lot of weird errors16:22
mandeldobey: indeed, but that should be sorted in a diff branch, here I just want to use the correct reactor to later move to where we ensure that dbus is ony ran when possible16:22
dobeymandel: no i understand. i'm just saying we should write the code such that it can work in both cases16:22
ralsinanessita: can you tell me the version of python-oauth you have installed?16:22
dobeymandel: so i think just doing the check based on platform is sufficient, rather than trying to bother checking for an ImportError that may not happen16:23
mandeldobey: ok16:23
nessitaralsina: sure, 1.0a~svn1124-0ubuntu216:23
dobeyralsina: i don't think python-oauth has changed since i last updated it foreeeeeeever ago :)16:24
ralsinaright16:24
nessitaralsina: statik may be the guy to ping about your issue16:24
ralsinadobey: has a typo in the description, though16:24
mandeldobey: now, I prefer to do a if sys.platform == 'win32' ann an else rather than anything else, is cleaner16:24
nessitalibarary16:24
* ralsina has snapshots from before the mess now ;-)16:24
nessitaralsina: maybe your date thing breaks oauth?16:24
ralsinanessita: oh, good thing to try!16:25
statikhello16:25
dobeymandel: i don't think so. i think it just slower code16:25
dobeyif foo: do nothing; elif bar: do nothing; else: actually do something16:26
nessitastatik: hi there! sorry to bother, but ralsina is having really weird issues with oauth. You may be able to help diagnose?16:26
dobeydoesn't make sense to me :)16:26
ralsinanessita: let me see if it' s the date thing first16:26
dobeyralsina: it is the date thing16:26
dobeyralsina: btw, what's the typo? :)16:26
nessitadobey: This libarary implements16:26
ralsinadobey: libarary16:26
dobeyoh16:26
ralsinadobey: I get different errors, but I am checking it16:27
mandeldobey: the code will be the same16:27
dobeyeh, i don't have upload privs for it16:27
mandeldobey: how can be if not foo, faster or if not foo in [] faster16:27
mandeldobey: searching for a string in a collection that is not sorted would be as bad16:28
dobeymandel: mandel because it only has to evaluate one statement16:28
CardinalFangUbuntu archives are slow today.  Must be the cold.16:28
dobeymandel: and it's cleaner code. it doesn't result in a bunch of 'pass' statements inside if statements16:29
mandeldobey: oh, you mean using the select reactor, hat it makes sense, I'm thikin in the case we use a diff reactor16:29
mandelper sys.platform16:29
dobeymandel: are we using a diff reactor for those platforms?16:30
mandeldobey: I was considering the iocp for windows, but I'm not sure of the benefits right now, lets say I was arguing for the sake of it… mea culpa, sorry if I wasted your time16:31
dobeymandel: i don't think we should write the code with the idea of "handling the possibility of doing something a way in which we may never actually do"; we should make it behave as we're currently needing, and if we decide to change the reactor on windows later, then we can handle that case16:32
dobeymandel: i'd prefer the code to be as clear and concise as possible, until the breaking point of when we end up with "well windows is just f'd up, so now we have to do some crazy stuff here"16:33
dobey:)16:33
mandelagree, I just like to think in the future sometimes ;)16:34
dobeyme too, but i still can't afford to build a wormhole generator :(16:35
ralsinaOk, finally debugged the date problem. If you are on a VBox, the time is being reset by the host OS all the time. So ntp/ntpdate are basically useless in the guest box. And since the host OS is windows and I never freaking use it...16:38
CardinalFangHuh.16:40
ralsinanessita: there, I approved remove-devices and I am going to have lunch now16:41
=== ralsina is now known as ralsina-lunch
dobeyhrmm16:43
mandelnessita: your control panel branch has been approves16:46
mandelapproved16:46
=== ralsina-lunch is now known as ralsina
* dobey goes to get some lunch16:49
ralsinamandel: I see you got dobey for use_correct_reactor, got any other reviews pending?16:49
mandelralsina: yes, I need one more16:49
nessitamandel, ralsina: thanks!16:50
mandelralsina: the idea is simple, darwin and win32 do not have the glib reactor, the rest of the conversation was be being to philosofical :P16:50
nessitaI'm having lunch now too16:50
ralsinamandel: I am going to ask for the "start being less philosofical"  whip? ;-)16:51
mandelralsina: that is a tough thing to ask, but will try16:52
ralsinamandel: just kidding ;-)16:53
mandelralsina: hehe be careful with what you say, I might start talking about kant16:53
ralsinakant wasst eine kunt!16:54
* ralsina wonders if that' s any language, really16:54
ralsinaOh, gtranslate says I said "wasst eine side can!"16:55
mandelralsina: talking about it, here you go, a priest saying that having an imaginary friend is stupid… http://www.youtube.com/watch?v=Prglk8wSoMk&feature=player_embedded#!16:57
mandelsomethimes people should listen to what they say…16:57
ralsinamandel: don' t get me started with that kind of thing on office hours, please ;-)16:57
mandelralsina: so you are weak.. good to knoe16:57
* mandel jots it down16:58
* ralsina is weak indeed.16:58
ralsinamandel: what' s your review request?16:59
mandelralsina: let me get you the url16:59
mandelralsina: https://code.launchpad.net/~mandel/ubuntuone-dev-tools/use_correct_reactor/+merge/4421116:59
mandelralsina: the glib reactor is not avaiable on darwin or win32, which breack running the tests17:00
ralsinamandel: ok, wil check17:00
mandelralsina: I need this to go in to later ensure that dbus is just ran when available17:00
mandelralsina: otherwhise tests for desktopcouch on win32 or darwin will not work17:00
mandelis kinda compulsory to get desktopcouch building on windows17:01
ralsinaThere are obvious ways in which "if platform not in ..."  will bite you in the ass in the future, of course17:01
ralsinaBut the alternative is probably worse17:01
ralsinaSo let me find that rubberstamtp...17:01
mandelralsina: that was the philosopical conversation hehe17:02
mandelralsina: I was more into if sys.platform != 'lnux2': blah17:02
ralsinaWell, it' s broken both ways unless there is a list of supported platforms somewhere17:02
mandelralsina: yes, that is to be defined somewhere17:03
ralsinamandel: of course going in that direction means it can' t just work on a lucky platform17:03
mandelralsina: anyways, no philosofical conversations about it… at least not more today17:04
mandelralsina: I already had a long one about it...17:04
ralsinajajaja17:04
=== flipp_ is now known as flipp
=== flipp is now known as 16SAAUIXH
ralsinamandel: There you are17:04
mandelralsina: thx17:04
ralsinaSo, any more reviews pending? I'm in a helpful mood.17:05
mandeldobey: please na you check that branch to see if is ok whenever you can?17:05
mandelralsina: no, but we can look at you windows set up :)17:05
=== 16SAAUIXH is now known as flipp
ralsinamandel: cool, let's do that17:05
mandelralsina: ok, I'm guessing you have the vm or machine ready, right?17:06
ralsinayes!17:06
ralsinamandel: I have bazaar and python 2.717:07
mandelralsina: cool, lets go first with the heavy stuff, you need vs2010 express edition17:08
mandelralsina: takes ages to download and to install, but we use it for the DLR and ACF17:08
mandelACF == WCF17:08
mandelsorry for that17:08
ralsinamandel: ok, googling for it17:08
ralsinaI had forgotten how hard windows software is to find :-D17:10
mandelralsina: do you want the link, express edition is easy17:11
ralsinaRight, express edition17:11
ralsinadownloading17:11
ralsinaOk, which one?17:12
mandelralsina: visual C#17:12
ralsinaOk17:12
mandelralsina: for now, we have no C++ although ti will happen at soem point17:12
ralsinaright17:12
ralsinawhat else? Maybe I can do something else while this installs17:13
mandelralsina: we need, twisted, which required pyopenssl17:14
mandelralsina: do you know where to get those?17:14
ralsinamandel: ok, will use pip or whatever17:14
ralsinaoh, no, I' m in windows, right, I need to find eggs?17:15
mandelralsina: ha, I wish it was that easy17:15
mandelralsina: fo pyopenssl you need a .exe/.msi17:15
ralsinaok, will google17:15
mandelralsina: for twisted, there is a download for it in twisted home page17:15
mandelralsina: are you running win 7 64 ?17:16
ralsinamandel: yes17:16
mandelralsina: 'cause there is a bug in ALL python msi...17:16
ralsinamandel: at least I think so17:16
mandelralsina: ok, then before you do anything, we need to fix your registry key17:16
mandelralsina: can you open regedit?17:16
ralsinamandel: got it17:17
ralsinawhich key?17:17
=== beuno-lunch is now known as beuno
mandelralsina: open the current machine keys17:17
mandelgo to software17:17
mandelralsina: do you have a key called WoW6417:17
mandel???17:18
ralsinasoftware?17:18
ralsinaoh, in local_machine17:18
mandelralsina: under HKY_LOCAL_MACHINE/Software/WoW6417:18
ralsinaNope17:18
ralsinaI do have a current_user/Software/wow6432node17:19
ralsinaand the same in localmachine, too17:19
mandelralsina: sorry, I for got the 32node thing17:19
ralsinaok, found it then17:19
mandelralsina: that is the one you want, mea culpa17:19
mandelralsina: well, under that one you have a software node too17:20
ralsinayes, don' t worry, I got it. What do I out in it?17:20
ralsinas/out/put/17:20
mandelralsina: ok, what you need to do is to copy what you have in HKEY_LOCAL_MAHINE/Software/Python/2.717:20
mandelralsina: so you have HKEY_LOCAL_MACHINE/Software/WoW6432Node/Software/Python17:21
mandelralsina: with all its subchildren17:21
ralsinaI don' t have a local_machine/Software/python/2.717:22
mandelralsina: sorry, Python/PythonCore/2.717:22
mandelralsina: you should have that if you installed python 2.717:22
ralsinaI don' t have a local_machine/Software/python17:22
ralsina:-(17:22
mandelein?17:22
mandelralsina: you do have python installed, right?17:23
ralsinaright, I just ran it17:23
mandelralsina: then I think you installed python for 3217:23
mandelralsina: can you find it inside Wow6432node?17:23
ralsinamandel: yes17:23
mandelralsina: ha, so bzr installs the 32 even if you are 6417:24
mandelmenuda miercoles!17:24
ralsinaI also installed the python from python.org17:24
ralsinabzr installed 2.6 not 2.717:24
mandelralsina: but you used the 32, othwhise you will have it outside wow6432node17:25
ralsinaok then17:25
ralsinaso, I don' t need to hack the registry anymore?17:25
mandelso you must have HKEY_LOCAL_MACHINE/WoW6432node/Python17:25
mandelwith 2.6 and 2.7 under it, right?17:25
ralsina2.7, yes17:25
mandeland not 2.6?17:26
ralsinapython/pythoncore/2.717:26
mandelwhere the hell does bzr install python?17:26
ralsinaand no 2.617:26
ralsinamandel: beats me17:26
mandelralsina: was it te standalone installation?17:26
ralsinaLet me check17:26
mandelralsina: that one uses py2exe or pyInstallrt to bundle python, so it is in bzr locals path17:27
ralsinaahhhh I was smart and got the one that uses system python17:27
mandelralsina: haha, then you just have 2.7 :)17:27
mandelcool, did you add python and its scripts to the cmd path?17:27
ralsinaargh.... wait a minute17:28
ralsinaOk, according to the bzr page, I got the one with 2.6 bundled17:30
ralsinaBut who cares, as long as bzr works, the rest of the stuff will use 2.7, right?17:30
mandelralsina: yes, we do not care17:31
mandelralsina: it just means that they used py2exe or something like that17:31
ralsinamandel: ok then17:31
ralsinaI am adding python to the path now17:31
mandelralsina: ok, no need to tell you how to do that, right?17:31
mandelralsina: also add the scripts subdir, otherwhise pep8 etc will not be accessible through cmd17:32
ralsinamandel: google is telling me, but I am not quite believing it ;-)17:32
mandelralsina: haha well everything is a pain in the ass17:33
mandelralsina: I just remembered something, give me a sec17:33
ralsinaediting a 400-char variable in a non-resizeable 60-char window? Sure!17:34
mandelralsina: ok, I'm back17:34
ralsinaOk, got PATH right17:35
mandelralsina: haha `ctrl+cctrl+v is what I use :)17:35
ralsinaand they dare tell me lnux is hard17:35
ralsinaVisual Studio installed17:35
mandelralsina: ok, then install pyonpenssl on windows first http://sourceforge.net/projects/pyopenssl/files/pyopenssl-win/0.9/17:36
mandelralsina: which ofcourse is just package from 2.6....17:36
ralsina0.9?17:36
ralsinaThere is a 0.1117:36
mandelralsina: for windows?17:37
mandelralsina: where?17:37
ralsinafor windows and python 2.717:37
ralsinahttps://launchpad.net/pyopenssl17:37
ralsinadevelopment moved out of sourceforge a while ago17:37
mandelralsina: uh, you right17:37
mandelralsina: get that one then :)17:38
ralsinaDone and installed17:38
mandelralsina: you need twisted too17:38
ralsinaok, going there17:38
mandelralsina: let me know, after that we need google protobuffers and you cannot use easy_install their package is broken17:39
ralsinainstalling twisted17:39
ralsinaTwisted is installed and I can even import it17:40
mandelralsina: cool, got to google code and get protobuffers17:40
mandelralsina: you need the protobuf compiler for windows and the python lib17:41
mandelralsina: let me know if you have problems with them17:41
ralsinaGot protoc17:44
mandelralsina: lib and compiler?17:44
ralsinajust the compiler, looking for how to install the lib now17:44
mandelralsina: just download the lib, go to the python subdir and do a setup.py install17:45
mandelthat should be enough17:45
ralsinagot it17:45
dobeyback17:46
ralsinasetup.py exploded, I will get the setuptools egg first17:47
dobeymandel: check which branch?17:47
mandelralsina: he, makes sense, for tha you need an msi too17:47
mandeldobey: nothing, you already did, there was some lag from me17:47
mandeldobey: it was the reactor one17:47
mandeldobey: you are too efficient :)17:47
nessitadobey: is your comoputer with the old version of logilab modutils?17:48
ralsinamandel: the fun part is it made me wait 15 seconds first because it was going to try to download it ;-)17:48
dobeyok17:48
CardinalFangbeuno, I think I'll have the photo queuer mostly done today.  Only some minor work left to do.17:48
dobeynessita: no17:48
ralsinamandel: done with protobufs17:48
dobeynessita: did something fail?17:49
CardinalFangbeuno, merging it with the new trunk should take a few hours, once it's ready.17:49
nessitadobey: otto just failed with that error: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/remove-devices/+merge/4413917:49
ralsinamandel: I am keeping a zip of all the msi files for the next poor soul17:49
mandelralsina: cool, next we need to get you xdg on windows, now, I sent a patch to freedesktop.org but was kind of ignored17:49
mandelralsina: you can get it from lp:ubuntuone-windows-installer17:49
ralsinamandel: ok, going there17:49
dobeyhuh17:50
beunoCardinalFang, yay!  We should have a chat with karni on how to actually transfer the images, and we also need to think about how this will be seen on the desktop (ie, can we put it somewhere that photo apps will pick it up?)17:50
ralsinamandel: where in  lp:ubuntuone-windows-installer ? bzr?17:51
mandelralsina: it is under utils, since we just need BaseDirectories I just implemented that17:51
dobeynessita: weird. i definitely have the fixed version installed, but perhaps the fix breaks in some cases?17:51
mandelralsina: so add a xdg module with BaseDirecotry in it in your python installation17:51
mandelralsina: this part is kinda hacky....17:51
ralsinamandel: wait, you lost me before17:52
ralsinamandel: should I clone  lp:ubuntuone-windows-installer ?17:52
nessitadobey: I don't think so... could you please confirm if you have the patched version? since when I install it from our ppa it won't install the pacthed version, I had to patch it by hand17:52
dobeyhuh17:52
dobeynessita: then how have branches been landing?17:52
mandelralsina: yes, clone (hg talking here I suppose) trunk17:53
nessitadobey: maybe you updated in between?17:53
mandelralsina: under utils, you will find basedirecotry, which you need to add in you python sit-packages dir under xdg17:53
dobeynessita: no, the version i have installed is newer than the version in ubuntu17:53
nessitadobey: but, is the modutils file patched?17:54
nessitacan you please confirm that?17:54
ralsinamandel: hold a minute, I need to import my keys into bzr and stuff17:54
mandelralsina: uh, did you instal putty and all that?17:55
mandelralsina: or I have to explain that oo?17:55
mandeloo == too17:55
ralsinamandel: I cna install putty, didn' t know I needed to ;-)17:56
mandelralsina: yes, you need pageant or something called like that17:56
ralsinamandel: ok17:56
mandelpageageantatnaatatna17:56
dobeynessita: it's not17:57
dobeynessita: grr, dpkg17:58
dobeynessita: but why does it only fail sometimes?17:58
CardinalFangbeuno, right.  karni specified a API already for this to use to add things to the work queue for sync.  I think that API has at least one flaw, and I'll find out and talk with him.18:00
beunoperfect18:01
dobeywtf18:01
CardinalFangbeuno, As for visibility on desktop, we might be able to do something in ~/Photos .  Not sure yet.18:01
dobeyi thought source format 3.0 (quilt) was supposed to not require extra magic to make patches apply18:01
dobeysigh18:02
beunoCardinalFang, right, there's going to be a problem we've already been through with music, and that is that we don't support nested UDFs, so if we create a UDF inside ~/Photos, people can't sync all of ~/Photos18:02
beunoI believe that's how we ended up with a hidden dir with music18:02
CardinalFangAh.18:03
beunoso it's tricky18:03
beunoChipaca, fwded you the emails with the discussion we had 6 months ago or so18:04
beunowith aquarius18:04
beunoChipaca, facundobatista, can you guys confirm that Natty still won't do tested UDFs?18:05
aquariusindeed. Although we should symlink to the hidden folder from inside Photos, rather than trying to teach photo apps about two separate folders (we did that with RB/Banshee, and it was a mistake.)18:05
* beuno nods18:06
ralsinamandel: I' m in now, cloning18:06
beunowe could even create the symlink server side18:06
mandelralsina: ok18:06
aquariusbeuno, yep18:06
mandelralsina: I might need to go for a bit, second walk of the dog is required… the thing is small but pees like a t-rex18:07
ralsinago ahead, I' ll look at other things. Come back as soon as t-rex is happy18:07
mandelralsina: ok, will ping you when I'm back :)18:08
mandelralsina: but to let you know, you need get the BAseDirectories and palce it in site-packages/xdg/18:09
ralsinaok18:09
mandelralsina: with the missing __init__.py ofcourse,18:09
mandelralsina: later, get the ubuntuone-protocol installed, which is needed by the client18:09
ralsinamandel: go walk the dog or he's going to piss your rug :-)18:10
mandelralsina: c u later when I'm back18:10
* mandel walks the dog18:10
dobeymy brain hurts18:11
nessitadobey: sorry, missed your last comment. I have no idea :-/18:13
nessitadobey: PYTHONPATH issues? update issues?18:13
dobeynessita: no, dpkg dumbness issues. am fixing i18:17
dobeyit18:17
nessitathanks18:17
ralsinastupid launchpad question: how can I ind a bug I reported that was declared invalid?18:23
dobeynessita: in control-panel integration tests, in test_dbus_service, are FileSyncTestCase, OperationsErrorTestCase, and OperationsTestCase supposed to all be running the same tests?18:24
nessitaralsina: let me help you18:24
ralsinanessita: thanks18:24
ralsinanessita: I wanted to add a comment to the bug I reported about the 401 error, to mention it can be caused by clock skew18:24
dobeyralsina: click "Advanced search" and choose "[] Invalid" in the list18:24
ralsinadobey: oh, good18:25
nessitaralsina: https://bugs.launchpad.net/~ralsina/+reportedbugs?field.status%3Alist=INVALID18:25
dobeyralsina: or you can use your mail client to search your inbox :)18:25
dobeyor whatever folder you send bug mail to18:25
ralsinadobey: I' m afraid of looking in there now ;-)18:25
dobeywtf; bughugger requires pygame18:26
* dobey wonders if there's an asteroids clone in the about box or something18:26
dobeymandel: also, you still owe me conflict resolution on https://code.launchpad.net/~mandel/desktopcouch/improve_keyring_tests/+merge/3980018:28
ralsinanessita: you actually bothered verifying the date thing? You're awesome :-)18:30
facundobatistabeuno, we test UDFs a lot!18:30
facundobatistabeuno, what do you mean that "Natty still won't do tested UDF"?18:31
nessitaralsina: I did what?18:31
nessitafacundobatista: he meant nested18:31
facundobatistanessita, oh18:31
ralsinayou marked bug #692597 as verified18:32
nessita:-)18:32
ubot4Launchpad bug 692597 in ubuntuone-control-panel "If the user has the date wrong, connection fails (affects: 1) (heat: 6)" [Low,Confirmed] https://launchpad.net/bugs/69259718:32
facundobatistabeuno, no plans for nested UDFs18:32
ralsinasorry, as confirmed. I should stop using googlecode lingo now ;-)18:32
nessitaralsina: well yeah, is obviously confirmed18:32
nessitaralsina: is not Triaged though since we don't have a plan on how to solve it18:32
beunofacundobatista, ack, thanks18:33
beunodid I say tested?  I'm crazy18:33
ralsinanessita: it's the least urgent bug ever, so that' s great18:33
nessitayes18:33
ralsinanessita: got any more review requests? I have time until mandel' s dog pees18:35
nessitaralsina: you reviewed all my branches, thanks!18:36
nessitaI was hoping that Chipaca did the second one to https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/unify-loading-messages/+merge/44147 since I'd need some feedback from hin18:36
nessitahim*18:36
ralsinanessita: you're welcome, it's easier when I can run the code ;-)18:36
nessitayes :-)18:36
dobeywhy are statuses colored in lp bugs anyway18:37
dobeyis very confusing18:37
* ralsina finds launchpad very confusing in general compared to googlecode. He's getting used to it, though.18:38
dobeynessita: did you see my question about u1cp integration tests?18:38
nessitadobey: nopes, sorry, scrolling up18:38
dobeyralsina: even after you get used to it, it's still confusing18:39
nessitadobey: answer is yes18:39
dobeynessita: ok, but that is confusing18:39
nessitathose classes run the same set of tests with different assert function18:41
nessitauses heavily inheritance18:41
dobeynessita: it seems to me like the FileSync ones at least should not result in the Operations cases being re-run, no?18:44
nessitalet me refresh my memory18:44
nessitadobey: right, though it requires a refactor in order to move all the helpers to a parent class18:45
nessitasuch as got_error, ignore, errback_on_error, assert_correct_method_call18:45
dobeyright18:45
nessitaif it bothers you please file me a bug report18:46
dobeywell actually was trying to find a bug i was seeing18:48
nessitawhich one?18:48
dobeya segfault occurring in the running of the integration tests18:48
nessitahum18:48
dobeynot sure in what exactly though18:49
nessitahave a trace I can look at?18:49
dobeyno, i was trying to figure out where it was so i could get a trace18:49
dobeyit seemed to occur during running of test_dbus_service.py though, hence my question about the inhereted tests18:50
dobeyhrmm, now it happened in FoldersTestCase18:55
dobeyin gtk/tests/test_gui18:56
dobeyhmmm18:59
nessitadobey: just FYI, gui tests are completely abstracted from dbus19:04
dobeynessita: filed bug #692700 with a trace19:05
ubot4Launchpad bug 692700 in ubuntuone-control-panel "Crash during test running (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/69270019:05
nessitadobey: any ay of reproduce?19:06
nessitaany way*19:06
dobeynessita: it seems to happen more reliably for me running under the tarmac user19:07
dobeynessita: so i suppose a "suso su - otheruser" and running there with a clean env should show it more often19:07
nessitadobey: can you try to isolate in integration tests only? you can run then with ./run-test --integration19:08
dobeynessita: given the crash happens in gtk+ i'm not sure that it's in the integration tests now19:08
dobeynessita: it seems to be crashing much earlier for me now, in the gtk unit tests19:08
nessitadobey: first idea that comes to my mind is an issue in the X server. We're using xvfb so not sure how that can interfere with su19:09
nessitasince usually, doing su will not let you open graphical stuff19:09
dobeynessita: well it still happens even if you run without xvfb-run19:10
nessitadobey: and also doing su? if so, that s expected19:10
nessitayou can't raise graphical stuff when doing su19:10
ralsinadobey: that' s why gksu is there19:11
dobeynessita: segfault is not expected19:11
nessitadobey: it can happen, GTK is not being able to access the display, is crashing19:12
dobeyralsina: no, gksu is to give you a pretty dialog for entering your password when running a specific command as root19:12
dobeynessita: no. gtk+ has a check for DISPLAY, and it exits way before it crashes19:12
nessitadoesn't look like19:12
dobeywell i don't know what all is going on here exactly19:13
ralsinadobey: I thought gksu did let you use other users. In any way, su + graphical stuff == demons coming out of your nose. Many things crash in many different ways in that case.19:13
dobeythat's what "debugging" does; helps figure that out19:13
ralsinadobey: with su you still have DISPLAY you just don' t have the X cookie, IIRC19:13
dobeyralsina: nothing should crash, and it crashes with xvfb-run too19:13
dobeyralsina: so i doubt "not having X" is the problem here19:13
ralsinadobey ok, let's check with xvfb then, and forget about su19:14
ralsinaThen we can check su :-)19:14
ralsinaSo we go in order of least-expected-to-chasness19:14
dobeyralsina: and "su -" should result in no DISPLAY19:14
dobeybecause it's supposed to clear the env19:14
ralsinadobey: true about su - yes19:14
nessitadobey: do you have xvfb installed?19:15
dobeynessita: i apparently have xvfb-run yes19:15
nessitahum19:15
ralsinaxvfb <> xvfb-run19:15
dobeylooks like maybe a bug in gtk+/gdk19:18
ralsinadobey: have you actually tried doing su - root -c 'echo $DISPLAY' ? (of course I may be misssing a quote or backslash)19:19
dobeyralsina: yes and it works19:20
ralsinaTERM COLORTERM DISPLAY and XAUTHORITY are not cleared by su -19:20
ralsinaSo you are getting DISPLAY in the child process19:21
dobeyand XAUTHORITY19:21
dobeythat is dumb19:21
dobeyhow is that at all useful?19:22
* nessita no entiende nada :-)19:22
ralsinanessita: basically "su -"  doesn't really do what it claims to do, unless you read the manual ;-)19:23
dobeyi mean, ok, MAYBE it is useful if you su - root19:23
dobeybut not if you su to someone who isn't root19:23
ralsinadobey: right. But it sucks for every other target user :-)19:23
dobeyand who can't read the XAUTHORITY19:23
dobeyand why would anyone ever su to root, when there is sudo19:23
ralsinadobey: su is older than sudo19:23
ralsinadobey: and sudo used to be full of security bugs19:24
ralsinadobey: basically history just bit you in the ass19:24
dobeyno19:24
dobeybecause su didn't used to do that19:24
dobeyit used to clear pretty much everything except the TERM bits19:24
ralsinadobey: su has had that behaviour for a very very long time on linux. I remember this from 2000 at least.19:24
dobeywell, whatever. it's still dumb19:25
ralsinadobey: yes, so it is. Now what? ;-)19:26
dobeyand doesn't fix or explain the problem19:26
ralsinadobey: gtk+ apps crash when there is DISPLAY but no XAUTHORITY?19:26
dobeyi am not sure that is the correct description19:27
dobeygiven that the crash was also happening under xvfb-run19:27
ralsinadobey: ok, then let's forget about su, as I said19:27
ralsinaBesides they don't seem to crash, they give a Warning (!) and exit19:27
dobeyi did that a long time ago19:27
dobey"they" ?19:28
ralsinathey gtk apps19:28
dobeywell, gtk_init() does, yes19:28
ralsinaCould it be related to bug #440307 ?19:32
ubot4Launchpad bug 440307 in seahorse-plugins (Ubuntu) "seahorse-agent crashed with SIGSEGV in IA__gdk_window_enable_synchronized_configure() (dup-of: 469388)" [Medium,New] https://launchpad.net/bugs/44030719:32
ubot4Launchpad bug 469388 in seahorse-plugins (Ubuntu) "seahorse-agent crashed with SIGSEGV in gdk_window_enable_synchronized_configure() (affects: 15) (dups: 7) (heat: 11)" [Medium,New] https://launchpad.net/bugs/46938819:32
dobeyhrmm, shouldn't crash19:32
dobeyhrmm, well yes19:33
dobeywhat is the same crash19:33
ralsinaI see that crash reported all over the place19:34
ralsinaFor example, pango fails there if there are no fonts available19:34
dobeyok, so gdk is crashing in that case19:37
dobeybut why does it also happen under xvfb sometimes19:37
ralsinadobey: looks like a probllem deep inside gtk/gdk to me :-(19:37
dobeybecause i'm pretty sure that cron does not set DISPLAY19:37
ralsinaxvfb-run should set DISPLAY of course19:38
dobeyyes of course, and its own authority info19:39
dobeyoh well19:40
dobeywill leave it for now and get back to what i'm supposed to be working on this month19:41
ralsinadobey: good :-)19:41
dobeyafter the fixed logilab-common it seems harder to reproduce now19:41
dobeybut still very odd19:41
ralsinadobey: maybe some freakish race condition :-(19:41
dobeyi hope it doesn't happen under tarmac any more19:42
dobeycan someone else please review https://code.launchpad.net/~ev/rhythmbox-ubuntuone-music-store/fix-defer-split/+merge/43876 for me?19:46
dobeyblah, and keybindings don't work right in gnome-terminal any more19:47
dobeyi wonder if it's the silly unity menu bar gtk+ hack that's causing it19:47
ralsinadobey: there you go, approved19:49
ralsinaPython really needs a "import this or this or this"19:49
dobeypeople just need to not break API for no good reason19:50
dobeyalso, they need to provide compatibility when they do, and issue DeprecationWarnings19:51
dobeylike any good denizen should19:51
ralsinadobey: and give me chocolate. I meant more for things like json/simplejson or the 5 magic elementtree versions you can find.19:51
dobeyeh19:54
dobeyi meant more "real developers shouldn't use python"19:55
dobey:)19:55
ralsinadobey: I agree, in an ideal world we could use cobra for something useful :-)19:56
ralsinahttp://cobra-language.com/19:56
dobeydefinitely not19:56
ralsinas/cobra/petlanguage/ ;-)19:56
dobeyi haven't thought of a name for my language yet19:58
ralsinamandel ping?20:08
mandelralsina: pong20:11
mandelralsina: sorry I had to get some groceries20:11
mandelralsina: wanna coninue with the setup?20:12
ralsinamandel: good, I thought your dog had 5 kidneys ;-)20:12
ralsinamandel: let's continue20:13
mandelmandel: well, it has, but it was more of getting food for dinner hehe20:13
mandelralsina: what was the last thing you installed?20:14
ralsinathe xdg stuff20:14
mandelralsina: so, can you do from xdg import BaseDirectory? or not yet?20:15
ralsinaYes I can20:15
mandelralsina: ok, do you have the ubuntuone storage protocol installed?20:18
ralsinanot yet.20:18
ralsinaWill do it now. Where is it?20:18
mandelralsina: that you can ge from launchpad, i think it is lp:ubuntuone-storageprotocol, let me check20:18
ralsinaYes it is20:19
ralsinaCloning now20:19
mandelralsina: you should have all the depenceis that are hard to install, if there is any missing you can use easy_install20:20
ralsinamandel: ok20:20
ralsinaNo module zope.interface20:20
ralsinaSo I start with easy_install now20:20
ralsinaOk, got storage-protocol done20:21
ralsinaWhat now?20:21
mandelralsina: now, you should have everyhting you need20:28
ralsina mandel: cool :-)20:28
ralsinamandel: so, what branch should I hack at?20:28
mandelralsina: ok last thing, you do have the vs2010 installed, right?20:28
mandelralsina: first lets try to build trunk, so that you know more or less to move around the old solution :)20:29
mandelralsina: also, did we install py2exe?20:29
ralsinamandel: ok20:29
ralsinapy2exe? Not yet!20:29
ralsinaGetting it now, then20:29
mandelralsina: cool, that is the lat bit20:29
ralsinapy2exe installed20:30
mandelralsina: ideally, we should not be working in the current trunk, but in the sd branch, but if you can build trunk better since we have the same dependencies _ you pyqt :)20:30
mandel_ => +20:30
ralsinaok then :-)20:30
mandelralsina: ok, in trunk, lets try to use nant20:30
ralsinagive me a moment to clone trunk20:31
mandelralsina: ok, ping me when done20:31
ralsinawill do20:31
mandelralsina: in the mean time I'll explain you the dir structure, under data, well we have data like icons etc...20:32
ralsinaok20:33
mandelralsina: docs contains the sandcastle configuration that builds the .net docs, the idea is that we will expose the sd through wcf and therefore .net devels will like to read that20:33
mandelralsina: install contains all the wix projects used to build the msi and the bootstrapper, there is where we hack all the ugly xml used to build the packages20:34
ralsinamandel: ok20:34
mandelralsina: lib should have been called libs and contains all the .Net dlls we depend on, thatway you do not have to hunt them down like for python :)20:35
ralsinaermmmm ok, the trunk of what are you talking about? I just assumed it was ubuntuone-client, which I see is stupid :-)20:35
mandelralsina: main.build is the build script for nant which is more xml (windows development, yay!)20:35
ralsinath windows-installer thing we used earlier?20:35
mandelralsina: yes :)20:36
mandellp:ubuntuone-windows-installer20:36
ralsinathat20:36
ralsinais much better :-)20:36
mandelralsina: it happens, we can talk about that issue in a second :)20:36
mandelralsina: src, well contains source20:36
ralsinamandel: right20:37
mandelralsina: tools contains build tools that ar needed to build or run the unit tests20:37
mandelralsina: it overlapps a little with utils, which are random strings that we have useful20:37
ralsinamandel: ok, no problem20:37
ralsinaas long as you know where things are :-)20:38
mandelralsina: I should merge those two at some point, but I dont think we will need to do it at the end20:38
mandelralsina: yes, the problem is if I die, which can happen :)20:38
mandelralsina: lets see the build options20:38
ralsinamandel: yeah, let's20:38
mandelralsina: if you do, tools\nant\bin\Nant.exe -projecthelp you should see all the diff options of the build20:39
ralsinaok, got it20:40
mandelralsina: that ommand lists all the diff project targets you can build to, with a small shitty definition from me20:40
ralsinaok, so which one do you recommend?20:40
mandelralsina: lets run the tests tools\nant\bin\nant.exe tests20:40
ralsinabuild?20:40
ralsinaok20:40
mandelralsina: tests do build, and will trun the tests for you, which will lets use know if eveything works :)20:41
ralsinathe DOS font is offensive to me20:41
mandelralsina: haha, I'm forcing you to use cmd, but intall cygwin whenever you want20:42
ralsinamandel: I will install a freaking IDE ;-)20:42
ralsinaBUILD FAILED20:42
mandelralsina: pastebin please20:42
ralsinamandel: in a minute20:42
ralsinahttps://pastebin.canonical.com/41265/20:43
* mandel looks20:44
mandelralsina: that is actually good, it means that there is a broken tests, not big issue perse, I mean besides trunk being broken....20:47
ralsinahey, cool :-)20:47
mandelralsina: the broken tests is due to a config issue in the .net, probably from merging at some point wrong20:48
ralsinamandel: but it works for you?20:49
mandelralsina: let me see20:49
mandelralsina: yes, it does20:49
mandelralsina: let me look closer20:49
mandelralsina: can u cat all the output, in to a file, the cmd buffer is too small and I'm missing some output20:51
ralsinaDon' t worry too much. Now, supposing I wanted to start grafting a UI into it, where should I start looking? ;-)20:51
ralsinasure, I'll do it.20:51
mandelralsina: well, that is the cool stuff we are not working atm20:52
ralsinahttps://pastebin.canonical.com/41266/ full log20:54
ralsinamandel: ok, but what modules expose the API I have to hook in? Do I look at how the linux UI does it?20:55
mandelralsina: yes, there is a branch proposed wth the wcf code that defines the service methods, which I will implement with COM20:56
mandelralsina: using pywin3220:56
ralsinamandel: ok, so I can' t really do it until january20:56
ralsinamandel: I can only do UI but without functionality20:56
mandelralsina: no, you can actaully do what ever you want20:56
mandelralsina: exactly, but that allows me to see what you need, rather than deciding with no use case20:57
ralsinamandel: ok20:57
ralsinaI will try not to get too creative, specially without UX input (although ivanka did send me some stuff I should check)20:57
mandelralsina: lets first look at the wcf definitions20:58
mandelralsina: those are the methods I will implement for you, that way we can talk about the approach for it20:58
ralsinamandel: ok20:58
mandelralsina: let me get you the brach20:58
mandelralsina: here it is https://code.launchpad.net/~mandel/ubuntuone-windows-installer/contracts_ipc_wcf21:00
mandelralsina: the idea is the following, each of the operation contracts expose the diff methods that will be exposed to the clients, including you21:00
mandelralsina: those I can implement as sync and async methods21:00
ralsinamandel: ok21:00
ralsinaAnd these will only be accessible via COM21:01
mandelralsina: atm those are the contacts that are exposed through a named pipe21:01
ralsinamandel: ok21:01
mandelralsina: yes, but what I'll do is to write a client lib for you to use21:01
ralsinamandel: oh, good ;-)21:01
mandelralsina: with python like methods that could be asyn or async, I was thinking of using a twisted client for the sync, but as you wish21:01
ralsinamandel: not a problem, it's all the same to me21:02
mandelralsina: you can expect a client object that is for example, syndaemon_configuration, that has syncdaemon_configuration.set_throttling etc...21:02
ralsinaok, I'll do you some stubs maybe21:02
mandelralsina: yes, that ould be the best21:03
ralsinaok, I think I understand where I am standing now21:03
mandelralsina: that way we cna move in parallel between ui and 'server' side :)21:03
ralsinacool. I have a few days to catch up with you :-)21:03
mandelralsina: at this point, we can start moving uses .net and start buildgin msi etc..21:04
mandelralsina: yes, you do :)21:04
* ralsina leaves that in the capable hands of mandel ;-)21:04
mandelralsina: we should have a cleaner solution, I'm also portin u1trial etc.. to windows so that we can use the ubuntuone-dev-tools projects21:05
mandelralsina: will also add common scripts like finding the python path from a batch script etc21:05
ralsinamandel: cool21:05
mandelralsina: can we talk about desktopcouch for a sec?21:06
ralsinamandel: sure21:06
mandelralsina: I'd like to create a project, similar to de lp:ubuntuone-windows-installer for desktopcouch21:07
ralsinamandel: yes...21:08
mandelralsina: so that we have the very specific windows code (the .Net for wcf in desktopcouch)21:08
mandelmsi, etc… so that desktopcouch has nothing but python, and all ugly COM code with .Net goes there21:08
mandelralsina: as well as the couchdb msi and blah blah blah21:09
mandelbut I'd like to call it desktopcouch-windows-solution or something like that21:09
ralsinahmmmm I assume desktopcouch is useful without that?21:09
ralsinaon windows, I mean21:10
ralsinaBTW: you can use REST over WCF! Neat! ;-)21:10
mandelralsina: yes :)21:10
mandelralsina: to both questions21:11
ralsinaIn that case I don't see why not21:11
ralsinaWho could it possibly bother?21:11
mandelralsina: I prefer to ask before hand21:11
ralsinaright, youhave my blessing my son. I meant who ELSE we should sk beforehand :-)21:11
* ralsina has no idea who is involved in desktopcouch. sil?21:12
mandelralsina: mainly thisfred, CardinalFang, vds and me, well and sil is the ideas man (in the best possible meaning of that)21:13
ralsinaI say wait until january then bring uit up again21:13
ralsinaBut I don' t foresee any problems at all21:14
thisfredwhat21:14
thisfreds the question? :)21:14
vdsyep... :)21:14
* CardinalFang ducks.21:14
ralsinawould you guys like a separate package called desktopcouch-windows-solution that has all the .net/wcf crap?21:15
ralsinathat's specific crap that's useful on the windows side of the force21:15
CardinalFangWhat is a "package" in this context?21:15
ralsinaCardinalFang: project + msi installer, I guess, mandel knows better21:15
mandelvds, thisfred, CardinalFang would be the WCF stuff to use namepipes to get the port number and manage if desktopcouch is started or not at boot time, msi with couch installation21:16
mandeland that is all I can think of atm21:16
mandelit can be in lp:desktopcouch, not diff for me, I just dont want to bother you21:17
thisfredmandel: +100 to a separate package if that makes your life easier21:17
vdssure, +121:17
ralsinaso go ahead mandel, my boy and have fun with that ;-)21:18
mandelthisfred: I think it makes it easier to keep the deployment of both platforms easier :)21:18
CardinalFangOh, package inside the desktopcouch tree?  Hrm.  I don't have a strong opinion.  Mandel, if you were someone else, would you be upset at Windows components being somewhere else?21:18
mandelvds: ^21:18
ralsinamandel: same tree or different tree? I didn't get that part right, I think21:19
mandelralsina, CardinalFang I was thinking diff tree21:19
vdsmandel: pro and cons of both options?21:20
CardinalFangmandel, I think you could keep a lp:~mandel/dc/windows branch and only merge it in when you want or need to.  I think that would make the few Windows BZR users happier.21:20
mandelvds: pros: we do not have all the crazy xml for the msi and .net build script in desktopcouch. Just have python in the project. cons: full desktopcouch solution will be divided in two location making windows developers look in more than one place.21:21
ralsinamandel: but windows developers could just get the installer, right?21:22
mandelralsina: if the want to use desktopcocuh, yes, only the installer21:22
CardinalFangmandel, I don't mind a ./desktopcouch/platform/windows and plat/windows/... in trunk, FWIW.21:22
mandelralsina: it should build everything and grab the latests version of desktopcouch from bzr21:22
ralsinaI expect that's what they would do. So it's only annoying to people that use bzr directly and are bothered by having to use two branches. Small set, I expect.21:23
ralsinaThat set probably includes me, but I don't care ;-)21:23
mandelralsina, vds, thisfred, CardinalFang 'll do the following, do it in lp:desktopccuh, propose it, and if it is horrible I'll divide it, is that ok?21:23
CardinalFangGood with me.21:24
thisfredfair enough21:24
ralsina+121:24
vds+121:24
thisfredlet me know when the review is up. I reserve te right to not answer ;)21:24
dobeyhmm21:24
mandelthisfred: haha sure21:25
mandeldobey: hmmm is about the above?21:25
dobeyhmm was "i just realized there was some significant discussion going on over here"21:25
dobeyoh well21:26
dobeyugh21:26
dobeybuildds must be swamped for some reason21:26
dobey"starts in 2 hours"21:27
ralsinamandel: so, did you find out if you are working tomorrow?21:28
mandelralsina: I am, I though I told you already21:29
* ralsina must have missed it21:29
mandelralsina: but you are free give me a free day :)21:29
ralsinaOk, I think I' ll go be a parent for a while. have a nice day everyonr21:29
mandelralsina: same there21:29
ralsinamandel: no I can't because canonicaladmin won't let me manage anyone yet :-)21:29
jcastrobeuno: you can just update your original answer here: http://askubuntu.com/questions/17618/mobile-music-playback-on-android-phone-keeps-buffering22:37
jcastrothe person will get an autonotificiation when you edit your answer22:37
beunojcastro, so, edit rather than adding a new one like I did?22:38
jcastroyep22:38
jcastroediting also bumps it22:38
jcastroso you'll be good22:38
beunocool, done22:39
beunojcastro, delete the old one?22:39
beunoer, "new" one22:39
jcastroyep22:39
beunojcastro, done and done!  thanks for the mentoring22:39
jcastrono worries, I'm so glad how this is turning out22:39
beunostackexchange is AWESOME22:40

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