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

derpellaHello. I am trying to make a new account, and it seems I am stuck on "gathering informations"? The computer is slow, but it takes like 10 minutes... Should I wait, or is it some error?06:25
derpellaI hope it doesn't use Flash?06:27
ryemorning!08:38
jacobraskHi! Is this the communication channel for actual ubuntu one development or are most of you guys just hanging out here for support and helping out with the API and such?08:46
mandelmorning all!08:59
mandeljacobrask, some of use are the actual developers of the clients on the diff platforms09:00
mandelderpella, no, it does not use flash, everything is python + Qt09:00
mandelderpella, there are apparently some issues with the ssl certs for when ever you create an account, that might be hitting you... the server guys are trying to get this fix asap09:02
derpellathanks, I'll try making account on website...09:03
mandelderpella, please do and let me know if it works, if it doesn't we can take a look at your logs and look closer at what is going on09:04
derpella:)09:06
jacobraskmandel: ok, nice09:07
=== daker is now known as daker-cloud
=== daker__ is now known as daker
derpellamandel: sorry for asking, but what is terminal command, so I could have logs?09:23
derpellabecause now I am stuck on choosing folders, with this gathering data09:24
derpellaubuntuone-control-panel-qt  <- well, I guess it works09:28
derpellanow it crashed- IPCError09:31
JamesTaitG'mornin' all! :)09:32
mandelderpella, so, you can set U1_DEBUG in the terminal before you launch it to get logs in stdout, but there are logs in your XDG_CACHE folder09:36
mandelderpella, which will have all operations from sso, control panel and the sync daemon used by u109:36
mandelderpella, can you paste the ipc error you got in paste.ubuntu.com so I can take a look?09:37
derpellait'd be09:37
derpellaubuntuone-control-panel-qt --U1_DEBUG ??09:37
derpellawhhhere is the folder?09:38
derpellain /var/log?09:38
mandelderpella, the logs folrder is in ~/.cache/ubuntuone/09:40
mandelderpella, and setting the debug to stdout is via the env variable U1_DEBUG09:42
mandelis not an an argument :)09:42
derpellaerm... what do?09:42
derpellaI am not a coder nor a specialist09:43
mandelderpella, ok, lets look at the logs that are already there, did you find the ~/.cache/ubuntuone/ folder?09:44
derpellasure...09:44
derpellawell, only interesting things were in the file syncdeamon-exceptions09:44
mandelderpella, surely you have more info, can you paste the result of ls ls ~/.cache/ubuntuone/log/09:46
mandelderpella, sorry just one ls :)09:46
=== yofel_ is now known as yofel
=== zyga_ is now known as zyga
=== teknico_ is now known as teknico
gatoxgood morning!11:09
mandelgatox, morning!11:10
gatoxmandel, hi11:10
gatoxmandel, today is your review day? :P (just a small one)11:10
mandelgatox, sure, shoot!11:13
gatoxmandel, thx https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/network-page/+merge/10551711:13
mandelgatox, why self.next() self._next_id = -1 ?11:15
gatoxmandel, we use that everywhere..... we set always in _next_id which the next page should be.... then we told the wizard to move to the next page with next() and we set again to -1 so it's respect the value that the qwizard api return when doesn't know to which page to move11:16
gatoxwe don't have a linear flow...... that's why11:16
mandelok11:16
mandelgatox, having to run tests on 3 platforms does not scale..11:24
gatoxmandel, jejeje nop11:27
mandelgatox, and wait to see my objective-c code..11:27
mandelgatox, +111:28
gatoxmandel, great11:28
gatoxmandel, i need to go to the bank and then do an errand..... this may take a while11:40
mandelgatox, ok, I'll let the other know, no worries11:40
gatoxmandel, thanks11:41
alecuhello, all!12:07
alecuralsina, ping12:07
mandelalecu, morning!12:07
alecuhi mandel! I should not be working today; but I forgot to tell ralsina about it, and to put it in canonicaladmin12:08
mandelalecu, ok, it is because of uds, right?12:09
mandelalecu, I wanted to show you my cool fsevents server working, but I'll let you rest :)12:09
alecumandel: awesome!12:09
alecumandel, got any url?12:09
mandelalecu, I need to push it to lp, and I wont so that you rest :)12:10
alecumandel, :-)12:10
mandelalecu, I need to get the twisted side working to get the events as json, but security bia getpeeredid is in place, events dispatching per user is there and i'm testing it by leaving it running while I compile things etc..12:11
alecumandel, how do you handle "dropping" events when the buffers are full? (or how do you plan to do it)12:12
alecumandel, the main point of that is that the root daemon should never block on writing to the children SDs12:14
mandelalecu, we get an special event which is the dropped events one.. I think we should try and get as much info as possible from that and pass it to syndaemon to deal with it, maybe we have to do a local rescan or somehting12:14
alecumandel, well, that's not the point that worries me....12:15
alecumandel, that's a slighly different case12:15
mandelalecu, I hope it does not, I'm using grand central dispatch for the dispatching of the events to the users, that is, to perform the IO to the socket12:15
alecumandel, ok, I need to read more about GCD12:15
mandelalecu, I need to do some proper testing to see when this events are dropped and how to deal with that12:16
alecumandel, right.12:16
alecumandel, but we should keep in mind that we have two cases of events being dropped.12:16
alecumandel, first one is the one you just mentioned: the kernel dropped some events because some of the root daemons reading from /dev/fsevents was slow.12:17
mandeland we are slow.. true12:17
alecumandel, second one is "our" root daemon being the slow one because it blocked on sending stuff to the child Syncdaemons.12:17
alecumandel, so, I think we should not block on sending stuff to our SDs.12:18
mandelalecu, I need to do some experiments, if the GCD adding operations to the q is fast and does not block us we should be dealing with events fast enough, but I need to do some stress testing on this12:18
alecumandel, adding "fast" is not enough, because the queue might be full.12:19
alecumandel, we should use some syscall to check if the queue is full before adding. And drop some events to just one SD in that case.12:19
mandelalecu, I'm doing something simlar to the example here: http://en.wikipedia.org/wiki/Grand_Central_Dispatch12:19
alecumandel, awesome.12:19
mandelalecu, with a diff api by creating a q12:20
mandelalecu, I use a q because I do not want to have events sent in parallel and then loose the correct order which would be very bad..12:20
ralsinajust a quick note on ssl: IS says the ssl may have ordering issues. i could not reproduce via vpn and a user says it only happens with turkish locale12:21
mandelralsina, alecu is looking for you12:21
alecumandel, using a queue is fine. But we should make sure that the queue has some fixed limit, and that we don't block if we exceed it.12:21
alecuhi ralsina!12:22
alecuralsina, those are some awesome news on ssl12:22
ralsinai am from Android so i type Slow. alecu, phone?12:22
alecuralsina, sure.12:23
aleculet me find it.12:23
ralsinaalecu it seems gnutls says cert is invalid, too12:23
mandelralsina, also, gatox went to the bank to deal with some errands that will take time12:25
mandelok, lunch time for me12:29
* mandel lunch12:29
alecumandel, btw: what are you using to code the root daemon? python too? objective-c?12:39
alecuoh, mandel is lunching.12:41
alecubtw, all: I'm taking the day off, but I'll be around a little bit today at 16z for tech leads call.12:42
=== m_conley_away is now known as m_conley
ralsinaHmmm twisted's default reactor for next version is epoll. Would that break anything for us?13:24
mandelalecu, objective-c13:40
mandelralsina, the only place in which the default reactor is used in in syncdaemon and in theory should be ok13:40
gordhey all, ubuntu one decided to delete the contents of ~/Ubuntu One/ when i setup a new home directory to sync with it. which propagated to my other machines that sync. any way to get this stuff back? or has u1 deleted them for good13:44
mandelgord, there is indeed a way to get them back, ralsina is there paperwork to be done for this? ^^13:45
ralsinagord: ask duanedesign or joshuahoover13:56
ralsinagord: they can get it back for you, don't worry. Also, they are not deleted, they should be in your recycle bin or however it's called13:56
duanedesigngord: i will PM you for more info13:58
mmccgood morning folks14:12
ralsinagood morning mmcc!14:26
mmccquestion - I wrote a script to run the network detection watcher and just print whenever it sees a real change - useful for testing IRL, but not a unit test. I think it should be in the SSO client tree somewhere, but where?14:34
ralsinammcc: we have one script of similar scope in sso, let me dig14:36
ralsinammcc: well, can't find it14:37
ralsinammcc: remember that script we had that connected to ussoc and showed the UI? Where was it?14:38
mmcchmm14:38
ralsinaoops, mandel ^14:38
ralsinammcc: miscmpletion :-)14:38
mmccralsina: no prob. I think I've actually used that script14:38
mmccno wait, no I haven't14:38
ralsinammcc: we hav one like it at ./ubuntu_sso/qt/tests/login_u_p.py14:40
ralsinammcc: so maybe there14:40
=== zyga is now known as zyga-food
ralsinaand the one I remembered was ./ubuntu_sso/qt/tests/show_gui.py14:40
ralsinammcc: so, there but without test in the name :-)14:41
mmccoh, ok - so maybe mine fits better in ubuntu_sso/networkstate/tests/ , just without test in the name14:41
mmccbecause it doesn't use qt14:42
mandelralsina, let me check, I think it was in sso under tests..14:42
ralsinamandel: found it already :-)14:42
mmccnow ralsina has anti-lag14:43
ralsinaright, I know what you will type now.14:43
mandelralsina, cool :)14:43
mandelmmcc, ralsina, so I have the fsevents server cheking for the ownership of a path by the connected client.. atm I'm not checking at the group ownership, is that ok for the time being?14:44
ralsinamandel: sure14:45
mandelralsina, sweet! I'm nearly done, I have to write the example for the python code.. oh and I'm not using launchd to create the handle for the domain socket... I'm to lazy to write that atm14:45
ralsinamandel: baby steps14:46
mmccmandel: sounds good. that launchd checkin stuff is boilerplate that might be best to add later.14:46
mmccin my experience, testing during development with launchd is a pain. adds a bunch of steps between compile and run14:47
ralsinammcc, mandel: we need to start planning the packaging, now that we have a binary that does something ;-)14:47
mmccralsina: I have some thoughts. maybe I should write them up in an email?14:47
mandelralsina, mmcc, let me push this to a branch and we can take a look if you have the time14:47
mmccmandel, got nothing but time for you man14:48
mandelmmcc, specially with you, you might cry at my code (I have not written objective-c in ages...)14:48
ralsinammcc: please14:48
* ralsina likes long mails explaining stuff14:48
ralsinain the right dose, of course14:49
mmccralsina: ok, cool14:49
* mmcc adds draft packaging plan to TODO list14:51
mandelmmcc, I'm going to push the code with the xcode userdata.. I have no clue which files to ignore, sorry14:51
mmccmandel: it's a huge pain, don't worry. For the actual project tree I want to suggest that we don't use XCode...14:52
mmccyou can always use it yourself and just not check in your .xcodeproj bundle, but I want to propose using a makefile - XCode's files are annoying to read & diff14:54
ralsinamandel, mmcc, dobey, gatox, thisfred: standup in 6'14:54
ralsinabriancurtin: too of course14:54
briancurtini'm already typing, not falling behind this time14:54
ralsinathisfred: you are on sprint this week or next? // need to take memory pills...14:54
mmccand for a project this size and with no UI, I don't think it adds much to use XCode for building14:55
thisfredralsina: DONE: traveled to London TODO: sprint ;)14:55
ralsinathisfred: ok, excused ;-)14:55
mmccme14:55
ralsinammcc: early! :-D14:55
mandelmmcc, probably not, it just makes it easier to build I hate make files :P14:55
mmccmandel, I'm with you on makefiles, but at least they're readable. XML gives me hives14:56
mmccmandel especially *undocumented* XML build files!14:56
mandelmmcc, yes, those are even worse..14:56
mandelmmcc, you can find some initial code in lp:~mandel/+junk/fsevents /cc ralsina14:57
mmccmandel, and per-user preference files that XCode saves in the .xcodeproj that cause spurious diffs... ugh14:57
mmccthanks mandel, looking in a sec14:57
mandelmmcc, yeah, those are the ones I wanted to add to the bzr ignore..14:57
mandelmmcc, we can go over the code after the standup in mumble, there are some thinks I want to discuss as well as the fact that right now the config iss hardcoded with my paths...14:58
mmccmandel: sonds good14:58
mandelwhich ideally is sent my the clients when connected.. but that is work to be done in the python side..14:58
mmccsonds very good indeed14:58
mmccmandel, ack14:59
dobeyralsina: lies15:01
ralsiname15:01
briancurtinme15:01
mandelme15:02
ralsinammcc, mandel: use cmake15:03
mmccI think gatox is out?15:03
mandelralsina, you kde people..15:03
ralsinamandel: he15:03
ralsinamandel: ok, use xmkmf15:03
mandelyeah, gatox when to the bank.. so he is probably in a q15:03
ralsinaok, then mmcc go15:03
mandelralsina, I'll write my own version of make in ruby!15:03
mmccDONE: cleaning up test suite for darwin network detection, refactored15:03
mmcca bit for testability. Saw a really big ostrich at the San Antonio Zoo.15:03
mmccTODO: finish tests for network detection, land that branch, write up15:03
mmccdraft OSX packaging plan15:03
mmccBLCK: no15:03
ralsinamandel: you mean rake?15:03
mmccnext, uh? ralsina15:04
ralsinaDONE: weekend, reviews, SSL debugging, 1-1s TODO: fix something, reviews, help around, tech leads call BLOCKED: no NEXT briancurtin15:04
briancurtinDONE: propose installer branch, screwed up jenkins branches but just got them in this morning15:04
briancurtinTODO: look into the get_rootdir exception people have been reporting15:04
briancurtinBLOCKED: None15:04
briancurtinNOTE: i have half days on tuesday, thursday, and friday15:04
briancurtinNEXT: mandel15:04
mandelDONE: Goot root process to filter peruser getting the user uid when connected. Now the service send a json representation of the event over the domain sockets (need a good separator for each message, I think \n is good since there are no \n in any of the strings). Added security to ensure that a client does not request events from paths that he does no own.15:04
mandelTODO: talk with mmcc about the code, find room for improvement. Ask ralsina about some copyright in a lib used to the example (we could use many others)15:04
mandelBLOCKED: no15:04
mandelCOMMENTS: jenkins is not yet there due to some lint issues in the skipJenkins branches :*(15:04
mandelI think I'm last, right, dobey is not working.. is he?15:04
* ralsina would have to check and canonicaladmin is too stupid15:05
ralsinadoing it anyway15:05
ralsinaThat smart site shows the leave requests in alphabetical order since I joined the company. And it only works or page 1.15:05
ralsinaSo to know who's on leave I have to ask for the monthly company-wide request board15:06
ralsinaSo yes, rodney is on swap today ;-)15:06
mandelralsina, alphabetical order is what hr uses, is soooo much better!15:06
mmccer, what does "on swap" mean?15:07
ralsinamandel: alphabetical order of the first name, so I nly see Alejandro's requests for 201115:07
ralsinammcc: when we make you travel on a weekend, you get a day off15:08
ralsinammcc: so we don't feel like slave drivers, and all that15:08
mandelmmcc, you moved a national holiday from its day to an other, for example, tom is a holiday in madrid I swaped it for july + what ralsina said15:08
briancurtinis there any process for updating dev-tools on tarmac? a fix of mine was merged into dev-tools, but a u1client branch which uses it claims to fail because it can't import a name (skipIfJenkins)15:08
mmccah, ok.15:08
mandelbriancurtin, you dev-tool branch did not land due to a lint error15:09
briancurtinmandel: i just fixed that one15:09
ralsinabriancurtin: may need to be done manually, since dobey is on swap, ping sidnei15:09
mandelbriancurtin, oh.. then we have to wait for dobeys machine to pick up nightlies..15:09
mandelralsina, is tarmac not longer in _dobeys servers?15:09
briancurtinif it'll eventually just work, that's probably fine15:10
ralsinamandel: since like, months ago!15:10
ralsinamandel: it's in canonistack15:10
dobeytarmac is cloudy15:10
mandelralsina, he, good news!15:10
mandeldobey, cylon, go back to the swap day!15:10
mandelmmcc, give me 10 mins, mumble and we take a deep look at the code for the fsevents, is that ok?15:11
mmccmandel: sure that works15:11
=== qengho- is now known as qengho
beunoralsina, any ideas why I wouldn't be getting notifications for uploads/downloads to U1 in ubuntu?15:14
ralsinabeuno: nope15:16
gatoxFINALLY BACK!!!!15:16
salgadobeuno, "show_all_notifications = True" on syncdaemon.conf?  (just a wild guess, really)15:17
ralsinabeuno: am I filling you with confidence or not? ;-)15:17
gatoxi hate errands!!!!!!!!15:17
beunosalgado, ralsina, it's set to true15:17
ralsinagatox: err-ands are better than err-ors. Basic boolean algebra.15:18
gatoxralsina, jejeje15:18
ralsinabeuno: then there may be something on syncdaemon-exceptions.log15:18
ralsinabeuno: we have had a few similar things in the past15:18
* gatox goes back to work.... is going to be a long day :P15:19
beunoralsina, nada15:19
beunoempty15:19
ralsinabeuno: weirder then15:19
ralsinabeuno: we are a bit shorthanded today because of UDS swaps and stuff, can you remind me tomorrow?15:21
=== teknico_ is now known as teknico
beunoralsina, sure15:22
ralsinabeuno: thanks15:22
mandelmmcc, I'm back, mumble?15:25
mmccmandel, just a sec, testing15:25
mandelsure15:25
=== zyga-food is now known as zyga
ralsinagatox: can you assign bug #986328 to rtgrant for feedback on texts for the buttons (or if we should just keep them as they are?)15:44
ubot5Launchpad bug 986328 in Ubuntu One Control Panel "Wrong title and buttons on unsuscribe dialog" [Low,Confirmed] https://launchpad.net/bugs/98632815:44
gatoxralsina, yes15:44
ralsinagatox: thanks15:44
ralsinagatox: put a comment explaining exactly what you want feedback on, then assign to him15:44
gatoxand now i have internet issues...... connecting with 3g..... not a very good day!15:53
ralsinagatox: take it easy15:54
ralsinagatox: go to a bar15:54
ralsinagatox: have some tea or something15:54
gatoxralsina, yeah...... trying to relax..... i'm with 3g now (in the closest bars internet is even worse than my 3g connection).... i'll debug some u1-client stuff that doesn't require internet in the mac..... and wait for fibertel to fix the problems15:55
ralsinaGrmbl, so *units* should be transleatable. Makes sense.15:55
ralsinagatox: cool15:56
mmccso mandel, you're using OS X 10.7 I see... your code doesn't build for me on 10.6, I'll take a look at the docs and see if it's something simple I can change in the build or if you've used any 10.7-only api...16:03
mandelmmcc, ouch!16:03
mandelmmcc, yes, I'm on Lion... I wonder what changed16:04
mmccmandel, if you want the complete list: https://developer.apple.com/library/mac/#releasenotes/General/MacOSXLionAPIDiffs/index.html#//apple_ref/doc/uid/TP4001063016:04
mmccmandel: but that's just api, I'm getting complaints about missing objc properties too :\16:05
mandelmmcc, I tried to compile it with 10.6 support and threw a bunch of errors regarding the autorelease pool..16:05
=== gatox_ is now known as gatox
mmccmandel, I think maybe the @autoreleasepool{ ...} block thing is new in 10.7's ObjC16:06
mandelmmcc, could perfectly be, then I'll have to change all the memory management to the old style, not hard but boring16:06
=== salgado is now known as salgado-lunch
mmccmandel, I have an old XCode - @autoreleasepool was added for ARC (Automatic Reference Counting), which is supported in 10.6 and 10.7, but you need XCode 4.2 or later (and the corresponding new compiler) to compile code that uses ARC.16:18
mandelmmcc, does that mean that you just need to update xcode?16:19
mmccmandel So I'll upgrade, but I also want to think a bit about whether or not we should use ARC. I've heard some complaints about it, but maybe it's not so bad in a relatively simple daemon16:19
mmccmandel, yes16:19
mandelmmcc, I think removal is not a thing that should scares us much16:19
ralsinammcc: I got a third hand rumour from UDS that running things as root is going to be harder/different in the next OSX, you heard anything?16:20
mandelralsina, that thing is, them having iCloud might mean us being screwed up with rules like that..16:22
ralsinamandel, gatox: can I get a trivial review here https://code.launchpad.net/~ralsina/ubuntuone-control-panel/octetes/+merge/10568416:22
gatoxralsina, on it16:22
ralsinagatox: thanks16:22
mandelralsina, sure, review day!16:22
mandelralsina, people translate bytes?16:23
ralsinamandel: bytes -> octetes in french, for example16:23
ralsinale logiciel c'est 900000000 octetes16:23
mandelralsina, ok, one single thing to that: putos gabachos!16:23
gatoxeveryday you learn something new :P16:23
ralsinasorry, octets16:24
mandelralsina, but does not surprise me from a contry that telecharges things from the internet16:24
ralsinaso they are boy bytes, not girl bytes16:24
ralsinamandel: you spaniards translate "mouse" and "cd"16:24
* alecu loves "cederrón"16:24
ralsinamandel: and cd, you officially translate to cederrón which is unforgivable16:24
* ralsina still doesn't understand why that ends in N16:25
gatoxjeje16:25
gatoxralsina, +116:25
mandelralsina, gatox, because they tranalated cd-rom and not cd, there must be a cederran somewhere.. :P16:25
ralsinagatox: thanks!16:25
ralsinamandel: devederrón coming soon. Y blurayo16:26
alecucedeerreuvedoble16:26
gatoxjejejejejejeje16:26
ralsinapásame el reproductor de rayoazul!16:26
mandelralsina, alecu, gatox, I prefer: uh!! se ve!16:26
alecupues cógelo tu mismo.16:26
mandellol16:27
ralsinaah, no hace falta, lo apareo mediante dienteazul16:27
* ralsina will stop now16:27
gatoxLOOOL16:27
mandelralsina, I'll run the tests on windows and +116:28
ralsinamandel: awesome. I am not adding tests for this because... I have no idea how16:28
mandelralsina, I'm not requesting tests for this because I'm not after 80% :)16:28
ralsinahehe16:29
* mandel lost a contact lens as soon as he switch to the windows machine...16:30
mandelmy boy is trying to say something..16:30
* mmcc went away for a sec and thought I came back to the wrong channel16:31
mmccralsina, I know they're doing new things with an application sandbox, and developer certificates. I need to read up more about how that'll affect us.16:31
mmccralsina: I think it will still be possible for some time to do what we want, but the user experience might be a little less smooth - ie, we may not be able to be in the Mac App Store, because we probably can't run in the app sandbox16:32
mandelralsina, approved16:33
mmccralsina: But I think running as root should be OK as long as we use the new launchd API for installing our root daemon16:34
ralsinammcc: right16:34
ralsinammcc: I suspect we may have to do a sandboxed version that is less useful, for the store16:34
mmccralsina, I'll make a note to see how much less useful it'd have to be. At one point I thought you had to pre-register (at app submission time) a separate security capability for each file you want to access...16:35
ralsinammcc: ok, that would be massively less useful16:36
mmccralsina: it would be all the way less useful16:36
ralsinammcc: unless we could register a folder16:36
mmccralsina: and then not access its files16:36
ralsinahehe16:36
mmccralsina: but before we go too far here, they have changed things a bit and I need to catch up16:36
ralsinammcc: great, thanks16:37
mmccralsina: I'll make a list of things to get urbanape to find out about at WWDC...16:37
ralsinammcc: even better :-)16:38
ralsinamandel, gatox: how would you, who have dirtier minds, create a file that fails as in bug #959447?16:47
ubot5Launchpad bug 959447 in Ubuntu One Control Panel "Computer to cloud wizard page: if os.walk fails, 'Calculating' header never goes away" [High,Triaged] https://launchpad.net/bugs/95944716:47
* gatox looking....16:47
gatoxralsina, something like this? my_私のファイル.txt16:48
gatoxralsina, i don't know if your irc client support unicode chars16:48
ralsinagatox: yes, it does16:48
* ralsina tries16:48
ralsinaohhhhh got it16:49
ralsinaif I do walk('.') it works, but walk(u'.') fails :-)16:49
gatoxso.....with u is trying to convert automatically or something instead doing a decode16:50
ralsinagatox: yes, something like that16:51
ralsinaSince in this case we don't care about the names, I could just use ascii paths16:51
mandelgatox, you are faster..16:51
mandelok, EOD for me, also I need to get my glasses..16:51
ralsinamandel: all that ninja training16:51
mandellol16:51
ralsinabye mandel! Good luck!16:51
gatoxjejeej16:51
gatoxmandel, bye!16:51
mmccbye mandel16:52
=== salgado-lunch is now known as salgado
=== m_conley is now known as m_conley_away
urbanapemmcc: did you see Daniel Jalkut's recent blog post on the catch-all entitlement?17:03
urbanapehttp://www.red-sweater.com/blog/2438/the-sandboxs-big-red-button17:04
mmccurbanape: I'm reading his sandbox posts right now...17:04
urbanapeit says temporary, but who knows17:04
mmccurbanape: I'd skimmed it a while ago, and that's what I had in the back of my head when I said it'd changed recently...17:05
urbanaperight17:05
mmccso urbanape - the apple dev account / membership stuff has changed since I last paid for it - is there a separate mac vs. ios dev account? What membership do you have?17:06
urbanapethere are separate.17:07
urbanapeWe've got a team membership for both.17:07
urbanapeI'll invite you into the team for both, if you like.17:07
mmccurbanape: yes, that'd be good, thanks!17:07
mmccif there are only a few slots, you can leave me out of the ios membership I guess17:08
urbanapeI don't know if you can have separate agents for mac and iOS, but if so, it would probably make sense to make you the agent on the mac side.17:08
urbanapenah, I don't think we're close to any limit.17:08
mmccok, good. What's the agent's responsibility?17:08
mmcc(and who's the ios agent now? you?)17:08
urbanapethe agent is the only person who can actually build releases for upload to the app store17:08
urbanapei'm the iOS agent17:08
urbanapeI mean, you can share the credentials and stuff.17:09
mmccah, ok - so it's the account they use for the code signing then?17:09
urbanapebut the agent creates the initial certs17:09
urbanaperight17:09
mmccgot it17:09
urbanaperalsina: lemme know who else should be on the mac developer team17:09
* ralsina reads backlog17:10
ralsinaurbanape: doing develpment work on mac (even if ntot full time) gatox, me, alecu, mmcc, mandel17:11
urbanapek17:11
* mmcc leaves for lunch17:19
karniHiya all o/ Any Samsung S II users out there :)?17:38
karniIf yes - check out the links at the bottom of https://bugs.launchpad.net/ubuntuone-android-files/+bug/99368317:39
ubot5Ubuntu bug 993683 in Ubuntu One Android Files "App crashes continuously on Samsung Galaxy SII with Android 4.0.3" [High,Confirmed]17:39
karnioh, cool bot :)17:39
=== m_conley_away is now known as m_conley
ralsinagatox: I am about to propose a unicode branch, you owe me one ;-)18:45
gatoxralsina, jeje ok18:45
ralsinagatox, briancurtin: reviews please? https://code.launchpad.net/~ralsina/ubuntuone-control-panel/fix-959447/+merge/10570418:58
gatoxralsina, on it18:58
briancurtinralsina: looking18:58
ralsinathanks!18:59
gatoxralsina, mmcc can i have a review for tihs please? https://code.launchpad.net/~diegosarmentero/ubuntuone-client/refactor-remove-windows-linux/+merge/10570519:07
ralsinagatox: sure19:07
mmccgatox, ok19:07
gatoxthx19:07
gatoxralsina, i have this error running the tests of your branch on windows: v19:11
gatoxhttp://paste.ubuntu.com/987703/19:11
ralsinagatox: that is nowhere near my code :-)19:11
gatoxcrap....... so we have something broken there19:12
ralsinagatox: well, it's the same file, so mybe it is my fault19:12
ralsinagatox: let me check19:12
gatoxralsina, let me test in trunk19:12
ralsinagatox: thanks19:13
gatoxralsina, it's in trunk too....... so approve19:14
ralsinagatox: and we need a second opinion on the trunk failure on windows to open a bug for it. Because that test is not even close to passing :-)19:15
mmccgatox, in your branch, you have ubuntuone/syncdaemon/volume_manager.py line 1629 importing 'allow_writes' from linux -- I haven't tried but I bet this won't work on windows.  windows has its own os_helper.allow_writes()...19:17
gatoxmmcc, the tests works on windows....... if you take a look, you will see that the line removed was: from ubuntuone.platform.linux import allow_writes19:19
mmccgatox huh. you're right, I misspoke - but the new line says from 'ubuntuone.platform.os_helper.linux import allow_writes'19:20
ralsinagatox: look at line 511 of the diff19:20
mmccgatox which was the problem I meant to point at19:20
ralsinagatox: you are importing a linux-specific thing in volume_manager.py19:20
mmccgatox, should work if you just leave off ".linux", right?19:21
gatoxralsina, mmcc yes, i did it that way, to respect what was already there....... that was: from ubuntuone.platform.linux import allow_writes19:21
ralsinagatox: yeah, but it looks wrong :-)19:21
mmccseems like it was a bug19:21
mmccwas it being tested?19:21
gatoxmmcc, ralsina ok, fixing that19:21
ralsinaother than that it looks good to me19:22
gatoxralsina, mmcc i'm not sure about this..... i mean..... who could know why this is being that this way??...... because the module is already importing allow_writes....... but for some reason, inside this function is being imported again in a really specific way19:23
ralsinagatox: bzr blame knows19:23
* mmcc to the bzr gannotatemobile19:24
ralsinagatox: 99% of the time, the obviously broken code is broken obviously19:24
ralsinagatox: but yes, let's run a check on it with the guilty dev and not merge before getting info19:24
gatoxralsina, if i understand bzr blame correctly..... i need to talk with mandel :P jeje19:26
ralsinagatox: SURPRISE! ;-)19:26
ralsinagatox: mail him so you have an answer when you start tomorrow19:27
gatoxralsina, mmcc so..... i'll leave this branch on hold, until tomorrow, so i can ask mandel if that is there for any particular reason19:27
mmccgatox: ralsina yep I see mandel's name there too. ok19:27
gatoxack19:27
mmccralsina, gatox I had another question about that branch, so I was going to add a comment - noticed it's still approved by ralsina, should I unapprove or just comment19:32
ralsinammcc: you can't unapprove me anyway ;-)19:32
gatoxmmcc, or you can wait19:32
ralsinammcc: just comment, or put a needsinfo19:32
gatoxmmcc, and i'll ask for a review to mandel tomorrow19:32
mmccok. sounds good19:32
gatoxmmcc, i already sent him an e-mail asking about the import tihng19:33
gatoxthing19:33
mmccralsina, I can *dis*approve you19:33
mmccer, of you. that joke needs work19:33
ralsinammcc: hehe19:33
ralsinadisapproving of me is indeed almost required.19:33
ralsinabut then again, you have a performance review in ... 11 months! ;-)19:34
ralsinatick tock19:34
mmccralsina: I have a big red clock counting down19:35
mmccSo my question about the branch: Why add a separate filesystem_notifier module for platform agnostic things that are related to filesystem notification? That seems like it should go in filesystem_notifications, either in __init__ or in a separate file that __init__ includes...19:35
mmccIt might seem picky, but I was a little confused by the naming. I saw changes to "notifier" and wondered where the files in "notifications" had gone19:36
gatoxmmcc, yes, i added first inside filesystem_notificatoins, but19:39
gatoxi wanted something that you can import always in the same way, and in that case that would be: from ubuntuone.platform.filesystem_notification import pyinotify....... but if you add the file inside filesystem_notification....... and linux.py and windows.py wants to import pyinotify..... you have a circular import and doesn't work19:40
urbanapedobey: have you tried gmap-pedometer? Last I recall, it provided elevation, and I think it can do a KML19:41
urbanapebrb19:41
mmccgatox, sorry, I don't see how it would cause a circular import.19:45
mmccgatox so, "filesystem_notifier" has code borrowed from pyinotify that we use on all platforms, right?19:45
gatoxmmcc, no..... mmm i'm looking at the circular import thing..... and it doesn't seem that is the problem..... but that happen when i was trying to run the tests..... maybe was a different approach..... i'll try to add it again inside filesystem_notifications.... i also prefer that place19:47
mmccyeah it's a little nicer all in one place I think. As I look at it more, the module you mande 'filesystem_notifier' is pyinotify on linux, but on windows, it's just the bits of pyinotify we need to wrap the events coming from the code in the filesystem_notifications module...19:48
mmccseems like it fits better together.19:48
dobeyurbanape: wow, that site is awful :)19:49
dobeyurbanape: and the gpx i got from making a route doesn't seem to have elevation there either19:49
urbanapedid you turn elevation on?19:50
dobeyyes19:50
dobeyto "large" whatever the heck that means19:50
urbanapehm. sorry.19:50
dobeyand i made a route in Harrisonburg, where there are obviously lots of hills :)19:51
dobeyeh, oh well. i don't think google maps exposes elevation either, though google earth might19:52
dobeyi doubt OSM has elevation for all points, either19:53
briancurtinralsina: is there a way to cancel a holiday in canonicaladmin? the half-day i put in for yesterday is cancelled, i'll be here the full day19:54
briancurtiner, tomorrow...no idea how i thought "yesterday"19:54
ralsinabriancurtin: if I have not approved it, yes, if I have, we have two paths19:54
briancurtinits already approved19:55
ralsinathen we can 1) go to HR and ask them to change it19:55
ralsinaor 2) you tell me what day you will really be gone, and I pretend we did it19:55
ralsinacorrectly19:55
ralsinain this case, you have a holiday on a sunday, so HR is probably a better idea19:56
briancurtini'll email them to change it19:56
ralsinabriancurtin: thanks19:56
gatoxsi?19:59
ralsinagatox: tal vez!19:59
gatoxjeje wrong channel19:59
gatoxmmcc, if i try to import pyinotify inside filesystem_notifications __init__ there is actually a problem..... i need to create a different module inside filesystem_notifications to do this..... i wasn't so crazy :P jeje20:10
mmccgatox, what problem does it cause?20:11
gatoxmmcc, we are importing linux/windows file from the __init__ and those files are trying to obtain pyinotify from the same init... is just necessary to do the import somewhere else...... the REAL problem, is how to do the import and avoid the lint issues (which shouldn't be there anyway..... but..... that's how the lint checker works)20:13
mmccgatox, only windows uses the pyinotify_agnostic stuff, right?20:15
gatoxand mac20:15
mmccright20:15
gatoxi think i figure it out20:15
gatoxthe real problem here, is that i need to do something kind of unnatural...... because the lint checker is going to complain... when it's actually something valid20:16
gatoxbut it seems to be working now20:16
mmccI'm curious what unnatural things you had to do - not familiar yet with the corners of lint.20:18
mmccyou can just push it and tell me to look if you want20:18
gatoxmmcc, i mean when it fails for a double import..... when you actually are importing something in the if part or the else part..... same problem here.....20:19
gatoxmmcc, no problem...... it's not going to win! :P20:19
ralsinagatox, briancurtin: another easy review please! https://code.launchpad.net/~ralsina/ubuntuone-control-panel/fix-865688/+merge/10571320:19
gatoxralsina, ack20:19
* ralsina is picking low-hanging fruit today20:19
briancurtinralsina: looking20:19
mmccgatox oh yeah, I ran into that, dumb lint.20:20
* mmcc wants flow sensitive lint!20:20
gatoxralsina, +120:35
dobeybah, i don't think i have time to do any real yard work before the storm gets here :(20:42
ralsinagatox: thanks!20:47
toabctlthere a study about cloud services from faunhofer instutite. just for the record: http://www.sit.fraunhofer.de/de/cloudstudy.html . the study is in english20:59
mmcchey, does twisted's UnitTest failUnlessRaises() not do what I think its docs say it does?21:17
mmccI am testing a regular function that doesn't return a deferred and I want to test that it raises a NetworkFailException21:18
dobeymmcc: you should use self.assertRaises()21:18
mmccdobey, ok. I saw that somewhere but it isn't in twisted's docs ... is it our extension? I'll go look21:19
dobeymmcc: it's in one of the TestCase implementations we inherit from21:20
dobeymmcc: probably either twisted, or unittest21:20
dobeymmcc: the failFoo APIs are for implementing assertFoo APIs, generally21:20
mmcc dobey, thanks. it comes from unittest... still not clear why failUnless doesn't seem to match its docs tho21:28
* dobey doesn't have good experiences with python docs21:29
mmccOH. PEBKAC, of course you pass it the callable, not the *result* of calling the callable. yargh, docs are fine21:31
dobeyand now, having issue with python testing libraries that have circular dependencies on each other21:32
dobeywish python had a LogicError for such a case21:33
mmccdobey, aren't you off today?21:36
dobeyyes21:36
mmccoh, ok then21:36
dobeywas looking at getting a few simple non-u1 packages (but which u1 stuff sort of depends on) packaged for python3 in ubuntu21:39
=== m_conley is now known as m_conley_away
mmccleaving now for a few hours, will be back this evening to wrap up my network state branch22:00
gatoxok...... i'm off for today...... brain is blocked!!! see you tomorrow!!22:03
=== salgado is now known as salgado-afk
duanedesigncan someone help me with somewindows logs22:11
briancurtinduanedesign: i'm about to head out of here shortly, but i can take a look22:11
duanedesign\o/22:12
duanedesignbriancurtin: https://pastebin.canonical.com/65993/22:14
duanedesigngot some more i might email22:14
briancurtinduanedesign: that doesn't ring any bells, never seen anything like that...22:16
briancurtinduanedesign: i can take a deeper look tomorrow22:16
duanedesignbriancurtin: yeah i emailed you22:17
duanedesignhave a good night22:17
briancurtinyou too22:17

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