/srv/irclogs.ubuntu.com/2012/09/14/#ubuntuone.txt

chaselivingstonping mmcc: around?00:26
mmccchaselivingston: EOD a little while ago, just checked in and saw your ping. I'll be back a bit tonight, maybe email me? or I'll just catch you tomorrow00:55
chaselivingstonmmcc: cool, i'll email you00:56
=== tamotsukun is now known as ramon
=== mmcc_ is now known as mmcc
=== Chipaca` is now known as Chipaca
JamesTaitHappy Friday, folks! :-D09:59
ramonHappy Friday ;)10:25
czajkowskimandel`: mandel two of you!10:26
mandelczajkowski, yes, bip server issues :)10:29
=== Guest71222 is now known as adorilson
alecumandel: hello!12:01
gatoxgood morniing12:07
ralsinagood morning!12:31
gatoxralsina, hi12:32
gatoxpeople, ralsina is having issues with his internet connection, and he can't leave his home at this moment.. just to let you know13:03
gatoxthe sync menu is looking gooood! :D13:17
=== m_conley_away is now known as m_conley
mandelalecu, hello!13:35
mandelalecu, sorry I was out for lunch13:35
alecuhola mandel!13:37
alecumandel: any news about the demo?13:37
alecumandel: did you got my latest branch?13:38
mandelalecu, yes, I saw your latests branch, so far I have no idea about the demo, we should ash ralsina13:39
dobeygatox: so what does it look like?13:44
gatoxdobey, like it works :P13:45
gatox(the new one)13:45
alecumandel: have you pushed the unity branch that fixes the state machine?13:46
dobeygatox: i was hoping for pictures :)13:47
gatoxdobey, let me add the progress bar and i'll have pretty pictures :P13:47
mandelalecu, not yet, let me finish a fix I have and send it to you13:48
dobeygatox: how about a reivew of https://code.launchpad.net/~dobey/ubuntuone-client-data/move-icons/+merge/124425 ? :)13:59
gatoxon it13:59
mandelalecu, pushed to lp:~mandel/avani/u1-payment-preview there are BIG problems with the new layout of things and the new fonts, fixing them at the moment14:04
gatoxdobey, +114:04
mandelalecu, you will see that the transition to the new preview is broken, so we have to add extra code to DashView.cpp to know how to do it correctly14:04
alecumandel: what about the password entry box?14:06
alecumandel: does it still show the password contents???14:06
mandelalecu, yes, major bug there.. even doing the following: lp:~alecu/avani/unity-lens-music.ubuntuone-purchase does not work14:07
mandelalecu, I need to debug nux :(14:07
mandelalecu, I don't think it really supports it, but is easy to implement14:07
alecumandel: right14:09
alecumandel: the thing is that to complete a purchase right now you need to use your real password, so make sure to change it after your demo :-)14:09
mandelalecu, sorry, pasted the wrong code, I meant doing: password_entry_->text_entry()->SetPasswordMode(true)14:09
alecumandel: ah, "even doing"... the above.14:10
mandelalecu, yes, and we just found the error, a bug in nux14:16
mandelalecu, doing a workaround right now14:17
mandelalecu, if you pull you will have a copy with no public password14:23
alecumandel: great, thanks!14:23
mandelalecu, I'll keep improving the ui to make the layout work.. we lack a grid layout or a form layout in nux so getting the things right with HLayout and VLayout is a hard thing to do :-/14:24
gatoxalecu, ping14:39
alecugatox: pong14:39
gatoxalecu, pm14:39
* dobey wonders when ralsina will have internet again14:45
gatoxdobey, do you need me to send him a sms?14:53
dobeyno14:53
dobeyand i can do that if i need to anyway :)14:53
dobeyirc-sms gateway == win14:54
mmcc_good morning everyone14:56
gatoxmmcc_, hi14:56
=== mmcc_ is now known as mmcc
mmcchi gatox!14:57
ralsinadobey: here I am!14:58
facundobatistadoes anybody know where the "temp-directory" is set for the tests when I run "make test" in the client?14:58
ralsinaI am changing ISPs on monday, so hopefully this will not happen again14:59
ralsinayeah right14:59
dobeyheh14:59
thisfredme15:00
gatoxme15:00
dobeyfacundobatista: it's set to the default trial directory; do you need to change it for a test run?15:00
dobeyme15:00
facundobatistadobey, where the default trial directory is set? my problem is that it's being set to an unicode path and this break an assertion in code15:01
mandelfacundobatista, isn't it in devtools?15:01
dobeyin trial15:01
facundobatistamandel, can not find where15:01
mandelfacundobatista, sets the env variable, right dobey?15:01
mmccme15:01
alecuoh, me15:01
dobeyit's os.path.join(os.getcwd(), '_trial_temp') by default15:01
gatoxthisfred, go 12:0215:02
facundobatistadobey, where's that? if I run that in a clean python env, I get bytes path15:02
thisfredDONE: being sickish TODO: finish private u1db server API | make playlists work with that API BLOCKED: no NEXT: gatox15:02
gatoxDONE:15:02
gatoxMoving forward with the SyncMenu implementation in u1-client. Trying to get the timer to work to update the progress of the files being uploading.15:02
gatoxTODO:15:02
gatoxFinish with the sync menu implementation.15:02
gatoxBLOCKED:15:02
gatoxNo15:02
gatoxdobey, go15:02
dobeyfacundobatista:         trial_temp_dir = os.environ.get('TRIAL_TEMP_DIR', os.getcwd())15:02
dobeyDONE: team call, stopped u1client-data FFe/UIFe, researched webapps packaging, bug #105092315:02
ubot5Launchpad bug 1050923 in ubuntuone-client-data stable-4-0 "Icons not getting installed" [Undecided,Triaged] https://launchpad.net/bugs/105092315:02
dobeyTODO: reviews, new icons?, webapp package15:02
dobeyBLCK: None.15:03
dobeymmcc: go15:03
mmccDONE: helped lisette with daemon issues, root daemon version checking / upgrading15:03
mmccTODO: daemon event processing bug with move15:03
mmccBLOK: daemon upgrade runs into apparent bug in apple code or docs,15:03
mmccNEXT: alecu15:03
alecuDONE: lens now contacts all required webservices and completes a purchase15:03
alecuTODO: handle lots of errors and corner cases, lots more tests15:03
alecuBLOCKED: no!15:03
alecuNEXT: ralsina, when he gets back15:03
dobeyfacundobatista: that bit is in dev-tools15:03
alecuoh, he's here!15:03
facundobatistadobey, ok, that I get bytes15:04
facundobatistadobey, but next line does:15:04
facundobatista        homedir = os.path.join(trial_temp_dir, options['temp-directory'])15:04
facundobatistaand that options['temp-directory'] is unicode for me15:04
facundobatistaand I can not find where options['temp-directory'] is set15:04
dobeyfacundobatista: it is set in trial itself15:04
dobeyfacundobatista: but in dev-tools we use unicode_literals, and maybe something is causing that to be unicode as well15:05
briancurtinDONE: banging on tests, loving python315:05
briancurtinTODO: keep on porting, hopefully get to a point where the devtools branch can be merged without breaking SSO15:05
alecubriancurtin: standup!15:05
ralsiname (and hey, I am just connecting ;-)15:06
dobeyfacundobatista: oh, sorry it's set in dev-tools15:06
dobeyfacundobatista:                      ['temp-directory', None, '_trial_temp', None],15:06
ralsinaDONE: calls, fought the ISP man, and the ISP man won, 1-1s, some reviews, planning TODO: catchup, decisions BLOCKED: not yet15:07
facundobatistadobey, yeap15:22
facundobatistaalecu, dobey, so, we're setting the _trial_temp directory to unicode, and then in expand_user() in the client we assert isinstance(result, str)15:23
facundobatistaalecu, dobey, what should we do?15:24
facundobatistaalecu, dobey, if we remove the15:25
facundobatista                     ['temp-directory', None, '_trial_temp', None],15:25
facundobatistaline,15:25
dobeyfacundobatista: and a test in client is failing?15:25
facundobatistait uses the same value from twisted, that is bytes15:25
facundobatistadobey, yeap15:25
facundobatistadobey, u1trial -t TestRequestQueue.test_with_one_run tests/syncdaemon/test_action_queue.py15:26
facundobatistaa bunch in there, but only because they use expand_user()15:26
facundobatistaI mean, not the test is failing15:26
facundobatistait uses expand_user, production code, that has an assert that explodes to the temp dir that is being set when running the tests15:26
dobeyhuh, why is it not failing in tarmac or nightlies?15:29
facundobatistadobey, it's a very good question15:30
* gatox lunch + errands15:33
=== gatox is now known as gatox_lunch
facundobatistadobey, maybe something is not really updated?15:35
facundobatistadobey, in nessita's machine (I'm here with her), that has an english machine and all updated, it fails also with the same15:36
nessitafacundobatista: you wanted this output? http://pastebin.ubuntu.com/1204997/15:36
dobeyfacundobatista: no, everything is updated in tarmac/nightlies. it fails for me doing the u1trial -t to only run that test, but if i do u1trial tests/syncdaemon/test_action_queue.py it passes15:36
facundobatistadobey, oh15:37
dobeyfacundobatista: so perhaps there is some issue with isolation in that file?15:37
facundobatistaugly indeed15:37
facundobatistadobey, or maybe it just changes the order in how options are taken15:37
facundobatistadobey, remember that u-dev-tools are setting (in unicode) the same setting that twisted does (in bytes)15:38
facundobatistaso, if u-dev-tools one comes second, all breaks, if twisted comes second, all works15:38
facundobatista(the "comes first/second" that I mean is in u-dev-tools/devtools/utils.py, _parse_arguments)15:39
dobeyfacundobatista: i don't think that's possible?15:40
facundobatistadobey, the order change?15:40
dobeyyes15:41
facundobatistadobey, I'm checking that right now15:44
facundobatistadobey, no order change: if you don't run with the "-t", the u-dev-tools are not set into the game15:45
facundobatistadobey, so, without "-t" (even running the whole test file, not the whole test suite), only the twisted's 'temp-directory' option is taken15:46
dobeyif i print repr of the default value, u'_trial_temp' is printed second in both cases15:46
dobeyfacundobatista: how did you determine that?15:46
facundobatistadobey, in u-dev-tools' utils.py, put this print:15:47
facundobatista        print("========= adding", class_obj, class_obj.__dict__.get(attr, []))15:47
facundobatistain line 44 (before list_obj is extended)15:47
facundobatistadobey, it tells you where the options are, and from where they came15:47
dobeyfacundobatista: both are added in both cases, for me, afaict15:53
dobeyfacundobatista: http://pastebin.ubuntu.com/1205030/ is what i see15:54
facundobatistadobey, which print did you put?15:55
dobey        print('==add===', class_obj, class_obj.__dict__.get(attr, []))15:55
facundobatistadobey, really? I see a lot more of addings, not only those two each time15:56
facundobatistaah, you're grepping, sorry15:56
dobeyright :)15:56
dobeyfacundobatista: i need to get something to eat, but i think the first thing we need to do is figure out why it isn't failing in the case of running the whole suite, and fix it to ensure it always fails. will poke a little more after lunch :)15:59
dobeybbiab16:00
facundobatistadobey, I also put a print in the expand_user, call, see this:16:16
facundobatistawhen running only that test: https://pastebin.canonical.com/74581/16:17
facundobatistawhen running everything: https://pastebin.canonical.com/74582/16:17
facundobatistain the second pastebin, the _trial_temp is broken, but if you go to line 1060 you see that expand_user is not being called for that same test!16:17
facundobatistadobey, *probably* because the expand_user() call comes from a chain of calls regarding configuration, and the config is already up from another value?16:18
mandelalecu, just pushed a version to lp:~mandel/avani/u1-payment-preview with a decent text input (first version, I need to clean the code) but does have the bits we need, looks like the search bar and has password support16:32
mandelalecu, in case you want to take a look16:33
mandelEOD here, see you all!16:37
mandelEOD here, see you all on monday!16:37
mandelhave a great women16:37
ralsina"have a great women"? WAT16:47
=== gatox_lunch is now known as gatox
briancurtinnice, the whole vmware program froze...16:55
ralsinabriancurtin: detailed emulation.17:05
briancurtin:)17:12
=== trijntje_ is now known as trijntje
dobeyfacundobatista: ah, possibly17:26
dobeyfacundobatista: though weird that it's not unicode in any of those other tests, no?17:28
facundobatistadobey, indeed17:35
dobeyfacundobatista: ah, i wonder if it's one of the things that patches user_home?17:37
dobeyah-ha!17:39
dobeyindeed17:39
alecu"have a great women" indeed, mandel!17:40
dobeyfacundobatista: it's because BaseTwistedTestcase in u1client (in contrib.testing.testcase) patches ubuntuone.platform.user_home, so when you run that one test alone, it doesn't happen because it doesn't use that test case, but only the twisted test case17:40
facundobatistadobey, great you found it!17:41
dobeyfacundobatista: but now, how to fix it? kill the patching of user_home in that test case?17:43
dobeyfacundobatista: indeed, without that, i get a LOT of failures :)17:44
facundobatistadobey, *one* way to fix it is to remove this line from u-devtools17:47
facundobatista                  ['temp-directory', None, '_trial_temp', None],17:47
dobeyfacundobatista: or make it be b'_trial_temp' instead rather17:48
dobeyfacundobatista: but that also doesn't fix the problem of the tests not failing when it should :)17:48
facundobatistadobey, ah, yes :)17:48
dobeywell i made the tests fail, then pass again; only changing u1client, but i don't know if we want an .encode() there17:49
dobeymmcc: ping18:18
mmccwhat's up dobey?18:19
dobeymmcc: hey. i'm making a branch to windows-installer to add ubuntuone-client-data to the sourcedeps branches; i see in the plist file a couple of references to .icns files, but don't see them anywhere. are they just not being included yet?18:19
mmcclooking…18:20
mmccyeah, the icns is just on my system. I didn't include it because I knew you were working on icon stuff18:22
mmccnow that you point it out, the plist has a redundant entry for the icon :) only one of those needs to exist18:23
dobeyok. i know basically nothing about plist files. can i point it to a file inside the tree of a sourcedep?18:24
mmccthe plist is only read by the app once it's bundled, so it only needs the filename, and setup-mac will have to copy from wherever the sourcedep is into the app wrapper18:25
mmccfeel free to assign me a bug for making it do that, just let me know where to find client-data in the buildout - I'm assuming parts/ubuntuone-client-data/ if you're just adding it like the other sourcedeps18:26
dobeyah ok18:28
dobeyi am just adding it like the other sourcedeps18:28
dobeybrb18:35
dobeyhrmm, maybe i should put it under sources, rather than sourcedeps19:38
dobeymmcc: where inside the tree does it need to be copied to, to add it to the .app?19:39
mmccdobey: not sure what you're asking - are you changing setup-mac or something else?19:41
dobeymmcc: yeah, to copy the ubuntuone.icns in19:41
mmccok, actually no need to change code in setup-mac -- as long as ubuntuone.icns is in the buildout/scripts/data/ directory, setup-mac will grab it and put it in the right place19:42
mmccoh, but if there's a setup in client-data, setup-mac should call that in the prepare step, then copy the result in to scripts/data19:43
dobeyah, it's in a separate project. i'm fixing u1-win-installer to pull that project with buildout, and pull the icons for mac/win19:43
mmccmake sense?19:43
dobeywell the .ico and .icns are just stored in vcs; setup.py doesn't isntall them. and generating the icons on mac/win will be painful19:44
mmccis the icns generated by client-data or just stored?19:44
mmccah ok19:44
dobeyboth19:44
dobeyif you change the .svg and run the build_png or build_icns command, it will want to regenerate the PNGs, and then regenerate the icns file19:44
dobeywell build_icns will regenerate the icns file19:45
dobeywhich we will need to do on mac at some point19:45
mmccok, but if I just grab a new branch, the icns will be there?19:45
mmccthen we just need to add something like what we do for the certs in setup-mac.py:407 -- just copy the .icns into data/ in the prepare step19:46
dobeyyes19:46
mmccyeah, just a simple shutil.copyfile and you're set19:47
dobeybut i need to change client-data a bit, becuase the png2icns tool on linux doesn't support the fancy @2x sizes and such19:47
dobeyah ok, to data/ then19:47
mmccyep19:47
gatoxeod here!! need to start preparing the things for the PyDay Cba... i'll see some of you tomorrow! bye! :D20:02
dobeymmcc, briancurtin: i'll request you both as reviewers for this branch…20:08
mmccsounds good20:08
dobeymmcc, briancurtin: https://code.launchpad.net/~dobey/ubuntuone-windows-installer/add-data/+merge/12450920:10
briancurtinlooking20:10
=== salgado` is now known as salgado
mmccargh crashy emacs20:18
mmccdobey, in setup-mac.py, the line "+        os.chdir(os.path.join("sources", "ubuntuone-client-data"))" should have os.path.join(self.source_dir, "ubuntuone-client-data") instead20:23
mmccusually the sources aren't in sources/, they're in devsetup/parts20:23
mmccwhich is the default for source_dir…20:23
dobeyah. i was actually editing the plain setup.py when i made that change, and copy/pasted it; i wonder if it should be using self.source_dir too, or is that different between darwin and win?20:28
mmccI think it's different20:30
mmccyeah, looks like the windows setup assumes everything's in sources/20:30
dobeyyeah, it does. wondering if that is broken though20:31
briancurtindobey: i have a change you'll need to make in conf.py to include client-data in the fetch command for the build_installer.py script20:33
briancurtinre-running it right now then will post it20:33
dobeyah, i see20:34
dobeybriancurtin: fixed/pushed20:37
=== yofel_ is now known as yofel
briancurtindobey: NameError on sp_revno...but it doesn't appear in trunk either20:55
briancurtinalthough it doesnt seem to fail on trunk either, at least as far as i know. trying now20:56
mmccpyflakes tells me there's also a (not new to this branch) typo'd "URL" instead of "url" on line 376 of setup.py…20:57
dobeybriancurtin: oh; i see the windows setup.py isn't building storage-protocol either20:58
dobeybriancurtin: why is that?20:58
briancurtinno idea20:59
mmccI don't think it needs to21:00
dobeywhere does it get the _pb2.py files which are built by protobuf from?21:01
dobeysetup-mac.py does build it21:01
briancurtindobey: that might be a part of the environment setup, since i know i had to add a way to download and locally install the protoc compiler. i21:02
briancurtini'll check on that21:02
alecuok, this is an early EOW for me. bye all!21:03
dobeybriancurtin: ok. i can remove that one for now as it wasn't there before. i had presumed it was overlooked (didn't actually check the code)21:07
briancurtindobey: i'm running it without sp_revno right now. that appears to have been the last thing21:08
dobeybriancurtin: removed the sp_revno usage, and pushed21:09
mmccdobey, works for me, +121:15
mmccbrb21:15
briancurtindobey: works, approving now21:16
dobeygreat, thanks guys21:17
mmccok, lunchtime here. if you guys leave before i get back, have a great weekend. or a great women, your choice21:30
dobeyboth! :)21:31
dobeyhave a great weekend all!21:31
briancurtinhahaha21:31
mmccok, heading out. if I hear back from apple's dev support guy about this code signing issue I'm having I might be back later to fix it. great women and men to everyone!23:07
=== m_conley is now known as m_conley_away

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