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

cjohnstonIs this still the correct way to change a plan? https://one.ubuntu.com/help/faq/how-do-i-change-from-paying-monthly-to-paying-annually-or-vice-versa/   What will happen to my files when the plan expires if it takes me a couple days to renew on an annual plan?00:39
duanedesigncjohnston: the files will  be ok01:51
cjohnstonduanedesign: thats the best way to do it still?01:52
duanedesigncjohnston: yes01:52
nessitaralsina: you around to do a quick review?01:52
=== yofel_ is now known as yofel
=== rye is now known as rtg
=== rtg is now known as rye
=== rye is now known as rtg
=== rtg is now known as rye
mandelmorning all!09:24
duanedesignmorning mandel09:43
mandelduanedesign, wowo! morning!09:43
mandelduanedesign, isn't it very early for you?09:43
duanedesign*yawn*...yes09:44
duanedesigncan't get the coffee made fast enough :)09:44
mandellol09:47
duanedesignmandel: you ever hear the expression 'a watched pot never boils'? I am beginning to believe that.09:49
mandelduanedesign, yes, I know it, remember I lived in the uk for 6 years.. that means hours staring at a kettle :)09:51
popeyhah09:51
czajkowskiAloha10:29
czajkowskimandel: how is the beast?10:29
=== pedronis_ is now known as pedronis
=== eu is now known as Guest72856
mandelczajkowski, everything going great, it finally can run :)11:05
mandelczajkowski, how was fosdem?11:05
czajkowskiyay11:05
czajkowskimandel: fantastic, bar the snow, but had lots of fun11:10
mandelczajkowski, well most of europe is full of snow hehe11:11
mandelczajkowski, Jan told me that there was a number of canonical people there, right?11:11
czajkowskimandel: aye a few alright11:12
czajkowskiAlison and Daviey were there that I know of not sure about others11:12
czajkowskisome ex canonical like soren and others who are/were in openstack11:13
mandelah, nice..11:14
=== rye is now known as rtg
=== rtg is now known as rye
mandelI need to go offline to fix the internet connection11:51
mandelwill be back soon11:51
* mandel back12:15
nessitahello world!12:18
mandelnessita, buenos dias!12:26
nessitaralsina: you around?12:29
alecuhello guys!12:31
mandelnessita, I need to reboot due to an update, will be back in a few secs12:31
nessitamandel: ack, thanks12:32
nessitahola alecu12:32
alecunessita, ralsina: I'm taking a day off today: I was about to take Amelia to kinder but she's with plenty of fever so she'll need to stay at home.12:34
alecunessita, I'm able to do some reviews you requested yesterday if everything remains quiet around here :-)12:35
nessitaalecu: ack...is there any chance you coordinate with mandel about the proxy work, before you go?12:35
nessitaunless everything is already coordinated :)12:35
alecunessita, he's taking charge of proxy authentication, so it's perfectly coordinated, yes (!). I'll catch up with him so I'm up to date on the wireframe changes.12:37
nessitaalecu: thanks12:37
mandelnessita, I'm back, reading the backlog, yes we did a catch up yesterday12:57
mandelnessita, we do them quite often so we don't step on each others work :)12:58
nessitamandel: great, makes sense13:01
nessitamandel: have you seen ralsina today?13:21
mandelnessita, not yet13:21
nessitathanks13:22
nessitadobey: you around?13:22
mandelnessita, dobey  starts later to :)13:22
alecumandel, nessita, gatox: https://code.launchpad.net/~alecu/ubuntu-sso-client/fix-ping-url/+merge/9182513:23
mandelnessita, welcome to my lonely world ;)13:23
nessitaalecu: you found it?!13:24
alecunessita, found who?13:24
nessitamandel: well... in ar is 10:25 am! :-)13:24
alecunessita, you mean, the bug?13:24
nessitaalecu: the issue with the ping13:24
nessitayes13:24
alecunessita, yes, I found it yesterday after coming from kinder13:24
alecunessita, and had that branch that needed some tests run on it.13:25
alecunessita, I tried it IRL and was finally able to login13:25
nessitaand it was an epiphany or the result of tons of debugging?13:25
alecunessita, it just needed the bit of intelligence I was lacking earlier in the day :P13:26
nessitaheh13:26
* alecu 's head is about to explode because of so much "twinkle twinkle little star"13:28
gatoxalecu, reviewing....13:28
* nessita is happy that she does not know what's that13:28
mandeloh, is a lovely song for kids :)13:33
mandelnessita, are you using P?13:33
nessitayes sir13:33
mandelnessita, can you do me a super IRL test for me? If you have time ofcourse.. :)13:34
nessitamandel: sure!13:34
mandelnessita, can you go to the proxy settings dialog in your machine and set a false proxy, once that is done, can you execute 'gsettings list-recursively org.gnome.system.proxy' and copy the output13:35
mandelnessita, just set the proxy to manual and some fake ip and port13:35
mandelnessita, you will loose connection for the test, sorry  for that13:35
nessitamandel: where is the proxy setting dialog?13:40
mandelnessita, in the gnome-control-center under network13:40
ralsinanessita: here I am!13:42
dobeynessita: what's up?13:42
dobeyheh13:43
nessitamandel: http://pastebin.ubuntu.com/832601/13:43
mandelnessita, thx!13:43
dobeynessita: what's up?13:44
nessitadobey: hola! I need your help for 2 things... the first one is a question: is the controlpanel branches being landed in the precise tarmac?13:45
nessitaare* the...13:45
mandelok, I'm off to lunch13:45
dobeynessita: they weren't13:46
dobeyoh ffs13:47
dobeylaunchpad is teh broken13:47
nessitadobey: can I fix that somehow? proposing a branch? though I checked the config and it looked like trunk was run under precise...13:47
nessitadobey: this branch is missing the gireactor    https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/gicrazyness/+merge/9170813:48
dobeynessita: yes i know. i made a branch to fix the tarmac config last night. lp has gone off its rocker though.13:49
nessitadobey: ah... I see13:49
dobeywtf13:49
nessitadobey: ok, while that settles, when you have a moment, I wanted you to review a branch I'm proposing for packaging-dailies in sso, to split the package in several binaries (so then I can do it right in the ubuntu package)13:50
nessitadobey: but before that, I need to debug why the binary packages will not build, I have a pbuilder trace when you have some minutes13:51
dobeyok13:51
d70hi, i need help with ubuntuone windows 7 client, the control panel doesnt minimize to tray, and there isnt popups notifications...13:54
ralsinad70: yes, the popup notifications are not there yet13:56
ralsinad70: if you close the window, it will stay in the tray, though13:56
d70im using win7(64) and it doesnt stay in the tray, what it can be?13:57
d70I opened the task manager, and it's runing..13:57
d70but , when I close the control panel, it's end the process...13:58
gatoxalecu, +114:00
nessitabrb14:06
dobeynessita: what's the pbuilder error?14:09
nessitadobey: http://pastebin.ubuntu.com/832548/ lines 176 and 17714:09
nessita(I guess that's the error)14:10
nessitadobey: but ubuntuone-dev-tools and xvfb are listed as source deps...14:10
dobeyyes14:10
nessitaso I'm not sure how to debug that further14:11
dobeynessita: you know what; i totally forgot to do the upload for ubuntuone-dev-tools last week. so only 2.99.2 is still in ubuntu14:11
nessitaoh... that's it?!?1 :-)14:11
nessitaI was going crazy last night! :-P14:12
dobeywell, that's why devtools isn't getting installed14:12
ralsinadobey: hey, look! A hole in your infalibility cape! ;-)14:12
dobeydon't know about xvfb14:12
dobeyralsina: it's not a hole, it's decoration! :)14:12
dobeynessita: i'll do that upload right now :)14:13
nessitaawesome14:13
nessitaso I cna IRL test the binary packages14:13
dobeycrikey14:14
dobeyi even forgot to release the tarball14:15
dobeyhow did i miss that14:15
dobeygrr14:15
nessitadobey: dude!14:15
nessita:-)14:15
dobeywow i'm an idiot :)14:20
ralsinaThe right question is: "Is there a way to ensure it doesn't happen again?"14:20
nessitadobey: something else is pending?14:20
dobeyralsina: to use a now common cliche in the US… "Never forget!"14:21
ralsinadobey: too soon! ;-)14:21
dobeytoo soon?14:21
ralsinatoo soon we will forget something else again, I bet14:22
dobeyheh14:22
=== dduffey_afk is now known as dduffey
dobeynessita: https://code.launchpad.net/~dobey/ubuntuone-dev-tools/update-from-trunk/+merge/91836 ;)14:32
=== Guest72856 is now known as adorilson
nessitadobey: approved14:35
alecunessita, I'm getting this while running tests in your branch: http://pastebin.ubuntu.com/832658/14:46
alecuany idea?14:46
alecunessita, I'm running it like this: PYTHONPATH=~/canonical/ubuntu-sso-client/trunk/:. ./run-tests14:46
nessitaalecu: yes, you can only run Qt tests in controlpanel for now14:46
alecunessita, great14:46
dobeyw14:47
dobeyt14:47
dobeyf14:47
dobey.14:47
nessitadobey: ?14:48
nessitadobey: speaking of which, can I re-approve the gicrazyness branch?14:48
* mandel back14:50
dobeynessita: yes i think you can now14:51
nessitaralsina: can I have a review?14:52
ralsinanessita: sure, I am in the mgmt call but yes14:52
nessitaah, right14:52
nessitaralsina: when you can https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/install-ui-files-properly/+merge/9175414:52
nessitais syncdaemon working for you guys14:58
nessita?14:58
ralsinait was working yesterday14:58
nessitain my case, it insist on saying "Not network", and also is not answering to dbus14:58
nessitausing precise and nightlies14:58
nessitaupdated today14:58
nessitame15:00
briancurtinme15:00
mandelme15:00
gatoxme15:00
* mandel said me in a diff channel, ups!15:00
rmcbridehaha15:01
alecume15:01
nessitaralsina: standup?15:02
ralsinaNo notes and am on a call, so pass15:02
ralsinasorry, I forgot to write the notes :-(15:02
nessitadobey: me?15:02
ralsinaDidn't get much achieved yesterday anyway15:02
nessitaralsina: why?15:02
dobeynessita: you?15:03
dobeymeh15:03
nessitaDONE: lots of branches to have controlpanel isolated from qt4reactor, made sso not install a reactor when importing modules from it, reviews15:03
nessitaTODO: lots of reviews, land branches from yesterday, make sso nightlies build separate binary packages, debug whysyncdaemon is not answering thru DBus15:03
nessitaBLOCKED: a little (syncdaemon is not cooperating)15:03
nessitaNEXT: briancurtin15:03
briancurtinDONE: some headway on this readonly/readwrite issue (lots of reading up on ACLs), spent a while getting my other linux box up to speed15:03
briancurtinTODO: readonly/readwrite, debug an issue i saw during the sprint (assert_method_called diff on win/linux re. None vs False for a result)15:03
briancurtinBLOCKED: none15:03
briancurtinNEXT: mandel15:03
mandelDONE: Work on supporting user:password@domain settings for proxy. Got integration tests written that use gsettings to store proxy settings.15:03
mandelTODO: Propose changes above mentioned. Work on showing the creds dialog.15:03
mandelBLOCKED: no15:03
mandelgatox, please!15:03
gatoxDONE:15:03
gatoxFixed some branches, a review for alecu, keep working in refactoring.15:03
gatoxTODO:15:03
gatoxFinish with refactoring.15:03
gatoxBLOCKED:15:03
gatoxNo15:03
gatoxalecu, go15:03
ralsinanessita: why I dodn't achieve much? Well, I was a bit scatterbrained, so didn't finish stuff. It happens now and then.15:03
alecuDONE: fix for bug #927664, needing one more review at: https://code.launchpad.net/~alecu/ubuntu-sso-client/fix-ping-url/+merge/9182515:03
alecuTODO: taking half a day off because amelia is not going to kinder, doing some reviews15:03
alecuBLOCKED: yes: kid with fever15:03
ubot4Launchpad bug 927664 in ubuntu-sso-client "FORBIDDEN error while pinging the url (affects: 1) (heat: 6)" [Critical,Confirmed] https://launchpad.net/bugs/92766415:03
alecuNEXT: dobey15:03
dobeyλ DONE: fix broken rhythmbox-ubuntuone upload, fix sso nightlies, disable sso/client nightlies on everything but precise, update some tarmac config15:04
nessitaralsina: ah, I thought you were referring to something in particular that I've missed15:04
dobeyλ TODO: finish this devtools release/upload, gwibber for real this time15:04
dobeyλ BLCK: None.15:04
mandelbriancurtin, when I was workin on that I realized that the simplest way was to add a DenyACL to the file and later revert it, rather than changing ownership etc..15:04
ralsinanessita: no, just lameness on my side :-)15:04
briancurtinmandel: thanks, i'll look at that15:04
nessitaany comments anyone? can you confirm about my SD question?15:04
nessitadobey: is SD working for you with latest nightlies? mine is not publishing the objects path in dbus so it does not reply to any dbus query15:05
dobeyno idea15:06
dobeylooks like u1sdtool has grabbed the console and hung itself15:07
nessitadobey: you will get a NoReply soon15:09
nessitaif you inspect with dfeet, you will see that the SyncDaemon service is there, but no methods are published15:10
dobeyi had an old syncdaemon running, and did u1sdtool -q; it said "syncdaemon is stopped" and then hung15:10
dobeyi killed it and about to upgrade, but there was like a thousand mono packages listed, so i'm doing a big apt-get remove --purge first to get rid of mono15:11
nessitaack15:11
nessitadobey: u1sdtool hanging is the same as sso hanging... something in the mainloops not finishing15:12
nessitadobey: how can I have tarmac using latest nightlies to run controlpanle suite?15:12
dobeynessita: it's not already?15:12
nessitadobey: I got a failure for gicrazyness that comes from "old" u1client (it needs your gi branch)15:13
dobeyah15:13
dobeynessita: am running an apt-get upgrade for it now too then15:14
nessitaack15:14
jeroen-I installed Ubuntuone15:49
jeroen-all is fine, except the control panel just keeps saying 'loading'15:49
jeroen-i'm using Lubuntu 11.1015:49
mandeljeroen-, do you know how to use u1sdtool?15:51
jeroen-mandel:  well I now get the --status15:51
jeroen-but thats fine15:51
jeroen-mandel:  but tell me what should i do?15:51
mandeljeroen-, I'm duanedesign and rye can help you better :)15:51
dobeynessita: btw, upgrade is done you can set back tko approved15:52
mandeljeroen-, I'm just a code monkey so I'll probably tell you the most complicated path hehe15:52
jeroen-mandel:  doesnt matter, I want to be fixed15:52
ryejeroen-, what does the --status say?15:52
ryejeroen-, you can paste in http://paste.ubuntu.com15:52
jeroen-rye:  the status says afew things15:52
jeroen-I will15:53
ryejeroen-, and give the URL here15:53
dobeyjeroen-: is ubuntuone-control-panel-backend running, while the control panel is open? you will need to check the process list15:53
nessitadobey: ack15:53
nessitaralsina: you still in the call?15:53
ralsinanessita: just finished, reviewing your branch15:54
jeroen-rye:  http://paste.ubuntu.com/832732/15:54
nessitaralsina: thanks!15:54
ralsinanessita: I mean, finished the call, started reiewing15:54
nessitagot that15:54
jeroen-dobey:  jeroen    3656     1  0 16:48 ?        00:00:01 /usr/bin/python /usr/lib/ubuntuone-control-panel/ubuntuone-control-panel-backend15:54
ryejeroen-, ok, ubuntuone is working and syncing, I suppose you were able to enter the login and password and got the ubuntuone registered successfully. What part of control panel is showing "Loading" ?15:55
dobeyjeroen-: pastebin the last few lines of ~/.cache/ubuntuone/log/controlpanel.log please15:56
jeroen-rye:  the tabs account, cloud folders and devices. Also on the top left it's saying 'busy loading'15:56
jeroen-dobey:  one moment15:56
jeroen-dobey:  how many lines?15:56
dobeyjeroen-: 10 or so should be fine.15:57
nessitadobey: I have the feeling that dbus.mainloop.glib.DBusGMainLoop does not work with gi15:58
nessita:-/15:58
dobeynessita: then how are the tests working?15:58
jeroen-dobey / rye: http://paste.ubuntu.com/832740/15:58
nessitadobey: hum, True15:58
ryejeroen-, memory error15:59
nessitadobey: but then why syncdaemon is not "exporting" the ifaces on dbus? will keep debugging15:59
dobeynessita: actually, no. if it's broken then something has to have broken in glib itself. because i testing running some of these things from a tree a while back when i was working on the new reactor15:59
dobeynessita: no idea :(15:59
ryenessita, ^ InfoError: args (<ubuntuone.controlpanel.dbus_service.ControlPanelBackend at /preferences at 0x8c2532c>, {'error_type': 'MemoryError', 'error_msg': u''}), kwargs {}.15:59
jeroen-rye:  yes I see, how is that possible?15:59
dobeyjeroen-: apparently all your memory is in use15:59
ryejeroen-, quick check - what does "free -m" show you?16:00
jeroen-well, it's not - my system works fine16:00
nessitarye: no more mem available?16:00
ralsinanessita: +116:00
dobeynessita: no idea why dbus is hanging. it's weird16:00
nessitadobey: on top of that, my SD will not detect the network connection (that's  bizarre)16:01
dobeynessita: yes, something is quite odd16:02
jeroen-rye:  see http://paste.ubuntu.com/832748/16:02
nessitawill try re-updating and rebooting16:02
ryejeroen-, I am not sure where to start but if there is a free memory available after all, the error comes from backend and frontend is working16:02
nessita(did you try turning it off and on again?)16:02
jeroen-Mem:          1002        856        145          0         19        32416:02
jeroen--/+ buffers/cache:        512        48916:02
jeroen-Swap:         1906         27       187816:02
dobeynessita: does seem to be dbus related as well :(16:03
nessitayeap16:03
ryenessita, ^ that does not look like completely OOM to me16:03
dobey--debug isn't showing me anything useful16:03
nessitadobey: is your SD state "With User With Network"?16:04
ryejeroen-, could you please archive the whole ~/.cache/ubuntuone/log and send it to ubuntuone-support@canonical.com16:04
dobeynessita: not user not network16:04
nessitadobey: mine too...16:04
nessitano, net detection in your case either16:04
dobeyright; so we have a problem16:04
nessita"so*, no net detection in your case"16:04
nessitayes, houston16:05
ryejeroen-, i am pretty sure this condition can be fixed by shutting down the backend process and running control panel again but I'd like to see when it started to have memory problem16:05
jeroen-rye:  ok, tell me what I should do16:05
nessitarye: is syncdaemon running and not kille by oom?16:05
ryenessita, yes, sd is happily running16:05
nessitarye: very very odd. What ubuntu system?16:06
ryejeroen-, you can try putting a file to "~/Ubuntu One" folder and it should be synced to the online storage16:06
ryenessita, lubuntu 11.10, oneiric16:06
nessitarye: using nightlies or without?16:06
ryenessita, standard lubuntu, i am talking about jeroen- 's machine16:07
dobeynessita: also, i've released/uploaded devtools 2.99.3 now16:07
nessitadobey: awesome, will re try testing the binary packages16:07
jeroen-rye:  it uploaded the file fine - gave also a notification on the top right16:07
ryejeroen-, ok, first of all, could you please archive the directory ~/.cache/ubuntuone/log and send the archive to ubuntuone-support@canonical.com before restart to make sure we have the logs before rotation16:08
ryejeroen-, after this shut down control panel and kill the backend process @ 365616:08
jeroen-rye:  file is also on the web16:08
ryeI wonder whether that ^ was OOM killer16:09
dobeynessita: looks like you may have other issues with your pbuilder too. make sure you do a pbuilder-precise update first :)16:09
nessitadobey: did it this morning, as another debug step :-)16:09
dobeyah bugger. tests not running in nightlies builds due to missing packages16:11
nessitadobey: would you explain what "W: ubuntu-sso-client source: empty-debian-diff" means? (besides the obvious)16:11
dobeynessita: i think it's probably got an empty diff because the debian bits are included in the "upstream tarball" that got generated when you did debuild -S16:12
ryeargh can i disable show desktop in alt+tab switcher?16:12
ryei never need to switch to nautilus background window with alt-tab...16:13
dobeyrye: it's even more fun when nautilus isn't running.16:17
ryedobey, yeah, then it simply switches to nothing16:17
nessitaralsina: when you have another review slot, would you please review gatox's https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/pages-migration/+merge/91331 ? is the first branch that moves stuff from wizard back to sso16:18
ralsinanessita: now's a good time !16:18
dobeyrye: exactly16:18
nessitaralsina: is bis but is all code moved from installer to sso16:18
ralsinanessita: ack16:18
nessitalunchtime!16:23
ryedobey, bug #92447216:25
ubot4Launchpad bug 924472 in unity (Ubuntu) (and 1 other project) "Add option to hide 'Show Desktop' in switcher (affects: 2) (heat: 111)" [Low,Confirmed] https://launchpad.net/bugs/92447216:25
dobeyyeah i don't want it configurable. i want it gone; i see no good use for it ever. if it's that useful, put a button on the launcher right on top of the trash icon, for it.16:26
jeroen-rye:  sotty, I had to something else16:27
jeroen-I will sent the log directory now16:27
jeroen-rye:  done16:27
jeroen-restarting16:28
jeroen-rye:  there's no backend process anymore16:29
jeroen-only this: jeroen    2903     1  0 16:38 ?        00:00:11 /usr/bin/python /usr/lib/ubuntuone-client/ubuntuone-syncdaemon16:29
mandelalecu, ping?16:31
ryejeroen-, now run ubuntuone-control-panel-gtk16:31
alecumandel, pong16:31
mandelalecu, may I have some help from you, or are you too busy?16:31
jeroen-rye:  ok16:31
alecumandel, yes, no prob.16:31
jeroen-still doing the loading stuff16:32
mandelalecu, do you rember the command used in the tests to get the gsettings ('gsettings list-recursively org.gnome.system.proxy')16:32
mandelalecu, well, in my integration tests with gsettings I change the gsettings with the gio lib, it does correctly change them yet when I pdb the command returns the old values16:33
mandelalecu, while blocking the test in pdb I run the command from a terminal and the correct values appear.. got any clue on why would this happen?16:33
alecumandel, no... no idea.16:34
alecumandel, anyway: I'm not sure how safe it is to change the desktop settings from our tests...16:34
mandelalecu, not good, that is fore sure, I'm looking at the code working and later patching subprocess16:35
mandelalecu, and assume that it return the correct value16:35
alecumandel, cool. I do that too in my tests16:36
mandelalecu, is the most 'unit' way to do it.. but well I'm not going to waste time in this approach16:36
alecumandel, hmmm... I think I have it...16:37
mandelalecu, tell me, tell me16:37
alecumandel, we should be pointing the dconf env vars to our own directory16:37
mandelalecu, uh.. much nicer!16:37
alecumandel, (env vars or whatever is needed)16:37
alecumandel, remember: gsettings uses dconf. And dconf uses a daemon to write settings, but uses direct file access to read settings.16:38
alecumandel, anyway: do not waste more than an hour trying to make this run, because it's something that we can do later.16:39
mandelalecu, yes, I won't, is not worth it atm16:39
alecugreat16:39
dobeyrye: i should make a .deb of my hack to use the gnome theme, in unity16:39
alecumandel, $DCONF_PROFILE: http://live.gnome.org/dconf/SystemAdministrators16:40
ryejeroen-, interesting, ok, could you please shut down control panel and backend and run control panel backend directly16:40
mandelalecu, thx, I'll take it from here16:40
ryejeroen-, DEBUG=True /usr/lib/ubuntuone-control-panel/ubuntuone-control-panel-backend16:40
ralsinagatox, nessita +1 on pages-migration16:41
jeroen-rye:  ok wait16:41
jeroen-I closed the control panel16:41
jeroen-now only the syncdaemon is running16:41
alecumandel, so, the pdb issue you mention is probably that the test dbus-daemon instance is starting a new dconf-* daemon16:41
ryejeroen-, DEBUG=True ubuntuone-control-panel-gtk16:42
jeroen-rye:  ok I run that line starting with debug now? or should I kill the syncdeamon first?16:42
ryejeroen-, no, syncdaemon is working fine, that's control panel which has some issues16:42
jeroen-ok16:42
mandelalecu, yeah, we need to get that right16:42
jeroen-ok16:43
jeroen-i start those two lines16:43
jeroen-first the backend16:43
jeroen-rye:  backend started. shows a few lines16:43
alecumandel, it sounds right for me to start a test dconf-whatever daemon instance ... but it should be using a modified DCONF_PROFILE pointing to _trial_temp, and it should be used both for reads and writes16:43
dobeynesmaybe we can create a minimal script using gireactor and dbus to try to have a minimal test case? something that just checks for network perhaps, and exposes a simple interface?16:44
alecumandel, that way we integration tests can muck around with the proxy settings without touching the real settings.16:44
mandelalecu, that sounds like work that should go into ubuntu one dev tools16:44
jeroen-rye:  what must I do now? start  DEBUG=True ubuntuone-control-panel-gtk on another terminal?16:44
ryejeroen-, ok, does it start showing memory errors when you run the frontend in another terminal?16:44
ryejeroen-, yep16:45
mandelalecu, yet, if I want to get everything that we want to get out this week it will have to be postponed16:45
alecumandel, right. I'm proposing that we do it ***not*** right now.16:45
alecumandel, I much rather take a patch or a fake16:45
mandelalecu, I'll file a bug against u1-dev-tools :)16:45
jeroen-rye:  no memory errors16:47
jeroen-I will paste debug-lines on pastebin16:47
jeroen-well, the ubuntu paste16:47
dobeynesinterestingly, C-c worked for me in syncdaemon :)16:48
ryejeroen-, does the control panel come up with all the values?16:48
dobeywtf16:48
dobeyoh16:48
jeroen-rye:  no16:48
dobeynessita: interestingly, C-c worked for me in syncdaemon :)16:48
jeroen-just the same as before, loading loading16:49
dobeynessita: maybe we can create a minimal script using gireactor and dbus to try to have a minimal test case? something that just checks for network perhaps, and exposes a simple interface?16:49
nessitadobey: C-c ?16:49
ryejeroen-, ok, if this does not work we should try restarting syncdaemon to see whether anything changes16:49
sdfe3hi all16:49
jeroen-rye:  http://paste.ubuntu.com/832832/ the two outputs are seperated by ========'s16:50
alecunessita, approved16:50
dobeynessita: ^C; controll-c16:50
jeroen-rye:  restarting syncdaemon. ok. how?16:50
ryejeroen-, how much spare time do you have?16:50
ryejeroen-, wait16:50
nessitaalecu: yey!16:50
nessitadobey: ah!16:50
dobeynessita: it doesn't work for me for u1sdtool or sso or such16:50
ryenessita, ^ ct logger bug with float NaN to integer conversion, duanedesign too16:50
jeroen-well I will be for diner in a while16:51
jeroen-after that I must write an article on this pc16:51
jeroen-so I can do things in the background16:51
ryejeroen-, is it a laptop? what is the model?16:51
nessitadobey: right, for me too (C-c works for syncdaemon if running bin/ubuntuone-syncdaemon, but not for sso or u1sdtool)16:51
jeroen-no it's a desktop16:51
jeroen-5 year old16:51
ryejeroen-, what is the CPU?16:52
jeroen-1gb men , amd athlon XP16:52
jeroen-wait16:52
ryejeroen-, I am asking because I've been hunting for a machine with bug #844435 for quite a long time16:52
ubot4Launchpad bug 844435 in ubuntuone-control-panel (Ubuntu) (and 1 other project) "ubuntuone-control-panel-backend crashed with ValueError in __init__(): cannot convert float NaN to integer (affects: 7) (dups: 2) (heat: 48)" [Undecided,Incomplete] https://launchpad.net/bugs/84443516:53
jeroen-rye:  sysinfo here : http://paste.ubuntu.com/832837/16:53
* mandel reboots16:54
jeroen-rye:  need more now, I must go downstairs dinner16:54
jeroen-?16:54
ryejeroen-, one thing - could you please run http://paste.ubuntu.com/810932/  - download the file and run with python interpreter16:54
duanedesignrye: i have a ticket with the same issue. Well same symptoms do not know if it is the same issue16:57
jeroen-rye:  how do I run?16:57
ryejeroen-, have you downloaded this as a file somewhere?16:57
ryejeroen-, then run "python path-to-the-filename"16:57
jeroen-rye:  yes, I pasted it in a text file16:58
ryejeroen-, in the terminal, that is16:58
jeroen-rye:  yes that is what I did16:58
ryejeroen-, it printed nothing, right?16:58
jeroen-yes it printed nothing16:59
rye:-/16:59
jeroen-rye:  I have to go downstairs16:59
jeroen-in 1 hour I'm back16:59
ryejeroen-, at this moment this is all i can think about, if you have more time, please come back and we will try breaking it more16:59
jeroen-ok16:59
briancurtinralsina: 1-1?16:59
ralsinabriancurtin: sorry, I am a bit late on stuff, can we postpone 1 hour?17:00
briancurtinralsina: sure, np17:00
dobeymeh17:02
nessitadobey: another standup? :-/17:11
dobeyno17:11
ralsinaI will be back in 15 minutes, need to go see my accountant17:14
dobeydon't forget the parrot17:16
nessitaalecu: approved17:17
alecunessita, thanks!17:19
mandelok, EOD for me catch you tom!17:19
dobeyi should get some lunch17:20
dobeyand then actually poke at gwibber today17:21
ryesmp/nosmp, 10000 threads, lower cpu freq - can't get this time.time() return NaN17:21
dobeybbiab17:22
nessitadobey: when you come back, I would like to know what to do with pbuilder failing to build sso packages, since it source depends on tweaked twisted, which is not in official repos. Seems the build run the tests, I may disable that if you agree17:31
ryecan libsoup change something in python while it is running?..17:33
nessitarye: uh?17:35
ryenessita, http://paste.ubuntu.com/832832/ - exception in logger where it finds out time by stripping the floating part17:37
ryenessita, which meand that gettimeofdate failed17:38
ryewhich does not make sense. Moreover it is reproducible, bug #84443517:38
ubot4Launchpad bug 844435 in ubuntuone-control-panel (Ubuntu) (and 1 other project) "ubuntuone-control-panel-backend crashed with ValueError in __init__(): cannot convert float NaN to integer (affects: 7) (dups: 2) (heat: 48)" [Undecided,Incomplete] https://launchpad.net/bugs/84443517:38
nessitarye: ah, ralsina has been debugging that17:39
nessitarye: also Chipaca, I think17:39
ralsinarye: and we are flummoxed17:39
alecunessita, was rye's issue the problem we were seeing during the sprint, that happened on 64 bits but not on 32? (or viceversa)17:41
alecunessita, I remember seeing something like that with facundobatista during the sprint17:41
nessitaalecu: not that I recall (from what I understand)17:42
rye'cause if it can do this - bug #864285 - it can do something else too17:44
ubot4Launchpad bug 864285 in ubuntuone-control-panel (Ubuntu) "ubuntuone-control-panel-backend crashed with SIGSEGV in soup_socket_is_ssl() (affects: 1) (heat: 4)" [Medium,New] https://launchpad.net/bugs/86428517:44
=== verterok` is now known as verterok
ralsinabriancurtin: mumble?18:08
briancurtinralsina: sure, logging in now18:08
jeroen-rye:  ping18:13
jeroen-i'm back18:13
dobeynessita: yeah, we run the tests in the nightlies builds18:13
nessitadobey: but this is for the nightlies build... shall I assume that the tweaked twisted will be there?18:14
ryejeroen-, so, to revert to original state - could you please shut down ubuntuone-syncdaemon (u1sdtool --quit) and also kill ubuntuone-control-panel-backend and ubuntuone-control-panel-gtk18:14
dobeynessita: yes, but your pbuilder isn't using nightlies18:14
nessitadobey: can I easily make it use them?18:14
ryejeroen-, also, are you running 32bit or 6bit installation (i saw the CPU is Athlon XP - 32bit, right?)18:14
dobeynessita: you can configure it to do so, but it's a pain because you can't do it for a single run, or afaict, even for a single chroot. or you can just build it outside of pbuilder on your precise install18:15
jeroen-rye: done. yes 32 bit18:15
jeroen-from the repos18:15
nessitadobey: understood, thanks18:15
dobeynessita: i'd suggest not using pbuilder to test-build the nightlies18:16
nessitadobey: right18:16
ryejeroen-, great, now let's start ubuntuone client first - u1sdtool --start - it will automatically connect, as you will see when you run u1sdtool --status18:16
jeroen-rye:  yes it does18:17
jeroen-rye:  and now?18:18
Chipacadavidcalle: ping18:20
davidcalleChipaca, pong18:20
Chipacadavidcalle: I've been looking through your video scope code18:20
Chipacadavidcalle: i'd like to offer a number of suggestions18:21
davidcalleChipaca, yes please18:21
Chipacadavidcalle: is it on launchpad?18:21
* ralsina perks up his ear18:21
davidcallehttps://code.launchpad.net/unity-lens-videos (the three most recent branches)18:21
Chipacadavidcalle: ok18:22
davidcalleChipaca, for the record, Ken is reviewing the branches this week.18:22
Chipacadavidcalle: a lot of nits to pick, some reliability and security issues, some very inefficient and/or unpythonic code, and some silly things like tabs vs spaces and docstrings and such18:23
Chipacadavidcalle: but all that is secondary18:24
davidcalleChipaca, I'm all ears18:24
Chipacadavidcalle: what really worries me is that the thumbnails of remote results don't show up :)18:24
davidcalleChipaca, are you using 2D or 3D?18:24
Chipacadavidcalle: 2d18:24
davidcalleOk, this is a Unity 2D issue. There is a bug filed.18:25
Chipacaah, ok18:25
Chipacabug #?18:25
davidcalleChipaca, using the specific Dash renderer (the vertical one), remote icons are not displayed. There is another issue in 3D, non squared icons doesn't fill the tile as much as they should.18:26
Chipacai guess I'll switch to  u n i t y   3 d  to test18:26
davidcalleChipaca, let me find the bug18:26
Chipacadavidcalle: Ken tells me he'll be reviewing your packaging, not your code, so I can go at your code like nobody's business without stepping on his work18:27
ralsinadavidcalle, Chipaca: I can do a cleanup branch to fix pep8 and lint issues tonight while david sleeps ;-)18:27
Chipacaralsina: that would be excellent, then I can look at the real issues without having to do that :)18:27
ChipacaI was going to do it tomorrow anyway18:27
ralsinaChipaca: conider it done18:27
davidcalleChipaca, https://bugs.launchpad.net/unity-2d/+bug/900455 this isn't the exact bug, but it's related.18:27
ubot4Launchpad bug 900455 in unity-2d "Global search in the Dash doesn't display remote icons (affects: 2) (dups: 1) (heat: 38)" [Undecided,New]18:27
ralsinaconsider18:27
davidcalleralsina, Chipaca : thanks a lot!18:28
Chipacaralsina: so it has been connidered18:28
ryejeroen-, DEBUG=True /usr/lib/ubuntuone-control-panel/ubuntuone-control-panel-backend18:28
davidcalleChipaca, ralsina : I need to be offline for an hour or so.18:30
ryejeroen-, and then run ubuntuone control panel again, check whether the backend is printing the ValueError with None conversion to int18:34
* rye is going away for 30 minutes18:35
dobeynessita: what shall we do about u1client being broken though?18:36
nessitadobey: update packages and reboot until fixed? :-/18:37
dobeynessita: who's going to debug and fix? :)18:38
nessitadobey: I know I can do it after the FF... but if I need to ask someone sooner, I wouldn't know who18:40
nessitadobey: you, me, and the rest are running with FF branches18:40
nessitadobey: I don't even know what could be causing this: dbus seems suspicious, but y guess is that debugging that is time consuming18:41
nessitadobey: perhaps we can ask ralsina :-D18:42
jeroen-rye:  yes the backend prints: ValueError: cannot convert float NaN to integer18:42
ralsinanessita: ask at will18:42
ryeralsina, Chipaca nessita ^18:42
jeroen-after that traceback18:42
* ralsina reads backlog18:42
dobeynessita: is http://paste.ubuntu.com/832969/ known btw?18:42
ryeralsina, a user who can reproduce the NaN to integer conversion bug18:42
ralsinarye: is that happening to everyone now? Because in the past it happened like to 3 people18:42
nessitadobey: looking18:42
jeroen-rye:  oh but you're gone for 30 min18:42
jeroen-oh no not :)18:43
Chipacarye: jeroen-: woo!18:43
nessitadobey: yes, let me give you the link18:43
dobeynessita: ok, was just trying to find the bug with no luck18:43
ralsinajeroen-: awesome, that is like having a very very very rare disease :-)18:43
nessitadobey:  bug #91129618:43
ubot4Launchpad bug 911296 in ubuntuone-client "ValueError: need more than 3 values to unpack on HashQueueTests.test_called_back_error (affects: 2) (dups: 1) (heat: 46)" [Medium,Triaged] https://launchpad.net/bugs/91129618:43
ryei am going away, just making  sure to raise the flag18:43
ralsinathanks rye!18:43
jeroen-ralsina:  well great, I'm glad it's not physical :)18:43
ralsinajeroen-: yeah, there's that :-)18:44
ralsinajeroen-: do you have a backtrace?18:44
jeroen-ralsina:  I gave everything to rye18:44
* ralsina reads backbacklog18:44
jeroen-there are also some paste-bins18:45
Chipacajeroen-: have you done the “python -c 'import time; ct = time.time(); print "%r" % ct; print long(ct)'” thing?18:45
jeroen-Chipaca:  yes, that was rye's python script if I'm correct18:45
Chipacajeroen-: and http://paste.ubuntu.com/810932/ ?18:45
jeroen-Chipaca:  yes that was rye's script18:46
Chipacaok18:46
* dobey hands rye the repr() call18:46
jeroen-no putput as expected by rye18:46
jeroen-output that is18:46
ralsinajeroen-: by chance, do you have LOTS of files in your ubuntu one folders?18:46
* ralsina heard a rumour that this may be a OOM error in disguise18:47
=== pfibiger` is now known as pfibiger
jeroen-ralsina:  two small files right now, but it was already there when there were 0 files. it also is a new account18:48
ralsinajeroen-: ok, there goes that theory18:48
czajkowskimandel: weeeee18:48
jeroen-ralsina:  did you found all paste-bins18:50
dobeyczajkowski: i think he's out playing rugby18:52
ralsinajeroen-: looking at them18:58
ralsinajeroen-: OTOH, I may have missed one. The one I can find is rye's18:59
czajkowskidobey: cheers19:00
czajkowskidobey: did anyone ever find out the issues wiht the U1 music store ?19:00
dobeyczajkowski: the 404 issue? i don't know. it's a 7d issue. is it still broken for you?19:01
czajkowskidobey: yup :/19:02
jeroen-ralsina:  which one do you miss?19:04
JanCI guess one of these days I should try if the Maestro support in U1MS is still broken...19:04
ralsinajeroen-: well, I don't know :-)19:04
jeroen-this one: http://paste.ubuntu.com/832832/19:04
ralsinajeroen-: good, let me check that19:05
jeroen-ralsina:  or this one: http://paste.ubuntu.com/832740/19:05
jeroen-http://paste.ubuntu.com/832732/19:05
jeroen-http://paste.ubuntu.com/832837/19:05
jeroen-well that must be it and rye also has log files19:05
ralsinajeroen-: ok, I need to check the python stdlib source code a bit and I'll get back to you in 5'19:06
dobeyczajkowski: did you not get a reply from the 7d support?19:07
jeroen-ok19:07
ralsinajeroen-: what's your $TZ ?19:10
czajkowskidobey: nope19:10
czajkowskidobey: someone from in here was asking to recreate the issue last week19:10
ralsinajeroen-: sorry, let me rephrase. What's your timezone?19:11
dobeyczajkowski: was joshuahoover maybe?19:11
jeroen-ralsina:  utc+119:11
jeroen-amsterdam/brussels/paris19:11
czajkowskidobey: yes just had to track in my inbox19:11
ralsinajeroen-: do you have a TZ environment variable set?19:11
jeroen-ralsina:  how do i check?19:11
ralsinajeroen-: echo $TZ19:12
dobeyjoshuahoover: ^^ czajkowski is still hitting a 404 on that one song in the UK store. can you prod 7d with a hot poker to fix it or something?19:12
jeroen-empty19:12
jeroen-no output19:12
ralsinajeroen-: ok19:12
ralsinajeroen-: please do "export TZ=UTC+1"19:12
ralsinajeroen-: then try again and let's see if the error happens again19:13
czajkowskidobey: cheers19:13
* dobey hopes joshuahoover is actually around today19:13
czajkowskidobey: tis ok, I know yer busy.19:14
duanedesignhello czajkowski19:14
czajkowskiduanedesign: hiya19:14
czajkowskiduanedesign: you've been up most of today ?19:15
duanedesignczajkowski: ...trying to read the scroll back to get caught up. You are missing a song19:15
dobeyczajkowski: well there isn't really thing we can do on our end about it, unfortunately.19:15
ralsinaChipaca, jeroen-: my best guess is we are getting some sort of crash inside floattime() in the python stdlib, which may call a series of C functions (gettimeofday in 2 variants, ftime and time). Figuring out which and why it fails is probably going to be a very boring task, though19:15
czajkowskiduanedesign: so when I go to play/sample a song belonging to an album I get a 404 but not on all songs. seems to be a uk specific issue19:15
dobeyduanedesign: the uk store is missing a song :)19:15
czajkowskidobey: I understand, hence dont want to make too big an issue19:16
czajkowskiam too happy with my news19:16
joshuahooverdobey, czajkowski: hey, yeah, i'll check back with 7digital on that song19:16
* czajkowski starts Canonical on Monday :)19:16
dobeyczajkowski: ah, well congrats :)19:16
* rye is back19:16
czajkowskidobey: cheers :D am very happy19:17
duanedesignczajkowski: awesome19:17
* dobey ponders how to run python under valgrind19:17
ralsinarye: check what I wrote a few lines up ^19:17
jeroen-ralsina:  no differnce19:17
* dobey also ponders just skipping the debugging and hitting the whisky early19:17
duanedesignczajkowski: what song it it?19:17
ralsinajeroen-: ok19:18
* duanedesign hops in his car and heads to dobey's house19:18
jeroen-I did on the same terminal the export19:18
jeroen-checked it with echo and started DEBUG=True ubuntuone-control-panel-gtk19:18
ralsinajeroen-: good19:19
ralsinajeroen-: and it fails the same way19:19
jeroen-I also checked it there was nothing running first19:19
briancurtindobey: i've never had to use this but it may help: http://svn.python.org/projects/python/trunk/Misc/README.valgrind19:19
jeroen-well lets start the backend first19:19
jeroen-see if the debug output gives the same error19:19
ryeralsina, i'd check the web_client with soup and try to call our api19:20
ryeralsina, but i am a bit not comfortable with twisted deferreds still19:20
dobeybriancurtin: i think it generally works by default these days. of course, instead of trapping the error i'm hitting, valgrind itself also just exits19:20
ralsinarye: I would do a LD_PRELOAD replacing the time functions with dummies ;-)19:20
jeroen-ralsina:  yes exact the same erros19:20
jeroen-errors19:20
briancurtindobey: whisky seems like a better choice at that point19:21
ralsinarye: the exception is thrown by somthing in the stdlib. That ct is even created internally inside logging19:21
ralsinarye: it's not based on anything we pass to it19:22
ryeralsina, just to check that libsoup does not modify something behind python's back19:22
dobeybriancurtin: indeed19:22
ralsinarye: I have no idea how to test that independently19:22
Chipacadavidcalle: welcome back. A question: in screenshots i've seen the source displayed below the title of each result, but that's not the case in what I'm seeing. Any reason?19:23
davidcalleChipaca, yes, I've changed the renderer for the "Online" category to the vertical one (only icon + title). To match an old design mockup I've found. There may be another renderer getting ready for Precise, that will be a better match for the lens. For now we can use the one from the screenshot (horizontal), or the one currently in the code.19:28
Chipacadavidcalle: I wouldn't put money on the better one being ready :)19:28
Chipacadavidcalle: yeah, i think horizontal would be better (the source matters)19:29
davidcalleChipaca, I agree. When I changed it, I wasn't aware of the awesome amount of sources.19:30
Chipacaneither was i19:34
ralsinajeroen-, rye: I have no idea. No matter what happened, this can't result in a NaN19:34
Chipacadavidcalle: right now it's returning things in a scope that is going away, so ignore 'bing' results19:34
nessitadobey: have 5 minutes to help me with a bizarre thing?19:36
nessitadobey: I know you love those19:36
ralsinarye: it's not libsoup, because I have found the same error happening to other people with time() where libsoup is not involved: https://dev.openwrt.org/ticket/559719:36
davidcalleChipaca, the scope manages the sources by itself. It uses the list from the server for everything. No need to modify.19:37
Chipacaralsina: what happens if you grab a lock around the call to time?19:37
dobeynessita: what's up?19:37
ralsinaChipaca: why would that make a difference?19:37
nessitadobey: if you please put this in a script http://pastebin.ubuntu.com/833038/, and execute it19:37
Chipacaralsina: non-reentrant c functions?19:37
Chipacadunno19:38
Chipacagrabbing at straws19:38
Chipacaor threads or something19:38
ralsinaChipaca: but but but... yes, I have a few of those straws myself19:38
nessitadobey: you will notice that with "use_twisted" in False, spawning a program works. But if I use the gi reactor, it does not "progress" (the child_watch callback is never called)19:38
ralsinaChipaca: I could say "broken interpreter" ;-)19:38
Chipacaralsina: you could19:38
Chipacagotta go19:38
jeroen-ralsina:  well, that's strange19:38
ralsinajeroen-: I promise to keep thinking about this, but it's a dense problem :-(19:39
jeroen-is trying in antother user account makes any sense19:39
jeroen-\19:39
jeroen-\19:39
jeroen-?19:39
ralsinajeroen-: no, but let's try it anyway, since the things that make sense didn't work :-)19:39
jeroen-ok :)19:39
dobeynessita: progress means? spawntest doesn't exit when the ran program exits?19:41
nessitadobey: exactly, the callback is not called, which makes me deduce that the callback is not called because "something" is not "spinning"19:42
ryeblah, works upon reinstall19:43
jeroen-ralsina:  some problem19:43
jeroen-same problem19:43
jeroen-well this is a pity19:43
dobeynessita: hrmm. weird19:43
ralsinajeroen-: no idea how to go further19:43
ryejeroen-, ok, let's do heavy machinery19:43
jeroen-oooh19:43
nessitadobey: did you IRL try it?19:43
jeroen-ok :)19:43
jeroen-I was just going to ask how to use ubuntu one without a control panel19:44
dobeynessita: yes, but i changed the program to be leafpad instead of u1cp, becausae syncdaemon is broken :)19:44
jeroen-but heavy machinery sounds nice to19:44
ryejeroen-, sudo vim /usr/share/pyshared/ubuntuone-control-panel/ubuntuone/controlpanel/web_client/libsoup.py19:44
ryejeroen-, wait19:44
ryejeroen-, are you ok with using vim or what editor do you prefer?19:45
dobeynessita: but why do our tests work? :(19:45
jeroen-rye:  I prefer vim19:46
ryejeroen-, awesome!19:46
nessitadobey: we may not depend on specific stuff this code depends on? :-/19:47
jeroen-vi that is19:47
jeroen-rye:  I'm in19:48
dobeynessita: i'm pretty sure we depend on the mainloop working19:48
nessitadobey: of course, I'm not trying to say that. But there is something odd there, in my code snippet in one case work, not in the other19:49
ryejeroen-, add "import time" line after "import simplejson"19:49
nessitadobey: and the exact same thing happens with QProcess when using a plain Qt mainloop (it works), but it does not progress when using qt4reactor19:50
jeroen-rye:  done19:50
ryejeroen-, navigate to first _handler - add the code http://paste.ubuntu.com/833061/19:52
ryejeroen-, in python, space characters are important, therefore the code should be lined up with spaces to match the surrounding lines, as in the pastebin19:53
jeroen-rye:  what you mean with first _handler?19:53
jeroen-that line is not in the file19:53
jeroen-oh you mean _handler19:54
jeroen-the first one :)19:54
jeroen-def _handler(self, session, msg, d): ?19:54
jeroen-rye:  def _handler(self, session, msg, d):?19:54
ryejeroen-, yes19:55
ryejeroen-, if that does not work from the first time i will patch the local 11.10 install to grab the whole file19:55
jeroen-rye:  so on the line just after that _handler-line, right?19:56
jeroen-before """Handle the result of an http message."""19:56
ryejeroen-, here's how it should look - http://paste.ubuntu.com/833067/19:57
ryejeroen-, just lines 12 and 13 - i am trying to get the crash in our code as opposed to the logger one19:57
dobeynessita: well, no, so child_watch is being called under twisted19:58
nessitadobey: it is?19:58
dobeynessita: well it's printing "Child finished with status: 256."19:58
dobeynessita: i changed the command it runs to be 'false' :)19:59
jeroen-rye:  well I dont understand: must I paste all the text from http://paste.ubuntu.com/833061/ after def _handler(self, session, msg, d)?19:59
jeroen-or should I replace something19:59
nessitadobey: that's cheating! :-P19:59
nessitadobey: put a command that will actually execute19:59
dobeynessita: it does execute19:59
ryejeroen-, nevermind, i will give the complete file in a minute, launching the oneiric instance, patching the files this way is too error-prone20:00
nessitadobey: child_watch is not being executed when opening a UI. Try any other graphical program...20:00
jeroen-rye:  well I can try20:01
jeroen-I understand the first line with the handler should not be copied, right?20:01
jeroen-rye:  actually only 3 lines, right?20:01
jeroen-ct, print, logger20:02
dobeynessita: but why does that matter? if it matters, it exposes a problem point :)20:02
ryejeroen-, here's a complete file - http://paste.ubuntu.com/833073/20:02
jeroen-rye:  well not even the logger, thats also double20:02
dobeynessita: iow, it seems to be failing for things that grab the terminal20:02
dobeynessita: bzr --help also fails20:02
nessitadobey: you can try with args = ['mkdir', 'test-me']20:02
nessitaah20:03
nessitadobey: does the controlpanel grabs the terminal? I would say no20:03
jeroen-rye:  yes, it's onl;y about         ct = time.time()20:03
jeroen-        print "BUG: %s" % (long(ct), )20:03
dobeynessita: if you run it from the terminal, do you get the terminal back? :)20:03
jeroen-rye:  done, and now?20:03
nessitadobey: no20:03
dobeynessita: right :)20:04
nessitahum20:04
dobeyfalse doesn't open stdout/stderr20:04
nessitadobey: but why do u1cp-gtk works with the GLib plain mainloop?20:05
dobeynessita: because something in twisted is apparently blocking the pipes; does it work with the glib2reactor instead of gireactor?20:05
nessitadobey: it would segfault, no? due to mixing static and dynamic glib20:06
ryejeroen-, DEBUG=True /usr/lib/ubuntuone-control-panel/ubuntuone-control-panel-backend and run control panel again20:06
ryejeroen-, i expect it to fail, showing line with BUG in it20:06
dobeynessita: eh? why would you mix them?20:07
nessitadobey: because the spawnner uses GLib20:08
jeroen-rye:  it says this in the debug (not right I suppose): print "BUG: %s" % (long(ct), )20:08
nessitadobey: I'm getting (like I expected):20:09
nessita    "Introspected and static glib/gtk bindings must not be mixed; can't "20:09
nessitaImportError: Introspected and static glib/gtk bindings must not be mixed; can't import gtk2reactor since gi module is already imported.20:09
jeroen-rye:  although that line is part of the traceback, it ends with the known ValueError20:09
ryejeroen-, aaawesome!20:09
dobeyhrmm, it seems to do the same under glib2reactor, but not sure if that's because of the refactoring20:10
ryejeroen-, so we took it from the logger, interesting20:10
jeroen-it says: File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/web_client/libsoup.py", line 56, in _handler20:10
jeroen-and line 56 is rint "BUG: %s" % (long(ct), )20:10
jeroen- print "BUG: %s" % (long(ct), )20:11
dobeyhrmm, also fails on older twisted too20:11
dobeybut at least ^C works there20:11
ryejeroen-, could you please replace the file with  http://paste.ubuntu.com/833087/20:12
ryehow to fire a deferred?20:14
jeroen-rye:  done,20:15
jeroen-i will restart the control-panel20:15
ryejeroen-, ok, rinse, repeat, yeah20:15
jeroen-rye:  same errors20:16
ryejeroen-, could you please pastebin 10 lines before the exception and the exception itself20:16
jeroen-rye:  http://paste.ubuntu.com/833098/20:17
ralsinadavidcalle: https://code.launchpad.net/~ralsina/unity-lens-videos/cleaning_it20:19
ryejeroen-, hm, looks like the same file, could you please replace the line with BUG with this -   print "BUG: %r" % (ct, )20:20
dobeynessita: so i'm lost, but it seems twisted is blocking somewhere :-/20:20
jeroen-rye:  YOU DID IT!20:22
ryejeroen-, what?20:22
jeroen-control panel loads20:22
ryejeroen-, WHAT??? Why?20:22
ryenessita, ^20:22
jeroen-no errors debug!20:22
jeroen-in debug20:22
ryejeroen-, uhm, can you please pastebin the whole output?20:22
dobeynessita: interesting20:22
jeroen-well after I changed that line into print "BUG: %r" % (ct, )20:22
jeroen-rye:  from the backup?20:23
jeroen-backend?20:23
ryejeroen-, from backend, yes20:23
ryeralsina, ^ this does not make sense at all20:23
ralsinarye: which part?20:23
jeroen-I will, minus my name (will replace it with xxxxx)20:23
ryejeroen-, sure, well, i am only interested in a line which starts with BUG20:23
ryejeroen-, do you see it ?20:24
jeroen-one moment20:24
ryeralsina, i asked jeroen- to add print "BUG: %r" % (ct, ) and control panel started working20:24
nessitadobey: sorry, got to take a phone call20:24
nessitadobey: interesting? found something?20:25
ralsinarye: I have seen a bunch of similar bug reports, and in some, there was mentions that adding even small delays made it work20:25
ryeralsina, definitely a race20:25
ralsinarye: the thing is, a race between what and what?20:25
ryejeroen-, could you please also pastebin /proc/cpuinfo, lspci and lsusb ?20:25
ryeit does not even look like it is threading-related since we are not running any threads20:26
ryeWHY?20:27
jeroen-rye:  one moment20:27
dobeynessita: well, changing the call to spawn_program() to be a GLib.idle_add(spawn_program, args, quit, quit) causes the child to get reaped, and the exit status printed. though the program itself still doesn't exit20:28
jeroen-rye /proc/cpuinfo: command not found20:28
ryejeroen-, cat /proc/cpuinfo20:28
jeroen-ok20:28
ryejeroen-, that's a file that describes the cpu20:28
ryewell, technically everything is a file20:28
dobeyans spawn_close_pid() seems to not be bound in old static glib bindings :(20:28
ryeso, we are using Soup.SessionAsync20:29
jeroen-rye:  it's al there: http://paste.ubuntu.com/833117/20:29
ryejeroen-, while it is working now, would you be able to hang around in #ubuntuone channel when you have time so that we could ask you to run a line or two?20:30
ryejeroen-, are all the tabs working?20:30
dobeynessita: i think i must give up for now though20:31
davidcalleralsina, thanks a lot. I will use it to update the scopes branches.20:31
ralsinadavidcalle: I am doing another two for your scope branches20:32
nessitadobey: is ok, I 'll workaround this (is affecting tests only)20:32
ralsinaso if you don't touch anything for another 15 minutes you are golden ;-)20:32
ralsinadavidcalle: ^20:32
nessitadobey: thanks a lot though20:32
jeroen-rye:  off course - all the tabs are working, only the devices tab is greyed out and still loading20:32
davidcalleralsina, nice. Well, there is a pizza waiting for me, perfect timing ;-)20:33
ryejeroen-, devices tab also uses web client, so probably the delay was not enough20:34
jeroen-rye:  it's greyed out, but I see my computer name twice and once my iphone - the first entry of my computername shows options, the second only the name and a button to remove it20:34
dobeynessita: it seems to be something in twisted though; i did get the same problem with glib2reactor20:34
ryejeroen-, hm, ok20:34
nessitadobey: and I got the same with qt4reactor20:35
jeroen-rye:  oh wait, maybe that second entry is from that other user account, I tested it with20:35
dobeynessita: which means it's at least probably not my changes that broke it :)20:37
nessitadobey: right, which is good news20:37
jeroen-rye:  the devices is now loaded after I closed the control panel and restarted it a few mins later20:42
jeroen-I can remove that other entry with my computername20:42
ryejeroen-, could you please download and run this - http://paste.ubuntu.com/833147/ ?20:50
jeroen-rye:  ok, just in a new file I presume? with: python newfile?20:51
ryejeroen-, yes20:51
jeroen-rye:  4 lines of output20:52
ryejeroen-, no errors, right?20:53
jeroen-well it says 'failed': /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed20:54
ryejeroen-, yes, this is interesting on its own but it is not what we are after20:54
jeroen-than we have: 3 extra lines: import gobject._gobject -- Status:  200 -- 132864795220:55
ryejeroen-, http://paste.ubuntu.com/833160/ - and this?21:01
nessitadobey: when you have some time (no rush), would you review this packaging-dailies branch? I know we usually don't review those, but would like your feedback on this one (will be useful to "IRL" sso binary package splitting) https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/packaging-dailies/+merge/9181721:02
dobeyi need to set the package branches up on tarmac at some point21:03
jeroen-rye:  output looks almost the same, only the last number is different: 132864872021:07
ryejeroen-, that's current time in unix epoch representation (number of seconds since 1 jan 1970)... yes, this does not trigger it21:07
jeroen-rye:  I'm going downstairs, will be back in 10-15 min21:10
ryejeroen-, i am supposed i am unable to provide any reasonable explanation for the time being21:11
ralsinadavidcalle: lp:~ralsina/unity-lens-videos/cleaning_it_local_videos lp:~ralsina/unity-lens-videos/cleaning_it_remote_videos lp:~ralsina/unity-lens-videos/cleaning_it21:11
ryenessita, can we do a crazy thing in _handler where this error appears - run time.time() until it returns meaningful result and continue execution :) ?21:11
ryehackity hack21:11
ralsinadavidcalle: they should be functionally equivalent to your code (not tested)21:11
ralsinadavidcalle: also, they contain a number of FIXMEs for you21:11
jeroen-rye:  well, it seems to work now, isntit ?21:12
jeroen-:)21:12
ralsinadavidcalle: finally, the local scope does no quoting of things before calling commands, which may lead to mayhem and destruction ;-)21:12
ryejeroen-, yes, but it simply hides the issue, it hides it to the point when it starts working21:12
ralsinarye: it only happens on the first few time() calls????21:12
jeroen-what if I move the old libsoup.py back and see if it's still there?21:13
ryeralsina, i have little to no idea21:13
ryejeroen-, feel free to, i suspect it will21:13
dobeynessita: is sso setup.py installing the test suite currently?21:14
nessitadobey: yes21:14
nessitadobey: since 2 hours ago21:14
nessita(approx)21:14
dobeyhrmm, ok21:14
dobeynessita: did you test installing the split binary packages, with a version of ubuntu-sso-client install that includes the tests in the package?21:15
dobeynessita: since i presume the current nightlies build does include them in the package21:15
jeroen-rye:  it works :)21:16
jeroen-I made a copy of the original libsoup.py and it gives no errors right now - killed the backend first of course21:18
dobeynessita: i think you need to add Breaks and Replaces to all the new binary packages, like "Breaks: ubuntu-sso-client (<= ${binary:Version})" (with the same for Replaces), otherwise they will have conflicts on upgrade21:18
nessitadobey: I tested installing all the binary packages having latest nightlies in my box, not sure if that latest nightlies had the tests in it21:19
nessitadobey: we'll have a conflict there?21:19
ralsinajeroen-: that means the gremlin that lived there got scared because of the noise and decamped for gremlinland.21:21
ralsinajeroen-: that's as good a technical explanation as I can provide because it makes no sense ;-)21:22
nessitadobey: boo, I though I added the replaces to python-ubuntu-sso-client :-/21:22
dobeynope :)21:24
nessitadobey: you sure is Breaks? in controlpanel we have:21:24
nessita     54 Conflicts: ubuntuone-control-panel (<< ${source:Version})21:24
nessita     55 Replaces: ubuntuone-control-panel (<< ${source:Version})21:24
nessitadobey: besides the question Breaks vs Conflicts, when would I use source:Version and when binary:Version?21:26
dobeyyes, it should be breaks/replaces21:26
jeroen-ralsina:  well I'm dead serious, I make no jokes21:26
ralsinajeroen-: I know, it's just that this bug makes me want to cry21:27
ralsinajeroen-: it's by far the weirdest bug I have seen in a year21:27
jeroen-ralsina: I can delete cache and config and such and try again?21:28
dobeynessita: hrmm; i'm not entirely sure now; and google is giving me 0 results for "source:Version" :(21:29
ralsinajeroen-: yes, it may be that some initialization/auth code is the one that breaks21:29
nessitadobey: well, my gut feeling likes better restrict a binary package using another binary package version21:30
jeroen-ok, one moment - will kill and delete all relevant files and remove the token from seahorse21:30
nessitabut at the same time, I'm not sure that we can restrict binary package ubuntu-sso-client by itself21:30
dobeynessita: what do you mean by itself?21:30
dobeyalso, i'm not sure source:version vs. binary:version generally matters much for pure python, as it is built with arch: all anyway21:31
nessitadobey: the ubuntu-sso-client (<< {binary:Version}) of the binary ubuntu-sso-client will be itself, no?21:31
dobeynessita: oh i did mean (<<) and not (<=) before.21:32
nessitaI guessed that21:32
dobeynessita: you don't need to add the breaks/replaces to ubuntu-sso-client; just the new binary packages21:32
nessitaah, I now understand what *new* means in that sentence21:33
nessitadobey: ack21:33
jeroen-ok all clean21:33
nessitadobey: changed and pushed21:36
jeroen-als removed device at ubuntu one website21:36
jeroen-now lets click in control panel that I already have an account21:37
jeroen-ralsina:  rye : it still works !21:38
ralsinajeroen-: amazing21:38
jeroen-although when I click on the devices tab it says in red (in the control panel):  De waarde kon niet worden opgehaald. (MemoryError)21:39
davidcalleralsina, thank you for all this. I will test it in a few moments.21:39
ralsinadavidcalle: no problem, should have done it last week21:39
jeroen-well after restarting the control panel, that also works21:40
jeroen-no memoryerror agian in the devices tab, but still the devices are listed21:41
jeroen-ralsina rye : it works right now,  thank for your great help untill now. I will keep an eye it. rye knows how to reach me if you need me.21:42
jeroen-bye bye21:42
ralsinajeroen-: cool, thanks for helping us!21:42
jeroen-no problem21:43
dobeynessita: and when we release the new version into ubuntu, you'll want to use "2.99.4" instead of binary:Version for the breaks/replaces (so it's not perpetual)21:45
nessitadobey: makes sense21:45
nessitaok, I'm off crowd21:46
dobeynessita: and i guess we'll also need to get the desktop seed updated to use -gtk instead of just plain ubuntu-sso-client21:46
nessitadobey: how do we do that?21:46
nessitaralsina: I need to run some errands tomorrow morning, will start a little later today, and stay longer21:47
dobeybug people21:47
nessitadobey: ack!21:47
ralsinanessita: no problem21:47
dobeyor propose a branch against the ubuntu-meta package i guess21:47
nessitaralsina: when I say "will start a little later today" I meant tomorrow :-P21:48
nessitadobey: ack21:48
ralsinanessita: assumed so :-)21:48
nessitadobey: thanks for the feedback!21:48
nessitaok, I'm gone21:48
dobeysure21:48
nessitagatox's cat is crying at me21:48
nessita:-P21:48
nessita(well, was, now she sleeps)21:48
dobeyoi21:53
davidcalleralsina, had a segfault on the lens branch. Fixed it and everything is working perfectly. I will take care of the comments tomorrow.22:10
ralsinadavidcalle: miracle, since I did that completely untested ;-)22:11
davidcalleheh :)22:11
ralsinadavidcalle: I did one "code" change, I switched from simplejson to json which is the same thing and is in the standard library (in the remote scope, IIRC)22:11
ralsinadavidcalle: and that also removed a custom exception and changes it to a ValueError22:11
davidcalleralsina, yes, seen it.22:13
dobeyalright, am off.22:34
gatoxok..... EOD FOR ME22:50
gatoxbye!22:50
verterokralsina: do "we" know that u1-client 3.1+r1188-51~precise1 is broken?22:50
verterokfacundobatista: ^ ?22:52
facundobatistaverterok, broken?22:52
verterokbroken as "it starts but isn't useful" :)22:52
verterokfacundobatista: looks like the dbus interface isn't running at all22:53
verterokfacundobatista: kill -TERM pid, started it again...opened d-feet: I only see the bus name...but nothing published in it22:53
verterokfacundobatista: syncdaemon is running, but I can't "talk" with it22:54
verterokso, I can't even say it: "connect"22:54
facundobatistaverterok,23:01
facundobatistaubuntuone-client:23:01
facundobatista  Instalados: 3.1+r1188-51~precise123:01
facundobatistau1sdtool "hangs", but I have it connected23:01
verterokfacundobatista: probably because you have autoconnect=true23:02
facundobatistaverterok, ah, yes23:02
verterokfacundobatista: u1sdtool "hangs" becuase there is no freaking dbus interface exposed23:02
verterokfacundobatista: try using the control panel23:02
facundobatistaverterok, don't forget to tell nessita, tomorrow23:02
dobeyverterok, facundobatista: we know it's broken. not sure why yet though23:06
facundobatistadobey, ok23:07
verterokok, thanks23:07
=== dduffey is now known as dduffey_afk

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