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

gatoxgood morning11:11
ralsina /away12:19
ralsinagood morning!12:19
gatoxralsina, hi12:20
dobeyis u1lint on osx being replaced with /bin/true or something?13:03
gatoxdobey, hi! i'm having some problems with tihs branch: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/menu/+merge/118117 i don't know if tarmac is not working or something....13:05
dobeyit appears the -trunk tarmac is offline13:05
ralsinahello dobey!13:08
dobeyhave no fear, i is here!13:10
dobeybrb, need to reboot apparently. sound card didn't get picked up when i turned workstation back on after holidays14:02
dobeybah, stupid sound14:13
mmcchi everyone. welcome back, dobey!14:15
ralsinahello mmcc14:17
ralsinadobey: if you can't get the soundcard to work we can arrange something with phones14:17
ralsinaand skypes, and ponies14:18
joshuahooverralsina: is there a call today in about 40 min.?14:18
ralsinajoshuahoover: yes14:18
joshuahooverralsina: k, thanks14:18
mmccbrb making coffee14:19
dobeyralsina: the internal sound card isn't getting picked up by pulseaudio for some reason. my external usb sound interface for my studio equipment works though, so i'll just have to use it14:20
ralsinadobey: so we should get extra quality dobeysound!14:20
dobeyeh14:23
dobeyhey mmcc; thanks14:27
gatoxdobey, is tarmac working now?? should i re-approve this branch or something? https://code.launchpad.net/~diegosarmentero/ubuntuone-client/menu/+merge/11811714:31
dobey+SET IGNORE_MODULES="test_linux.py, test_libsoup.py, test_darwin.py"14:35
dobeyhuh, why are there spaces in there14:36
dobeygatox: it should be working now14:36
briancurtinall: it's my review day so let me know if you need a look at anything14:36
briancurtinalecu: https://code.launchpad.net/~brian.curtin/ubuntu-sso-client/remove-SyncTimestampChecker/+merge/118826 is updated, i think it should have the lint issues fixed14:36
dobeygatox: ah, something broke u1-client though14:36
gatoxdobey, ahhhhhhh14:37
briancurtini really need to figure out why lint on windows doesn't find any of the things alecu always responds with14:37
gatoxbriancurtin, if you have some time, please review this branch: https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/refactor-sync-status/+merge/118809 is just refactoring some stuff14:37
alecubriancurtin: I don't have lint running on windows :P14:37
gatoxbriancurtin, for a future branch14:37
alecubriancurtin: https://code.launchpad.net/~alecu/ubuntuone-client/fix-download-finished/+merge/11875914:37
briancurtingatox, alecu: looking14:38
dobeygatox: next run should pick it up14:38
gatoxdobey, great!! thanks! :D14:38
alecuin fact, both my windows and mac dev envs need some rebuilding14:38
gatoxbriancurtin, also this one please :D https://code.launchpad.net/~diegosarmentero/ubuntuone-client/ipcmenu/+merge/11862114:39
dobeyoi, am hungry14:39
gatoxme too14:39
mmccdobey: that IGNORE_MODULES line, what's that from? looks like something I wrote but I don't know where.14:40
dobeymmcc: from https://code.launchpad.net/~mikemc/ubuntuone-control-panel/fix-1024623-install-confs/+merge/11840414:41
dobeymmcc: it had spaces in it before your change though14:41
dobeyalthough it is in quotes, so maybe not too bad14:41
mmccah, right, the .bat file…14:42
dobeymmcc: though, did you see the comment i added on https://code.launchpad.net/~mikemc/ubuntuone-storage-protocol/fix-run-tests/+merge/118488 ?14:42
mmccdobey: yes I did. for some reason a pyflakes egg is in the buildout but not the environment it set up, so I never used it14:43
mmccI'll make the suggested change, no problem.14:44
dobeymmcc: right; i'm wondering how u1lint ever succeeded on osx/windows with your branch though, given the pylint brokenness there14:45
mmccdobey, it didn't. I should've made a note in the merge - there were so many lint errors that I figured that was an issue for later. Of course I didn't think about using pyflakes instead :|14:47
dobeyright, we need pyflakes there :)14:49
dobeyralsina: are we going to do hangout or mumble?14:50
ralsinadobey: mumble14:50
ralsinamy hangout is broken14:50
briancurtincall up google support...oh, wait14:50
dobeyralsina: do you use chromium or firefox? (or real chrome?)14:51
ralsinadobey: chromium14:51
dobeyah. it surprisingly works ok for me in firefox14:52
dobeyhow do you tell a dialog in qt to be modal, programmatically?14:53
alecubriancurtin: http://pastebin.ubuntu.com/1137918/14:54
dobeybriancurtin: could you review https://code.launchpad.net/~dobey/ubuntuone-dev-tools/fix-coverage/+merge/118207 please?14:54
dobeyseems to have gotten no reviews while i was gone14:55
briancurtinalecu: thanks, fixing14:55
briancurtindobey: adding to my review queue, i'll look14:55
alecubriancurtin: if you can't make lint work on windows, please try running the tests on an ubuntu vm.14:55
dobeyralsina: ^^ also :)14:55
ralsinadobey: got it14:55
briancurtinalecu: the weird thing is that lint on windows works, just that it doesn't seem to pick up as many things as it does for you. since this has been happening a bunch lately, i'll look into it14:56
ralsinabriancurtin: it used to pick up a milllion things too many in my case14:56
briancurtinralsina: when i was putting together this branch alecu is mentioning, it said maybe five things and i fixed them, then alecu came back with like 10 more things. its weird because none of the things alecu found were platform specific, just bare imports that would happen everywhere14:57
ralsinabriancurtin: weird14:57
=== zyga is now known as zya-afk
alecubriancurtin: for the imports, I didn't rely on pylint; I just thought of them while reviewing the code.15:00
briancurtinalecu: good eyes/mind15:00
briancurtin:)15:00
alecubriancurtin: I think I didn't ran the tests at the time.15:00
alecu:-)15:00
dobeyralsina, thisfred, mmcc, briancurtin, mandel: mumble?15:01
ralsinagoing15:01
briancurtinon the way15:01
dobeydid i miss anyone? alecu/gatox were already there, as is joshuahoover15:01
ralsinamandel is on vacation, so I think you missed noone15:02
alecudobey: I think not15:02
thisfredme15:02
dobeythisfred: mumble15:02
thisfredah15:02
ryealecu: is it possible to unsubscribe the volume w/o actually firing up sd - manipulate the metadata15:33
alecurye: there might be some way to manipulate the metadata with some byte twiddling, but we have no tool to do that.15:35
alecuso... I need to run some errands downtown. I've been putting this away the whole week because of the strike of the subway workers... but it can't wait anymore.15:40
alecuwish me luck!15:40
ryealecu: good luck!15:40
alecuthanks!15:40
ryesubway workers strike? no subway service?15:40
briancurtinalecu is hopping up front to drive the train15:40
alecurye: yup, since sunday.15:40
alecubriancurtin: lol15:41
ryealecu: briancurtin http://xkcd.com/726/15:41
ralsinaalecu: ever considered asking a motorcicle messenger service to deliver you? ;-)15:41
alecuralsina: I'm on the "heavy packages" category.15:41
mmccThat comic makes it look like the window is open in the cockpit15:42
ralsinaalecu: in paraguay you can take a moto-taxi like that :-)15:42
alecuralsina: that would be an awesome service here15:43
ralsinaalecu: I have a friend who is motoquero, maybe he can take you15:43
alecuralsina: even a two person bike where only the driver pedals.... we could be millonaires.15:43
ralsinaalecu: boke rickshaws like in london?15:43
ralsinabike*15:43
alecuralsina: it would have to be slimmer, to take advantage of our bike lanes.15:44
ralsinaa bike-rickshaw-train hybrid15:44
mmccgiven a pyflakes .egg, is there an easy way to turn that into a pyflakes runnable script? I'm hoping there's some command that'll do it for me15:44
ralsinammcc: pip?15:44
* alecu should get a bike.15:44
ralsinammcc: pip install thisegghere.egg15:45
mmccralsina: where does that put it?15:45
ralsinammcc: magical places15:45
ralsinammcc: no idea :-)15:45
mmccright. heh. "in my virtualenv" if I had one15:45
mmccI wanted to do it in a buildout compatible way, since the buildout includes the egg15:46
mmccok, there's a buildout way to do this. I guess we just aren't doing it yet15:47
mmccno, the buildout should've installed scripts from the eggs it has... maybe pyflakes has a broken egg or something?15:52
ralsinammcc it's not in the buildout's bin?15:58
mmccralsina: no, but there's a chance I've broken it. I'm testing it in a clean buildout. pyflakes' egg looks fine15:58
ralsinagotta go banking before the banks bank no' mo'16:01
ralsinaperrito666: como kung fu?16:01
ralsinaoops, wrong channel16:01
mmccralsina: was that a banking transaction?16:02
* gatox luncch!16:06
=== gatox is now known as gatox_lunch
dobeyok, off to lunch, bbiab16:08
thisfredNecesito más café16:13
ghoulmannhelp? I'm getting this on 12.04: Traceback (most recent call last):16:14
ghoulmannFailure: ubuntu_sso.utils.webclient.common.WebClientError: (u'SSL handshake failed', u'')16:14
ghoulmanncan't connect or sync16:15
ryeghoulmann: are you using any kind of a proxy?16:31
ghoulmannrye: not at all16:32
ryeralsina: ^ i don't recall this on Ubuntu16:33
ryeghoulmann: the login screen constantly says that authentication failed, right?16:34
ghoulmannrye it tells me nothing (syncing eternatally) until i go to account information. when I do that, i get WebClientError16:36
ghoulmannu'SSL handshake failed'16:36
ryeghoulmann: when you visit https://one.ubuntu.com - were you asked to add the site to the exceptions?16:37
ghoulmannrye: not that I remember. I do not when I do it now.16:38
ghoulmanni can login with no problem16:38
ghoulmannon one.ubuntu.com16:38
ryeghoulmann: may I ask you to run this script - http://people.canonical.com/~roman.yepishev/us/ubuntuone-ubuntu-syncdaemon-diag.sh - bash "ubuntuone-ubuntu-syncdaemon-diag.sh" - it will collect the log files and system/package info and will write an archive to the desktop folder. Please send the archive to ubuntuone-support@canonical.com, I will take a look16:43
ghoulmannsure16:44
ghoulmannrye : sent from rikgoldman@gmail.com16:48
ryeghoulmann: got it and found the reason, switching to private chat16:50
ryeralsina: us.archive.ubuntu.com does not have control panel 3.0.2, but ubuntuone-client is at 3.0.2 causing failures, going to #is16:56
mmccso, I can't figure out why buildout isn't installing pyflakes' script -- if anyone is more familiar with buildout and wants to take a look, here's a very verbose trace of it re-installing pyflakes after I deleted the egg: http://paste.ubuntu.com/1138110/17:02
dobeyhrmm17:07
ryeralsina: cancelling, there's no 3.0.2 released, sorry17:07
dobeyrye: i think cp 3.0.2 had no changes from the previous version17:08
dobeyrye: so i didn't waste my time uploading it to precise yet17:08
dobeyghoulmann: what version of python-ubuntuone-storageprotocol do you have installed?17:10
dobeymmcc: odd17:11
mmccI think the problem is that pyflakes doesn't have an entry_points.txt in its EGG_INFO17:18
dobeyi'm not sure that's it17:25
dobeywhy would it have one?17:25
mmccbecause buildout apparently uses that to decide what scripts to put in bin/17:27
dobeyweird17:28
dobeyi would think it would do setup.py install and be done with it17:28
dobeyor rather, it seems to be doing easy_install17:28
dobeywhich i would think also uses setup.py install17:28
dobeyand pyflakes clearly lists bin/pyflakes in scripts= argument17:28
mmccbut it's installing from the egg, there's no setup.py17:30
dobeyeasy_install is installing from an egg?17:30
mmccbuildout is17:30
dobeythen what is this mention of easy_install?17:31
dobeyUnpacking pyflakes-0.5.0 to /var/folders/sn/knffnnd96s9c237ktkb4llxm0000gn/T/easy_install-5gXYNo/pyflakes-0.5.017:31
dobeylike that17:31
mmccok, it runs easy_install - see line 137 of the paste17:32
dobeyit seems to build an egg in that directory17:32
dobeymmcc: are we using python in /usr/local/Cellar, or are we supposed to be using a python from the buildout dir?17:33
mmccdobey: for this part we should be using /usr/local/Cellar -- the buildout generated python shouldn't be generated until after the egg dependencies are installed, I think17:35
mmccthe generated python is just "sys.path = [list-ofpaths-to-installed-eggs] , then code.interact(), basically"17:36
dobeycreating build/bdist.macosx-10.7-x86_64/egg/EGG-INFO/scripts17:36
dobeymmcc: ^^ what's that file contain?17:36
dobeyoh i guess that's a directory17:37
dobeycopying build/scripts-2.7/pyflakes -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO/scripts17:37
dobeyand pyflakes should be in it17:37
mmccthat's in a temp, but the final buildout-dir/devsetup/eggs/pyflake.egg/EGG-INFO/scripts has the pyflakes script, yees17:38
mmccthe problem is, I want buildout to put that in the same bin/ as e.g. the pep8 script, and its wrapped python17:39
dobeyso it is there17:39
mmccyeah, buildout just doesn't know about it17:39
dobeymmcc: where is u1lint in the ubuntuone-dev-tools egg, as a point of comparison?17:39
mmccdobey, also at eggs/ubuntuone_dev_tools-3.0.0-py2.7.egg//EGG-INFO/scripts/u1lint17:40
mmccand also not installed correctly by buildout17:40
dobeyit is; it's just that pyflakes and dev-tools don't use pkg_resources entry points to run the scripts17:41
mmcc(this is why the env-mac is setting $u1lint)17:41
dobeyand pep8 does17:41
mmccright. but buildout uses those to decide to generate scripts in the bin/ directory17:41
dobeywell env-mac is setting u1lint because we need to use the development version, not the old one we're installing as an egg17:41
dobeythen buildout is broken17:42
mmccdobey - env-mac just does a 'find . -name u1lint' -- to get this to work, I need to delete the dev-tools egg :)17:42
mmccbuildout is definitely broken17:43
mmccI should be able to add entry points definitions to the buildout.cfg to get it to install all these things17:43
mmcctrying that now17:43
dobeywell, we should also stop pulling dirspec/dev-tools as eggs17:44
briancurtini think most of us do that but it's not easily automate-able, at least as far as i can see17:44
mmccbriancurtin: do what?17:45
dobeymmcc, alecu: also, i see you had mentioned me, and the options parsing changes to u1trial on monday. is there a problem there?17:45
briancurtinmmcc: use dirspec/dev-tools from a checkout rather than the outdated eggs17:45
mmccbriancurtin: oh right17:45
mmccbriancurtin: I think there is a way to fix that…17:46
briancurtinmmcc: i looked for a while and couldnt find anything that shows how to get something from a checkout to be inserted into the sys.path. it automatically does that for the eggs17:46
mmccdobey, briancurtin FYI in a call last week about darwin stuff I volunteered to un-break buildout, so this is happening unless ralsina tells me to stop… the goal is to get darwin working without so many fiddly steps17:47
mmccbriancurtin: ah ok. I'll see if I get lucky and notice a way17:47
mmccbriancurtin: by the way, how 'bout those buildout docs?17:47
briancurtinmmcc: moving away from buildout is also an option. i once looked into virtualenv/pip but moved on to other tasks17:47
briancurtinugh17:47
* mmcc seconds that ugh17:48
mmccalso, gotta love silently ignoring config file entries that aren't right. that'll teach me!17:49
mmcc… that'll teach me to be editing the right file.17:58
* mmcc feels shame17:58
mmccanyway, buildout makes a bin/pyflakes now, moving on to u1lint and u1trial18:07
ralsinammcc: go ahead and unbreak18:22
ralsinammcc: and/or switch18:22
mmccralsina: I'm on it boss. I think unbreaking will be faster than switching18:22
ralsinammcc: I just got a message telling me "INSTALLBUILDER 8.5 NOW AVAILABLE, INCLUDES MAC OS X MOUNTAIN LION SUPPORT"18:23
mmccralsina: is that what we use on windows?18:24
ralsinammcc: yep18:24
dobeywe do?18:24
ralsinadobey: yes18:24
ralsinapinky swear!18:25
ralsinaI mean, not that version, but yes that thing18:25
dobeyah, so we do18:25
dobeyi thought it was just called "bitrock installer"18:25
dobeybad memory18:25
ralsina"bitrock installbuilder qt edition" I think18:26
ralsinawith a "professional" somewhere in there18:26
dobeyright18:26
dobeynow what broke in quantal :-/18:27
ralsinawhat broke in quantal in general or in our code?18:28
dobeyin general. just pulling a patch to fix a bug in ubuntuone-installer, so we can ship it out to precise for 12.04.1, but tests failing to run on quantal now when i try to build the package18:30
dobeyoh18:33
dobeyi see what happened :(18:33
dobeyand crap18:34
dobeyugh; new aptdaemon broke the tests in ubuntuone-installer, incidentally18:35
ralsinabriancurtin, alecu: this looks interesting for the future: Qt + metro http://www.digia.com/en/Blogs/Qt-blog/Sami-Makkonen/Dates/2011/11/Deploying-on-Windows-8-Tablets-with-Qt-Commercial/18:38
briancurtincool. im interested to see what happens with the python side of things. i think martin (one of the other windows core devs) has python ready to run inside metro apps, or something like that. i havent looked into it too much18:42
ralsinabriancurtin: it looks like there is a proof of concept QML/Metro thing that exists already, and (separately) a Metro style for Qt widget-based apps.18:46
dobeybrb19:35
* mmcc -> lunch19:35
alecuback20:00
alecuI just walked 5km... not used to this.20:00
gatoxok....... eod here, and i need to go to buy mass effect 2 and 3 jeje so.... bye! :D20:05
alecuralsina: qt on metro sounds interesting...20:06
alecuralsina: and I really like the video. The guy sounds quite the salesman...20:07
alecuan undead one20:07
ralsinahaha20:07
ralsinaand that company is the one that bought Qt from Nokia yesterday20:07
gatoxwhich video??20:08
* gatox thinks he misses part of the chat cause of internet issues20:08
gatoxi read that qt5 is going to work on the integration with windows8 ui20:09
* gatox feels ignored20:10
briancurtingatox: http://www.digia.com/en/Blogs/Qt-blog/Sami-Makkonen/Dates/2011/11/Deploying-on-Windows-8-Tablets-with-Qt-Commercial/20:18
gatoxbriancurtin, thanks brian!!! you are a really good person for not ignoring me!20:19
gatoxjejejeej20:19
briancurtin:)20:19
ralsinagatox: that's why you should use quassel or bip ;-)20:19
ralsinagatox: I can give you an quassel account, someone else can get you a bip one20:19
gatoxralsina, i don't know what happend i have been having problems with internet..... i realize after a long time....... when the chat does timeout20:20
gatoxralsina, but i like to use xchat :(20:20
dobeyralsina: https://code.launchpad.net/~dobey/ubuntuone-dev-tools/fix-coverage/+merge/118207 please?20:20
gatoxnow..... i can leave in peace :P20:20
gatoxbye!20:20
ralsinadobey: sure20:23
ralsinadobey: why the print('') ?20:29
dobeyralsina: because print() was printing a literal '()' on the console for some reason; no idea why20:30
dobeypython == crazy20:30
ralsinadobey: I would just tack a \n at the end of the previous print, or if you want to get fancy, add end='\n\n' ;-)20:31
briancurtindobey: it was probably printing the literal before you added __future__.print_function?20:32
dobeybriancurtin: maybe20:32
ralsinadobey: which makes total sense20:33
ralsinaI can confirm that with print_function, print() does the right thing20:33
dobeyshould i revert that line then?20:33
ralsinadobey: or remove the print completely20:34
ralsinaor replace it with a \n instead20:34
dobeyyeah i put a \n in the prior print statement20:36
ralsinadobey: ok, +1ing it20:38
ralsinaEOD for me, will be back late at night, ping me for reviews21:01
ralsinabye!21:01
dobeyralsina: https://code.launchpad.net/~dobey/ubuntu-sso-client/fix-glib-main/+merge/119045 if you could21:14
dobeybriancurtin: ^^ also you please :)21:14
dobeynote, it's stable-3-0, not trunk21:14
briancurtindobey: will look shortly21:15
alecubriancurtin: so, regarding the {} vs dict issue, I see that {} is usually faster. Is there any other reason I'm missing?21:24
briancurtinalecu: not really. it just stuck out because i saw other places in the code that were using the literal, but that one used the dict constructor21:24
briancurtini dont think its speed is enough to matter. it just looked different so i mentioned. not a big enough deal to hold anything up, though21:25
alecubriancurtin: my reasoning is that dict(...) looks cleaner to me when doing dicts that will be used as kwargs...21:25
alecubut I don't have a clear explanation, other than "I like it like that" :P21:25
briancurtinthat works for me21:25
alecubriancurtin: ok, I'll leave it like that then. Thanks for bringing it up, though :-)21:30
mmccalecu, you're gone tomorrow right? do you have a sec to think about the syncdaemon bug on darwin now? I'm not sure if it's a simple fix or not…21:32
mmccOn darwin, creating a file by copying it in or by "echo foo > text.txt" results in a single IN_CREATE event, but as far as I can tell it looks like the code is expecting a create to be followed by a close, and it won't be on darwin.21:35
mmccI looked at the windows docs, and it looked like the same is the case on windows, so I'm not sure if I have the right root cause yet21:36
dobeyhave a good evening all22:08
alecummcc: yes, I'm gone tomorrow. And yes, I think on Windows we don't have the close events either22:13
briancurtinralsina: from what i can see having run 2to3 again, pending the few branches i just proposed, the syntax should be ready for us to start running22:13
alecubriancurtin: go ahead and run it!!!!! :-)22:14
briancurtinralsina: the next/__next__ thing is not really an issue at the moment, Qt is just shadowing the built-in "next" name. we'll have to add some lint enable/disable comments around tests where we define the same name, but thats it22:15
mmccalecu: hmmm, ok.22:15
briancurtinalecu: i'm about to take off for the day, and don't currently have a 3.x environment setup for it with all of the dependencies. i'm off tomorrow so i can start with that first thing on monday22:15
alecubriancurtin: oh, right. It may make sense to start running this in a Quantal vm22:16
briancurtinalecu: good call, i'll do that22:17
alecubriancurtin: have a good weekend!22:17
briancurtinalecu and all: you too!22:17
alecuooook, EOW here!23:36

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