=== mmcc_ is now known as mmcc [05:07] Got lots done. Now I should get some sleep. [05:07] Night all! [08:39] good morning from london! [08:41] mandel: aloha! [08:42] czajkowski, hello! [08:42] czajkowski, hey, will you be in copenhaguen next week? [08:42] mandel: you there for the day ? [08:42] mandel: nope not next week, just the UDS part [08:42] czajkowski, all the weekend :) [08:42] czajkowski, oh, just opposite to me [08:42] czajkowski, I cant make it to uds because I had a tip booked for my holidays [08:47] mandel: awww :( [08:49] czajkowski, well, it was left to the very end... [08:56] Happy Day-after-release Day, everyone! :-D [09:14] czajkowski, meh, sorry compiz just crashed.. [09:16] mandel: no worries :) [09:16] file a bug :p [09:17] czajkowski, is more due to working with unity un-stable [09:17] mandel: you're on 13.04 already :o [09:18] czajkowski, even more scary, unity trunk! [09:20] * mandel reboots due to updates.. === yofel_ is now known as yofel [09:34] running the unity staging ppa is a bad idea.. [09:34] meh, had to re-install the entire thing [10:56] karni, ping [11:02] mandel: pong, hi [11:02] good morning! [11:03] Morning! [11:03] Hi gatox [11:03] karni, hi o/ [11:04] karni, gatox, can you pm you u1 email to me [11:05] to send you a share with books [11:05] mvo, I already added you, not all the books are there yet... is uploading slowly [11:05] Sure [11:05] mandel, awesome, thx! [11:06] :) [11:15] karni, gatox, mvo, their is a fair amount of garbage there.. I need to make a list of must read/ignore [11:17] mandel, yep..... i'm not sure i'm going to be able to read all of that before the sprint jeje [11:20] gatox, well, the qt ones I'm sure you don't need, there is a c++11 one which is really good to read [11:20] mandel, i'll start with that one [11:20] and there beginners one, with those two people should be fine [11:20] :D [11:20] gatox, is not yet uploaded, or so I think [11:20] mandel, ah ok..... yes, the qt ones i already read them [11:21] gatox, exactly, is just the entire collection I had [11:30] gatox, karni I do recommend to read the Bjarne_Stroustrup one just because of him :P [11:31] mandel, yep..... i read that when i enter my other job :P [11:32] gatox, karni, then go for cpp11Notes2012-01-06 which explains the diffs in the new C++11 iso [11:32] mandel, will do [11:33] mandel: Sounds good, thank you :) [11:47] mandel, do you know how to learn c++ in 21 days? http://3.bp.blogspot.com/_va-p5aIxayA/S5VN50k8fOI/AAAAAAAADOg/dKaw4NSvLXs/s1600-h/aprender-programar-21-dias.png [11:59] good morning! [11:59] ralsina, hi [12:06] holas [12:07] hi dobey! Figured out the linking issue :-) [12:07] dobey: failed partial update to quantal, and the binary linked two libs, one that linked to each version of libpulseaudio [12:08] how would a failed partial update cause that? do qt apps all do a weird relink on install in the packages thing? [12:09] mandel: have you found anything weird in the logs I gave yesterday? [12:10] morning ralsina o/ hi dobey [12:10] dobey: apparently not *all* qt apps, but some [12:10] hi karni! [12:11] \o [12:11] dobey: I had never seen ldd report linking to two sonames of a lib before [12:11] ralsina: that is, to say the least, quite insane. [12:11] dobey: it's a first for me too [12:11] ralsina: i have, but only when gcc actually linked both at compile time [12:12] dobey: but I fixed it and the binary is still the same [12:12] ralsina: had seen it a lot in the past for some apps when for example gtk+ or some gnome libraries broke ABI and the soname changed, and some deps were linked to the other version than the app itself used. [12:13] in any case, this Q update is annoying me brutally [12:13] lol [12:13] http://pages.cs.wisc.edu/~kovar/hall.html [12:14] dobey: hahahah [12:19] dobey: anyways, how did you find that? reddit/digg? [12:19] I doubt you were googling germanium :) [12:19] I'd like to see more of such pages ;D [12:19] karni: mentalguy rt'd it on twitter [12:20] dobey: Ah, kewl :) [12:20] https://twitter.com/hirodusk/status/259081565584359425 [12:20] dobey: that undergrad needs to be introduced to sticky tape. [12:21] because yes, welding cables to arbitrary things usually doesn't work [12:25] I'll pick up my flat mate with his lcd screen from the city center, and might grab lunch on the way. Back in a while! [12:28] 0 upgraded, 0 newly installed, 0 to remove and 307 not upgraded. 1165 not fully installed or removed. [12:28] sigh [12:29] i did have an idea for pyflakes earlier today though; will need a little help from someone with a mac and win buildout set up [12:29] dobey: you can do a linux buildout too :) [12:30] ralsina: i need platform-specific data though :) [12:30] i can just run python in linux to get what i need there :) [12:32] i need the result of this: [12:32] python -c "print('\n'.join(dir(__builtins__)))" > builtins.txt [12:33] dobey: I am not @home today, so no mac, and quantal exploded vbox [12:33] gatox can help! [12:33] yeah i can wait for someone else to help :) [12:33] or mandel [12:33] and they are supposed to be here :) [12:34] i'm here [12:34] cool, gatox dobey wants that: ^ [12:34] gatox: ^^ can you send me the builtins.txt file from running that command on mac? [12:35] dobey, yep..... let me turn on the mac [12:40] dobey, http://paste.ubuntu.com/1289190/ [12:41] thanks gatox [12:43] gatox: oh, maybe you know that - what's the revision win32 version of 3.0.2b was created from? [12:44] rye, no idea...... brian probably know that [12:45] rye: i think it's the release-3_0_2 tag, plus a few patches [12:45] rye: aren't the revnos in revnos.txt or whatever it is? [12:46] dobey: oh [12:46] dobey: you are right, wow! [12:49] yay, linux and mac builtins are the same at least [12:49] no weird DarwinError or anything [12:49] hello, all! [12:49] alecu, hi! [12:51] hola alecu [12:59] gatox: can you review https://code.launchpad.net/~dobey/ubuntuone-dev-tools/run-with-flakes/+merge/130432 please? [13:00] dobey, yes, on it! [13:00] thanks [13:03] gatox: maybe you can help here http://askubuntu.com/questions/202788/how-can-i-enable-ubuntu-one-indicator-in-12-10 [13:04] ralsina, will do..... i already write a document about that jeje [13:04] gatox: the strange thing is, on OMG they mentioned it as one of the 10 new features, and it wrked for them ;-) [13:04] oh [13:04] i just answered :) [13:04] dobey, ok..... less work for me [13:04] jeje [13:09] dobey, the branch looks good, and the tests pass....... but there are some lint issues..... should i ignore them? i ask because maybe this is already in trunk or something [13:09] gatox: oh? what lint issues? [13:09] dobey, http://paste.ubuntu.com/1289256/ [13:10] gatox: oh, you don't have the patched pyflakes, as noted in the description of the merge :) [13:10] dobey, ahhhh sorry about that [13:10] dobey: so we are moving frm a patched pylint to a patched pyflakes? [13:11] ralsina: sort of; i patched pyflakes so we could get a move on. i'm also working on pushing the changes upstream [13:11] dobey: ok, at least there is hope of getting it merged :-) [13:11] dobey, +1 (upgrading) [13:12] ralsina: yeah, though upstream seems to be somewhat inactive (though it is the twisted guys). [13:17] ralsina, where should I place the documentation about nux etc.. [13:17] ralsina, or better say, unity intro for u1 developers :) [13:17] mandel: canonical wiki, wherever you feel like [13:18] http://askubuntu.com/questions/202992/why-do-i-get-a-cross-domain-policy-restriction-error-when-trying-to-stream-to-my [13:21] rye: http://askubuntu.com/questions/202641/ubuntu-one-error-message-stale-broker <- do you know about this? [13:22] hrmm, i really need to find some time to install my new hdd, and quantal, on my workstation === m_conley_away is now known as m_conley [13:31] dobey, the weekend is coming :P [13:32] gatox: in which i would generally prefer to do other things. plus i theoretically have some prior engagements anyway :) [13:49] * karni back! [13:50] also i really don't like pulling my workstation out of the rack :) [13:51] ralsina, sorry, I just read the backlog.. stupid mac.. if you need any reviews let me know, I'm just writing nux examples :) [13:52] rye, I did not see anything weird, it just looks like the sd is no sending the start event to the state machine [13:52] dobey: also to be considered, you have a rack for your workstation. [13:52] rye, do you have the exception logs? [13:54] ralsina: well, it's mounted in the rack that's in my desk. yes :) [13:54] mandel: nope, there are no exception logs. I will now insert a lot of logger statements to track every call after the OffloadQueue and if something comes up then I will start poking [13:54] mandel: have fun with nux :) [13:55] ralsina: server/switch/patch/server raid are mounted in the rack on the other side of my desk :) [13:55] * dobey needs to clean his desk up a bit more and take a picture or two [13:57] rye, he, thx ;) [13:57] dobey, do leave the toilet paper on the table hehehehe [13:57] :P [13:59] alecu, ping [13:59] alecu, do you have a minute to discuss something? [14:00] gatox: for you? always! [14:00] alecu, jeje thx....... the thing is: [14:00] * alecu closes the computer and runs to package the remaining bags... byebye! [14:00] gatox: no, no, just kidding :-) [14:00] jejjee [14:01] alecu, i've been playing with what we talk the other day..... i have the proper classes creating interacting with filesystem manager and doing the search using the regular expression you mention [14:01] buttttttt [14:01] orsom [14:02] and in the proper folders........ but....... first: it can match things that are not just in the basename....... and the other problem i have....... is that if we are going to use regular expression..... we should escape all the special characters that the thing to search could have..... for example: (, \, ?, etccccc [14:03] so the thing is..... i can create a function that escape all the special characters in a regular expressoin..... but just wanted to check with you if you still think this is the proper way.... or should go back to use basename [14:03] gatox: you are right about the escaping, yes. [14:04] briancurtin: hi, how do i re-create the tree for 3.0.2b - i want to alter library.zip so that it was built from the same 3.0.2 sources [14:04] alecu, so.... what do you think is best? do a replace for each character in the string and escape all the special characters.... or use basename instead to avoid those string operations? [14:05] rye: i'll type up some directions, should have them in a few minutes [14:05] gatox: I would totally advice *against* doing a hand coded function to escape chars in a regex [14:05] mmh [14:05] gatox: so, let's check first if there's something already done [14:05] alecu, ok [14:06] alecu, i'll look for something for it [14:07] gatox: http://docs.python.org/library/re.html#re.escape [14:07] cuack [14:07] alecu, yep.... i found that in stackoverflow too [14:08] alecu, yep.... that works just fine..... just test it [14:08] gatox: awesome. This clears half of the path [14:09] gatox: the other bit you mentioned is "it can match things that are not just in the basename" [14:09] yes..... for example: [14:10] gatox: I know there's some way to do it, using the greedy / non greedy stuff. Let me think it through [14:10] i can look for "ubuntu"..... and it will match: "/home/U1/ubuntu/myfile" and "/home/u1/folder/ubuntu.txt" [14:10] gatox: right, and we would only be interested in the latter, right? [14:11] alecu, right......... if we choose that....... maybe we can leave it this way..... and accept searchs like /folder/file [14:11] * gatox checks.... [14:11] gatox: while we are at it, make sure to re.compile your expression, and then use that object to do the match [14:12] alecu, yes..... that's what i'm doing [14:12] gatox: I like being able to search by including bits of the folder name [14:12] alecu, like a fuzzy search [14:13] alecu, yes..... it works awesome....... for example i have: [14:13] '/home/gatox/Ubuntu One/u1/fslogger.c' [14:13] and i search for: u1/fs [14:13] and i found that [14:13] * gatox like it [14:13] likes [14:13] gatox: or "u1 fs" should match it too [14:13] alecu, no [14:14] unless we split the search in spaces..... and join them with .* in the middle [14:14] gatox: I was thinking of that all the time! :-) [14:14] gatox: that's bad, no, please [14:14] ralsina: why? [14:14] Ubuntu One ? [14:15] We want to search for Ubuntu.*One? :-) [14:15] ralsina, what?? using the folders too.... or the splitting part? [14:15] splitting and joining with .* [14:15] ahhhh [14:15] ralsina: I think we do want to split, yes [14:15] yes..... i'm not in favor of that neither..... because the name of the files can actually contain spaces [14:15] try not to be too clever :-) [14:16] ralsina: if you have a folder called "my documents" and a file named "rapunzel.txt" within it, you want to search like "doc rapu" [14:17] ralsina: you don't want to search like "ments/rapu" [14:17] rockstar: is https://code.launchpad.net/~rockstar/ubuntuone-ios-music/fix-header-search/+merge/126811 still valid? [14:17] alecu: it's un undiscoverable feature that will make it return random things [14:17] seemingly random, at least [14:19] * ralsina slaps himself for micromanaging devs and steps back. [14:20] sooooo.......... [14:20] oh, we lost one alecu [14:20] rye: i just realized i have it on the wiki: https://wiki.canonical.com/UbuntuOne/Windows/ReleaseChecklist -- however, i don't remember what makes the B part of 3.0.2b... [14:20] ralsina, you heart alecus feelings jejeje [14:22] briancurtin: a proxy fix [14:23] alecu, is back [14:23] thats about all i remember, but im not sure what the particular branch was since i believe i just took the 3.0.2 setup and applied one change to it [14:23] morning briancurtin [14:23] gatox: sorry, I'm having quasselcore troubles, it seems :P [14:23] hey dobey [14:23] ralsina, alecu so.... we need to decide..... which is going to be the approach for this? [14:24] gatox: I typed a lot before dropping. what was the last you saw? [14:24] alecu: in case you missed it, I slapped myself for micromanaging you, so you and gatox decide :-) [14:24] alecu, this: ralsina: you don't want to search like "ments/rapu" [14:24] gatox: great. [14:24] briancurtin: can you run python -c "print('\n'.join(dir(__builtins__)))" > builtins.txt on win32 buildout and sned me (pastebin, email, whatever) the resulting file? [14:25] and now quassel won't let me see the backlog of the previous quasselcore instance. awesome. [14:25] team, here's a hint of the future: https://twitter.com/njpatel/status/259298988971417600 [14:25] alecu, so....... splitting or not splitting..... that is the dilemma [14:25] and that's called expectation management [14:26] ralsina, jjejeje [14:26] dobey: https://pastebin.canonical.com/76938/ [14:26] ralsina, gatox: what if instead of ".*" we used ".+" ? [14:26] gatox: for later http://io9.com/5953055/the-sounds-of-cylons-as-sung-by-simon--garfunkel [14:26] alecu: .+ is better [14:26] alecu: at least doc rapu would not match docrapu [14:26] yes....... that would be good [14:27] ralsina: "do crap you". Is that an order? [14:27] ralsina, jejejej sounds of cylons jejeje [14:27] briancurtin: thanks [14:28] alecu: please no :-) [14:28] alecu: I was using your example [14:34] anyone has a pending review? [14:35] ralsina: it seems that the sounds of cylons will be planted in my brain, like a cylon vision, for the foreseable future. It's now on repeat here :-) [14:35] and if you don't *WHY*???? ;-) [14:35] alecu: it's pure distilled awesome [14:35] alecu: besides, half the lyrics are kept from the original, it's creepy [14:36] Also, cylon & garfunkel: http://img.gawkerassets.com/img/182l12er7udygjpg/cmt-medium.jpg [14:37] huzzah. the WindowsError issue is fixed in trunk pyflakes already even [14:37] yay [14:38] * dobey throws that patch into nightlies too [14:40] * gatox can't wait to see bsg again.... [14:43] * alecu needs to run a small errand. Will probably be back before standup [14:59] me [14:59] (is too early!) [14:59] mvo, one min :) [14:59] couple minutes, yeah [14:59] me [14:59] me [14:59] me [14:59] me [15:00] me [15:00] me [15:00] me [15:00] me [15:00] me [15:00] me [15:00] mvo go! [15:01] DONE: lp:~mvo/update-manager/lp1068389, upload to quantal-proposed, : lp:~mvo/software-center/support-size-from-agent, lp:~mvo/ubuntu-release-upgrader/warn-on-dropped-fglrx-support/, play around with heapy and discover #1068614, apt: look at #1062503 and provide reproduce way (*urgh*), looking at c++ books with mandel (thanks!) [15:01] yesterday as well? [15:01] or is today enough? [15:01] mvo since last standup, but since we had a call yesterday, today is good [15:01] yesterday: DONE: lp:~mvo/software-center/data-provider-add-ratings, lp:~mvo/software-center/update-sc-cmdline-flexibility, create 5.4 series, merge outstanding branches, prepare 5.4.x and 5.5.0 uploads, work on google doc "DASH app USC consolidation technical notes", travel preparing, meetings(!) [15:01] next mandel [15:01] DONE: Wrote nux examples mainly explaining layout, buttons, views etc.. [15:01] TODO: Talk about nux properties. Metion dash code layout and how to add new previews. [15:01] BLOCKED: no [15:01] :( [15:02] karni, please [15:02] ^_^ [15:02] yesterday: [15:02] DONE: Added action bar now playing item. Required some hacks, due to particular design requirements. Will discuss that with Patricia. [15:02] http://ubuntuone.com/4rpZfpmuC8BfG22101sRXs (GN portrait) [15:02] http://ubuntuone.com/6W5Os3giSdTJsTVE9rumZl (GN landscape) [15:02] http://ubuntuone.com/1UCSvigQRCkzb5oGrcumbu (G7 portrait) [15:02] Added even more home activity UI tests extercising options menu. [15:02] Build a staging U1M apk for Vincent [15:02] TODO: Continue yesterdays TODO list (wire up the player and music service) [15:02] BLOCKED: No. [15:02] today: [15:02] DONE: [15:02] Reviewed two branches. [15:02] Wired up Now Playing home screen indicator. [15:02] Implemented and hooked up populating play queue. [15:02] Minor styling to player UI. [15:02] TODO: [15:02] Review urbanape's branch. [15:02] Hook up player UI album art, titles, progress (similar to now playing indicator). [15:02] BLOCKED: [15:02] No. [15:02] next: thisfred_ [15:02] DONE: cdocs fixes | backend metrics TODO: whatever comes my way BLOCKED: no NEXT: rockstar [15:03] DONE: Set up vm and machine for nux work [15:03] TODO: Continue on iOS Music app 2.0 integration [15:03] BLOCKED: None [15:03] NEXT: briancurtin [15:03] DONE: team call, installer, dusting off C++ books, reviews, testing [15:03] TODO: find a way to add cert checking with the bundled certs rather than relying on system to do it (alecu, any tips?) [15:03] NEXT: gatox [15:03] DONE: [15:03] Implements the search that was already in u1-cp for u1 files inside u1-client, faster and with some improves. Started working in the ipc functions to obtain this info from control panel. [15:03] TODO: [15:03] Finish with the ipc implementation and propose the branch. [15:03] Refactor u1-cp search functions to use the one in u1-client. [15:03] BLOCKED: [15:03] No [15:03] ralsina, go [15:03] DONE: lots of calls. TODO: new "mgmt rumble" call, reading lots of docs, perhaps reviews? BLOCKED no NEXT: gatox [15:03] ralsina, no, i'm not next [15:03] :D [15:03] alecu_: go [15:03] so alecu_ then [15:03] DONE: many mumbles, wrapping up and preparing for vacations [15:03] TODO: two weeks of vacations starting in 4 hours [15:03] BLOCKED: no way! [15:03] NEXT: dobey [15:03] DONE: team call, bug #1068335 (dev-tools), booked sprint tickets [15:03] TODO: reviews, finish bug #1068335, bug #711324, upstream pyflakes fixes [15:03] BLCK: None. [15:03] gatox: you were in my timeline ;-) [15:03] Launchpad bug 1068335 in Ubuntu One Control Panel trunk "pylint is too complex and causes many problems" [Medium,Triaged] https://launchpad.net/bugs/1068335 [15:03] mmcc: go [15:04] Error: Launchpad bug 711324 could not be found [15:04] DONE: music, sync menu stuff on mac/win & downloads, futile bug search [15:04] TODO: finish up sync menu stuff [15:04] ralsina, but brian says gatox go :P [15:04] BLOK: no [15:04] * ralsina goes find the developer-proding-stick [15:04] ok, mmcc was last (we all agree there ;-) [15:04] So, comments? [15:04] stop micromanaging! :) [15:05] Rock on! [15:05] briancurtin: "a way to add cert checking with the bundled certs rather than relying on system to do it". Can you tell me a bit more about that? [15:05] EOM for standup. Quick if a bit sloppy. [15:05] briancurtin: this is not os.system("iexplore https://one.ubuntu.com"), right? [15:06] ralsina: a proxy fix? tell me more - is there a revision i can cherry-pick the change? [15:06] alecu_: of course not! We have to use subprocess! ;-) [15:06] rye: it's a vague memory for me :-( [15:07] ralsina: would that be acceptable? i was under the impression there was going to need to be something added to WebClient to read from cert files or something like that [15:07] briancurtin: it's not acceptable at all [15:07] briancurtin: sorry, bad joke there [15:08] i dont know much about certs/ssl, missed the joke. i take it the last part is correct, then? [15:08] briancurtin: I'm totally off topic and may have no idea what I'm talking about, but I did deal with that cert in webkit/soup - could you give me a code example? [15:08] mvo: this is more a windows issue [15:08] or the code that needs the cert file set? [15:08] mvo: on windows, the root certs are downloaded on demand [15:09] dobey: *weeeh* I will probably not of much help then indeed [15:09] alecu_: Before I forget - enjoy your holiday! [15:09] ralsina: eh, woah [15:09] mvo: and we use an impopular one which lots of people never run into before using our code [15:09] karni: thanks [15:09] briancurtin: afaik, having qt use our certs *and* the system ones when needed, is a bit complex, but should be doable [15:10] thanks ralsina, that gives me some background that I was missing earlier :) [15:13] briancurtin: so, after looking at the qt docs, this seems to be what we would need to use: http://qt-project.org/doc/qt-4.8/qsslsocket.html#addCaCertificates [15:14] briancurtin: but since we don't use the qsslsocket directly, we should find how to add it to the higher level qt objects used by the webclient and the proxy tunnel [15:15] http://stackoverflow.com/questions/11941630/is-this-the-right-way-to-set-the-ssl-protocol-with-qwebpage <- might be this one [15:16] i.e. QSslConfiguration::setCaCertificates() === mmcc is now known as mmcc_ [15:19] i think QSslConfiguration setLocalCertificate [15:21] briancurtin: are we already bundling that third certificate? I recall u1-storage-protocol used two already [15:22] alecu_: we bundle three - two godaddy and one valicert [15:22] briancurtin: great then. [15:26] briancurtin: I think you should try running sd and u1cp with an empty certificate database (by passing an empty list to QSslConfiguration::setCaCertificates), and checking that it fails. Then adding the three certificates only, it should work. [15:26] alecu_: and would i be correct in thinking that this goes in WebClient in SSO? === alecu_ is now known as alecu [15:28] sorry for extra hand holding...haven't worked with SSL much [15:30] briancurtin: yes, yes. It goes in webclient in sso === thisfred_ is now known as thisfred [15:30] alecu: thanks, will look into it now [15:35] ok, need to get lunch. bbiab [15:36] briancurtin: in fact, I think sso should be the only place needing that, since I'm looking at sd and storageprotocol, and it's already being used there. [15:36] in ubuntuone/storageprotocol/context.py [15:37] yeah i figured it's the lowest level spot to put it [15:37] briancurtin: and the webclient is sso is what's used by control panel, so yes. [15:38] ok, lunchtime for me === beuno is now known as beuno-lunch [15:41] * gatox lunch === gatox is now known as gatox_lunch [16:29] so, a new project for the pyobjc sync menu - anyone have a problem with 'lp:ubuntuone-cocoa-menu' ? [16:30] no problem here [16:31] oh [16:32] ralsina: btw, should we rename the lp team and set up a mailing list for it? [16:33] dobey: yes [16:33] dobey: could you? [16:33] ralsina: i think i need to be an admin for the mailing list bits. care to make me one? [16:34] dobey: admin of what exactly? [16:34] dobey: the team? [16:34] https://launchpad.net/~ubuntuone-desktop+ [16:34] yes [16:34] dobey: on it [16:36] dobey: done. Also add karni mvo and rockstar [16:36] Thanks [16:36] that team has been needing maintenance for a while! [16:36] :) [16:38] yeah, our teams need some cleaning up === gatox_lunch is now known as gatox [16:47] dobey: made alecu and mvo admins just in case both of us are away at the same time [16:48] sure [16:48] hrmm, not sure how to make the list private [16:49] * dobey pings some ops for that [16:55] bugger :( === beuno-lunch is now known as beuno [17:04] I think I nailed that painful SQL problem (column mapping) which caused crashes. It seems, however, that test runner isn't ensuring tests are run isolated, because I sometimes get tests that cause the next one to hang, although tearDown() is done properly. [17:06] noice [17:07] now i don't need 2 microphones [17:07] karni, are you using a single instance of sql for each of the tests? [17:08] karni, maybe creating a new sqlite db in the setup and removing it in the teardown is the way to go [17:08] mandel: No, but these tests don't depend on mock data. I'm actually allowing these tests to run on any populated data (my priavte music in this case). I do, however, extercise the sqlite db in content provider tests, where I have mock data and it behaves just like you described. [17:09] mandel: Looks like it's not cleaning up state (finishing an activity), although I request it do do so. I'm making sure an AsyncTask (with a thread worker) doesn't leak any context, which could prevent from finishing that activity. [17:10] I suspect that could be the case here. [17:12] karni, what happens if the asyn task never finishes? [17:13] mandel: what the test says is "wait for player launch for 5 seconds. verify if it has launched.". I disabled launching shuffle all songs asynctask alltogether, what I see is the player doesn't shut down even though I have activity.finish() at the end of my test. [17:14] mandel: the async task is a call to a simple blocking method, which is exercised elsewhere in a test, so that should never happen. [17:15] karni, I would need to look at the code, and I'm not an expert java guy.. I just fear threads a lot :P [17:16] mandel: Thank you :) I'd have to commit that now, and the diff's pretty large, but if I continue to have that problem unresolved, I'll share the branch in here :) [17:16] mandel: not sure if youve seen jenkins in a while but https://bugs.launchpad.net/ubuntu-sso-client/+bug/1061528 seems to have broken SSO on windows [17:16] Ubuntu bug 1061528 in ubuntu-sso-client (Ubuntu Quantal) "Proxy tests fail after Qt update in Q" [Critical,Fix released] [17:16] mandel: This test doesn't seem to correctly finish the launched application. https://pastebin.canonical.com/76962/ [17:20] briancurtin, yes, diff qt version on windows... [17:20] briancurtin, I'll refrain from using the f word.. [17:20] karni, no idea then... [17:20] mandel: These tests start the tested activity from scratch in setUp and clean them up in tearDown. Check this - the interesting part is each test passes, and they do not base on data nor state. (Simple UI interaction tests) [17:21] So how the f can one test not clean up after itself and block the next one. MEH [17:22] * karni tries adding a Thread.wait in tearDown [17:23] karni, on twisted we would use a defer to ensure that everything was cleaned up.. [17:23] blargh. mandel, adding Thread.sleep(500); at the end of tearDown() so that Android settles down fixed that problem. all tests green. [17:23] karni, so what you need to do is ensure that there is a way to assert that the async call is done [17:23] mandel: I would normally use mInstrumentation.waitForIdleSync(); but it seems things are happening too fast. It didn't do the job well. [17:24] mandel: Right [17:24] karni, no idea on how to do that in java :-/ [17:24] mandel: Something like waiting for a launched activity to _really_ finish [17:24] mandel: It's been good to exchange thoughts, thanks :) [17:24] * karni may use an instrumentation activity monitor [17:25] karni, yes, because I suppose that there is no guarantee when the app is going to be finished, and therefore that is the problem [17:25] anyways, need too go [17:25] karni, no problem :) [17:25] all, laters! [17:25] byee mandel o/ [17:25] mandel: the Qt version is (allegedly) the same, but the PyQt version is 4.9.4 versus Q's 4.9.3 [17:25] ah, i'll look into it though, i'm in this area now [17:25] mailing lists are hard. oi [17:31] oh hey briancurtin, you mentioned that the remote-folders-fix branch doesn't work for you IRL on windows? still seeing that? [17:31] i havent tried today, but as of before EOD yesterday it didnt work [17:35] All righty. I've been hacking until sun rise last night, I'ma EOD slightly earlier today. [17:35] Have a great weekend guys! [17:35] you too! [17:35] Thanks o/ [17:35] karni, bye [17:35] \o gatox [17:40] updating all of this two-factor auth crap makes me wish i didnt even get a new phone. ugh. [17:45] heh [17:46] 2 frustrating auth [17:50] sorry for lp spam everyone [18:10] dobey: you'll hear from my lawyer! === lifeless_ is now known as life === life is now known as lifeless [18:49] mmcc: if you have a few minutes, would you mind trying this sso branch on mac? lp:~brian.curtin/ubuntu-sso-client/nam-setproxy-windows-workaround [18:53] Alecu, you are not on the private server? [18:55] ralsina: isn't he on holiday? [18:55] briancurtin, sure… [18:55] dobey: not yet :-) [18:55] dobey: or maybe he already is. Ok, not urgent, can wait a couple of weeks. Or three. [18:56] oh, he's not listed for today on the site [18:56] but he said "starting tomorrow" yesterday [18:56] although now's about the time when he has to go pick up amelia, no? [18:57] anyway :) [19:03] * gatox needs to write a lot of tests....... [19:04] briancurtin: well this is strange. I get all these failures: http://paste.ubuntu.com/1290098/ -- but I get those same ones with trunk… [19:07] mmcc: would you mind doing a small change and re-running? ubuntu_sso/utils/webclient/qtnetwork.py:110 - just change that to if to darwin, see if that makes a difference. i think there's a PyQt bug that i'm hitting on Windows - that TypeError shouldnt be happening [19:07] ralsina: hi! [19:07] ralsina: I'm about to leave, in 5' [19:08] alecu, bon voyage! :P [19:08] alecu: have fun then! :-) [19:08] ok, so i hope you all have a mail now, via the new mailing list [19:10] briancurtin - better: http://paste.ubuntu.com/1290116/ [19:10] (btw that was just s/win32/darwin/ - so not calling setProxy on darwin… [19:11] mmcc: perfect, thank you [19:12] mmcc: for the remote-folders-fix branch, is there anything i can do to get you some info? it just seems to hang "getting information" forever. i see no tracebacks or anything showing up, so nothing obvious [19:13] briancurtin, thinking… [19:19] I'm trying it now for myself and seeing if it's working for me. I thought I had done this, but I guess it wasn't possible before, so… [19:21] yeah, works for me… hmmm. [19:22] mmcc: which win version? [19:22] 7 [19:24] i'm on 8, but that can't be the issue. i'm going to wrap this SSO branch up and then try to poke around [19:25] now yes: bye all, see you in two weeks! [19:25] enjoy! [19:25] briancurtin ok - I'd first look at line 314 of wizard.py, where it gets the credentials. my best guess is that yield is never coming back due to something in SSO [19:25] alecu - have a great time! [19:45] alecu: beware of giant mice on your trip :) [19:58] and cockroaches! http://weblogs.sun-sentinel.com/news/specials/weirdflorida/blog/cockroach-thumb.jpg [19:59] hmmm, looks like I really can't use inlineCallbacks with PyObjC [20:04] So, is there a reasonable way to do the equivalent of "for func in list_of_funcs_returning_deferred: yield func" without using inlineCallbacks? [20:05] I think I am just missing something… [20:08] can i get some reviews for https://code.launchpad.net/~dobey/ubuntuone-client/fix-711324/+merge/130630 ? [20:08] gatox: ^^ ? :) [20:08] dobey, yap.... on it [20:09] mmcc: [yield x() for x in list_of_funcs] ? [20:09] or something like that [20:09] dobey the problem is that I can't use yield, since decorating a function as inlineCallbacks appears tocrash pyobjc [20:10] that sounds fun/useful [20:10] mmcc: but inlineCallbacks just takes the results and creates a generator of deferreds [20:11] mmcc: so maybe [x() for x in funcs] then? [20:11] just return that i mean [20:11] i don't know [20:11] beat pyobjc with a stick? [20:12] dobey, branch looks good, +1 [20:12] also, i am sort of tempted to just fork pyflakes [20:15] * gatox goes to start the weekend..... eod here! see you on monday people! :D [20:23] hrm, looks like it's only when it's decorating a class method… i can avoid this problem [20:24] mmcc: breaking only on class methods may betray some dark magic involved [20:26] ralsina er, I misspoke - not class methods, but methods of a class. IE, it doesn't crash if I have a module level function that's decorated by @inlineCallbacks [20:26] mmcc: oh, I understood that, not @classmethods anyway :-) [20:27] mmcc: I was accidentally correct [20:27] mmcc: but hey, if it works, it works ;-) [20:27] yeah, and it's not *too* horrible. actually making it work with raw deferreds wasn't looking pretty [20:29] yes, that's spaghetti [20:52] grrr [20:52] speaking of spaghetti… indirect reimporting is really bad === m_conley is now known as m_conley_away [21:52] this is fun. i can make things worse (as expected) when running explicitly with no certs, but adding the certs to the config doesn't seem to work. probably have to come back to it on monday...being picked up in a few minutes [21:53] grr, this weird code in ubuntu_sso is quite annoying [21:54] and they're here. have a good weekend all [21:58] anyone else can take a quick poke at https://code.launchpad.net/~dobey/ubuntuone-client/fix-711324/+merge/130630? [21:59] mmcc: you maybe? i think everyone else is gone now [21:59] and i really should be [21:59] dobey, sure - I'll look at it later. [21:59] it's on my list :) have a great weekend! [22:01] late lunch time [22:05] man, crappy home wifi today, wtf [22:08] alright, i'm off, later :)