/srv/irclogs.ubuntu.com/2012/04/24/#ubuntuone.txt

achianghello, i went into the web U1 interface and selected a folder to "stop syncing". while i do understand the message that it does *not* delete my local folder, do i understand correctly that it deleted the server copy?02:29
=== m_conley is now known as m_conley_away
mandelmorning!08:32
ryeachiang: yes, you are right, the server-side copy will be removed and UDF will no longer be subscribed on the client08:38
JamesTaitGood morning, all! *8O)08:49
gatoxgood morning11:13
mandelgatox, morning!11:40
gatoxmandel, hi11:40
mandelgatox, I finally managed to fix the tests for domain sockets!11:43
mandelgatox, I need to ensure that I did not brake any on your windows vm ;)11:43
gatoxmandel, great...... i have the run-tests script working on mac, with a script to setup the env... only need to fix u1lint and i'll ready to propose the branches11:44
mandelgatox, superb! we start moving, great news \o/11:44
gatoxmandel, give your branches i'll test them11:45
mandelgatox, we have to be very very careful windows tests are kept like the are, linux is not a problem we have tarmac, but we are the windows tarmac ;)11:45
=== yofel_ is now known as yofel
alecuEHLO one.ubuntu.com12:23
gatoxalecu, buenas12:25
mandelalecu, hello!12:25
mandelalecu, logging ssl branch updating with the message you proposed12:25
mandelalecu, and I'm off to have lunch :)12:25
ralsinagood morning!12:48
gatoxralsina, good morning12:49
ryemandel: hi, about the SSL-moar-info-please thing, poking you :)13:02
dobeyhmm13:06
alecuhola ralsina. Hola dobey.13:09
joshuahooverralsina: is the installer briancurtin emailed to us yesterday the one that we should have some users try that are impacted by the 3.0 auth issues?13:09
alecurye, mandel is off for lunch. Got any more info on the issue?13:10
ralsinajoshuahoover: exactly13:10
alecujoshuahoover, yes13:10
ralsinajoshuahoover: should give us the actual SSL error13:10
ralsinarye: brian uploaded an installer yesterday with mandel's branch in it, I can give you the link13:10
joshuahooverralsina: very good, i'll see who we can get to test that out for us13:10
ralsinarye: http://u1.to/~brian.curtin/g/3.0.0-windows-installer13:11
dobeyhola alecu13:12
ryeralsina: oh, that's what is it, ok13:31
* mandel back!13:40
mandelalecu, so in https://code.launchpad.net/~mandel/ubuntu-sso-client/fix-ssl/+merge/103147 I would add the logger, I know is not used, but ensures that the weclient api is consistent over all implementations13:44
mandelalecu, if we remove the skip we will have failures such because of the lack of logger13:44
thisfredralsina: lucio and I have been discussing whether or not to ask for a bit of design help on the u1todo example app, to make it more compelling. We decided to ask for your opinion in the matter... :)14:06
ralsinathisfred: please do, I have seen how that looks and it needs it ;-)14:06
ralsinathisfred: although it's an example app so the theming code may be distracting14:07
ralsinathisfred: but just a qss can do wonders for it14:07
ralsinathisfred: and layout14:07
thisfredralsina: yeah I want to keep the layout code to a minimum, but since the ui is already separate, we should be able to spruce it up a little14:08
thisfredralsina: ok, so do I ask lisettte directly? (hi! ;) or do I need to go through channels, and if so what are they?14:08
ralsinalet's just ask lisette, but it all depends on how much work she has on her plate14:09
ralsinathisfred: we could also just STEAL14:10
thisfredIt's not super urgent. I'm trying to keep the code and ui as independent as possible, so adding it later should still be easy enough14:10
ralsinathisfred: yes, the major functions are already in place14:10
lisetttehi ralsina, thisfred, what's up?14:10
thisfredralsina: from what? u1cp?14:10
ralsinathisfred: and minimalistic is nice14:10
ralsinathisfred: from the world. Find a todo app people like :-)14:10
thisfredlisettte: hi, I'm developing a little example app on top of u1db14:10
thisfredlisettte: mostly to show developers how to do stuff14:11
lisetttethisfred: sounds cool14:11
dobeyugh. not feeling the greatest today14:12
thisfredlisettte: we'd like it to look a little less ugly than I made it so far, but it doesn't have to be on brand or anything, since it's just example code.14:12
lisetttethisfred: aha14:13
ryeok, ubuntuone-scripts are unmanageable now. Starting to manage14:17
ralsinadobey: you *are* the greatest. There, better?14:18
dobeyno :)14:19
ralsinahey, I tried!14:20
dobeybut i did just troll Neil deGrasse Tyson again, so it's a start.14:20
gatoxdobey, ping... question: in mac we are using the buildout to configure the development environment, the thing is, im trying to keep the things as independent as possible, but u1lint is starting pylint as a process and this process is tryinng to use the python from the system, not the one from the buildout... it is reasonable to modify u1lint to start the python from the buildout instead of the one from the system for MAC?? (just wanted to kn14:20
gatoxow if i can do that... to avoid adding a lot of folders from the buildout to the pythonpath of the system)14:20
ralsinayou mentioned that on "Iron Sky" the moon nazis are not astronomically correct?14:20
ralsinagatox: why not just manipulate PATH?14:21
dobeyralsina: no. much much better than that: https://twitter.com/#!/dohbee/status/19479215579189248014:21
ralsinahe14:22
gatoxralsina, path? i'm addinng a python_u1... to avoid crashing and don't affect the system just to run tests, etc14:22
dobeygatox: i have no idea how the buildout works. why does pylint not "just work" ?14:22
ralsinagatox: let's talk about this on mumble in 10'. You are probably making it too hard for yourself :-)14:22
dobeygatox: and how do we solve this for other places where we do subprocess.Popen()?14:23
ralsinagatox: for example: u1lint probably has system python on its shebang, and shouldn't14:23
gatoxdobey, inn other places we have all the dependencies installed in the system...... that is not what the buiildout do14:23
ralsinagatox: or pylint does14:23
gatoxralsina, yes, i know14:23
dobeyralsina: conversly, i recently saw a report about us using "env python" on shebang, and saying we shouldn't14:24
gatoxralsina, ok...... let me know when you can have a quick mumble, and i'll tell you what is going on14:24
ralsinagatox: in both cases, that's because they were installed using the system python, since setup.py is supposed to put the "right" python there14:24
ralsinadobey: yes env python is bad for things that are installed system wide14:24
briancurtingatox: subprocesses don't really start correctly in the buildout - i have the same problem in Windows that i've temporarily fixed by finding the "bin\python-script.py" and inserting it as the first argument to sys.executable14:24
dobeyhmm14:25
gatoxbriancurtin, i add the bin folder from the buildout to the PATH...... but i rename the python in there to python_u1, and use that to run tests, etc14:25
briancurtinso if you want to run Popen([sys.executable, "yourscript.py", "your arg"]) it really has to be [sys.executable, "path\to\bin\python-script.py", "yourscript.py"...]14:25
ralsinaso, let's call the custom python "python" and add that to the PATH14:26
ralsinawhy would that not work?14:26
ralsinaexcept of course for things that have the python hardcoded14:26
dobeybriancurtin: hrmm, nobody should ever be passing sys.executable to Popen()14:27
briancurtindobey: any reason?14:27
thisfredlisettte: to give you an idea of how much we need your help, this is what it looks like now: http://ubuntuone.com/1aHSGoXtfWsHs91TmR6CKt Note that this is not super urgent, so it needs to be planned in at some point, and again, the aim is not to make it look as good as possible, but more like someone has actually given any thought to it.14:27
gatoxralsina, well... in this case doing that i'll have the same problem, because pylint has that.....14:27
ralsinagatox: unless we install pylint using that python14:28
thisfredalso: one feature that isn't shown yet is "ta14:28
ralsinaor we also do a virtualenv14:28
dobeybriancurtin: well, it's python, so any random piece of code you import could change it out form under you. and there should never be any need to use it. if you find yourself using it, you're grasping straws to work around a larger problem, it would seem14:28
thisfred"tags", which have to be attachable to any item, and searchable/filterable14:28
gatoxralsina, actually now the ONLY problem remaining is for pylint... if it is possible to modify u1lint to add 1 line...... problem solved14:29
briancurtindobey: so how would you start a script using the same python interpreter you used? i get that someone could change it, but we're running tests with it (the common usage of Popen([sys.executable...])), so...don't change it14:29
lisetttethisfred: cool14:30
dobeybriancurtin: why should you start a script with the same interpreter?14:31
ralsinadobey: because we don't want to use the broken system python14:31
briancurtinwhy wouldn't you? i dont get it. problem: i want to run another script - solution: run another script14:32
dobeyyes, why do you *care* what interpreter it runs with, or that it's python?14:32
ralsinadobey: because pylint *loads* the module it's parsing. If the module uses things that are not installed on the python pylint is using, it breaks horribly.14:33
dobeyhow is that a problem with Popen() though?14:35
ralsinadobey: it's a problem with pylint using the wrong interpreter. If when calling popen you call "therightpython pylint" it works14:38
dobeywhy is pylint using the wrong interpreter? PATH is wrong?14:38
gatoxdobey, pylint is using the interpreter from the system, and the buildout generates his own python with all the libs14:39
gatoxwe want to use the one from the buildout14:40
dobeybut *WHY* is it using the system one?14:40
gatoxbut without breaking the one from the system14:40
ralsinadobey: because pylint's first line says "#!/usr/bin/python"14:40
dobeyso do all of our scripts14:40
ralsinadobey: not i they are installed via setup.py with the python you want to use. The shebang is corrected on install.14:41
ralsinaWhich is why I believe that pylint is not installed correctly14:41
gatoxralsina, ( briancurtin correct if i'm wrong ) we don't have pylint installed, we have the eggs inside the eggs folder from the buildout and we are taking them from there14:42
briancurtingatox: correct14:43
=== Guest70849 is now known as zumbi
gatoxralsina, so that's why we need to call it in this case like: python_u1 pylint *args14:44
urbanapeDr_Who: thanks for all the input on the Files app. I'll be incorporating a lot of that over the next few days.14:44
=== zumbi is now known as Guest86751
ralsinagatox: if pylint is not installed, where did that pylint came from/14:44
ralsina?14:44
gatoxralsina, fromm the buildout, the buildout download a bunch of stuff...... but don't install those libs, instead creeate a custom python that use them, so your system remains clean from the development environment14:45
mandelgatox, FYI in order to ensure that we do not brake lots of things with the tcpactivation I first have to make some changes in devtool14:45
ralsinagatox: and it installs a pylint script with the wrong shebang?14:45
gatoxmandel, ack14:45
Dr_Whoyou're very welcome urbanape :-)14:46
gatoxbriancurtin, can you explain that? ^^14:46
Dr_Whourbanape, will certainly do some more14:46
dobeyralsina: maybe it got built with system python?14:46
ralsinadobey: that's my guess14:47
dobeya full log of the buildout build would be helpful i guess :)14:47
* ralsina suggests editig the freaking pylint script14:47
briancurtingatox: i have no idea. on windows theres no shebang. we have an env.bat script which sets up paths and copies pylint (and a few others) out of their deep egg structures and puts them in the bin\ folder to be run14:47
ralsinabriancurtin: and those bats use the system python instead of the custom one?14:47
gatoxi'm doing something similar in mac14:47
briancurtinralsina: everything is started from bin\python.exe which is actually the system python but called with bin\python-script.py to setup "the buildout" (modifies sys.path to point to all of the eggs and whatnot")14:48
ralsinabriancurtin: ok, I am lost now. But that's normal.14:49
* ralsina suggests using a virtualenv14:49
ralsinabut probably just more hassle14:49
gatoxralsina, we are going to have some problems with PyQt with virtualenv i think14:49
ralsinagatox: I just copy it14:50
ralsinagatox: since it doesn't install in virtualenv14:50
ralsinagatox: or buildout for that matter14:50
briancurtinbin\python.exe actually executes """C:\Python27\python.exe bin\python-script.py""" to give your bin\python.exe the right environment14:50
ralsinabriancurtin: ahhhhh14:50
ralsinaok, so if it's just pylint, and we use pylint for nothing else, let's change pylint.bat (and the pylint shebang on mac) so it does the right thing/14:50
ralsinaor let's not run pylint on windows where it never wors anyway14:51
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-client/queue-limit-3-0/+merge/10317414:53
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-client/fix-981255-3-0/+merge/10317914:54
dobeythisfred, urbanape: ^^ if you could please review those. they're simple backports from trunk to stable-3-014:54
thisfredkk14:54
dobeyralsina: btw, what about switch to pyflakes/pep8 or flake8 and just killing pylint?14:55
Dr_Whourbanape, say did you have any thoughts / feedback on the little design tweek I had sent you ?14:55
ralsinadobey: pyflakes/pep8 doesn't notice missing docstrings14:55
ralsinadobey: and that was just the first time we tried to use it on something14:56
urbanapeDr_Who: we actually had some mockups like that, and have some UI work on the roadmap that will enter that territory.14:56
Dr_Whoo cool ?  is that up on a wiki somewhere or akin ?14:57
gatoxmmmmm it's really easy to check for missing strings with ast....14:57
* gatox is going to send a patch to pyflakes14:57
gatoxmissing docstrings14:57
ralsinain any case, even a first quick test did not fill me with confidence :-(14:58
dobeyboo14:58
gatoxme15:00
dobeydoes PEP 8 require docstrings? or is that all PEP 257?15:00
briancurtin257, 8 just references it15:01
gatoxralsina, dobey thisfred mandel alecu briancurtin mmcc standup?15:02
thisfredme15:02
dobeymeh15:02
alecudobey, pep8 does requires some docstrings; pep257 expands on it. http://www.python.org/dev/peps/pep-0008/#documentation-strings15:02
ralsiname15:02
alecubut... "Docstrings are not necessary for non-public methods"15:03
alecume15:03
* mmcc doesn't know what to say here. me?15:03
briancurtinme15:03
ralsinammcc: yes :-)15:03
mandelme15:03
mandelups15:03
gatoxDONE:15:03
gatoxImprove MAC OS scripts to configure the development environment. Almost done, just need to fix some issues running pylint.15:03
gatoxTODO:15:03
gatoxFinish with the mac os scripts and propose the branches for all U1.15:03
gatoxBLOCKED:15:03
gatoxNo15:03
gatoxthisfred, go15:03
thisfredDONE: found and fixed indexing bug in u1db, added real persistence to u1todo TODO: bug #987414 BLOCKED: no NEXT: dobey15:04
ubot5Launchpad bug 987414 in U1DB "Implement get_index_keys_from_index" [Wishlist,Triaged] https://launchpad.net/bugs/98741415:04
dobeyλ DONE: backports, expense, review15:04
dobeyλ TODO: backports, SRUs, u1db packaging/buildsys15:04
dobeyλ BLCK: none.15:04
dobeyralsina15:04
ralsinaDONE: tech leads call, mgmt call, helped around, some reviews, management stuff, etc. TODO: help around, reviews, etc. BLOCKED: no15:04
ralsinaalecu?15:04
alecuDONE: some research on SSL handshake error, team leads meeting, back to security issues15:04
alecuTODO: roadmap call, code some more15:04
alecuBLOCKED: no15:04
alecuNEXT: briancurtin15:04
briancurtinDONE: fought with Qt/PyQt version matching, got environment re-setup after that to do a one-off release and test it15:04
briancurtinTODO: i think i have Qt/PyQt figured out, have to rebuild it. fix up installer issues15:04
briancurtinBLOCKED: None15:04
briancurtinNEXT: mmcc15:04
mmccDONE: email, wiki setup; code and dependencies downloaded15:04
mmccBLOCKED: None15:04
mmccTODO: run tests, ask lots of questions15:04
mandelok, I go15:05
mandelDONE: Update ssl logging branch according to reviews. Some reviews. Work on tcpactivation got to the point of having tests running via tcp and domain sockets. Work on getting squid tests running on windows (will propose in a little)15:05
mandelTODO: add a bug so that tcp test cases from ubuntuone devtools can use endpoints (allow domain sockets to be used) Propose squid tests on windows.15:05
mandelBLOCKED: no15:05
urbanapedobey: you're good to go15:05
* urbanape needs to remove himself from review days15:05
dobeyoh right, guess we should put mmcc there instead :)15:06
ralsinaurbanape: yes, and you can probably stop showing up on standups, although you are welcome :-)15:06
ralsinadobey, mmcc: yes, mmcc you are going to have a code review day. Take friday so you are not alone :-)15:06
ralsinammcc: at least for the 1st month15:07
ralsinammcc: the review day schedule should be in your google calendar15:07
mmccralsina, ok, I'll check15:07
dobeymake sure you log in with the right account to google docs :)15:08
mmccralsina: I have nothing on there right now.15:08
ralsinammcc: hmmm15:08
mmccdobey: yep :) I use a separate browser for my personal account, for years now15:08
ralsinammcc: do you have any calendars other than your own?15:08
mmccralsina: no - just mine and "Tasks"15:08
ralsinammcc: ok, sending you a few15:09
ralsinammcc: your account name?15:09
mmccmike.mccracken@canonical.com15:09
mandelralsina, any idea why would I have a TCP miss in squid when trying to get a resource form localhost?15:09
ralsinamandel: TCP_MISS is normal, it means "getting from server"15:10
ralsinammcc: there, you should now have 3 more calendars15:11
mandelralsina, I get the following: paste.ubuntu.com/94421015:11
mandelralsina, the deny is expected, the miss are not happening on linux15:11
mmccralsina: yes. what is the the core hours schedule about? it's busy…15:12
ralsinammcc: I usually have that one disabled, but is to show you when each person in online services is supposed to be working15:12
ralsinammcc: just in case you want to see if you can meet with someone15:12
mmccralsina: ah, ok. I get it15:12
ralsinamandel: as I said, TCP_MISS is perfectly normal15:12
ralsinamandel: TCP_MISS or TCP_HIT are "good" results15:13
mandelralsina, hm.. so when that happens, what is the client mean to do?15:15
ralsinamandel: makes no diference at all to the client15:15
ralsinamandel: the client still gets a page15:15
ralsinamandel: TCP_MISS => gets it from the server TCP_HIT => gets it from cache15:15
mandelralsina, I'm getting a 504 Gateway timeout15:16
ralsinamandel: hmmm15:16
ralsinamandel: that's something else15:16
ralsinamandel: it could be it's not able to connect to the server15:16
mandelralsina, to localhost with no firewall, weird..15:17
dobeydamn sinuses15:17
ralsinamandel: squid should never "create" a 50415:17
* dobey has now deleted all the currently existing maverick packages from nightlies15:18
dobeyEOL FTW15:18
dobeymandel: btw, it seems squid is just slow to start on the lucid ppa build. :( https://launchpadlibrarian.net/102707979/buildlog_ubuntu-lucid-i386.ubuntuone-dev-tools_3.1%2Br66-19~lucid1_BUILDING.txt.gz15:19
mandeldobey, looking15:20
mandeldobey, shall we wait longer? for the rest of the platforms there is no problem15:21
dobeymandel: how long are we waiting now exactly?15:21
urbanapemmcc: if you want, you can just swap review days with me (Tuesdays)15:22
mmccurbanape: I don't know enough to have a preference :) whatever's easiest, I guess…15:23
urbanapewell, I just switched it to eric/?? for today.15:23
mmccurbanape: but today might be a bad day to start ;) (or a good day?)15:24
urbanapeLike the Klingons say, "Today is a good day to review merge proposals."15:24
thisfredI just switched it to ralsina/ralsina15:24
mmccurbanape: those are some nerdy Klingons15:24
urbanape(it's a lot like dying)15:24
ralsinathisfred: hmmm15:24
ralsinathisfred: what's that, "anything can happen tuesdays"?15:25
thisfredoh wait, did you complete my evaluation yet? :D15:25
ralsinaurbanape: reviews are not at all like dying. Dying you only do once. Reviews, we do twice.15:25
urbanapehahahahaha15:25
ralsinathisfred: yes, it says, "ask jdo when he's back from the dentist"15:26
mandeldobey, look at like 222 in ubuntuone/devtools/services/squid.py15:26
mandeldobey, we look and try several times to know the state of the proxy, we can either increase the numbers or just add 10, 15 to it, longer might be too much15:26
thisfredralsina: truly anything can happen in that case :D15:27
thisfred"I'll get me coat then..."15:28
ralsinathisfred: he15:29
dobeyPerhaps today *is* a good day to dye.15:30
thisfredpunning clans are here again15:34
mandelthisfred, what mouse walks using just two legs?15:35
* thisfred puts fingers in ears and hums loudly15:35
mandelthisfred, Mickey Mouse!15:36
mandelthisfred, and the duck?15:36
* thisfred hums louder15:37
mandelthisfred, then I wont tell you :P15:39
mandelwindows es un hijo de puta que merece una muerte lenta15:41
mandelralsina, if you use locahols on windows + squid it does not know how to resolve it to 127.0.0.115:42
ralsinamandel: yuck15:42
ralsinaping localhols fails on linux too ;-)15:43
mandelralsina, double yuck, good news, ubuntuone-dev-tools squid tests now run on windows, which means I'll propose the branch and we can start running proxy tests on jenkins15:43
ralsinamandel: nice!15:43
mandelbriancurtin, ralsina, question, I'm using Popen to launch squid, if I use pipes on widows it always crashes, any idea?15:48
briancurtinmandel: do you have any example code?15:48
dobeyhmm15:48
mandelbriancurtin, sure, give me a sec and I'll push the branch15:49
ralsinamandel: it should just work, code please15:49
thisfredlolcaholics unanimous15:50
* gatox lunch15:53
=== gatox is now known as gatox_lunch
mandelbriancurtin, ralsina, if I do not pass -X to squid (which means be very verbose in stdout) it does not crash15:53
mandelbriancurtin, ralsina, you can find the code in lp:~mandel/ubuntuone-dev-tools/fix-squid-tests15:54
ralsinamandel: are you capturing stdout/stderr? If you are not, things may crash on windows15:54
thisfredcautionary tale: I used the string "lolcathost" once in a functional test to see what happened with illegal urls. Then I forgot all about that, and later when something changed and it failed, neither I now someone else who was looking at it actually saw it wasn't localhost, so we lost about an hour wondering why the test was asserting that it *shouldn't* work against localhost.15:54
mandelralsina, I do and when I don't it works15:54
thisfredThere's a lesson in there somewhere15:55
ralsinathisfred: next time use something that doesn't look like a typo :-)15:55
mandelthisfred, on windows we have been seeing dns lookups for localhost.. is weird15:55
ralsinamandel: then don't :-)15:55
thisfredralsina: that could well be it :)15:55
mandelralsina, I want to do things right :)15:55
ralsinamandel: localhost may or may not be in your hosts15:55
ralsinamandel: that ship has sailed15:55
mandelralsina, I could remove the -X will get less info but will work15:55
ralsinamandel: ok, no idea, really15:56
mandelralsina, then I'll remove the -X and screw windows since we have access to the jenkins machine to see wtf is happening15:57
=== Guest86751 is now known as zumbi
ralsinamandel: sounds like a plan16:03
ralsinamandel: let's pick our battles16:03
=== gatox_lunch is now known as gatox
alecumandel, since this will run inside trial, have you considered reactor.spawnProcess for squid?16:51
dobeymandel: capturing stdout/stderr on windows, crashes?16:53
mandelalecu, nop, but this is an update to present code, it sounds like a good idea for improvement16:54
mandeldobey, capturing A LOT of stdout makes squid on windows crash, not python16:54
dobeyoh16:54
dobeywell16:54
dobeysomething inappropriate about squid's mother, then16:55
mandeldobey, I did mention that too :)16:56
dobeyheh16:56
dobeyi would expect no less of you, mandel16:56
mandelthisfred, please review: https://code.launchpad.net/~mandel/ubuntuone-dev-tools/fix-squid-tests/+merge/10332516:56
mandeldobey, hehe I know16:57
mandeldobey, feel free to review ^16:57
briancurtinralsina: 1-1 in a few minutes?16:57
mandelralsina, briancurtin, I'd appreciate if you can test https://code.launchpad.net/~mandel/ubuntuone-dev-tools/fix-squid-tests/+merge/103325 on your windows boxes16:57
ralsinabriancurtin: let's do it16:57
mandeldobey, also, squid fails to parse C:\path\in\windows you have to add it to the config as C:\\squid\\has\\mummy\\issues16:58
dobeyof course16:59
mandeltypo intended :)16:59
mandeldobey, and fails to pick up localhost..16:59
* thisfred reviews17:00
mandelalecu, ralsina, FYI I'll be working a little tom morning on ubuntuone-dev-tools to add support for domain sockets in the tcp tests cases I added last time, that way I wont leave dirty reactor on linux and we will be able to run the tcpactivation and ipc tests both on domain sockets and tcp sockets17:00
dobeyuh17:01
alecumandel, great.17:02
mandelok, with that EOD from here, laters o/17:03
dobeyand i need to get lunch17:07
mandelalecu, I'm off to walk the dog and rugby, check https://code.launchpad.net/~mandel/ubuntu-sso-client/fix-ssl/+merge/103147 if you want I can remove logger, no problema what so ever, I'll me back at my 1:00 am or something like that17:14
alecumandel, great, thanks.17:14
briancurtinbe back shortly, running to the bank and to grab a sandwich17:19
ralsinathat nice feeling when the windows implementation works on linux17:25
=== ralsina is now known as ralsina_lunch
* briancurtin back17:43
gatoxok, now i have EVERYTHING working on mac17:43
mmccgatox: I'm listening, what wasn't working before? I'm still digging around getting familiar with the code I've grabbed…17:44
mmcc(so that'd be helpful info - knowing what shouldn't work :) )17:45
gatoxmmcc, i was just creating a couple of scripts so when you finish with the buildout, you can run another script to set some env-vars..... and then you will be able to run tests and lint checks, etc..... without a lot fo paths configuration and stuff17:46
mmccgatox: aha, so that's very relevant to my interests, as you might imagine17:46
gatoxmmcc, i'll update the document as soon as the branches start landing17:46
gatoxmmcc, yes :P17:46
mmccgatox: ok, good - for now I will just keep reading code/readmes/pyqt docs…17:49
gatoxurbanape, ping17:53
gatoxurbanape, hi, i'm going to create a branch from your mac-branch-port to fix the remaining things, so we can speed up that to make it land and we don't have to bother you with all the changes now that you went back to your team, if there is any problem with this please let me know :D17:58
gatoxand i'll propose the new branch17:59
achiangfacundobatista: so, last night i decided that u1sd simply couldn't handle a directory of 100GB+ so i did a workaround and just sync subdirs directly18:00
facundobatistaachiang, probably, I don't think anybody tried with throwing 100GB at once...18:00
mmccgatox: still figuring things out - so urbanape is on a different team and was just helping get the OSX port started? how long has the effort been going on and how far is it along?18:02
urbanapemmcc: not long18:02
urbanapeand yeah, I'm on the Web & Mobile team18:02
urbanapegatox: pong18:03
gatoxurbanape, hi... did you read my message?18:03
gatoxurbanape, it's ok with you?18:03
urbanapenope, no problem18:03
mmccurbanape: is there any overlap between the OSX code and your iOS code?18:05
ralsina_lunchgatox, dobey: reviews please https://code.launchpad.net/~ralsina/ubuntuone-control-panel/unique_in_ubuntu/+merge/10333618:05
gatoxralsina_lunch, on it18:05
ralsina_lunchdobey: that one should go in the P SRU so be harsh with it please ;-)18:05
=== ralsina_lunch is now known as ralsina
urbanapemmcc: not really. We could ostensibly re-use the SSO code, but right now, we're hewing more closely to the linux and mac ports.18:05
mmccurbanape: s/mac/win ?18:06
urbanapeer, yeah18:06
mmccyeah so I was just looking at the SSO stuff. I'm curious how it's done on iOS. I've used the OSX keychain, but I don't know what the done thing on iOS is…18:07
gatoxralsina, +118:15
ralsinagatox: thanks!18:16
mmccgatox: does one of your pending doc changes involve installing dbus? either I have a path wrong or I need to install…18:21
gatoxmmcc, no, you are probably trying to run the tests in the wrong branch or not ignoring the proper files18:22
gatoxmmcc, you don't need dbus18:22
gatoxmmcc, are you using this branch? https://code.launchpad.net/~urbanape/ubuntu-sso-client/initial-darwin-port/+merge/10111218:22
mmccgatox: sorry, bzr newbie. what's the fastest way to answer that question? :)18:24
mmccbzr info didn't seem helpful there18:25
gatoxmmcc, are you trying to run the tests for sso?18:25
mmccyes.18:25
mmccfor completeness' sake, here's what I'm doing:18:27
gatoxmmcc, show me the result of "bzr info" inside the sso foldeer18:27
mmccUsers/mmccrack/Documents/Canonical/Source/buildout-env/scripts/devsetup/parts/ubuntu-sso-client18:27
mmcc% bzr info18:27
mmccStandalone tree (format: 2a)18:27
mmccLocation:18:27
mmcc  branch root: .18:27
mmccRelated branches:18:27
mmcc  parent branch: bzr+ssh://bazaar.launchpad.net/+branch/ubuntu-sso-client/18:27
mmccoof, that was ugly. sorry for the multiline spam there18:28
gatoxmmcc, right...... so, there do: bzr merge lp:~urbanape/ubuntu-sso-client/initial-darwin-port18:28
gatoxmmcc, and you will merge your local copy of sso with the content of that branch18:28
gatoxmmcc, you can also branch locally if you want to leave that one clean, like this:18:29
gatoxbzr branch ubuntu-sso-client new-sso-branch......18:29
gatoxand merge in the new branch..... so you will keep a clean copy of sso just in case18:29
mmccgatox: ok, well for now I just merged in place. I can always grab a clean copy later I guess18:30
mmccthanks18:30
gatoxmmcc, yes.....18:30
gatoxmmcc, now, try to run the tests in that branch as the docs says, and let me know if that works18:31
mmccok, so the doc has a PYTHONPATH override that I need to translate to my filesystem again. just a minute18:33
gatoxmmcc, yes, the script that i made is going to avoid doing that..... but is not in trunk yet18:35
mmccgatox: that's good news :)18:37
gatoxmmcc, yep! :D18:38
dobeybah, where are the free downloads on google music now18:39
mmccgatox: so now it's dying when it tries to import resources_rc from ubuntu_sso.qt.ui - I note the import line has been wrapped with pylint comments…18:41
gatoxmmcc, yes...... sorry about that...... as you are running the test manually, you need to compile everything by your own.....18:41
gatoxmmcc, execute: python setup.py build18:41
mmccaha, ok18:42
gatoxmmcc, later when the ./run-mac-tests will be available, you wont need to do that (among other things)18:42
mmccgatox: are there other parts I need to build?18:45
mmccfrom ubuntuone.devtools.testing.txwebserver import HTTPWebServer18:45
mmccImportError: No module named txwebserver18:45
dobeyyay buildout using the old devtools18:45
gatoxmmcc, ahhhh that's because the devtools that the buildout is downloading is not the last version18:46
gatoxmmcc, you can do this:18:46
briancurtinyeah, that should be changed to be by source instead of a tarball/egg/whatever18:46
briancurtinor some other fix to get the latest version18:46
gatoxmmcc, (in another folder) bzr branch ubuntuone-dev-tools........ then replace the content of: buildout-path/eggs/ubuntuone-dev-tools*/ubuntuone/devtools....... when the content of the devtools that you download it18:47
gatoxmmcc, is it clear? i can explain it better if you want18:49
mmccgatox: yeah, I'm a little confused18:50
gatoxmmcc, ok..... typing......18:50
gatoxmmcc, do you have mumble already configured?18:50
mmccgatox: I'm going to say no, because I don't know what that is18:50
ralsinammcc: mumble is our corporate voip "solution"18:51
ralsinammcc: let me find the wiki page for you, but it should be on the new employee one18:51
dobeyit's also what some people do when on mumble18:51
mmccralsina, ok - then definitely no, but I do have it on the todo list, I have the link18:51
ralsinammcc: ack18:52
gatoxmmcc, here you have: https://wiki.canonical.com/StayingInTouch/Voice/Mumble?action=show&redirect=Mumble18:52
gatoxsorry..... https://wiki.canonical.com/StayingInTouch/Voice/Mumble18:52
gatoxmmcc, well...... i'll explain you here......18:52
mmccgatox, is this path & devtools stuff fixed in your new branch?18:52
gatoxmmcc, in my branch is fixed everything, except the devtools thing....18:53
mmccI ask because it's lunchtime + 2hrs for me and if I could come back and just use a new branch, that might be more efficient18:54
mmccah, ok. saw your reply while typing18:54
gatoxmmcc, do you need to have lunch?? no problem... we can do this: go, let me propose the branches.... and i'll guide you later using my branches, altough there won't be in trunk yet...18:55
gatoxmmcc, but you will help to test if they work18:55
mmccok gatox , that sounds like a good plan. I'll be back shortly…18:56
gatoxmmcc, no problem...... let me know when you are around18:56
* alecu goes to the kinder19:13
=== alecu is now known as alecu_kinder
gatoxbrb....... need to get some food19:30
gatoxback19:37
mmccgatox, back.20:01
gatoxmmcc, ack20:02
gatoxmmcc, so..... can you tell me in which step of the doc are you?20:02
mmccgatox, well, I've done everything in the doc.20:03
mmccgatox  so I guess it's the last step that is failing20:03
gatoxmmcc, ok...... go to the ubuntuone-windows-installer folder and do this: bzr merge lp:~diegosarmentero/ubuntuone-windows-installer/mac-env20:04
gatoxmmcc, once the merge is complete a env-mac file should appear in: ubuntuone-windows-installer/scripts/devsetup20:05
gatoxsorry: env-mac20:06
mmccgatox, yes it did20:06
gatoxmmcc, you can execute that file doing: ./env-mac20:06
gatoxthat should prepare the system so you can run the tests, etc easier20:07
gatoxmmcc, just to let you know..... the content of this branches might change before they land...... so maybe you will need to update your env after the branches land20:08
mmccgatox, ok20:08
gatox_macmmcc, if everything was ok running env-mac, you will see:20:09
gatox_macRename python to python_u1 to avoid crash when adding folder to SYSTEM PATH20:09
gatox_macAdding bin to PATH20:09
gatox_macAdding u1trial to env-vars20:09
gatox_macAdding u1lint to env-vars20:09
gatox_macAdding pylint to env-vars20:09
mmccgatox I see it's appending to ~/.profile, which I don't currently use. I might use what it puts there but keep it in a separate file to use manually. I'm a little paranoid about automatically setting dev env vars…20:09
gatoxmmcc, ok, feel free to put that wherever you want, the importat thing is those paths are accesible20:11
gatoxmmcc, so....... if you use .profile, or something else...... when that is done..... you will be able to open a new terminal and type: echo $pylint...... and you should see the path to pylint..... let me knnow if that is working20:12
gatoxmmcc, is it working'20:20
gatox?20:20
mmccgatox: sorry for the delay, no - but I think maybe I'm complicating it by using zsh… :\20:20
mmccstill it's not working for me in bash either. I get a complaint that the full path to u1trial is not a valid identifier20:21
gatoxmmcc, can you show me the output?20:22
mmccgatox just a sec20:22
gatoxmmcc, you can use this to share output or code: http://paste.ubuntu.com/20:22
gatoxmmcc, if you can show me the output that you get when running env-mac....... and the content of .profile or the file where you are putting this20:23
mmccgatox, see http://paste.ubuntu.com/944682/20:23
gatoxmmcc, ahhh i see...... i need to fix something in my branch20:25
mmccthat one is missing the PATH edit because I had already executed it once20:25
mmccyes, there's a quoting thing going on here, right?20:25
gatoxmmcc, ahhhhhh you follow the doc where it says to copy u1lint and u1trial into bin manually..... remove them from there....... using my branch that is not necessary20:27
mmccgatox, ok20:27
gatoxmmcc, inside the ubuntuone-windows-installer folder, do: bzr revert && bzr merge lp:~diegosarmentero/ubuntuone-windows-installer/mac-env20:28
gatoxso you will get the env-mac file with the changes i just upload20:28
mmccgatox, ok, underway20:29
gatoxnow...... remove the content of .profile that the script added.... and run ./env-mac again20:30
gatoxand show me again the content of .profile20:31
mmccgatox: http://paste.ubuntu.com/944689/20:33
gatoxmmcc, nice.....20:33
gatoxmmcc, you can move the content of .profile later.... just check that this work, and then you can move that20:34
mmccgatox, so then the idea is I will run e.g. bin/python_u1 $pylint20:34
mmcc(that works)20:34
gatoxmmcc, not yet.....20:34
=== alecu_kinder is now known as alecu
gatoxmmcc, you will need to do a couple of things more (sorry...... if this were already in trunk it would be easy)20:35
mmccgatox, no worries. I've seen much (much) worse20:35
gatoxmmcc, so, now in another folder (in your home or whatever) do: bzr branch lp:~diegosarmentero/ubuntuone-dev-tools/u1lint-mac-support20:36
gatoxmmcc, this willl give you the new devtools20:36
mmccgatox, ok done20:37
gatoxmmcc, go to the u1lint-mac-support folder.... and copy the "ubuntuone" folder.... and with that folder, replace the one in: buildout-folder/scripts/devsetup/eggs/ubuntuone_dev_tools-3.0.0-py2.7.egg20:38
mmccgatox, ok done20:40
gatoxand then copy u1lint from u1lint-mac-support/bin/u1lint (again.... sorry for the manual steps... this will be automatically once the branches land).... and copy that file into (replacing the existing one): buildout-folder/scripts/devsetup/eggs/ubuntuone_dev_tools-3.0.0-py2.7.egg/EGG-INFO/scripts/u1lint20:40
mmccgatox, ok done…20:41
mmccgatox: same with u1trial?20:41
gatoxmmcc, no, no need20:41
mmccgatox: ok20:42
gatoxmmcc, now you should be able to do (in anotherrrr folder): bzr branch lp:~diegosarmentero/ubuntu-sso-client/mac-port ubuntu-sso-client   (this is the branch from urrbanape + some other stuff)20:42
dobeygatox: why are you using 3.0.0?20:42
gatoxdobey, it's the buildout20:42
gatoxdobey, we should be using trunk20:42
dobeyindeed you should be :)20:43
gatoxdobey, i'm using trunk..... the buildout is downloading 3.0.0..... but i'm replacing it20:43
dobeygatox: buildout shouldn't download 3.0.0; it should just build the one from trunk, like it does with sso and protocol and the other stuff of ours20:44
gatoxmmcc, once you download that branch...... open a new terminal (just inn case, so we are sure that the env-vars are loaded, etc)...... go inside the last ubuntu-sso-client branch that we download....... and you should be able to do: ./run-mac-tests20:44
gatoxdobey, i know..... but i wasn't working in that part... i was focus in having the tests running in mac... i'll modify that later, or talk with brian if he prefers to do it20:45
gatoxmmcc, let me know if that works20:45
mmccgatox: not quite, setup.py complains:20:47
mmccTo build this program you need https://launchpad.net/python-distutils-extra20:47
gatoxmmcc, ahhhhh i thought you have that.... just a sec20:47
gatoxmmcc, ok, great! i was missing that20:48
gatoxmmcc, open the run-mac-tests script with some editor20:48
mmccgatox ok20:49
gatoxand replace the line: ./setup.py build....... with: python_u1 setup.py build20:49
mmccgatox. I thought that's what you'd say. that works.20:49
gatoxmmcc, are the tests running?20:50
mmccgatox:  yes.20:50
gatoxmmcc, AWESOME!! \o/20:50
mmccgatox, PASSED (skips=50, successes=583)20:51
gatoxmmcc, that is correct!20:51
alecugatox: congrats!20:51
mmccgatox: yes, thanks for the patient help :)20:51
gatoxmmcc, no problem!20:52
gatoxmmcc, now you can run the tests just using the run-mac-tests script.... but only for sso (the tests in the other branches are not working though)20:52
gatoxok....... now i'm EOD :P20:53
mmccok gatox, thanks again. good night20:53
gatoxmmcc, bye...... i'll connected anyway.... ping me if you have any problem20:54
gatoxsee you tomorrow people!! bye20:54
dobeythisfred: care to review https://code.launchpad.net/~dobey/ubuntuone-client/sdtool-q-3-0/+merge/103376 ? :)21:00
ralsinaEnd of day for me. Have fun people, see you all tomorrow!21:00
thisfreddobey: on it21:08
thisfreddobey: I don't understand the operators.setitem?21:13
thisfreddobey: ah, assignment is not a function?21:14
thisfredis the reason?21:14
thisfrednm. stupid lambdas :P21:14
dobeythisfred: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/syncdaemon-q/+merge/100984 for reference. i don't know exactly21:14
thisfredI think I do21:14
* dobey just backporting merges from trunk :)21:14
thisfredcan't do lambda x: whatever = x, because whatever = x is a statement, and you can't do statements in lambda21:16
dobeyright21:16
thisfreddobey: approved21:17
dobeycool21:17
dobeyalright, later all!21:37
=== salgado is now known as salgado-afk

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