/srv/irclogs.ubuntu.com/2011/04/12/#ubuntuone.txt

=== poolie_ is now known as poolie
faganmorning everybody09:16
mandelralsina: https://code.launchpad.net/~mandel/ubuntu-sso-client/add_views_tests/+merge/5631409:36
karnimorning!09:55
czajkowskiAloha10:21
mandelralsina: there you go: https://code.launchpad.net/~mandel/ubuntu-sso-client/add_windows_ui_root/+merge/5632011:49
ralsinafagan: https://code.launchpad.net/~mandel/ubuntu-sso-client/add_views_tests/+merge/5631411:51
mandelfagan: may I have a review for this too: https://code.launchpad.net/~mandel/ubuntu-sso-client/windows_ui_412:14
=== rodrigo__ is now known as rodrigo_
ralsinaalecu: when you can. take a look at bug #75518512:29
ubot4ralsina: Bug 755185 on http://launchpad.net/bugs/755185 is private12:29
duanedesignmorning all12:35
faganmorning duanedesign12:37
nessitaralsina: ah, I have started working on that12:58
nessita(hi BTW)12:58
nessitaalecu: when you can, please take a look to bug #73467113:03
ubot4Launchpad bug 734671 in ubuntu-sso-client (Ubuntu) (and 1 other project) "ubuntu-sso-login crashed with ValueError in getsecret_handler(): too many values to unpack (affects: 74) (dups: 9) (heat: 366)" [Medium,Confirmed] https://launchpad.net/bugs/73467113:03
nessitaralsina: are you available for doing a review?13:03
ralsinanessita: not right now, sorry13:05
nessitaok, np13:05
ralsinanessita: I just noticed that the sso tests open acctual, visible windows. Is that known? (/me shakes head)13:06
nessitaralsina: all the UI tests open windows, we use xfvb to run them and have a separated X session13:06
ralsinanessita: not sso13:06
nessitaralsina: let me confirm before arguing :-)13:07
nessitaralsina: confirmed that sso in linux uses xfvb13:07
nessita     39 `which xvfb-run` u1trial "$MODULE" -i "test_windows.py"13:07
nessitaralsina: from the bash script run-tests13:08
ralsinanessita: mandel and I suck, we don't have xvfb-run13:08
mandelralsina: can you recheck the branch with my stupid strength spelling13:45
karnihi duanedesign14:09
=== zyga is now known as zyga-food
karniJamesTait: thanks for the log. I'll be replacing the core of SD very soon (moving to REST), this should fix quite a few pending issues :)14:12
ralsinamandel: on it!14:14
alecu_nessita, I'm trying to debug the txsecrets bug you pasted earlier, but I'm getting "ImportError: No module named PyQt4.QtCore"14:15
alecu_nessita, mandel: are new Qt packages needing dependencies?14:15
nessitaalecu_: for develop, yes14:16
ralsinaalecu_: did you see a bug # I posted earlier?14:16
nessitaalecu_: we need to run qt tests as well14:16
nessitaralsina: I'm working on that one14:16
alecu_ralsina, I saw it, but I also saw nessita saying she was working on it.14:17
mandelwhat?14:17
mandelque?14:17
ralsinaalecu_: ok then14:17
nessitaralsina: would you trivial review https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/urgent/+merge/57318? (is the fix for the bug you linked)14:18
ralsinasure14:18
alecu_nessita, no tests on that branch!!!!14:19
alecu_nessita, you should do a test that does del on that attr14:19
nessitaalecu_: I tried, tehre no way for the way the original test was coded14:19
nessitaalecu_: I was getting exceptions.AttributeError: 'FakeLauncherEntryProps' object attribute 'urgent' is read-only14:20
alecu_nessita, oh, I see where that code comes from.14:20
alecu_nessita, don't worry then.14:20
nessitaalecu_: I weighted the amount of change needed to add the test, it was too much14:20
ralsinanessita: +1 yikes14:22
dobeyrye: ping. how do we do that apport bug thing to stop more incoming bugs?14:26
JamesTaitHey karni. :) You're welcome, I hope the report was useful. I'm not sure what happened, it just reported a crash when I came to browse my files.14:33
karniJamesTait: yeah, devil in details, it's the syncdaemon, but I'll have to improve the log reporting anyway. I do, however, believe that the need of reports will drastically decrease once we are 100% REST14:33
dobeygrr, pylint14:36
=== zyga-food is now known as zyga
mandeldobey: we have noticed that pylint is kinda of fuked up15:07
mandelis complaining about C++ types, and I know I tend to make mistakes, but this is way out of my hands :P15:08
nessitamandel: example?15:09
dobeyuh?15:09
ralsinahttps://pastebin.canonical.com/45985/15:10
ralsinanessita, dobey: ^15:10
dobeyhmm15:11
nessitaseems like pylint and pyqt does not get along15:12
mandeldobey: form that error onwards pylint start given very stupid warnings that dont seem to make much sense...15:12
mandelbetter exaple: https://code.launchpad.net/~mandel/ubuntu-sso-client/windows_ui_4/+merge/5630815:12
nessitaralsina, mandel, dobey: we could add all the pyqt files to the pylint ignore file list15:12
mandellook at the tarmac output15:12
nessitahttp://www.logilab.org/ticket/5729915:12
nessitamandel: ^15:12
* mandel looks15:12
alecu_nessita, it seems like the secrets spec has changed, but they have not changed the spec number.15:13
alecu_they added a new parameter to the "Secret" dbus struct15:13
alecu_http://people.collabora.co.uk/~stefw/secret-service/ch14.html15:13
alecu_it's the content_type value15:13
nessitamandel: this thread may be also interesting http://lists.logilab.org/pipermail/python-projects/2009-July/001982.html15:13
nessitaalecu_: looking15:14
alecu_(not a new parameter but a new struct member)15:14
alecu_nessita, here's how it used to be like:15:14
alecu_http://code.confuego.org/secrets-xdg-specs/ch13.html15:14
mandelnessita: in M I was able to run pylint and qt with no issues what so ever...15:14
mandelnessita: and is 0.21.115:14
alecu_nessita, I'm making a small fix to account for this change, and I'll ask for your review soon.15:14
mandelnessita: on windows we are using 0.22.2 or something similar, I dont have the windows vm running atm15:15
duanedesignaquarius: did you ever get a chance to do any more work ondesktopcouch_gateway.py?15:15
nessitaalecu_: thanks, Please note you shuold target (ie make branches) for both stable-1-2 and trunk15:16
nessitamandel: oh!15:16
aquariusduanedesign, I didn't :(15:16
* mandel opens millbanks window to jump15:17
beunomandel, they've sealed them shut since the last developer did that15:18
mandelbeuno: I'll ran as fast as I can against them15:18
beunomandel, please make sure someone is filming that first15:19
mandelnessita: take a look at the merge proposal, pylint not only complains about the Qt modules, it also is saying some very stupid things regarding other modules that we did no touch in that merge15:20
mandelbeuno: will do15:20
duanedesignaquarius: understandable, I am sure you got a full plate. I was just reminded of it today. Looks like a couch API change has broken it. Might be the switch of couch.client to couch.http15:21
alecu_nessita, I'm getting a bunch of pylint issues on both branches (trunk and stable-1-2)15:22
nessitamandel: a ver. Do you have latest pylint from our PPA?15:22
nessitaalecu_: same question15:22
alecu_nessita, I've updated everything like an hour ago.15:23
mandelnessita: those errors are coming from tarmac, so it shoul dbe using the latests one, right dobey15:23
mandel?15:23
nessitamandel, alecu_: what version does aptitude show python-logilab-common show for you?15:23
* nessita checks15:23
alecu_nessita, 0.55.0-1ubuntu1~natty115:23
alecu_OneUbuntuOne15:24
ralsinamaybe we should roll tarmac back to 0.21.1 because 0.23.0 sucks rocks through a garden hose15:24
nessitaalecu_: is control panel test suite running smoothly for you?15:24
alecu_lemme check15:24
alecu_tests seem to run fine... let's wait for stylecheck15:25
nessitamandel, alecu_: this is what I'm getting for ussoc https://pastebin.canonical.com/45986/15:26
nessitaalecu_: any chance you become alecu without _? :-)15:26
alecu_nessita, control panel ran fine, no error15:27
ryedobey, bugpatterns, what bug to trace?15:27
=== alecu_ is now known as alecu
nessitaalecu: thanks :-). So, all the error I've got (except the TypeError: C++ type 'QWidget*' is not supported as  type error) are valid and need to be fixed (doing that right now)15:29
dobeyrye: there are a LOT of bugs about dbus Connection refused :(15:29
dobeyrye: but the error message is translated, and coming from different scripts, so we're getting several sets of bugs/dups15:30
mandelnessita: which branch are you talking about?15:30
ryedobey, which to make the master report?15:30
nessitamandel: ussoc trunk15:30
dobeyrye: i'm not sure15:30
mandelnessita: can you pastebin those warnings?15:30
alecunessita, I'm getting the same issues on ussoc15:30
nessitamandel: I'm getting this E0611: 19: No name 'QtCore' in module 'PyQt4'. PAstebin was:15:30
nessitahttps://pastebin.canonical.com/45986/15:30
mandelnessita: I get none when I ran it with 0.2115:30
ryeomg bug #42070515:30
ubot4rye: Bug 420705 on http://launchpad.net/bugs/420705 is private15:30
nessitamandel: right, all the Reimport errors are valid (and new)15:31
mandelnessita: in trunk?15:31
mandelnessita: really?15:31
nessitamandel: what I don't know how to fix is the15:31
nessitaTypeError: C++ type 'QWidget*' is not supported as  type15:31
nessita************* Module ubuntu_sso.qt.controllers15:31
nessitaE0611: 19: No name 'QtCore' in module 'PyQt4'15:31
nessitamandel: really what? I'm starting to get lost15:31
mandelnessita: all the reimport issues, are they correct? are they present in trunk?15:31
nessitamandel: yes15:31
* mandel looks15:32
nessitamandel: are correct and are present, it happened in the control panel, we fixed it last week. Pylint gor strictier15:32
ryewait.. bug #756806 is not the correct duplicate15:32
ryeah yes15:33
alecunessita, https://code.launchpad.net/~alecu/ubuntu-sso-client/tx-unpack-toomany/+merge/5733015:35
alecuand https://code.launchpad.net/~alecu/ubuntu-sso-client/tx-unpack-toomany-1-2/+merge/5733115:35
mandelnessita: to be clear, you are fixing the reimport issues that are in trunk atm, right?15:35
mandelnessita: or do you want me to take a look into those?15:35
nessitamandel: yes, I am15:35
alecuI can surely use more reviews on those twin branches15:36
mandelnessita: superb! so, in theory once that is done, we will propose a branch in which the ignogred paths in pylint are updated not check ubuntu_sso/qt15:36
mandelwhich is a PITA....15:37
ryehow does apport finds out the duplicate based on traceback? The exception is completely different in some bug reports15:37
nessitamandel: does this make sense http://old.nabble.com/Error-in-calling-QSignalMapper.__bases__-td30162759.html ?15:37
mandelralsina: ^15:38
mandelnessita: looking into it, but I really cannot think of a plce where the QSignalMapper is used...15:39
nessitamandel: try gooling a bit, there may be something there to fix (maybe(15:39
nessita))15:39
dobeyhmm15:43
dobeymandel: i think you can ignore the TypeError: C++... bit15:44
mandeldobey: ralsina is taking a look at it, we do use QtGui but it is used after QtCore… if that works, we can move with that15:45
nessitamandel: I think these are valid and yours to fix:15:45
nessitaubuntu_sso/qt/gui.py:15:46
nessita    247:  [E0602, SetupAccountPage.set_strenght_level] Undefined variable 'MEDIUM_COLOR'15:46
nessita    248:  [E0602, SetupAccountPage.set_strenght_level] Undefined variable 'MEDIUM_COLOR'15:46
dobeymandel: i mean, it seems to be an internal traceback from pylint, but pylint continues to run and complains about other things15:46
dobeymandel: so i think you can ignore that TypeError and just fix the other complaints for now15:46
nessitamandel: in SetupAccountPage you're using MEDIUM_COLOR but is not defined not imported15:46
ryedobey, will trap all org.freedesktop.DBus.Error.NoServer and redirect to bug #42070515:46
ubot4Launchpad bug 420705 in ubuntuone-client (Ubuntu) "ubuntuone-syncdaemon crashed with DBusException in __new__() (affects: 45) (dups: 48) (heat: 388)" [High,Triaged] https://launchpad.net/bugs/42070515:46
mandelnessita: yes, those I'll fix in a second, it seems that the branch gor screwed up in a merge conflict15:46
mandeldobey, nessita: ralsina tested it by chaging the order of the import and it works… so we will move on with that15:47
nessitamandel: ok, the other reimport error is not that fixable, so I would agree on adding the W0404 to the disable list15:47
dobeyrye: hrmm, i don't think that's the same issue?15:47
dobeybut ok15:48
ryedobey, it does not look like ubuntuone-client issue at all15:48
nessitamandel: so basically please also apply https://pastebin.canonical.com/45987/15:48
dobeyrye: i think something broke recently in dbus15:48
ryedobey, hmm15:48
dobeyrye: but i have no idea how to figure out what :(15:48
ryedobey, there had been numerous reports in the past too15:48
ryedobey, well, in distant past15:48
nessitamandel: ack?15:49
mandelnessita: sounds good15:49
ryedobey, bugpattern is set up15:49
mandelnessita: will make sure that is applied and that the MEDIUM* is fixed15:49
nessitamandel: awesome15:49
* fagan should be talking in the public channel15:55
dobeyrye: but none so many as this. they were more random i think. :(15:58
ryedobey, ok, i am adding some info to the bug report to help us find the issue15:58
dobeyrye: ok, thanks15:58
leonelhello :  I hope Ubuntuone does not has something like this : http://dereknewton.com/2011/04/dropbox-authentication-static-host-ids/16:01
Chipacaleonel: Ubuntu One uses oauth16:02
leonelYes I was reading that and it's great ...16:03
dobeywe also store the token in the user's keyring, and not in a plain file somewhere16:03
Chipacaif somebody got hold of your keyring password (usually the same as your computer login password), then they'd get access to that token16:04
Chipacawhich you can disable from the control panel and the website16:04
dobeyugh, lot of stuff in nightlies failing to build :(16:08
beunoclarita, I'm about 30 minutes away from lunch. Want to do that review now?16:14
nessitadobey: can you confirm the following: since we don't want to explicitly depend on unity, we don't need to add the Depends gir1.2-unity-3.0 (>= 3.8.4) to the control panel package. The control panel code already checks for the unity lib availability and do nothing if is not installed (the problem we had was that the lib was installed but outdated)16:14
Chipacanessita: there is no chance that unity is installed without the gir?16:14
nessitaChipaca: we are checking with a try-except, so no16:15
dobeynessita: right. it should probably depend on ubuntuone-client (>= 1.6.0) though, which Recommends: gir1.2-unity-3.0 (>= 3.8.4)16:15
Chipacanessita: I can uninstall gir1.2-unity-3.0 and still have unity :-/16:15
dobeyChipaca: yes, but you won't have u1 integration with unity in that case16:15
claritabeuno: sounds good - shall we Mumble?16:15
nessitaChipaca: but then the control panel can't make use of the unity cool stuff16:15
beunoclarita, yes16:16
Chipacaok, the Recommends works16:16
dobeyChipaca: our code uses the Unity API from gobject-introspection16:16
dobeyChipaca: and we recommend it, so people can remove unity and still use u116:16
Chipacaright, just wanted to be sure16:17
claritabeuno: which room?16:17
beunoclarita, I'm in web and mobile16:17
claritabeuno: ah yes - one moment16:17
alecunessita, everybody: can I get reviews on this twin branches? https://code.launchpad.net/~alecu/ubuntu-sso-client/tx-unpack-toomany/+merge/57330 and https://code.launchpad.net/~alecu/ubuntu-sso-client/tx-unpack-toomany-1-2/+merge/5733116:17
nessitaalecu: I have the queued for after the release of u1cp,16:20
alecuralsina, dobey? can I get your review on the braches above?16:20
dobeyalecu: i wonder if that breaks on older versions of gnome-keyring?16:20
alecudobey, versions with less than 3 values in that struct?16:21
dobeyalecu: yeah, will it break on maverick for example?16:22
alecudobey, I don't think there are any like that; the interesting one is value, so it must have been present for ever.16:22
nessitamandel: is your branch ready to land or landed?16:22
ralsinaalecu: I can try but I can'tpromise16:22
dobeyalecu: oh were we just throwing away the other 2 values then?16:22
alecudobey, right16:22
nessitadobey: the former code (session, parameters, value = secret) is running in maverick now, with nightlies16:23
mandelnessita: close, I need to push a change16:23
dobeynessita: i now it is. i'm asking if the new code breaks on maverick16:23
dobeynessita: because it is not clear to me from the diff if it will or not :)16:23
alecuralsina, it's a one line change (with a lot of tests) because there was a new value added to a dbus struct in gnome-keyring.16:24
nessitadobey: shouldn't break, since right now we're already accessing secret[2] when unpacking. The problem now is that there is an extra field16:24
alecuralsina, so it should be easy to review.16:24
ralsinaalecu: seen it. Looks good to me.16:24
nessitaalecu: I think dobey and I got your reviews covered?16:24
ralsinaIt's ok, I have to wait for manuel anyway16:24
=== Chex_ is now known as Chex
ralsinaalecu: +1 on tx-unpack-toomany16:25
dobeyok16:25
ralsinaalecu: +1 on the twin16:26
alecuralsina, thanks.16:26
alecunessita, you or dobey. ralsina has approved.16:27
nessitaalecu: in a few minutes :-)16:27
* alecu reboots16:28
mandelnessita: the branch was merged, we are ignoring the import errors and fixed the color and the C++ issues16:36
nessitaalecu: trunk approved16:36
nessitamandel: ack16:36
alecuthanks16:36
mandelnessita: at some point next week I'll write a wiki page that comments about possible issues due to all the multipltform work16:37
nessitamandel: such as?16:37
dobeylunch time, bbiab16:38
nessitaalecu: you will need to add the new disable to the pylintrc file for stable-1-216:38
nessitaalecu: as per https://pastebin.canonical.com/45987/16:39
alecuack16:39
mandelnessita: errors such as the C++ thing, missing pacakages etc… I need to think carefully about what to write16:39
nessitaack16:39
* alecu likes the new dark tabs on gnome-terminal16:42
nessitahey fagan, can you please clarify what you meant in bug #562625? if you mark a bug as Incomplete, there should be a clear question to the reporter, so s/he knows what we're expecting from her/him16:44
ubot4Launchpad bug 562625 in ubuntuone-client "A folder should not be marked as synchronized if a subfolder inside it is out of sync (affects: 2) (heat: 10)" [Undecided,Incomplete] https://launchpad.net/bugs/56262516:44
* fagan looks16:45
fagannessita: oh whoops that was one I messed up on and asked ralsina about it and changed it twice ill comment on it and explain16:46
ralsinafagan, nessita: that one is tricky, you can mark it incomplete, invalid or fix-whatever depending on what you write :-)16:47
ralsinabut for fix-released you need to know what branch fixed it. So ...16:47
nessitaralsina: right, but since last status was Incomplete, and I didn't see any quesiton for our reporter, I was wondering what fagan meant16:48
ralsinanessita: yeah16:49
fagannessita: I knew it was fixed but I couldnt dig out the bug to mark it as a duplicate16:49
faganso I was going to mark it as fix released or invalid but went to incomplete just to make sure16:50
nessitafagan: but you should consider if the user is reporting for maverick, or for natty, or for another version. And in that case, point out in which version the bug was fixed.16:50
ralsinaIn those cases a "I can't reproduce it with current blah, could you try again?" and mark as incomplete is what I usually do.16:50
nessitafagan: maybe the issue is resolved in natty and not in maverick, so we need to suggest to update to natty once released, or to point the reporter to our nightlies16:51
mandelralsina: oan extra one: https://code.launchpad.net/~mandel/ubuntu-sso-client/add_views_tests/+merge/5631416:51
fagannessita: yeah I know im making sure to read the bugs first rather than just blindly commenting asking for info16:52
nessitafagan: great, thanks! :-)16:52
mandelralsina: would be: https://code.launchpad.net/~mandel/ubuntu-sso-client/add_windows_ui_root/+merge/5632016:53
fagannessita: that one was just an interesting case since I knew it was fixed but not the specific version so I fumbled it :016:53
nessitafagan: and sorry to repeat this, but you should assign to yourself the bugs marked as Incomplete, otherwise if people responds we may miss the answer (such as bug #566469 and bug #565147)16:53
ubot4Launchpad bug 566469 in ubuntuone-client "Ubuntu One crashes Lucid and other effects (affects: 1) (heat: 6)" [Undecided,Incomplete] https://launchpad.net/bugs/56646916:53
ubot4Launchpad bug 565147 in ubuntuone-client "Folders sync with web but files aren't downloaded (affects: 8) (heat: 36)" [Undecided,Incomplete] https://launchpad.net/bugs/56514716:53
nessitaalecu: stable approved16:54
fagannessita: oh I didnt sub myself but im a bug contact because the team is the bug contact so I will get the mail16:54
faganill mark it for all of the bugs I missed though since I missed more than those 216:55
nessitafagan: thanks!16:55
loolHey there; I'm on natty and syncdaemon is busy-looping with nothing in the logs; strace shows only: select(5, [4], NULL, NULL, NULL)        = 1 (in [4])16:58
loolin a loop16:58
loolThis is the output of --status: http://paste.ubuntu.com/593177/16:59
* lool goes logging out and killing everything17:02
nessitalool: hi there. What do you mean with busy looping?17:03
loolUsing 100% CPU17:04
loolI just logged out and back in, and it doesn't happen anymore17:04
loolThis happened after switching from Ubuntu Classic to Ubuntu in the sessions; not sure whether that relates17:04
nessitalool: where are you checking the CPU usage?17:04
lool(So I was running Ubuntu Classic, logged out, selected Ubuntu, logged back in, and got this busy loop)17:05
loolnessita: top17:05
nessitalool: and what's the name of the daemon using the cpu?17:05
loolthe process was actually called "syndaemon" not syncdaemon17:05
nessitalool: right, that is not us :-)17:05
loolOh wait that's not u1  :-)17:05
loolthat's xserver-xorg-input-synaptics17:05
nessitalool: right :-)17:05
loolSince I turned on U1 recently and it sounded like U1, I thought it was eh17:05
loolAlright, thanks!17:06
nessitalool: we're ubuntuone-syncdaemon ;-)17:06
loolOuch, there it is at 100% again17:06
loolbadbad17:06
* lool moves to #ubutnu-x17:06
Chipacalool: we had that ourselves recently :)17:09
ralsinamandel: lp:~ralsina/+junk/sso_fix_conflict_117:22
=== beuno is now known as beuno-lunch
mandelralsina: there you go: https://code.launchpad.net/~mandel/ubuntu-sso-client/choose_correct_ui_module/+merge/5632117:51
mandelralsina: it should be tested on both OS17:51
mandelfagan: can you review this guy in natty: https://code.launchpad.net/~mandel/ubuntu-sso-client/add_windows_ui_root17:52
ralsinamandel: got it17:53
nessitalunchtime!17:54
=== beuno-lunch is now known as beuno
karniI'm starving, food time.18:32
NET||abusei am possibly in trouble here, does anyone know if you can recover files from ubuntuone?20:24
NET||abusethe whole ubuntuOne directory was deleted in work ( i was leaving) and it seems to have replicated down to my home pc, i had config files and a cv in there20:24
NET||abuseI really need them back20:24
alecuNET||abuse, there is a way, let's ping someone who may help20:30
NET||abuseoh, great20:31
alecurye, NET||abuse had some files erased from his account20:31
alecurye, what's the current way to get files out of the u1 trashcan?20:31
alecubeuno, may know about that as well ^^^20:31
NET||abuseany hints are most appreciated : ) virtual beer on me :)20:32
beunoalecu, I do, but rye is the best person to solve this20:32
beunoNET||abuse, you need all your files recovered?20:32
* NET||abuse is really glad he wasn't keeping his ssh keys in there. 20:32
NET||abusebeuno, yup, if possible.20:32
NET||abuseor as many as possibel :)20:32
alecuNET||abuse, we'll try to help, but we'll be demanding real beer20:32
beunoNET||abuse, I just need an email address from you and I can recover them20:33
NET||abuseOK, can i priv msg it to you?20:33
beunoNET||abuse, of course20:33
NET||abusethanks for the help beuno, you da nerd!20:42
alecunessita, I'm looking at the bug #759084 you reported, and it looks more serious than it seems.20:42
ubot4Launchpad bug 759084 in ubuntuone-client "AssertionError in aggregator (affects: 1) (heat: 6)" [High,Triaged] https://launchpad.net/bugs/75908420:42
nessitaalecu: really? tell me more20:42
alecunessita, it seems that eric added a timer to delay the queue_done (I can't recall exactly why)20:43
alecunessita, and new SD commands show up after starting that delay20:43
alecunessita, so the timer fires and resets the count of commands, which leaves the aggregator in a funny state20:44
nessitaalecu: oh20:44
nessitaouch20:44
nessitaalecu: any idea why the timer is there?20:44
alecunessita, I found a way to fix it fast... I'm trying to understand how to fix it right.20:44
nessitathinking quickly, I don't see why we should use a timer20:45
alecuthe fast fix would be to just return in case the total_counter is zero, instead of the assertion that fails20:45
alecuthe problem with this is that the progressbar will start showing lies after syncdaemon is running for a while and this conditions happen.20:46
alecuI guess we were lucky I that assert was there, because it would be a hard thing to find out otherwise.20:47
alecunessita, I'm pretty sure the timer is there for some reason, I recall chatting with him about that.20:47
nessitaalecu: have logs? :-)20:47
alecucan't find anything interesting on the logs :/21:02
alecunessita, I found out why the timers are there and I think I found the problem as well.21:10
nessitaalecu: shoot (I have a little lag since I'm debugging dc with CardinalFang)21:10
alecunessita, we have that timer because there are times that downloads are not scheduled all together21:10
alecunessita, for instance, you have 100 files to download, but only two are scheduled by sd, then when they complete a "queue done" happens and two more are queued for download21:11
alecunessita, so that's why the timer is there.21:11
alecuthe problem is that when a new download (or upload) arrives, if the timer is active it is reset (ie, it will still fire, but later), but it should be stopped instead till the new queue_done is done.21:12
alecuso I'm trying to do a testcase for this.21:13
nessitaalecu: I m processing that info now21:13
alecudon't worry.21:13
ryedobey, testing why gsd does not create the bookmark, btw, I noticed it has its own timeout to start syncdaemon, why?21:42
alecudobey, nessita: made a fix for the AssertionError that nessita found. Is it too late to review and land? https://code.launchpad.net/~alecu/ubuntuone-client/zero-steps/+merge/5739221:45
* nessita reviews21:45
ryedobey, heh, the bookmark is not created because the signal credentials_found is never issued21:49
ryeor if it is issued, it is doing that before gsd initializes its syncdaemon21:50
ryenessita, ping21:52
nessitarye: pong21:52
ryenessita, is CredentialsFound signal used now at all?21:52
nessitarye: heavily used, why?21:53
ryenessita, in syncdaemon, not SSO -  I see it is supposed to emit CredentialsFound21:53
nessitaalecu: looks clean and clear, running tests now21:53
nessitarye: syncdaemon uses CredentialsFound from the ubuntuone.credentials service21:53
ryenessita, ah, it listens to CredentialsFound and then runs its own method with the same name21:54
nessitayes21:54
nessitarye: it filters the event that may be for other apps21:54
ryenessita, ok, thanks, sorry for confusion21:54
nessitano problem :-)21:54
nessitaalecu: I'm running tests, when done I'll approve, I need to close pidgin to test how syncdaemon handles something21:56
alecunessita, thanks21:56
* nessita is back22:00
=== jdobrien is now known as webm0nk3y
alecurye, afaict the CredentialsFound DBus signal is sent by ubuntu-sso-client, and handled by the gsd-plugin.22:02
alecurye, syncdaemon should be already started when this happens, in order for the credentials to be searched for, but syncdaemon takes no part in that.22:03
alecu(other than asking sso for the credentials)22:03
alecunessita, are we doing another release of u1-client today?22:04
ryealecu, but sd starts after 30 seconds and gsd starts after 30 seconds22:04
alecuso I can try to get another review on that branch.22:04
ryealecu, to put it simply, the credentials_found is not called on current Natty, therefore no bookmark22:04
alecurye, I'm looking into it further. Do we have a bug for this?22:05
ryealecu, filing one22:06
ryealecu, i just created a second account on my machine and added it to my ubuntuone22:06
nessitaalecu: I don't know, we need dobey for that (may be a good idea)22:06
mandelcool, the sprint started22:08
* alecu is taking a diaper break. It smells of biohazard around here.22:09
* mandel hopes that alecu is talking about a baby….22:11
ryealecu, bug #75919722:11
ubot4Launchpad bug 759197 in ubuntuone-client (Ubuntu) (and 1 other project) "[natty] Ubuntu One Folder bookmark is not created (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/75919722:11
nessitadobey: ping22:15
mandelralsina: ping22:18
ryenessita, i knwo what, we can drop the urgency for the icon when control panel is brought via a click on any of the shares :) if that is supported and I find out where it is I suppose I can make a patch22:18
ryeping: ping22:19
* rye goes eod, and will do first baby steps in gtk early tomorrow22:21
nessitarye: tomorrow ping me, I will try to walk you through22:24
* nessita brbs22:24
alecumandel, still around?22:34
alecumandel, ralsina: in case you are still around... can I beg you guys for a review? https://code.launchpad.net/~alecu/ubuntuone-client/zero-steps/+merge/5739222:34
alecuoh, don't worry, it seems that I got the two reviews already :P22:34
alecusorry22:37
mandelalecu: ok, no worries :)22:43
mandelalecu: how was santiago segura?22:43
mandelas dirty as usual?22:43
alecumandel, it was genius22:48
alecumandel, there were even a few fans that were a bit slow, and he made fun of them to the delight of us all :-)22:49
mandelhahaha22:50
mandelhe is a bastard, I prefer him in person than on the torrente movies22:50
dobeynessita: what's up?23:32
nessitadobey: alecu was wondering if we could make another release for u1client23:35
nessitadobey: he fixed an important issue, and I also think that facundobatista fixed a Critical23:35
nessitadobey: and next question, is tarmac running for u1client? https://code.launchpad.net/~alecu/ubuntuone-client/zero-steps/+merge/57392 doesn't seem to land23:37
dobeyyes it is23:38
dobeya failed test broke the tarmac tree because something leaves non-ascii files around23:38
nessitadobey: ah, I remember that :-/23:39
dobeynessita: and i think the archive is frozen right now for making the CD23:39
nessitadobey: it is, but we can propose the release the same, I think, it will land when the repo is unfrozen (at least that is what seb said :-))23:40
* nessita goes to cook some dinner23:41
alecunessita, are you still around?23:58

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