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

jo-erlendI would really love to have a home Ubuntu One server. This would be used to synchronize locally for all members of the family or small business. I mean; when I'm at home, Ubuntu One will automatically synchronize with my local server, which will in turn synchronize online. Is this currently possible?03:56
popeyjo-erlend: https://wiki.ubuntu.com/UbuntuOne/Headless07:33
jo-erlendpopey, that syncs my server with ubuntuone. But how do I sync my client with my server?07:38
popeyjo-erlend: there is no LAN sync yet07:44
JamesTaitMorning all! *8OD08:39
mandelmorning all!08:44
ryemandel: do you recall off-the-top-of-your-head how to determine what reactor I need to be running for SyncDaemonTool to be working?09:45
mandelrye, which os?09:45
mandelrye, and, AFAIK the best choice would be the glib on linux any on windows since the IPC is native to twisted09:46
mandelrye, son on windows, you can let twisted decide which reactor to use09:46
ryemandel: both, for linux i'll grab glib2reactor09:46
ryeoh09:46
ryemandel: thanks09:46
mandelrye, no problem :)09:46
mandelrye, bare in mind that because sd has integration with unity and uses pygobject it uses the glib3reactor09:47
mandelrye, in case youwant to use it with some gtk ui or something09:47
ryemandel: no, no gui for now but thanks, will keep this in mind09:48
mandelrye, let me know if you need any help :)09:49
ryemandel: sure :)09:50
ryeverterok: is there a better way to query for metadata of 23K files than dbus request?10:21
ryei wonder whether we could gain anything by using xattrs10:26
ryeubuntu_sso.utils.webclient ?10:51
ryeimported by syncdaemon?10:51
ryeummm10:51
gatoxgood morning!11:07
verterokrye: with syncdaemon off, you can always "query" the data in tricask...but's not even close to the dbus methods11:10
rye2012-04-25 14:12:18+0300 [-] ImportError: No module named gi.repository11:13
ryeseriously??...11:13
mandelrye, where is that happening?11:19
mandelrye, if it happens with the glib2reactor that is done on purpose to avoid getting in a segfault11:20
mandelrye,  that probably means you need the glib3reactor11:20
* mandel is kind of embarrassed he knows such details from twisted11:20
ryemandel: erm... where do i get glib3reactor?11:44
mandelrye, let me check11:45
mandelrye, can you import twisted.internet.gireactor ?11:45
mandelrye, or twisted.internet.gtk3reactor?11:46
mandelrye,  the name is not that consistent11:46
ryemandel: gireactor works, thank you. I searched for glib3 and found that it does not exist :)11:46
mandelcool11:47
ralsinagood morning!11:58
mandelralsina, morning!11:58
ralsinahello mandel11:59
mandelralsina, apparently nicola is getting traction it was mentioned in python madrid O_o11:59
ralsinamandel: really?11:59
ralsinamandel: cool :-)11:59
mandelralsina, yes, and it was not mean :)11:59
ralsinatell them I said hi ;-)11:59
mandelralsina, will do :)12:00
mandelralsina, so, got bad news for you, I have been running the u1-client tests enabling the squid tests and they are broken :(12:00
ryehammertime12:00
mandelralsina, is the tests, so is not THAT bad12:00
ralsinamandel: on windows?12:01
mandelralsina, yes, windows + squid == broken tests12:01
ralsinamandel: ok12:01
ralsinamandel: is it the squid or the tests? Because we can always switch to a more "windows" proxy12:01
mandelralsina, this is just some work I'm doing before I land the tcpactivation code, I want to have 100% tests running on windows to avoid braking it12:02
ralsinaeven though I would hate it12:02
mandelralsina, is not squid, since other tests are ok12:02
ralsinamandel: ok12:02
mandelralsina, I'll take a look, I prefer to 'loose' some time on this, and go to the mac port knowing what works than spending time on mac, get back and find everything broken, what do you think?12:03
ralsinasure12:03
ralsinalessons learned and all that12:03
mandelralsina, hehe just what I though, is less stressful too12:03
mandelralsina, we can start landing the fixes for u1-devtools, check the problem and later add the squid to the jenkins machine12:06
mandelgatox, morning! I need your evil windows machine :)12:06
gatoxmandel, shoot12:06
briancurtinif you need any less evil machines, let me know12:07
mandelbriancurtin, I do :)12:07
mandelbriancurtin, gatox, can you run the tests for lp:~mandel/ubuntuone-dev-tools/domain-sockets12:07
ralsinahi  gatox, briancurtin12:07
briancurtinhi ralsina12:08
gatoxralsina, hi12:08
gatoxmandel, on it12:08
mandelbriancurtin, gatox, I've moved the tests implementations to use twisted.internet.endpoints so that we can pass descriptions and use tcp and domain sockets with no code changes and the api of twisted is a little diff12:08
mandelso, I'm not sure if it is correctly implemented :(12:09
briancurtinmandel: any dependency here, or just put that branch in the path and run sso tests, right?12:09
mandelbriancurtin, no deps, just pull and runtests :)12:10
gatoxmandel, all the tests are ok..... just a couple of lint issues......... but i don't trust pylint in windows12:12
mandelgatox, superb!12:13
gatoxneed to leave for a while....REALLY IMPORTANT errand..... i'll be back as soon as possible!12:13
briancurtinah, it looks like i need to update run-tests.bat in dev-tools12:14
mandelbriancurtin, yep, is my crappy old one12:16
alecuhola all!12:23
alecuralsina, gatox: I'll be starting a little later today. I need to go with my daughter to kinder, since it's the kinder's 70th anniversary, and they are throwing a party.12:24
alecuralsina, gatox: I'll be back before standup (I *hope*)12:24
ralsinaalecu: ack12:24
* alecu is not much fond of socializing with other parents.12:25
ralsinaalecu: having arrived 1 hour late for "the first pencilbox" ceremony, I feel your pain ;-)12:25
ralsinaalecu: s/parents/humans/12:25
alecuexactly!12:25
ralsinaso go have "fun"12:26
* mandel imagines alecu as a desperate house husband, the ginger one :P12:27
achianghello, is there a way to clear out the u1sd queue? i asked the daemon to sync a directory and it pushed 2GB of traffic last night, but no actual files seem to have been uploaded12:27
briancurtinmandel: domain socket branch passes for me12:32
mandelbriancurtin, great, I'll me doing some more minor changes to allow domain sockets, will update ALL tests in ALL projects and will ask for evil machines again :)12:32
mandelachiang, I think rye  can help with that12:32
* achiang waits12:33
achiang:)12:33
achiangmandel: rye: hm, seems to actually be making progress now. a diff of u1sdtool --waiting from 10 minutes ago to now does show a change12:36
achiangwho knows what it was doing last night. :-/12:36
ryeachiang: what os and what release are you running?12:38
mandelI'm off to have lunch!12:40
* mandel lunch12:40
achiangrye: whatever is in latest precise12:41
ralsinabriancurtin: the BAT syntax is having a cagematch with bash syntax to see what's uglier, and they both got smashed on the face with  folding chairs12:42
ralsinabriancurtin: I mean FOR %%A in (python.exe) do (SET PYTHONEXEPATH=%%~$PATH:A)12:42
briancurtinralsina: i want to meet the person who created the batch language, just to see what is wrong with them12:43
ralsinabriancurtin: What, for the living and loving heart of bruce wayne is that supposed to do?12:43
ralsinaI mean, why a loop?12:44
briancurtinralsina: that's actually a method i came across several times around the web for doing something like this, so the more i saw it in searches, the more i figured that's how it has to be. i'm not sure how to replace it, but i wish i knew12:45
ralsinabriancurtin: hehe12:46
ralsinabriancurtin: I would call that cargo cult programming, but then  Iwould have to understand what it does to replace it (or not) so I will abstain12:46
briancurtinhaha, when i was reading jane's email i was thinking "which one of you told her about the batch scripts"12:46
ralsinahaha12:47
ryeachiang: you might want to install the indicator and see whether the queue is being processed or it is stuck at 20012:54
achiangrye: oh! there's an indicator?12:54
ryeah12:54
ryeachiang: https://launchpad.net/indicator-ubuntuone - my pet rock12:55
* rye is back to hammertime12:55
ralsinabriancurtin: +1 code review type "I give up"12:57
briancurtinralsina: thanks :)12:58
ralsinaWTF, I had a branch with two reviews, now it has none!12:59
ralsinahttps://code.launchpad.net/~ralsina/ubuntuone-control-panel/unique_in_ubuntu/+merge/10333712:59
ralsinaAnd it had failed merge attempts and now it doesn't! WTF????12:59
ryesweet. """ u"something".replace(u"o", u"b"), """ returns a tuple. Who notices why? :)13:00
ralsinagatox: could you +1 that one?13:00
briancurtintrailing comma13:00
ryebriancurtin: eeexactly13:00
ralsinarye: almost anything is a tuple with  trailing comma :-)13:00
ralsinaa=2,13:01
ryeralsina: print "not really",13:01
ralsinameans a is a tuple :-)13:01
ralsinarye: because print doesn't return a value13:01
briancurtinthat's why the print statement is awful13:01
briancurtinprint function for life13:02
dobeyralsina: wtf13:08
ralsinadobey: I have no idea. Never saw that happen before13:09
dobeyralsina: indeed. i'll look into it13:09
ralsinadobey: thanks13:09
dobeyralsina: maybe something happened to LP last night/this am, that screwed with the db13:09
ralsinadobey: I just noticed it when I was about to ping you about it failing at tarmac13:10
ralsinayes, maybe it rolled back something13:10
dobeythe failure also makes no sense to me13:12
ralsinadobey: yes, nonsense all around13:16
dobeyralsina: you so qwazy13:18
ralsinawas my fault?13:18
* ralsina has no power to delete launchpad comments13:19
dobeyralsina: you made 2 proposals at the same time13:19
dobeyhttps://code.launchpad.net/~ralsina/ubuntuone-control-panel/unique_in_ubuntu/+merge/103336 is the right one13:19
ralsinadobey: eh?13:19
ralsinaI most certainly did not do such a thing13:19
dobeywell there were two proposals with separate IDs :)13:19
dobeyboth created "19 hours ago"13:20
ralsinadobey https://code.launchpad.net/~ralsina/ubuntuone-control-panel/unique_in_ubuntu/+merge/103337 is not there anymore13:20
dobeyi deleted the duplicate one13:20
ralsinaah, k13:20
ralsinaok, twitchy finger or something13:20
ralsinaSo now we just have the nonsense tarmac bounce13:21
dobeywell, not nonsense, but no idea why it's doing that13:22
gatoxback!13:22
dobeyi am guessing because the windows test you renamed also did something that poked the IPC API13:22
dobeyand since it's on linux it's trying to start a dbus instance for some reason, probably because it's not using DBUsTestCase, so u1trial isn't starting one for it13:23
gatoxralsina, i'm back, i'm trying to open the mp you told to +1..... but it fails.....13:23
dobeygatox: ignore it13:23
gatoxralsina, and now i read that is not there anymore :P13:23
ralsinagatox: yeah, strangest thing ;-)13:24
ralsinadobey: I did run the tests on linux, but maybe it was just using my session bus13:25
dobeyralsina: indeed it would have13:25
ralsinadobey: I will run it on a console to see if I can isolate it13:25
ralsinadobey: ok, got it, will fix and resubmit13:26
dobeyresubmit?13:28
ralsinadobey: for more reviews, since it will inovlve changes13:29
ralsinadobey: but anyway, on a ssh to localhost without dbus, it works when I run "xvfb-run -a u1trial  --reactor=qt4 --gui ubuntuone/controlpanel/gui/qt/uniqueapp/tests/test_unique_app.py" but not from run-tests13:30
ralsinadobey: because for some reason it's not using xvfb. Damn, I need coffee now.13:31
ralsinaOk, got it, small fix in run-tests needed13:31
dobeyralsina: no need to "resubmit" it13:32
ralsinadobey: wrong word. But ask for re-reviews. Now that I know it's just a run-tests thing, not even that13:33
dobeyralsina: please don't just fix it by running xvfb-run13:33
dobey"fix"13:33
ralsinadobey: no, I have to add a folder to QT_TESTS13:33
dobeyeven13:33
dobeyhmm13:33
ralsinabecause these are Qt tests13:34
* mandel back13:42
=== m_conley_away is now known as m_conley
mandeldobey, I fixed the comments from https://code.launchpad.net/~mandel/ubuntuone-dev-tools/fix-squid-tests/+merge/103325 may I have a re-review?13:45
mandeldobey, and I have a question for you, is there a method in trial test case to create a random file within _trial_temp?13:46
dobeymandel: I think BaseTestCase in devtools has one13:47
mandeldobey, but there is no guarantee that a test that is using the server code I wrong is a BaseTestCase.. right?13:48
dobeymandel: or that it's even using a TrialTestCase13:49
dobeyor twisted.unittest.TestCase or whatever it is13:50
mandeldobey, exactly.. I need to pass a unique path to the domain socket, what do you think is the best approach? I thinking of doing something similar to what is done in BaseTestCase but within my code, but I hate to see code duplication13:51
ralsinamandel: why not just use tmpdir?13:52
ralsinasorry tempfile13:52
dobeywell, the one from the testcase should be used13:52
dobeytests shouldn't write to any files outside the tree13:53
mandeldobey, ralsina, that is the deal, we want the things to be self contain13:53
ralsinabecause if there's nothing there, using tempfile.mkdtemp(dir=TEMPDIR) and then a fixed name in there for the socket should be trivial13:53
ralsinaagreed13:54
ralsinamandel: but you don't want a method that create a file, because you need a socket ;-)13:54
dobeyralsina: that is basically exactly what the method on the test case does :)13:54
ralsinamandel: so you need a method to create a random FOLDER in TEMPDIR13:54
mandelralsina, dobey, I can do the following TidySocketServer(temp_dir=None) if tempdir is non I'll deal with it13:55
ralsinamandel: ack13:55
dobeyi'd have to look at that code again to make a better recommendation13:56
ralsinagatox: swap?13:57
gatoxralsina, yep..... what happend?? is not a national holiday this monday and tuesday?13:57
ralsinagatox: yes, did not remember you were swapping13:57
mandeldobey, yep, I'll do the MP and then we can discuss with a little more context13:58
ralsinagatox: did you mention and my alzheimer is showing?13:58
gatoxralsina, sorry..... i forgot to mention... just send the request...... let me know if it is possible..... no problem either way13:58
ralsinagatox: sure, no problem at all13:58
gatoxralsina, mandel  is this file really necessary?? http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntu-sso-client/trunk/view/head:/ubuntu_sso/utils/linux.py   (in the mac branch we are moving  ":/linux.qss" to a dict in ubuntu_sso/utils/__init__.py)14:22
gatoxi'm asking to see if i can remove this file in this branch... or it would be better to leave there for another reason14:22
mandelgatox, remove remove14:22
ralsinagatox: kill it14:22
gatoxjeje ok then!14:23
ralsinagatox: there used to be a bit more in one or the other of those14:23
gatoxralsina, the qtwisted one (used for windows and mac) has some functions, but not this one14:23
ralsinagatox: yes, that's why it can die14:24
dobeyralsina: can you do a backport of your unique_in_ubuntu for stable-3-0 ?14:25
ralsinadobey: sure, should be exactly the same branch14:25
dobeyyeah you can just make a branch of stable-3-0 then bzr merge -c $REVNO lp:ubuntuone-control-panel to pull in that change, and commit --fixes and everything again with same message even14:26
ralsinadobey: cool14:28
* dobey wonders why the trend for loading spinner images is to have them look like orubori14:30
ralsinadobey: that's the ETA estimate14:32
ralsinait will arrive when the snake's done eating14:33
dobeyfor some sites that is definitely true14:33
dobey(they never load)14:33
gatoxmandel, i need you to review this branch: https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/mac-port/+merge/103488  (so we can land this... or keep fixing it :P)14:34
gatoxmandel,  the tests in windows and llinux are OK14:34
mandelgatox, on it!14:34
ralsinadobey: https://code.launchpad.net/~ralsina/ubuntuone-control-panel/unique-3-0/+merge/10348914:35
mandelhehehe cute: AF_UNIX path too long.14:36
ralsinacrap, my 3-0 branch fails tests14:43
ralsinaBut so does stable-3-0 so it's not me. Dobey, something is boken in stable-3-0 tests. Mandel, it's about BaseMockWebServer14:44
mandelralsina, my I see the error?14:45
ralsinadobey, mandel: https://pastebin.canonical.com/64916/14:45
dobeyeh?14:45
ralsinamandel: pastebin above, fails the same in my notebook and on tarmac14:45
dobeyralsina: do you have python-ubuntu-sso-client.tests installed?14:45
dobeyi think that's the package name14:46
ralsinadobey: apparently not14:46
mandeldobey, is that new?14:47
ralsinadobey: makes no difference if I install it14:47
mandelralsina, running tests in my machine as we speak14:47
dobeyweird14:47
mandelralsina, I have no issues what so ever14:48
mandeldobey, when did python-ubuntu-sso-client.tests appear?14:48
ralsinamandel: are you on today's nightlies?14:48
dobeyah ha14:48
dobeybecause it fails with nightlies14:49
ralsinaright14:49
mandeldobey, I'm not14:49
ralsinalooks like we have some divergence between nightlies and release we should not have14:49
mandelralsina, ^14:49
dobeyralsina: no, that divergence is fine14:49
dobeyor well, it's because that thing was removed, to fix tests on buildout or whatever, when the stuff got merged into devtools14:50
dobeyand we don't have a quantal vm yet14:51
mandelralsina, I just upgraded, things are ok on my side.. does it fail on tarmac too?14:51
ralsinamandel: yes14:52
mandelralsina, can you pass me your branch?14:52
ralsinamandel: https://code.launchpad.net/~ralsina/ubuntuone-control-panel/unique-3-014:52
ralsinamandel: but stable-3-0  already has the sameissue14:52
* mandel checks14:53
alecuholas!14:53
mandelralsina, which revno in trunk14:56
mandelalecu, buenas!14:56
mandelralsina, 317 works on in my machine14:58
ralsinamandel: because you are not on nightlies14:58
ralsinahola alecus!14:58
=== yofel_ is now known as yofel
mandelralsina, I am, please do bzr merge lp:ubuntuone-control-panel in your branch and it will be fixed14:59
mandelralsina, the branches have diverged, that is all15:00
ralsinamandel: but my branch is to merge into STABLE not trunk :-)15:00
ralsinamandel: and it can't be merged into stable because we are on nightlies in tarmac and then it fails15:00
dobeymeh15:01
mandelralsina, then you have to pass the bloody path tothe sso stable branch and will pass15:02
briancurtinme15:02
ralsinamandel: right15:02
mandelme15:02
gatoxme15:02
ralsiname15:02
ralsinamandel: which we are not doing in tarmac15:03
dobeymandel, ralsina: applied workaround, it should land next go-round15:04
ralsinadobey: awesome15:04
dobeythisfred, alecu, mmcc: standup?15:04
mmccme15:04
alecume (writing notes)15:04
ralsinadobey: needs a re-approval?15:05
ralsinabriancurtin: go15:05
dobeyralsina: already done15:05
dobeyλ DONE: backports, review15:05
dobeyλ TODO: backports, SRUs, u1db packaging/buildsys15:05
dobeyλ BLCK: none.15:05
dobeybriancurtin: next15:05
briancurtinDONE: ended up dropping PyQt/Qt version unification, 1-1, working on getting installer situation fixed15:05
briancurtinTODO: add startup script to bitrock installer, a lot of testing, half day off in the afternoon15:05
briancurtinBLOCKED: None15:05
briancurtinNEXT: mandel15:05
mandelDONE: Bug 987213 Bug 987225 Bug 987256 Bug 988228 to get squid on windows. Foudn out proxy u1-client tests are broken on windows. Worked on chaing devtools to use endpoints and be able to use domain sockets.15:05
mandelTODO: more on devtools, once landed change all tests for new api, move to tcpactivation.15:05
mandelBLOCK: no15:05
mandelgatox, go15:05
gatoxDONE:15:05
gatoxSubmit 3 branches to get things working on MAC OS, help mmcc with to setup his environment and get tests running on mac. Propose mac port branch (from urbbanape with some fixes)15:05
gatoxTODO:15:05
gatoxStart landing mac branches and get things running on mac15:05
gatoxBLOCK:15:05
ubot5Launchpad bug 987213 in ubuntuone-dev-tools "ncsa_auth is not correctly set on windows" [Medium,In progress] https://launchpad.net/bugs/98721315:05
gatoxNo15:05
ubot5Launchpad bug 987225 in ubuntuone-dev-tools "Squid configuration paths mix windows and linux separators" [Medium,In progress] https://launchpad.net/bugs/98722515:05
gatoxralsina, go15:05
ubot5Launchpad bug 987256 in ubuntuone-dev-tools "The squid process is not killed on windows" [Medium,In progress] https://launchpad.net/bugs/98725615:05
ubot5Launchpad bug 988228 in ubuntuone-dev-tools "On windows data files are stored in the wrong location" [Medium,In progress] https://launchpad.net/bugs/98822815:05
ralsinaDONE: reviews, uniqueapp for ubuntu, reviews, mgmt call, 1-1 with brian, canonicaladmin, etc. TODO: fix a bug maybe, help build the upstart cookbook, random other bits and pieces BLOCKED: no, NEXT: mmcc15:05
mmccdone: got sso_client tests up and running15:05
mmcctodo: setup mumble, ask more questions, get big picture,15:05
mmccblocked: none15:05
mmccnext?15:06
mmccsorry15:06
mandelalecu, you!15:06
mandeldobey, ralsina, alecu, we need to decide a way to work around this issues..15:06
alecuDONE: enlightening roadmap call with joshua, got back to security issues, kinder 70th anniversary15:06
alecuTODO: patches for security issues.15:06
alecuNEXT: thisfred15:06
dobeymandel: it will be fine once we have a q vm to use15:06
ralsinamandel: for jenkis we are using buildout to get a consistent set of sources so tests are always ran against the right branches of our whole stack15:07
ralsinamandel: but we want to test against system versions on ubuntu, so it's workarund time for a month or so15:07
mandelok, how annoying15:07
ralsinamandel: yep15:08
mandelmmcc, how is everything going? at some point I'd like to have a mumble chat with you and gatox to see how we move with the mac work15:09
mandelmaybe tom after the team meeting15:09
gatoxmandel, +115:09
ralsinamandel: mmcc needs a copy of your "how to do a port" email15:09
mmccmandel: sounds good. I'm reading source and build scripts, but a higher level picture would be good too15:10
gatoxmandel, i want to see that email too :P15:10
dobeyi'm afraid to see that email15:10
mmccmaybe make that email a googledoc?15:10
mandelralsina, mmcc, gatox, I should have that brain dump somewhere ..15:10
mandeldobey, amazing number of spelling errors.. and funny ones too :P15:11
thisfredoops: me15:11
thisfredDONE: started on #987414 finished inmemory and sqlite backend implementations TODO: #987414  C implementation BLOCKED: no15:12
joshuahooverbriancurtin, ralsina: ok, heard back from a user who tried brian's installer - got logs and...IT WORKED...huh?15:12
mandeljoshuahoover, hurray?!15:13
mandelhehe15:13
dobeybah15:13
joshuahoovermandel: exactly15:13
mandeljoshuahoover, the deal is the following, lets imaging the following, I suppose that there is a load balancer for our servers, user hits one with a 'funny' ssl cert, if the load balancer is set to always use the same server for a length of time, he keeps getting the error15:14
joshuahoovermandel: i could buy that15:15
mandeljoshuahoover, blames de new code (my mom in this case) next day/later tries again, load balancer points to a diff one, works!15:15
joshuahoovermandel: we do sticky sessions?15:15
mandels/de/the15:15
mandeljoshuahoover, no idea, could be, we should ask to the people at the back15:16
joshuahoovermandel: i'm asking15:17
mandeljoshuahoover, great, anyway, we should have those logs from now on, next time in happens we see what cert is in use15:18
ralsinajoshuahoover: I am between \o/ and WTF15:18
joshuahooverralsina, briancurtin, mandel: i attached the debug log to bug #985816 ...note that the user said he was never prompted to authenticate...i had the user uninstall u1, reboot, and then install the debug version15:18
ubot5Error: Launchpad bug 985816 could not be found15:18
joshuahooverralsina: yeah, i hear ya...i was scratching my head reading the reply15:18
ralsinajoshuahoover: he probably run into the SSL problem with filesync, not SSO15:18
mandelralsina,  \WTF/15:19
ralsinajoshuahoover: and yes, it *may* be we have a single old cert floating15:19
mandelor even better \(WTF)/15:19
ralsinamandel: we need a bigger emoticon!15:19
ralsinabriancurtin: I say we re-release with the new logging, making is_root return False, and whatever packagng fixes we can do today15:20
ralsinajoshuahoover: ^15:20
mandelralsina, well, this is all we have.. remember the numb3rs episode, we should be using l33t or whatever15:20
thisfredthere is a bigger emoticon in wtf-815:20
briancurtinralsina: i'm hurrying with the packaging fixes, but i don't know that i'll have anything figured out in the next 2 hours before i leave. the installer does not want to cooperate with anything15:21
ralsinathisfred: oh, wtf-8, the home of U+1F4A915:21
ralsinabriancurtin: ok, then with what we can do tomorrow15:21
ralsinaand we start signing early friday/late thursday15:21
ralsinaand aim for a monday release15:21
briancurtinsounds good15:21
thisfredralsina: as well as https://en.wikipedia.org/wiki/On_Beyond_Zebra!15:22
* gatox lunch!15:22
ralsinathisfred: I was hoping that was a sequel to http://es.wikipedia.org/wiki/Ice_Station_Zebra15:22
thisfredyou can read it as such :)15:23
ralsinaas usual, the sequels are more childish15:23
dobeyok, need to get lunch. bbiab15:23
=== gatox is now known as gatox_lunch
=== ralsina is now known as ralsina_lunch
* mmcc just found out about Apple's WWDC, and tickets are already sold out15:38
mmccmandel, gatox : is there a todo list or set of bugs or something for the mac port? I'm wondering what state it's in overall right now.15:48
mmcclooks like most of the work has been on the sso-client, right?15:49
gatox_lunchmmcc, yes15:49
gatox_lunchmmcc, we didn't start working in the other projects yet15:50
mmccgatox_lunch: oh, sorry I missed your lunch notice… am I interrupting15:50
mandelmmcc, what about I walk the dog and I give you a crazy intro?15:50
gatox_lunchmmcc, no problem15:50
mmccmandel: sounds good15:51
mandelmmcc, he does not eat, he is a cylon trying to pass the turing test15:51
mmccmandel: it was working15:51
mandelmmcc, let me walk the beast 20 min or so and we chat about it :)15:51
mmccmandel: ok15:51
alecuit's lunchtime for me.16:14
=== alecu is now known as alecu_lunch
=== gatox_lunch is now known as gatox
* mandel back16:32
mandelmmcc, ping!16:32
mmccmandel: hi16:32
mmccmandel: am I supposed to say pong? I'm New Here (tm)16:33
mandelmmcc, yes hehe16:33
mandelmmcc, mumble?16:33
mmccmandel: in ~2 minutes?16:34
mandelmmcc, sure16:35
=== elopio_ is now known as elopio
mmccmandel: ok, so I got the iOS mumble app because I don't have a microphone/headset for my desktop yet. hopefully it works16:37
mandelmmcc, fingers crossed :)16:37
mandelmmcc, I'm at the desktopplus channel in the manu-ah-manou16:37
* mandel wonders why Portuguese16:38
mmccokay, I'm getting a password error, let's see how long it'll take me to tap in this password16:38
mmccugh, no luck16:40
mandelmmcc, we can always use skype :)16:42
* dobey wonders if mmcc is using the wrong auth method16:42
mmccmandel: ok, I'm signing in to skype now. Also on my iphone. This actually works though16:44
mmccmandel: how can I find you on skype?16:45
mmccdobey: can you expand on that? there's just a username/pwd field in this app16:46
dobeyralsina_lunch: should we fix the #! in stable-3-0?16:47
dobeymmcc: are you using your lp id/pass?16:47
dobeyalso, 105ms ping. ow.16:49
ralsina_lunchdobey: what's wrong with it? env?16:59
=== ralsina_lunch is now known as ralsina
dobeyralsina: yeah, for things where we use env instead of /usr/bin/python17:00
dobeyralsina: do we want to fix that in 3-0 as well as trunk?17:01
ralsinadobey: I am +0 on that. The arguments are flimsy17:01
ralsinadobey: as in "a ton of stuff shipped that way forever and none cared"17:01
ralsinadobey: so I have trouble finding enough annoyedness to spend team time on it17:02
dobeyright. though i suppose we have to fix it for trunk, as part of supporting py317:02
ralsinadobey: yes, since *maybe* python will be python317:02
ralsinabt we should have plenty of advance notice17:02
dobeywell i just had to mark one bug about it as a dup of another :)17:04
dobeyhttp://www.wefearchange.org/2012/04/python-3-on-desktop-for-quantal-quetzal.html17:04
briancurtini'm off for my half day now, see everyone tomorrow17:04
=== alecu_lunch is now known as alecu
dobeyralsina, alecu: when shall we discuss a release schedule for 3.0.x updates?17:23
ralsinadobey: I have my 1:1 with gatox in 5 minutes, so, in 35?17:24
dobeyralsina: ok. alecu?17:24
gatoxralsina, already in mumble...... whenever you want17:24
alecudobey, ralsina: ok.17:25
dobeyoh17:26
dobeyalecu: also, re bug #692597 i don't think we can just backport the fix from stable-3-0 to stable-2-0 can we? stable-2-0 uses the gtk+ control panel17:27
ubot5Launchpad bug 692597 in Ubuntu One Client stable-1-6 "If the user has the date/time/timezone wrong, connection fails (Expired timestamp error)" [High,In progress] https://launchpad.net/bugs/69259717:27
alecudobey, right, but the u1cp backend is very similar in both.17:28
dobeyalecu: why is 1.6 different then?17:29
gatoxdobey, mandel can you review this? https://code.launchpad.net/~diegosarmentero/ubuntuone-dev-tools/u1lint-mac-support/+merge/10352417:29
gatoxmandel, mmcc and also can i have a review for this? https://code.launchpad.net/~diegosarmentero/ubuntuone-windows-installer/mac-env/+merge/10352517:29
dobeygatox: looking17:29
gatoxdobey, mandel, ... mmcc test this branches yesterday in his machine and everything works17:29
gatoxralsina, mumble?17:30
ralsinagatox: in 1'17:30
gatoxralsina,17:30
gatoxack17:30
mandelgatox, on a call17:31
gatoxmandel, also, please don't forget to review this one: https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/mac-port/+merge/10348817:31
gatoxmandel, roger that17:31
mandelgatox, yes17:31
alecudobey, 1.6 uses a different (simpler) webclient, and also 2-0 has some of the timestamp code merged in the common gui module which is not present in 1-6.17:38
dobeyok17:40
gatoxmandel, ping17:44
gatoxmandel, please let me know when you finish with your call before you leave :D17:44
mandelgatox, ok17:45
mandelgatox, che, mumble mumble!18:03
mmcclunch…18:04
gatoxmandel, to the mumble-movil!18:11
gatoxmmcc, ping18:20
thisfredalecu, ralsina: https://code.launchpad.net/~thisfred/u1db/get-index-keys-from-index/+merge/103546 if you feel like it (disclaimer: part of it is in C/Cython, so not feeling like it is a perfectly acceptable excuse)18:50
alecuthisfred, looking18:50
ralsinathisfred: I am required by contract to feel like it18:50
thisfredwell, I will get a review from jam tomorrow, so u1db is somewhat special, but soon I won't be, so I guess now's as good a time as any to start18:51
thisfredhmm, our valgrind checker does not like that branch, so I may have added a memory leak18:53
dobeybad monkey18:53
ralsinathisfred: valgrind is guaranteed to find 150% of the memory leaks you add18:54
thisfredluckily its reports are terse and to-the-point...18:55
* thisfred increases terminal scrollback18:55
ralsinathisfred: I feel like it, but not up to it. Maybe later.18:57
thisfrednp18:57
ralsinathisfred: get kgrindcache or however it's called. Or Valkyrie.18:58
dobeycachegrind18:58
dobeythisfred: is make check-valgrind not outputting the valgrind info to a log file?18:59
thisfredwell, the second run passed, so I'm just gonna ignore it :)18:59
thisfreddobey: stdout18:59
thisfreddobey: and make-valgrind-leaks is the one I was running18:59
dobeyhrmm19:01
dobeyralsina: hrmm, i presume we'll need to do 3.0.1 sooner rather than later, and then do every 6 weeks from that perhaps.19:02
ralsinadobey: 3.0.1 would be the next SRU, right?19:02
ralsinaoh, windows19:02
ralsinayes, we need to do a 3.0.1 (or another 3.0.0) like, friday19:02
dobeyralsina: right, but where are we at for the windows related issues there?19:02
gatoxmmcc, let me know when you are back from lunch19:03
ralsinadobey: well, with the SSL debugging, and a couple of minor packaging fixes, we could do a release19:04
dobeyok19:05
ralsinadobey: could we do a 3.0.1 milestone soonish? And use that for the SRU?Or we need to fix more stuff before the SRU?19:05
dobeyralsina: maybe https://bugs.launchpad.net/ubuntuone-client/+bug/98737619:06
ubot5Ubuntu bug 987376 in Ubuntu One Client "Tritcask fails to load data file bigger than address space." [High,Confirmed]19:06
ralsinaverterok: do you have an ETA for that one? ^19:06
dobeyralsina: there's a branch proposed for trunk to fix it19:07
ralsinadobey: ok, so if we land that, we could do both releases as 3.0.119:07
ralsinadobey: early next week perhaps19:07
dobeydon't know if there are any other bugs we should get in at this point19:08
ralsinadobey: ok, I'll do some bug checking to see if there's any big ones I don't recall19:09
verterokralsina: it's proposed19:12
ralsinaverterok: awesome19:15
mmccgatox, back. what's up?19:19
gatoxmmcc, i had a mumble with mandel before his eod, and we were talking about which will be our tasks (you and me), until he finish with tcpactivation... we were talking about refactoring ubuntuone-client/ubuntuone/platform........ to separate the different modules in packages, so we can check which changes we will need to implement for mac, to see which packages fails (now you see that platform is failing mostly)19:22
mmccgatox: yes, he mentioned that when we talked too19:22
gatoxmmcc, did he explain which is the idea about the new implementation?19:23
* mmcc will pick up a USB headset Real Soon Now™ for mumbling19:23
mmccgatox, a little bit, let me see if I can remember. He gave me an hour-long fast tour of the code so I may not remember everything19:24
gatoxmmcc, the idea is refactor each module into something similar as ubuntu-sso-client/ubuntu_sso/networkstate19:24
gatoxmmcc, where you have a package with the name of the module, and inside you have the windows, linux and darwin implementation19:25
* dobey wonders how to ensure stuff works on python3, while being unable to run code under python319:25
mmccgatox: right.19:25
gatoxdobey, you can run the code with python2..... and tell it to show python3 warnings of things that should be changed19:26
mmccgatox, so instead of platform/linux/os_helper.py and platform/windows/os_helper.py, it'd be platform/os_helper/$platform.py, yes?19:26
gatoxmmcc, exactly19:26
mmccgatox: do you have tests working in ubuntuone-client on mac?19:27
dobeygatox: how?19:27
gatoxmmcc, not yet19:27
gatoxdobey, let me check19:27
gatoxdobey, python -3 script.py19:28
dobeyhmm19:29
gatoxmmcc, so maybe you can take a look at the code in platform (there are several things there) and check how we should be implementing that (looking at the example i mention in ubuntu-sso).... i'm close to my eod, and i'm starting with the refactor, so if you agree, you can check that code today, and we can discuss tomorrow which modules you can refactor and so...19:30
gatoxmmcc, i'll be doing that too..... so we should coordinates who is going to be refactoring what19:31
dobeywow, that is not pretty19:31
gatoxdobey, python -3?19:31
dobey/usr/lib/python2.7/threading.py:596: DeprecationWarning: sys.exc_clear() not supported in 3.x; use except clauses19:31
dobeynice :)19:31
dobeygatox: yeah, it really doesn't like twisted :)19:32
gatox:P19:32
thisfredoh, ralsina and alecu: there's also still https://code.launchpad.net/~thisfred/u1db/u1todo-3/+merge/103170 which has 0% C19:32
mmccgatox, yes - I'll have a look at the filesystem_notifications stuff, and os_helper, both of which mandel pointed to.19:33
thisfredor triple your money back19:33
gatoxmmcc, yes..... we are be going on filesystem notifications also after the platform module19:33
dobeyoh print syntax changed19:33
gatoxs/going/going to be working19:33
dobeyfail19:33
thisfreddobey: well, it makes more sense as a function19:34
thisfredsince it is19:34
urbanapeDr_Who: ping19:34
dobeythisfred: new syntax is just print("foo") instead of print "foo"?19:34
thisfredyea19:34
thisfredfixing this is automated in 2to319:35
dobeyyeah it's fine. but python -3 doesn't warn about it :(19:35
thisfredhuh, really?19:35
dobeyit isn't here19:35
Dr_Whourbanape, pong19:36
thisfredwhat do you mean by python -3 btw?19:36
mmccgatox, how much time is left in your day? I'm happy to start trying to get the client tests running but I don't want to step on your toes19:36
urbanapehey, Dr_Who. Have you signed the Canonical contributor's agreement?19:36
thisfreddobey:  is that a command line option for checking conformity?19:36
urbanapehttps://forms.canonical.com/contributor/19:36
dobeythisfred: it prints a bunch of DeprecationWarnings for things that don't work in python 3.x19:37
thisfreddobey: ah19:37
dobeythisfred: but apparently syntax changes, or module changes, don't get reported :-/19:37
thisfreddobey: yeah there are better tools for this19:37
thisfreddobey: try 2to319:38
thisfreddobey: for print, we should probably start importing that from future:19:38
thisfredfrom __future__ import absolute_import, print_function19:39
dobeysigh19:39
thisfredI've started putting that in my code19:39
dobeyfrom __future__ import Terminator19:39
thisfredto ease migration19:39
dobeyprint() works fine in 2.7 at least, and i think in 2.6 too19:39
Dr_Whourbanape, hmm don't recall, believe so, but non the less, signed19:39
gatoxmmcc, about 20 mins....... the problem is that we don't actually have the same script as in sso for u1-client... and some tests are broken.... i'll try to create the script and take a look if we should be skipping anything in mac and propose the branch tomorrow moorning...... so we can work on that19:40
dobeythe really annoying things are module changes19:40
dobeylike this one:19:40
dobey-import ConfigParser19:40
dobey+import configparser19:40
urbanapeDr_Who: cool. Then I think I can incorporate your files branch19:40
dobeyoh wells19:41
Dr_Whourbanape, great19:41
mmccgatox, ok that sounds good. I'll just read up on mac filesystem event watching then, since it's been a while since I last used it19:41
gatoxmmcc, you can try to run the tests as in sso if you want, just to try... take a look at the script19:41
thisfreddobey: print() has always worked19:41
thisfredthe import just enforces it19:41
dobeyah19:41
dobeyi bet everyone on the team would *LOVE* it if i added that to u1trial :P19:42
thisfredbut let's not worry about that19:42
mmccgatox, ok. I think after mandel's walk through today I might be able to debug a bit more19:42
thisfredit's one of the easy ones19:42
gatoxmmcc, ok... also, try to take a look at the platform module, that would be the first task if i understand correctly (also you'll have the chance to know the code a little bit more)19:42
dobeyyeah, not really worried about that one19:42
thisfreddobey: the fun is gonna be strings vs unicode19:42
dobeyoh well, i'll poke at it again later19:43
Dr_Whourbanape, FWIW I do have the bug in the music app wrt downloads resuming after network interrupts pretty much narrowed down. Taking my time with it tho, between release week in linaro land and brushing up on how to correctly do upgrades to core data objects19:44
urbanapethat's awesome19:45
Dr_Whohappy to help out19:45
mmccgatox sorry, by look at,  do you mean the platform module refactoring into platform specific submodules, or just looking at what actual code needs to be changed to work on mac?19:52
gatoxmmcc, just get familiar with the code... if you want, you can try to start refactoring some of the modules inside platform, but i was fixing right now how we run the tests for u1-client on mac19:55
gatoxmmcc, so you have the big picture about platform, and we can discuss tomorrow which module each of us can take to refactor19:55
mmccgatox, ok sounds good20:00
alecuthisfred, what's the right way to run tests for this branch? https://code.launchpad.net/~thisfred/u1db/u1todo-3/+merge/10317020:03
thisfredalecu: make check20:04
thisfredthat picks up all tests, but it may require some builddeps20:04
thisfredwhich are sadly underspecified20:04
thisfredfor now20:04
thisfredalecu: u1trial u1todo also works, that may require less work20:05
gatoxeod here!! need to leave... see you all tomorrow!20:07
alecuthisfred, had to install python-testscenarios and cython. Now I'm getting "src/u1db_http_sync_target.c:24:23: fatal error: json/json.h: No such file or directory"20:08
thisfredalecu: that'll be libjson0-dbg20:09
alecuthisfred, great. Now I'm getting: "No module named routes.mapper"20:12
alecuI guess python-router.20:13
thisfredalecu from my bash history: sudo apt-get install python-paste python-simplejson python-routes cython20:13
thisfredalmost there now, I think :)20:13
alecuthisfred, Ran 898 tests in 4.916s20:14
alecuOK20:14
alecu\Q/20:14
thisfredwheee20:14
thisfredon my machine it takes 14s20:14
thisfredand this is my desktop...20:14
thisfredI wonder what makes it so slow20:15
alecuthisfred, I didn't get the libjson0-dbg package, just the -dev one.20:15
alecuthisfred, perhaps it's that?20:15
dobeyyour computer doesn't like that you call it a desktop, so it makes you wait20:15
thisfredah yeah, that's all you need20:15
thisfreddobey: fair enough20:16
alecuthisfred, +1d20:16
thisfredalecu: thx!20:16
alecuthisfred, should I review the other one?20:17
alecuthisfred, you mentioned some issue with valgrind....20:17
thisfredalecu, nah, I'll look at it with jam tomorrow20:18
alecuthisfred, oks.20:18
mmcchey desktop+ team, ralsina, this meeting tomorrow morning, is it via mumble or ?20:19
dobeymmcc: yes, mumble20:19
mmccthx dobey20:20
mmccok, so does anyone have a recommendation for a good USB headset?20:20
mmccI don't want to count on this iPhone mumble app working20:20
dobeymmcc: did you get the auth issue resolved?20:20
mmccdobey: no20:20
ralsinammcc: yes, mumble. And no, no recommendations. With push to talk you may be able to make it work without one, for this once20:21
dobeyi don't use a headset20:21
ralsinammcc: we *can* do it on a phone conference, but it's difficult for some20:21
dobeyi just use PTT20:21
ralsinadobey: you also try very hard not to talk ;-)20:21
mmccralsina, I'm actually not sure this computer even has a microphone20:22
thisfredI wish everyone used push to talk, headset or no20:22
ralsinammcc: haha20:22
dobeyi just try to keep the meeting brief :)20:22
thisfredI hate hearing my own echo20:22
mmccand at any rate you'd be listening to my knees20:22
mmcclots of poping noises20:22
mmccpopping20:22
thisfredmmcc: I usually go with the cheapest logitech wired headset, which works fine with linux/mumble (if mumble works at all, that is)20:23
dobeythisfred: it's the dutch accent. we just need to get rid of it, then you'll love hearing the sound of your own voice, like a true American.20:23
thisfredhehe20:23
thisfredwell, it is painful to hear how much of an accent I have. In my head it's totally not there :)20:24
dobeyalecu, ralsina: https://code.launchpad.net/~dobey/ubuntuone-dev-tools/gi-glib-fallback/+merge/10356120:24
* ralsina has a U$S 5 nobrand wired headset from which the mic fell off, and it still works better than anything else he tried20:24
dobeythisfred: see, you're already well on your way. first step is denial of the accent. :)20:24
ralsinaI think it's a NOGANet if that means anything to anyone20:24
thisfredthe first step is always denial20:25
thisfredthen comes anger20:25
thisfred5. profit20:25
thisfred12. acceptance20:25
dobeythen comes the alien invasion20:25
dobeydeny everything -> omg aliens.20:25
thisfredwe're way past that stage20:25
ralsinathisfred: have the number for "making ammends with those around us?" also "surrendering to a higher power" is handy.20:25
thisfredralsina: you'd like that heh ? :P20:26
thisfredI think amends is around 10 or 1120:26
mmccok, looks like the iphone mumble app works after all. so I can use my iphone headset.20:26
ralsinammcc: awesome!20:26
ralsinaI have to setup mumble for android someday and pretend I am on an actual phone when I tell my wife I am on the phone20:26
thisfredstep 1: don't talk about the 12 steps20:27
alecudobey, why the "from __future__ import absolute_import"?20:27
mmccralsina: yep. But I'll still look for the old USB headset I got with IBM viavoice for os x back in 2001… and never used20:28
dobeyalecu: oh, oops. forgot to remove that, when was doing real imports which failed and shouldn't have20:28
ralsinammcc: hahaha I had dragon dictation in the same timeframe :-)20:28
thisfredhttp://www.aa.org/bigbookonline/en_bigbook_chapt5.pdf20:28
dobeyalecu: removed/pushed20:29
alecudobey, thanks.20:29
ralsinastep 2: have a drink20:30
thisfredwhatever you think about aa, there's pretty good evidence that it's one of the few things that really help overcome addiction. "The cult that saves."20:31
thisfredbut yeah, now I'm thirsty20:31
thisfredFor a pretty awesome fictional account of what it's like, I recommend Infinite Jest by D.F. Wallace. (Though that book is quite a bit more than that)20:33
dobeyit goes to infinity and beyond?20:34
thisfredinfirmity and beyond, for sure20:35
thisfredit also explores competitive tennis, and DRM, among other subjects20:36
thisfredand french Quebecois nationalism20:37
dobeyhttp://www.youtube.com/watch?v=zmcrreUVBeo20:37
thisfredhehe20:40
thisfredmakes me wanna watch the long riders20:41
thisfredwhich isn't Peckinpah20:42
thisfredhmm, which one was I thinking of then20:42
thisfredI guess The Wild Bunch. Though I prefer The Long RIders20:43
thisfredConvoy!20:44
dobeyhehe20:44
alecudobey, +120:49
dobeyalecu: thanks20:49
dobeyralsina: are you reviewing it already? :)20:50
* mmcc saw twisted trialrunner say I could get tracebacks in 'emacs' format. then I saw the code that just mapped that to 'default' with a comment saying "yeah i know this is stupid" :(20:57
mmcc(that code was in twisted)20:57
dobeywhat the heck is "emacs format" ?20:58
mmccdobey: I can't say, since it doesn't exist, but I'm guessing it's tracebacks that emacs parses the same as compile errors20:59
mmccalthough I'm sure there's a package floating somewhere that can understand regular Python tracebacks anyway21:02
dobeyi guess it's just that time of day again21:08
aFeijohi guys, bug report: files are not synced in Windows until you manually open Ubuntu One app :)21:09
dobeyaFeijo: please open a bug at https://bugs.launchpad.net/ubuntuone-client21:09
aFeijook21:10
aFeijoskydrive, google drive... what a week21:11
mmccaFeijo: yes, interesting times! BTW, I think you've hit the quiet time in this channel, which is what I think dobey was referring to…21:13
dobeyhe joined after i made that comment21:14
=== m_conley is now known as m_conley_away
aFeijowow, lots of bug reports, I'll try to find if someone else reported it21:15
mmccdobey: whoops, indeed. joins are kind of a light grey over here21:16
aFeijodamn, now the app wont open in my win721:16
aFeijoweird21:16
dobeyaFeijo: you can just open a new report. if it's been reported already, someone will mark it as a duplicate of the other. i haven't heard anyone mention that particular issue yet though21:16
aFeijookey dobey :)21:16
aFeijowill u1 increase disk quota with so many competitors? :p21:17
dobeywell, u1 doesn't offer only storage. u1 is a bunch of services.21:18
aFeijoyeah, music too21:18
dobeywell, i need to run. have a good evening all21:28
mmccbye dobey21:29
=== salgado is now known as salgado-afk
=== davidcalle_ is now known as davidcalle
* mmcc is leaving. 22:35

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