/srv/irclogs.ubuntu.com/2012/07/19/#ubuntuone.txt

JamesTaitMorning all! :)08:39
mandelmorning all!09:37
gatoxgood morning!11:14
gatoxmandel, ping11:17
mandelgatox, pong!!!!11:17
mandelpo po po pong11:17
gatoxmandel, hi..... are you turning japanese?11:18
gatoxjej11:18
mandela little :)11:18
gatoxnow a real questoin11:18
gatoxwe were talking with alecu yesterday11:18
mandelyes11:19
gatoxand we want to use a structure to send data via ipc, like a Struct of a Dict of {String, variant}....... for dbus..... but we need to know if this is valid in windows ipc also.... and you were the guy to ask11:19
mandelgatox, so the deal is the following, as it is right now you can send with no problem nearly any python object as long as we extend pb.Copyable11:21
mandelgatox, http://twistedmatrix.com/documents/current/core/howto/pb-copyable.html#auto211:22
gatoxmandel, ok, sound good11:22
mandelgatox, now the but..11:22
gatoxmandel, bloody hell!11:22
mandelgatox, but I'd like to stop using pb at some point for something we can use from other langs.. so keep the objects simple :)11:23
gatoxmandel, the object is "simple", but it's a dict with String keys, and one of the values will be: (sii), and the other one (s)11:24
mandelno problem then :)11:24
mandelgatox, ^11:25
gatoxneed to restart..... partial upgrade11:27
=== gord_ is now known as gord
gatoxback11:30
mandelgatox, I'm off to have lunch :)12:09
gatoxmandel, please don't forget to review my branch12:09
gatoxi really need you to do that12:09
mandelgatox, yes!12:10
alecumandel: the thing we discussed with gatox was regarding "nested structures" being sent thru ipc12:28
alecumandel: so, right now what is being sent is thru pb, and it's using the serialization mechanism for pb, right?12:28
alecu(good mornin all, btw!)12:29
gatoxalecu, hi12:30
gatoxalecu, i'm having some problems with variant :S12:39
alecugatox: tell me12:39
gatoxalecu, one of the variant for example is a list, when the list is empty, d-feet shows: ValueError: Unable to guess signature from an empty list12:41
gatoxdo i need to create the variant in some special way?12:42
gatoxi'm just assigning the python list12:42
gatoxah..... i could do that, when the list is empty, don't send that key :P12:45
gatoxthat work12:45
alecuuh!12:46
gatoxalecu, you don't like it?12:46
alecuI've just found out that the family we have in bariloche has just arrived for a surprise visit.12:46
alecugatox: ^12:46
alecugatox: that means that I'll probably be taking a few vacation days next week.12:46
gatoxalecu, ohhhh!! well, you were going to take half of the day off today! so enjoy :P12:46
alecugatox: how did you end up doing the variant stuff?12:47
gatoxalecu, if the value that is going to be a variant, is empty..... as an empty list (we are using only list at this moment), don't add that key to the dict we are returning..... we just need to explore the dict with "get" (i think we are always doing this), so not problem there (from my point of view)12:48
ralsinagatox: there is probably a dbus.List(signature) or something, we had that for dicts12:54
* ralsina goes away again12:54
gatoxralsina, :P12:54
gatoxbrb12:56
alecugatox: here's how I would do it:12:56
alecuhttp://pastebin.ubuntu.com/1099994/12:57
alecugatox: being explicit with the signature of composite dbus types (dict, array, struct) is the best way to avoid nasty surprises.12:58
alecugatox: well, in fact, it's nice to use the same for basic types too, because we are defining an api.12:58
alecugatox: so, let me expand on this example to include other values...12:59
dobeyhmm13:01
gatoxback13:03
alecugatox: take 2: http://pastebin.ubuntu.com/1100006/13:08
* gatox looking..13:08
gatoxi see13:08
dobeydoh13:34
dobeyanyone can review https://code.launchpad.net/~dobey/ubuntuone-control-panel/update-4-0/+merge/115607 ?13:52
dobeyalecu: that example looks like it is duplicating API we already have :-/13:55
dobeyalecu, gatox: also, why are we defining new API here? if this is for integrating in unity, we don't need to define any new APIs afaik13:56
gatoxdobey, it's not only unity13:57
dobeygatox: right, but maybe we should move the tray icon stuff for windows, into syncdaemon13:58
dobeyor if we need to do stuff outside syncdaemon, we should peruse the APIs we already have, and not define a new one which just lumps all the data in a single signal14:00
mandelalecu, yes, that is correct, changing it is not a problem14:01
gatoxdobey, we are doing it inside syncdaemon, and we are not using signal, as alecu explain yesterday, we are defying a new method that we are going to check from the menu, only when it's needed14:02
dobeygatox: still, i think it should result in all the current signals we have, which would be relevant, getting called, rather than defining a new way to get the same data. people will abuse this to get the data they want anyway14:04
* briancurtin coffee run, back in a few mins14:05
progre55hi guys. I've got ubuntu-one installed on my computer(ubuntu) and got ubuntu-one-mobile on my phone (galaxy s3). I'm sharing a couple of files from my phone, but the computer ubuntu-one doesnt even see the device. When I open one.ubuntu.com from my comp, I only see the computer under "devices", but from the mobile browser, I can see all my devices. Yes, I have cleared the browser cache. Any suggestions, please?14:14
alecudobey: moving tray icon stuff inside syncdaemon on windows means using the qtreactor for it, and I don't like the qtreactor that much.14:14
alecuprogre55: what does the web show?14:15
progre55alecu, it doesnt show my mobile under devices when opened on the computer browser (firefox), but does show it when opened on a mobile browser (firefox)14:15
alecuprogre55: it seems like a bug we've already encountered... let me check.14:16
progre55alecu, the ubuntu client doesnt have the mobile under "devices" either14:17
alecuprogre55: it looks like two user accounts were created for you...14:19
alecuprogre55: can you check if the email in both accounts is the same?14:19
progre55hmm.. let me see14:20
progre55oh, apparently different emails14:20
progre55how can I join them?14:20
mandelgatox, review has been done.. by the way, there is some weird problem in the mp, some code we removed in clean-fsevents is back :(14:25
progre55well I guess I'll just pick one and use it :)14:26
dobeyprogre55: file a support request about it at https://one.ubuntu.com/help/contact/14:26
progre55alecu, nah no problem, I'll just use one, and keep the other one in case I exceed my 5Gb limit :)14:26
alecuprogre55: I'm not sure if support can join both accounts; it might be easier to just pick one, right.14:27
alecuprogre55: I would suggest keeping the one already syncd with your pc14:28
progre55yes, I also thought so, as I've got my backup data in that one..14:28
progre55alecu, thanks a lot, appreciate14:28
mandeldobey, any idea about what happened here: https://code.launchpad.net/~mandel/ubuntuone-client/fsevents-daemon/+merge/114836 ?14:30
dobeymandel: hrmm14:31
dobeymandel: looks like maybe a package was missing or something14:33
mandelweird..14:35
mandelweekly call is happening, right?14:45
dobeyis it?14:45
briancurtinaren't we short a bunch of people?14:45
gatoxmandel, branch updated: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-tests-refactoring/+merge/11328914:45
mandelgatox, superb!14:45
mandelbriancurtin, dobey, I was not told otherwise14:46
dobeybriancurtin: just ralsina no?14:46
gatoxmandel, weekly call?? ralsiina is on vacation14:46
briancurtini thought mmcc and thisfred as well14:46
dobeyoh14:46
dobeythisfred is here at least14:46
thisfredare we not skipping it|14:47
briancurtinah. mmcc is on the way back to san diego the next few days or something14:47
mandelso we have all but ralsina and mmcc, is that right?14:47
thisfredhe only said not to party, not specifically to not slack off ;)14:47
mandelso I guess we can vote to skip it :)14:47
dobeyheh14:47
* thisfred votes skip14:49
* mandel votes skip14:49
* dobey skips voting to skip14:49
* briancurtin skips14:49
* gatox votes skip14:49
mandeldobey, got the same exact error, can you take a look14:51
mandeldobey, also, it seems that the config test is giving an error14:51
mandeland complains about setlocale ?14:51
mandelwtf14:51
dobeymandel: yes, because the locale isn't getting set correctly14:51
dobeymandel: because it fails if the locale encoding isn't in UTF-814:51
mandeldobey, what changed in tarmac to be getting this things?14:51
dobeymandel: setting the locale to C.UTF-8 (now en_US.UTF-8 because lucid/natty don't have C.UTF-8 avaialble at all), so that we can have the encoding set to UTF-814:52
mandeldobey, but there, right now it seems that no branch will land, is that correct?14:54
dobeymandel: yes. i'll look into it14:54
mandeldobey, thx!14:55
ralsinaDon't slack off!14:56
* ralsina goes back into hibernation14:56
ralsinajust kidding, it's ok14:56
thisfred:)14:56
ralsinaAlso, don't sell the cow formagic beans.14:57
mandelralsina, I got a good deal for gatox :)15:04
mandel2 bananas and a pony15:04
gatoxmandel, shhhhh15:04
mandelgatox, I think we should remove that in_modify thing and import the IN_MODIFY from the right spot, which module is importing it?15:08
mandelgatox, it was remove in trunk AFAIK and everything is ok15:08
gatoxmandel, read the comment... there it explains why i don't tihnnk that is the best solution, and alecu agree with me when i explain tihs15:08
mandelgatox, but there are no IN_ consumed from that module afaik, not in ubuntuone/platform/filesystem_notifications/windows or darwin15:11
mandelgatox, right now they all use the pyinotify agnostic module, so I don't understand the comment15:12
gatoxmmmmmm in that case yes it's not really necessary15:12
gatoxmandel, changed pushed15:13
mandelgatox, super :)15:13
dobeymandel: ah  i see what happened15:20
mandeldobey, fixable?15:22
dobeymandel: yes15:27
mandeldobey, lovely15:28
dobeyok, need to get lunch. bbiab15:38
mandeland I eod, see you all tom15:48
mandelgatox, branch has my +115:48
mandeldobey, can you approve the failing branch whenever tarmac is fixed15:48
* gatox lunch!15:57
=== gatox is now known as gatox_lunch
briancurtinheading to the doctor + lunch combo, back in a bit16:00
alecudobey: while trying to run trunk on mac, I get this error regarding dirspec: http://pastebin.ubuntu.com/1100349/16:24
alecudobey: any ideas?16:24
alecuand gatox_lunch: the tests won't run on windows nor mac on https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-tests-refactoring/+merge/11328916:28
alecuok, early eod for me. See you guys tomorrow.16:28
gatox_lunchalecu, fixed..... it was a typo16:40
dobeyalecu: you need newer dirspec16:49
=== gatox_lunch is now known as gatox
=== zyga is now known as zyga-afk
* briancurtin back17:37
=== m_conley` is now known as m_conley_away
equintoanyone using javascript to connect ubuntu one?18:50
=== yofel_ is now known as yofel
dobeyalright, gotta run for a few. brb19:39
gatoxeod here! see you tomorrow people! :D20:02
dobeyugh, it's about to storm here :(20:51
briancurtinwe had it last night. something like 40k without power20:51
dobeyguess my new truck will get dirty :-/20:55
briancurtinwhat'd you get?20:56
dobey09 Chevy Avalanche20:56
briancurtinnice. i kind of want a tahoe in that same body style whenever i'm done with this trailblazer20:57
dobeyyeah, it's the LTZ, so fully loaded with folding running boards and mirrors, and bose dvd+nav, and all kinds of buttons to play with20:59
dobeylater all, gotta run22:48
equintoanyone issues with https://one.ubuntu.com/oauth/sso-finished-so-get-tokens/ ?22:52

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