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

mmccok - my branch to fix the race in controlpanel.backend that caused too many calls to get_credentials, and on my system, caused the eternal loading overlay at startup, is here: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/fix-credentials-race/+merge/12196900:25
mandelmmcc, awesome!00:33
mandelmmcc, I need to test that branch merged with the stale broker fix :)00:33
mandeloh, I'm back :)00:33
mmcchi mandel, what time is it for you?00:34
mandelmmcc, is 2 am, but not to worry, lets try to fix all this bugs so that the only thing we do tom is release00:34
mandelmmcc, by the way, is this a public release or internal?00:35
mmccmandel: public, ralsina mentioned a blog post00:35
mandelfrack00:35
mandel!!!00:35
mandelmmcc, ok, we better do a good one then :)00:35
mmccheh00:35
mandelmmcc, so far we are much better than the first windows one00:35
mmccwell, as soon as this build uploads I'm EOD, but I will probably check back a little bit tonight, please let me know where you leave things, maybe I can test or review a branch00:36
mandelmmcc, ok, if things work I'll send you an email with the branches to review00:37
mmccmandel: sounds great00:37
mandelmmcc, ideally with the stale broker fix and your we have a working sso00:37
mandelmmcc, next would be the daemon, right?00:37
mandelmmcc, your branch, what is the expected behavior?00:43
mmcchere's the bundle with my branch: http://ubuntuone.com/3Ak3HKLhv7KETroVctKBkV00:43
mandelfor me when getting the new creds from sso it gets stuck00:43
mmccmandel: gets stuck where? did you already have creds? this was solving an issue when you already had creds, it would hang00:44
mmccI have to go, will try to check back in a few hours, sorry00:44
mandelmmcc, ok, no problem then, it gets stuck in the wizard where I was working :)00:44
mandelmmcc, go go, have fun with the baby :)00:44
mmccmandel: just thought of this: you probably don't see the issue my branch fixes unless you have merged from trunk since gatox' share links branch landed…01:32
mandelmmcc, oh, ok, will do01:32
ralsinahi mandel01:48
ralsinago to bed, start fresh tomorrow01:49
ralsinait's what 3AM there?01:49
mandelralsina, is 4 am, I prefer to do the opposite, finish late with things working01:52
mandelralsina, we need review by the way :)01:52
mandelralsina, mmcc told me is a public release, has that been announced?01:52
ralsinamandel: it's "public"01:57
ralsinamandel: it's also alpha01:57
ralsinaso, it will be announced internally, and if anyone outside wants to try it at his own peril, he can01:57
ralsinamandel: have links for the reviews?01:58
ralsinamandel: I suspect we never saw the credentials race condition because 1) On linux it doesn't happen 2) on windows the timing is different02:02
mandelralsina, sure, here they are: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/fix-credentials-race and https://code.launchpad.net/~mandel/ubuntu-sso-client/fix-stale-broker/+merge/12197302:02
ralsina mandel: done mmcc's starting on yours02:03
mandelgreat02:03
ralsinamandel: with this one you can do the initial login, or that is something else?02:04
mandelralsina, close, we are missing the signals parts we talked about, I'm trying to find out why Qprocess.finish signal is not raised02:04
ralsinamandel: ack02:06
mandelralsina, can you please try this in your mac: paste.ubuntu.com/117500502:07
ralsinamandel: sure02:08
mandelralsina, do I need to have a qapp running for that?02:08
ralsinamandel: let me mool02:08
ralsinalook02:08
ralsinayes02:08
ralsinaa QCoreApplication should be enough02:08
ralsinayou do the start, then the app.exec_()02:09
ralsinamandel: I am not thinking clearly. I am going to bed, and will be back early and do reviews then02:11
mandelralsina, no problen :)02:11
ralsina<murthaugh>I'm too old for this shit</murthaugh>02:12
mandellol02:14
mandelralsina, found a work around, the twisted implementation of the runner works.. later please refresh my mind on why we have to use the qt one..03:54
mandelnow to bed, is close to 6 am :P03:54
mmccmandel - your pasted script gave me an idea. looks like another Qt ordering problem - you have to make sure that the QCoreApplication is initialized before you call start(). I wonder if that's a problem we're having…05:54
mmcchere's my version of your script that shows that: http://paste.ubuntu.com/1175209/05:54
mmccinteresting, it really looks like it should work. I can reproduce the same issue in SSO + CP -- no finished signal getting sent06:14
mmccbut it looks like we check that the QApplication instance is not None before we call qt.spawn_program, so that check should avoid what I was seeing…06:15
mmccwell, I see the same thing, where if you use twisted runner, it works. that might be fine for a workaround, but if we need Qt for some reason, (i didn't find a reason in the logs), then I have a big clue --06:30
mmccthe sso gui ubuntu-sso-login-qt is not spawned by controlpanel, it's spawned by ubuntu-sso-login, which is launched by controlpanel using tcpactivation… so we aren't using qt there,  we actually use subprocess.Popen()06:35
mmccack, I really don't get why the twisted runner works, though. not thinking clearly here. going to sleep06:42
JamesTaitGood morning all! :)08:23
=== _thumper_ is now known as thumper
=== mpt_ is now known as mpt
=== yofel_ is now known as yofel
mandelmmcc, ralsina, I have a fix for the signing problem, I don't like it but is a single line, mainly using the qt runner on mac does nto work while the tx one works11:02
mandelmmcc, yes, the issue here is that ubuntu-sso-login is using the qtreactor, which is done so that we have support for proxies using QtNetwork, I don't see a reason why we should use the qt runner if it does not work11:06
mandelat least for this release we can go with this11:07
ralsinamandel: sure, if it works, do a branch that switches it and we merge that one manually for release11:07
ralsinaand that's the last thing we needed fixed!11:07
mandelralsina, I was thinking a single if sys.platform == 'darwin'11:08
ralsinamandel: sure11:09
ralsinamandel: just we shouldn't mergeit to trunk, I think11:10
ralsinamandel: with 24 hours to think I can surely fix it11:10
mandelralsina, ok, but there are something I have been thinking about, QProcess is not thread safe, and this is being executed in the qtreactor, I don't know if the qtreactor is putting the guy in a thread and there we are having issues11:10
mandelralsina, also, why using qprocess over the tx version if we are using a reactor, I understand using it on linux because there is no reactor.. but in the others11:11
mandelI find it a safer option11:11
mandelralsina, if you want to test it:  lp:~mandel/ubuntu-sso-client/send-signals Remove11:12
mandelups, copy paste fail from lp :)11:12
mandelralsina, has the shares tab ever worked on mac?11:17
mandelralsina, I'm moving to see if I can get the daemon support11:23
mandelralsina, please review: https://code.launchpad.net/~mandel/ubuntu-sso-client/fix-stale-broker/+merge/12197311:32
mandelI want to start using trunk for the buils asap11:32
alecuhello, y'all!11:45
mandelalecu, morning!11:47
alecumandel: got anything I can help with?11:47
mandelalecu, got questions for you :)11:47
alecumandel: it wasn't me, I swear it!11:48
mandelalecu, first, I noticed that the qt runner from ubuntu-sso-utils is not running on mac, why do we use it over the tx implementation?11:48
mandelalecu, I know it was not you, I always do a bzr blame hehe11:48
alecumandel: probably because we do the same elsewhere11:48
alecumandel: hehehe11:48
mandelalecu, ok, so I have a dirty fix at least for the release which is a sys.platform == 'darwin' :)11:49
mandelalecu, also, can you tell me where you guys where stuck with the daemon? mmcc told be it was not working, right?11:49
alecumandel: a sys platform check sounds fine for this.11:54
alecumandel: regarding the daemon, I've been peeking at how macfsevents and twisted interact, and I don't like it at all. Small testing scripts that use both end up segfaulting randomly.11:55
mandelalecu, and the fsevents daemon? I want to fix that guy today, I remember mmcc telling me you helped him a little with that11:56
alecumandel: did I helped with the root daemon?11:58
mandelalecu, that is what I understood, I could be wrong..11:58
mandelalecu, I'm going to try to make things work using the root daemon to see if we don't have those segfaults11:59
mandelif that is the case, we need to fix fsevents..11:59
mandelalecu, this fixes the runner problems: https://code.launchpad.net/~mandel/ubuntu-sso-client/send-signals I don't know if it should land in trunk or not..12:00
alecumandel: we should test if that works better than the other one.12:02
mandelalecu, it works on mac, which the other doesn't I'd like to understand better the qtreactor + yield and what it really does, also QProcess is not thread-safe but reentrant12:05
alecumandel: what do you want to know about "qtreactor + yield"?12:06
alecumandel: reentrant usually means "thread safe"12:06
mandelalecu, no perse, you can access its vars but on qt bad things happen with the signals and slots12:08
mandelalecu, you have to connect them in the right thread where you want the information..12:08
dobeyreentrant means "you need to know what you're doing and use the proper locking APIs for this to work in threads"12:08
mandelI wonder if we are not getting one of the signals due to that.. but again, I don't know enough about the qtreactor12:09
ralsinamandel: you can connect signals across threads just fine12:11
ralsinamandel: Qt should be smart enough and use a queued signal in those cases. However thoe have to be Qt threads, not python threads12:11
ralsinamandel: which is probably not the case here12:11
alecumandel: well, the qtreactor should handle all that by itself. I think it's much better to use the tx runner than the qt one, but as always, it's better to test it irl12:11
alecumandel: both inside our code, and on small test scripts.12:11
ralsinaalecu: we may even switch to the tx runner everywhere if it works everywhere and remove some complexity12:12
alecuralsina: we can't use it on sso on linux, since we don't have any reactor there.12:13
mandelralsina, alecu, everywhere as in windows and mac right, 'cause we do not have a reactor on linux for sso or do we?12:13
alecumandel: exactly.12:13
ralsinaalecu: but there we are not using the qt one either, right?12:13
mandelalecu, he, stop reading my mind!12:13
ralsinaso the qt runner runs out of uses12:13
alecumandel: anyway: IRL tests, tests, tests.12:13
mandelralsina, for the proxy support we use qt12:13
mandelalecu, ^12:13
ralsinagrmbl12:14
ralsinaok, out of scope for today, but let's keep it as something to think about12:14
mandelralsina, ditto and I said the same at 6 am :P12:14
ralsinamandel: no, the shares tab never worked on mac yet12:14
ralsinamandel: I am going to disable+hide it for this release12:14
ralsinamandel: and fix it for the next one12:14
mandelralsina, the small one liner fixes the problem, at least for the release (about the runner)12:14
alecumandel, ralsina: can you try running a couple of times this script?12:15
ralsinamandel: awesome12:15
mandelalecu, sure, url?12:15
alecumandel: doh: pastebin.ubuntu.com/1174680/12:15
mandelralsina, with what we have we might have a nice release.. but I'd like to talk with mmcc and try to get it using the root daemon12:15
ralsinaalecu: sure12:15
mandelalso land want we have around in private branches12:15
ralsinamandel: probably not on this one :-(12:15
* alecu hates new firefox that strips http:// from urls copied from the url bar.12:15
ralsinaalecu: yes, that's deeply stupid12:16
alecuralsina, mandel: here, that script dies 4/10 times with some memory corruption.12:16
mandelalecu, the exception is expected?12:17
mandelalecu, whqt I get: paste.ubuntu.com/117573912:18
alecumandel: yes, the exception is expected.12:19
alecumandel: you are running with your latest macfsevents, right?12:20
mandelalecu, yes12:20
ralsinaalecu: no memory corruptions, just the exceptions12:20
mandelalecu, shall we try passing process_asap = True to the observer?12:20
alecumandel, ralsina: can you try running it a couple of times?12:21
alecumandel, yes, please.12:21
mandelalecu, I'm in the process12:21
ralsinaalecu: on the 10th time, no memory issues12:21
alecumandel, ralsina: also: add a line with a "raise", just after the log.err()12:21
ralsinaalecu: ok12:21
mandelalecu, and latency=0 too?12:22
mandelalecu, is the other setting we use12:22
ralsinaalecu: now I got "called with null pointer"12:22
alecumandel, sure.12:23
ralsinaalecu: is that the error you wanted?12:23
alecuralsina: can you paste it?12:23
ralsinaalecu: sure12:23
mandelsame here12:23
alecuralsina, mandel: ok: I got that first, so I thought it might be the exception being missed in the fsevents callback.12:24
alecubut then I saw that I got similar corruption issues when I was handling the error inside the callback too.12:24
mandelalecu, with process_asap=True it never finishes..12:25
mandelit keeps saying hola!12:25
alecuso, as far as I can tell, this is a race condition between the macfsevents thread and extension, and the reactor we are using on mac.12:26
ralsinaalecu: http://ubuntu.pastebin.com/117575312:26
alecuralsina: thanks.12:26
alecuralsina: you've typed that url, right? :-)12:26
ralsinaalecu: yes, paste from vnc into ubuntu is not working12:26
ralsinaalecu: letme check ;-)12:27
alecuralsina: I just fixed it in my browser :-)12:27
ralsinaalecu: right, pastebin.ubuntu.com/same number ;-)12:27
alecuralsina: so, yes: that's similar to the errors I've been getting.12:27
mandelralsina, alecu, same errors here12:28
alecuralsina, mandel: so, my options at this point:12:29
alecu1) we switch to some other reactor supported on mac for SD12:29
alecu2) we move the macfsevents stuff to a different process12:29
alecu3) we find a magical way to fix this.12:30
alecu...12:30
mandelsounds reasonable.. I vote for the magic unicorn fix..12:31
mandelalecu, we can try the reactor that uses the main loop from cocoa, that might be useful and is in theory a support reactor in twisted..12:31
ralsina+1 for magicalunicorns12:31
mandelbut yet again, the IOCompletionPorts one too12:31
ralsinahow complex is swithing reactors going to be?12:32
ralsinaI am tempted to do a "non-root-daemon" using macfsevents12:32
ralsinaand armonize it with the root daemon, conceptually12:32
mandelin theory it should just mean changing the import to install the new one..12:33
mandeltheory..12:33
alecuralsina: +1 to a user-daemon12:33
alecumandel: remember that some of the osx reactors are "Unmaintained": http://twistedmatrix.com/documents/current/core/howto/choosing-reactor.html#auto112:33
ralsinatwisted reactors are like a minefield, only without the fun explosions12:34
ralsinaalecu: so, current status is, this crashes sd and then sd restarts a lot, right?12:34
mandelalecu, maybe kqueue?12:34
alecuralsina: right12:34
alecumandel: test-test-test12:34
mandelyes yes yes12:35
ralsinaalecu: ok, so let's try to switch reactors now, and the plan is to do a daemon and avoid this crap12:35
alecumandel: let's start by doing the corresponding imports in the test script:12:35
aleculike:12:35
alecufrom twisted.internet import kqreactor12:35
alecukqreactor.install()12:35
alecuand so on12:35
ralsinaalecu: have 2' for a quick mumble?12:36
mandelwith the kqreactor we have the same PyCObject_AsVoidPtr problem12:36
mandelalecu, ^12:36
alecuralsina: sure12:36
mandelI'm off to have lunch12:37
mandelalecu, cfreactor seems to work.. anyways, off to get food12:38
alecumandel: how did you end up installing pyobjc?13:11
alecumandel: I was unable to compile pyobjc with the brewed python.13:39
mandelalecu, I cannot remember..13:39
alecuand if I use the 10.8 python with the 10.8 pyobjc, cfreactor dies after the second exception is raised, without printing anything useful.13:40
mandelalecu, wait, is not meant to do that.. I though it was..13:41
mandelmierda..13:41
mandelalecu, I have that problem too then13:41
dobeygah13:59
dobeydbus is crashing and i don't know why :(13:59
ralsinadobey: dbus as a whole?14:02
dobeyno, dbus lib making a call from libsyncdaemon14:05
dobeyso, probably libsyncdaemon bug14:05
dobeyyup14:07
* dobey wonders if that's one of the existing bugs14:08
dobeywow, there isn't a bug for this crash14:20
dobeyi guess it's hard to hit when you just get a giant dialog with a huge empty white box14:20
dobeyand it's such a trivial fix too :(14:26
dobeybriancurtin, ralsina: https://code.launchpad.net/~dobey/ubuntuone-client/fix-1043868/+merge/122076 please :)14:28
ralsinadobey: trivial fixes for which you propose branches should always be along a ":-)"14:29
dobeyralsina: it's a :( because this bug should have never existed14:29
briancurtindobey: looking once the diff generates14:29
dobeyit's a silly missing "+ 1" for an allocation call14:29
ralsinayes, silly off-by-ones14:29
ralsinabriancurtin: don't bother, I got it14:29
dobeyare we doing mumble or hangout?14:30
ralsinabriancurtin: BTW, look at https://bugs.launchpad.net/ubuntuone-client/+bug/104335914:30
ubot5Ubuntu bug 1043359 in Ubuntu One Client "[windows] Does not launch control panel if Windows Firewall service is down" [Medium,Confirmed]14:30
ralsinadobey: mumble14:30
ralsinabriancurtin: after you are done with the rush of py3 stuff, we should do a release that fixes that14:30
briancurtinralsina: yeah i saw that one come in yesterday. need to think of a way to test if that's up first14:30
ralsinabriancurtin: http://installbuilder.bitrock.com/docs/installbuilder-userguide/ar01s09.html14:31
ralsinabriancurtin: it's even the example :-)14:31
briancurtinbam14:31
dobeyralsina: ok; i will need to leave promptly at 11:30 today, and if we can cut it a few minutes earlier, even better :)14:32
ralsinadobey: sure14:32
ralsinadobey: you talk first to be sure14:32
ralsinadobey: before we ramble on mac stuff14:32
ralsinathisfred: you're excused from today's call if you want14:33
thisfredI'll take that :)14:33
ralsinathisfred: we have a ton of mac stuff to discuss and AFAIK you are doing server-side stuff this week, right?14:33
thisfredyeah 99% server side14:34
dobeyralsina, briancurtin: and https://code.launchpad.net/~dobey/ubuntuone-client-gnome/no-more-eds/+merge/122080 which is a fair bit less trivial. :)14:45
ralsinadobey: ack14:45
ralsinadobey: global +1 on the other one BTW14:45
dobeythanks14:45
briancurtindobey: will look14:46
dobeymay need design approval on the -gnome one, but UI freeze is today so was hoping to get it in since I finally got a chance to do that work last night/this morning14:46
ralsinadobey: if you have screenshots we can run it through design quickly14:51
dobeyi can nab one14:52
mmcchi folks. catching up now…14:56
ralsinagood morning mmcc!14:56
dobeyralsina: http://ubuntuone.com/4SPMPsP5FysA55FQK5MU8V14:58
dobeyalso added to comment14:58
ralsinadobey: have a before shot?14:58
mandelralsina, dobey or thisfred, can I have a very simple review: https://code.launchpad.net/~mandel/ubuntuone-client/ignore-ds-store/+merge/12208414:59
mandelthe bug was really annoying me :)14:59
ralsinamandel: sure thingie!14:59
mandelralsina, also need to rest my brain from harder bugs hehe14:59
ralsinamandel: yeah, we needed that fixed before release, really :-)14:59
dobeyralsina: one second15:00
mandelralsina, the ds_store one, cool I had no idea it was urgent, it was annoying me that is all15:00
ralsinamandel: well, it was going to annoy everyone :-)15:00
dobeyralsina: https://launchpadlibrarian.net/85567180/u1-sharing.png15:00
ralsinaalecu, mandel, mmcc, dobey, briancurtin: mumbles!15:00
dobeyralsina: is attached to the one "omg confusing" bug15:00
mandelralsina, there already15:01
ralsinadobey: oh, great15:01
ralsinadobey: I'll get design signoff after the call15:01
dobeyok15:01
ralsinajoshuahoover: call if you are free :-015:01
ralsinathat was meant to be a riendly ":-)"15:02
joshuahooverralsina: heh, joining...15:02
ralsinamandel: on https://code.launchpad.net/~mandel/ubuntuone-client/ignore-ds-store/+merge/122084 the indentation of the new line is off, can you fix that?15:09
mandelralsina, is not off that is an lp problem, open the file :)15:10
ralsinamandel: ok15:10
mandelralsina, see: http://bazaar.launchpad.net/~mandel/ubuntuone-client/ignore-ds-store/view/head:/data/syncdaemon.conf#L8015:11
mandelstupid lp15:11
dobeymandel: it is off because you mixed tabs and spaces15:14
mandeldobey, fixing it15:17
mandeldobey, done15:19
mandelmmcc, the branch that fixes it: https://code.launchpad.net/~mandel/ubuntu-sso-client/send-signals15:22
mandelmmcc, little and crappy but works15:22
mandeldobey, please approve the branch before you go so that is not blocked :)15:23
dobeymandel: bueno. +1 :)15:24
mandeldobey, gracias!!!15:24
mmccmandel: I'll try to propose it soon, but it'll be after a new test bundle for sure.15:41
mandelmmcc, no problem, I found something I can have fun with.. and is mac related :)15:41
mmccmandel: we don't copy the plist - it gets embedded into the daemon executable as a linker __TEXT section, and the launchdadd process gets it from there and puts it in a system location we can't touch15:41
mmccmandel: cool, what?15:41
mandelmmcc, pync :)15:42
mandelmmcc, notification center support15:42
mmccmandel: great15:42
chaselivingstonmandel: oooh, I would love that15:42
mmccwill it work with growl in 10.7 also?15:42
mandelmmcc, I'll add support for both, is very small code that needs to be added15:42
mandelthisfred, when are the notifications shown in u1?15:53
thisfredmandel, that question is a little too vague for me to answer15:53
mandelthisfred, is there an action I can perform to trigger a notification?15:54
ralsinamandel: why nt start with growl and then use that free app for nc?15:54
thisfredmandel, you can drop a file into your u1 folder15:54
mandelralsina, because we can have both very cheap15:54
ralsinamandel: ok15:54
mandelralsina, no need for a 3 party app and is like 20 lines of code for each15:55
thisfredmandel, notifications are / should be shown whenever u1 starts or finishes uploading or downloading15:55
thisfreduploading is obviously the easiest one to trigger15:55
mmccmandel: you're going to run into exceptions from the on_download_finished remote call…15:56
mandelmmcc, true.. I'll have to fix that too, is easy, or should be easy..15:56
mmccjust a heads-up. gatox fixed some of those for the sync indicator but not all. you can see what he did. it's either removing or adding an asterisk15:56
mandelralsina, mmcc, please don't hate me, but can we push this in the release: https://code.launchpad.net/~mandel/ubuntuone-client/fix-wrong-fs-action/+merge/12209916:07
mandelis kind of important..16:07
mmccmandel, is fsevents.IN_ATTRIB == 4?16:07
mandelmmcc, yes16:07
mmcchooray16:08
ralsinamandel: I don't mind, but I have no idea what that does, so it's up to mmcc16:08
mmccthat's the bug I ran into two days ago16:08
mmcc+116:08
mandel:)16:08
mmccwell, in spirit ;P -- when does IN_ATTRIB get sent, exactly?16:09
mandelmmcc, in my case it got when I did a copy from one location to another16:09
mmccreally16:10
mmccwell, we do need to handle that event, and I figure sending modify is a good start… besides we need to have a hard look at fsevents.py after the release anyway16:11
mandelmmcc, yes and yes16:11
mmccok, fsevents sends IN_ATTRIB if it sees a file that has the same modified time but different ctime -- "the time of most recent metadata change". So we might be sending an event when the content hasn't actually changed -- will that be a problem up the stack?16:14
ralsinammcc, mandel: branch to hide the share tab completely -- lp:~ralsina/ubuntuone-control-panel/ninja-share-tab16:14
mmccthis IN_ATTRIB was added upstream in fsevents trunk -- we could just ignore it16:14
mmccralsina:  grat16:14
mandelmmcc, no, we will check the hash and if it the same we do nothing16:15
mmccmandel ok then I will approve that branch16:15
mandelmmcc, we do the same on windows16:15
mandelmmcc, is a little ugly, I agree16:15
mmccanyone else want to review that?16:16
ralsinammcc: merge it16:17
ralsinaconsider that a virtual +116:17
ralsinaand... lunch!16:17
mmccdone16:17
mmccwait ralsina - did you do the IRL test of mandel's fix-stale-broker?16:17
mandelralsina, mmcc, we have notification center support on 10.8 :)16:17
ralsinammcc: no, I  didn't16:18
mmccralsina: ok, cool16:18
ralsinammcc: stupid me, I should have :-(16:18
ralsinammcc: so you do it ;-)16:18
mmccralsina, ack - mandel, can you elaborate on how you tested that? the instructions on the branch weren't totally clear16:21
mandelmmcc, what you can do is the following, start sso in a terminal, ok16:22
mmccwhich sso16:22
mandelmmcc, ubuntu-sso-login16:22
mandelthe daemon16:22
mmccok16:22
mandelmmcc, then in a second terminal start control panel16:22
mmccright, and I just have to be quick about killing sso-login right after I start cp?16:23
mandelyes, so that it gets the wrong remote object16:23
mandelmmcc, then work normally and things should just 'work'16:24
mmccwhen I tried this earlier it was hard to kill it before it finished and killed itself16:24
mandelmmcc, you can use a test script to connect so it does not kill itself16:24
mmccI guess I never rebuilt the UI since the qss change for the tabs to be left-aligned showed up16:26
mmcchrm.16:26
mmccmandel, it's caching the credentials, so I don't think it needs SSO after it started up… I'm not sure I can test this, what am I missing?16:28
mmccit's possible that I'm just tired here :)16:28
mandelmmcc, hehe, same in this side, I think a good way to test it is request bad creds, kill and retry16:28
mmccmandel: how do I request bad creds? is that something that happens in real use? sorry, I'm being dense here16:30
mandelmmcc, yes, you can start without them in syncdaemon16:31
mmccso, delete my creds, start SSO-login, then start CP, then kill SSO login while it's running the gui?16:31
mandelmmcc, mumble?16:31
mmccmandel: sure, just a sec16:32
mmccmandel: i'm there16:32
mandelone sec16:32
mmccok mandel, approved. that'll be going in the release16:44
mandelawesome!16:44
mmccbtw, why did we make the tabs left-aligned? is that for all platforms?16:46
mandelmmcc, yes, to be consistent16:51
mmccmandel: wasn't it centered everywhere before? why left on all platforms instead of centered on all platforms?16:52
mandelmmcc, no AFAIK16:55
mandelanyway, EOD here I've got rugby training, laters o/16:56
mmccmandel: ok, thanks again16:56
mmccbye16:56
mandelmmcc, ralsina, before I go, we have notification center and growl support (post 1.3) support, I'll create a bug and propose tom morning :)16:59
mmccmandel: great16:59
briancurtindoes anyone know how to tell where a package came from? like i want to know where the source was taken from to install twisted into python3.2/dist-packages17:02
briancurtinoh wait, i'm an idiot17:03
briancurtini did that myself...17:03
mandelhahahaha17:03
briancurtini was trying to blame it on something i apt-get'ed17:03
mmccwith the right combo of filesystem metadata and shell features, one day we might be able to have the utility that tells us what we did to create a given file. I'd call it 'wtf', as in 'where's this from'.17:06
mmcc'wtf ~/bin/python' => "you installed it in june from ~/source/python-2.3 while you were working on the back port bug" or something like that17:07
* mmcc done daydreaming17:07
* alecu will have lunch and do some errands17:08
mmccarg, tarmac not happy with client tests right now17:12
mmcchad to re-approve mandel's fsevents tweak17:12
mmccok, building a bundle with our tweaks for last-minute testing, then I'll figure out the certificate stuff and work on building a bundle for release with the right cert and an alpha version number17:21
chaselivingstonmmcc: should I have two sf's running at once in activity monitor?17:31
chaselivingston*sd's17:31
mmccchaselivingston: no, they're probably there as a result of a bug we fixed this week.17:31
chaselivingstonmmcc: never mind, just got a popup that said sd error and asked me to terminate them17:32
mmccwhat did it say the error details were?17:32
chaselivingstonmmcc: I didn't look…. sorry17:32
mmccI'm about to put a new build up, so killing everything and starting over is what I recommend…17:32
mmccit's uploading - 56%17:32
chaselivingstonmmcc: cool, will you post a link here?17:32
mmccyes17:32
chaselivingstonawesome, thanks17:33
mmccOk new mac client alpha release candidate build -- http://ubuntuone.com/7COx8IkZd5MInXLL3sb0BN17:35
ralsinammcc: awesome!17:36
mmccchaselivingston: please kill your syncdaemons and any other ubuntuone related processes, then delete the "Ubuntu One" item in Keychain Access before starting that. Also remove ~/Library/Preferences/ubuntuone/syncdaemon.conf17:36
mmccwhen you start up you should be able to log in with no freeze and see an initial-setup wizard that walks you through picking which folders to sync17:37
mmccif you could test that, then quit and restart the app a few times to see if anything stalls out on you, that'd be very helpful17:38
mmccdon't worry about killing syncdaemons for that last step, just interested in the UI17:38
mmccralsina: if you've got time, can you do the same?17:39
chaselivingstonmmcc: cool, will do17:41
ralsinamandel: looks like wrong-fs-event bounced?17:42
ralsinammcc: will do!17:43
chaselivingstonmmcc: made it to folder selection, but I'm stuck at "getting information, please wait"17:45
chaselivingstonmmcc: quit and restart and made it right to the cp17:46
mmcchmm, not great. sorry, have to be a fk for ~10… will check on that in a minute17:49
mmccer, when i get back.17:49
mmccchaselivingston: how long did you wait before quitting and restarting?17:49
chaselivingstonmmcc: ~2-3 mins17:49
ralsinachaselivingston: I have seen that on windows sometimes17:54
ralsinachaselivingston,mmcc: it's something to verify but probably can be explained away on the mail describing this release17:54
chaselivingstonralsina: agreed, and maybe it was just a weird case for me or something17:55
chaselivingstonralsina: seems to be syncing ok now17:55
chaselivingstonralsina: ok maybe I lied, don't see sd running...17:55
ralsinammcc: we should make --with-icon the default on darwin!17:57
ralsinachaselivingston: confirmed some steps in the wizard lock18:00
ralsinachaselivingston: next & finish still work though ;-)18:00
chaselivingstonralsina: ah, interesting...18:00
mmccugh. ralsina which steps in the wizard?18:01
mmccI only ever walked through with next and finish…18:01
ralsinammcc: the first one after login, selecting folders to sync18:01
ralsinaother than that, it works for me18:02
chaselivingstonmmcc, ralsina: sd seems to be quitting on me after a few mins of closing the cp18:02
ralsinachaselivingston: yes18:02
ralsinachaselivingston: we need to start the cp so it stays alive18:03
chaselivingstonso if I leave the cp up for now, it will continue running?18:03
ralsinachaselivingston: if it crashes, it will restart itself at least ;-)18:03
chaselivingstonralsina: haha, good to know, I'll just leave it in the bg for now18:04
ralsinammcc: I'll do a branch to make --with-icon true by default on darwin18:05
mmccralsina: ok18:05
mmccchaselivingston: can you make a bug for SD quitting, and attach your syncdaemon.log ? I'm wondering why it's quitting18:07
chaselivingstonyeah, sure thing18:07
ralsinammcc: the gc crash? ;-)18:07
mmccralsina: possibly, but I was hoping that wasn't so common18:09
ralsinammcc: shouldn't be18:09
chaselivingstonmmcc: https://bugs.launchpad.net/ubuntuone-control-panel/+bug/104398318:10
ubot5Ubuntu bug 1043983 in Ubuntu One Control Panel "syncdaemon crashes when control panel is quit" [Undecided,New]18:10
ralsinammcc: mine survives u1cp closing, has been up 14 minutes18:11
mmccralsina: ok18:11
mmccI'm seeing the stalled loading overlay on the cloud-to-computer page, and the computer-to-cloud page also seemed stalled but was just really slow18:12
chaselivingstonmmcc: mine isn't running even w/ the cp up right now...18:12
ralsinachaselivingston: ok, that's bad18:12
chaselivingstonralsina: maybe I should try a restart?18:13
chaselivingstonralsina: of my computer I mean18:13
ralsinachaselivingston: should not make a difference18:13
ralsinachaselivingston: maybe if we could see logs18:13
ralsinawhich I don 't recall where they are on darwin18:14
chaselivingstonralsina: that previous bug report I submitted has my sd logs18:14
ralsinachaselivingston: oh, awesome, I'll look then18:14
mmccralsina logs are in ~/Library/Caches/ubuntuone and ~/Library/Caches/sso18:14
ralsinammcc, chaselivingston: yes, that looks like the GC failure to me18:15
ralsinawhy doesn't it happen for me at all? Could it be that I am on 10.7?18:15
chaselivingstonralsina: hm, and no fix for that yet?18:15
ralsinachaselivingston: not one we can package today :(18:15
chaselivingstonralsina: cool, no worries18:16
mmccralsina: are you just looking at the end? I don't recognize that non-traceback18:16
ralsinammcc: that's a bare exception inside twisted18:16
ralsinammcc: which is what I got with alecu's test script earlier18:16
mmccok18:17
mmccchaselivingston: what happens if you press the disconnect button and re-connect from within controlpanel?18:18
mmccdoes that restart SD for you?18:18
chaselivingstonmmcc: let me try, one sec18:18
chaselivingstonmmcc: it does start up when I open the cp, but apparently quits some time after that18:19
mmcccan you pastebin the end of the syncdaemon log from after that?18:19
chaselivingstonmmcc: me? I'm not even sure I'd know where to look to find that :)18:20
mmccchaselivingston: yes, you :) just the same syncdaemon.log -- I'm wondering if it quit the same way. you could attach it to the same bug or if it's more convenient, use http://paste.ubuntu.com18:21
mmccsince it shouldn't be too big - I just want the end to see how it died18:21
chaselivingstonah ok, one sec18:21
chaselivingstonmmcc: remind me how the copy command works in Terminal? trying to copy it to the desktop from the folder it's in18:22
mmcccp ~/Library/Caches/ubuntuone/syncdaemon.log ~/Desktop/18:23
chaselivingstonok, also just posted a crash report I got from sd to that bug18:24
mmccoh, an osx crash report? great18:24
chaselivingstonmmcc: yeah, from console18:24
chaselivingstonmmcc: will that do for now, about to go into a meeting, I can try to get the sd logs a bit later if you want18:25
mmccchaselivingston: just curious, can you load one.ubuntu.com in a browser right now?18:25
chaselivingstonmmcc: yep18:25
mmccok, thanks18:26
dobeyok, need second review of https://code.launchpad.net/~dobey/ubuntuone-client-gnome/no-more-eds/+merge/122080 asap18:33
dobeybriancurtin: can you do it please? :)18:33
dobeyi guess he's probably at lunch now18:34
ralsinammcc: review for https://code.launchpad.net/~ralsina/ubuntuone-control-panel/darwicon/+merge/122122 please?18:35
ralsinaalso dobey maybe?18:36
briancurtindobey: oh whoops, i hadn't finished that one yet. will finish in a few mins18:37
dobeyralsina: +1 from me18:39
ralsinadobey: thanks!18:39
briancurtindobey: looks ok, approved18:42
mmccralsina: I am getting test explosions from that branch on darwin…18:42
ralsinammcc: whoa18:42
ralsinammcc: can you pastebin, my mac is not very dev-friendly right now18:42
mmccof course it's mostly the same explosions as before, will have to re-add my hack for the "wrapped c/c++" blah and see if that's it18:42
mmccgive me a minute or two18:42
dobeybriancurtin: thanks!18:42
ralsinammcc: oh  ok18:42
mmccsome looked new though :(18:43
ralsinammcc: it changes a default so it's possible it needs tweaking a ton of places18:46
mmccralsina, all the failures are in test_share_links_search.py… http://paste.ubuntu.com/1176430/18:47
ralsinammcc: ok, I now can run the tests on mac, so I'll fix them18:48
mmccI merged your darwicon into trunk, so this doesn't have the full disable branch, iirc18:48
dobeywhat is up with all the crazy ram usage from the u1client tests lately?18:48
mmccer, I mean, doesn't have the branch that you put up today to fully disable share_links18:49
ralsinammcc: it's ok, should be ok without it18:50
ralsinammcc: unless you already get those errors in trunk18:50
mmccralsina: ok, I'll go check in trunk, just a sec18:53
mmccralsina: looks like the same errors happen in trunk: http://paste.ubuntu.com/1176455/18:57
ralsinammcc: ok, so not branch related18:58
ralsinammcc: and probably explains why the share tab is broken on mac ;-)18:58
ralsinammcc: could you do a quick IRL test and see if my branch works? I can try to fix these tomorrow18:58
mmccralsina: ok.18:59
mmccI see the menu, and your new tests pass, so +119:02
ralsinayay19:02
ralsinammcc: bug #104401219:04
ubot5Launchpad bug 1044012 in Ubuntu One Control Panel "file share tab tests fail on mac (and the tab doesn't work)" [High,Triaged] https://launchpad.net/bugs/104401219:04
ralsinaI don't expect that to take longer than tomorrow to fix19:04
ralsinaso maybe we will do another release next week19:04
mmcccool, yes19:04
ralsinaschool run! Will be back in about 30'19:13
dobeybriancurtin, ralsina: https://code.launchpad.net/~dobey/ubuntuone-client-gnome/update-4-0/+merge/122131 basically same as earlier, just merging to stable to make a relaese and get it in ubuntu in the next 1.5 hrs.19:33
briancurtindobey: looking19:33
dobeybrb, gotta make a quick run19:38
ralsinadobey: this branch bounced because tarmac ran out of memory, right? https://code.launchpad.net/~mandel/ubuntuone-client/fix-wrong-fs-action/+merge/12209919:59
ralsinammcc: you may have to merge that one manually ...19:59
mmccagain, jeez19:59
chaselivingstonmmcc: fyi, just attached another crash log to that bug I submitted earlier20:00
mmccralsina: how do I merge it manually? just push to lp:/ubuntuone-client/trunk ?20:00
mmccchaselivingston: great, thanks20:00
ralsinammcc: I meant more merging it when doing the release20:00
ralsinammcc: like my branch about hiding the share tab20:00
mmccralsina: oh, ok sure20:01
mmccI like that better anyway20:01
ralsinawe'll get it in trunk eventually, anyway20:01
mmccoh hey, I forgot, I already did that. the build I sent earlier today has that branch20:03
ralsinaawesome20:05
ralsinaso one more merge of trunk and ready to package?20:05
mmccnow fighting with Xcode to download developer-ID signed certificate from apple20:05
mmccthe future answer will be to add someone from IS to the team on apple's site and get them an official cert too.20:06
mmccor potentially they can just use their certs, although I'm not sure exactly if it *has* to be signed by apple20:06
mmccas root20:06
mmccralsina: merge of trunk for the darwicon branch ? am I forgetting anything else?20:07
ralsinammcc: yes, for that one20:07
mmccok20:07
dobeyralsina: technically it bounced for that reason20:11
mmccralsina: building with the darwicon branch now, I will sign it with my Apple provided canonical group Mac Developer cert. I don't think this will fix the 10.8 warning, but it might. There is a single "developer ID" certificate that will definitely make 10.8 happy, even with "gatekeeper" enabled, but only urbanape has that one for now.20:30
dobeyralsina: do i need to get the patch to remove the search bits on the share tab, into quantal today?20:30
ralsinadobey: ?20:32
dobeyralsina: you disabled the search box in http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-control-panel/trunk/revision/35420:33
ralsinadobey: I don't think so20:34
ralsinadobey: that doesn't change UI really20:34
ralsinadobey: and I want to do a much better solution20:34
dobeyoh, it makes the ui insensitive while it's searching?20:34
dobeyor while it's building the index for which to search in?20:35
ralsinadobey: right, while it's building the index20:36
ralsinadobey: what I want to do is provide a second source of autocompletion where you type the path from the left20:37
ralsinadobey: which can be done without prepopulating a list20:37
dobeyah20:38
dobeyhow does that search work anyway, hits a REST API and stores a big list in memory?20:39
ralsinadobey: worse, scans the disk20:39
ralsinadobey: when it hit my 300K files it kinda sucked ;-)20:39
dobeyyeah, that sucks20:40
ralsinadobey: the idea there is that if you want to publish a file, you type the name, choose it from the popup, then blam, it's published. It just needs some refining20:41
dobeyyeah20:41
dobeylike it shouldn't search shares to you20:42
ralsinadobey: it should also just scan UDFs you are subscribed to in this box20:45
ralsinadobey: so, lots of things to fix20:45
mmccralsina: build done, signed, writing a README with instructions on how to file bugs. care to look and tell me if I need to add anything?20:46
ralsinammcc: wooooohoooo20:46
ralsinasure20:46
dobeyralsina: i presume you meant "shouldn't" there. i would think it should search all the files you've synced to U1, regardless of whether they are synced to the local machine or not.20:46
mmccralsina: https://docs.google.com/a/canonical.com/document/d/123__JHLgeuLrloyEtTB0qzhRnpwOcXPT_bz_vqgV0go/edit20:47
dobeywell, hooray!20:48
ralsinadobey: to publish, you need to have it locally20:48
dobeyjust uploaded u1-client-gnome to ubuntu20:48
dobeyralsina: why?20:48
ralsinadobey: because it doesn't work if you don't?20:48
ralsinadobey: although I admit I have not tried it :-)20:48
ralsinadobey: and also because there'sno API to get the list of all the files on the server20:49
ralsinadobey: at least no reasonably quick one20:49
dobeywell, ok; so technical limitations aside20:49
ralsinammcc: looks good to me20:50
dobeythe design should be that it lets you publish any of your files that are on the server, regardless of whether they are synced locally or not, and if the API doesn't let us do that yet, we should at least design the UI/code in a way that we can once the API is there; i think20:50
mmccralsina: do I need to add any license verbiage anywhere? I actually just realized we might be missing a license screen in the .app because we don't have any installer… (!)20:51
mmccmaybe just add a LICENSE file for now?20:51
ralsinammcc: yes20:52
ralsinammcc: add the file20:52
ralsinammcc: maybe we'll add a way to show the license once per user, the page is there, at least.20:52
ralsinadobey: completion is modular, so we can plug further sources as needed/possible20:56
ralsinadobey: the logical place to publish a file that's on the servers and not in the local box seems to me to be the server though20:56
ralsinadobey: but yes, when it's doable, let's do it20:56
mmccralsina: I just remembered --installer. that does exactly what you just said, and it works too20:57
ralsinammcc: yes but it does it *every time*20:57
ralsinammcc: so we would need to make it so that the first time it runs it has that set, and the following ones it doesn't20:58
ralsinammcc: oh, you are RIGHT20:58
mmcchuh, when I first tried it, I didn't see it, I had to delete my creds to see it20:59
ralsinammcc: next time ;-)20:59
ralsinammcc: so it only shows the license if you have no credentials. That's pretty much what we want, you are right.20:59
dobeyralsina: well, remember (though may have been before your time), we were also discussing "ghost files" support a long time ago :)20:59
ralsinadobey: yes, before my time20:59
ralsinammcc: only niggle with --installer: if you delete the creds, you get the license again, not only on startup21:00
ralsinadobey: in fact, I don't know what those would be21:00
ralsinammcc: I am taking a break to be a dad, go ahead packing and send me the binary, I'll send the announcement late21:01
mmccralsina: yes, agreed not ideal. probably will end up writing a file to prefs dir to check or something. for now, want to sneak it in to the release ("if installer or sys.platform == darwin")?21:01
ralsinafeel free to test it as much as possible ;-)21:01
ralsinammcc: nah21:01
ralsinammcc: let's do it right21:01
ralsinammcc: this time, just add a LICENSE.txt21:02
mmccok, and what's in the LICENSE.txt ? :)21:02
mmccjust the GPL, or ?21:02
ralsinammcc: yes21:03
mmccI could copy the text from the --installer pane21:03
mmccbasically just poitns to GPL but includes words about how basic is free but add ons might be paid21:03
mmccsorry to delay your dad break… I'll just put in the GPL21:04
mmccok, uploading alpha 1 now21:07
ralsinammcc: sure, that sounds good :-)21:09
ralsinammcc: but put a GPL.txt too then21:09
ralsinawe need to include the license. The license requires it :-21:09
ralsina)21:09
mmccoh, I just put the GPL in as LICENSE.txt21:14
mmcchere: http://ubuntuone.com/0V2rH0fXsHeUSaPmFk5qn121:14
ralsinammcc: can you rename it?21:15
ralsinammcc: that's more like 3.99a or something21:15
mmccoh, sure.21:15
mmccI thought I had asked about that already, sorry21:16
ralsinadobey: what version is our latest Q release?21:22
ralsinammcc: we can match that one ^21:23
dobey3.99.9021:24
mmccso I should make it "3.99.90" and the human  readable string "3.99.90 alpha 1"?21:27
ralsinammcc: sure21:27
mmccok will do21:27
mmccok, uploading21:30
ralsinayay21:30
dobeyalrighty. have a good evening all!21:35
ralsinabye dobey!21:35
mmccUbuntuOne.app 3.99.90 alpha 1: http://ubuntuone.com/5blGZU9a93kufUxjOLnLxT21:38
ralsinammcc: awesome!21:38
ralsinammcc: I'll send the announcement tonight after I test it a bit21:39
mmccralsina: sounds good.21:39
mmccI'm going to take a lunch break now… when I get back I'll do some more testing too21:39
ralsinacool, write here if you find any "new" bugs21:40
mmccone bug - I noticed the menu says "file sync is disconnected" while the control panel's indicator is correct22:56
mmccI also just got a new syncdaemon crash, might have a better crash log23:02
ralsinammcc: release mail sent to warthogs!23:47

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