[09:53] morning [09:57] morning everyone! [10:40] mandel: morning! [10:40] Chipaca: morning :) [11:08] * fagan break [11:49] * fagan back [11:54] morning all [11:58] duanedesign: hey [12:00] holy crap next door is giving me a big headache [12:00] it sounds like they are drilling for oil [12:02] * fagan closed all the windows and turned up music loud and it still comes through [12:07] Im going to need to take a walk before my head explodes [12:11] :( [12:22] ok back and I think i know whats been stumping me [12:22] they are still drilling for oil next door though [12:23] oh and now a dog starts barking to add to the whole wonderful music of the noise [12:26] ohh goodness [12:27] duanedesign: its getting to the point where im thinking of heading to the pub instead of working for the day :) [12:27] :) [12:28] * fagan calls the swap day gods [12:29] I was kidding about the pub but im thinking of escaping to my brothers house or my dads [12:30] yeah that sounds intolerable [12:31] * mandel walking dog [12:55] I have a problem syncing a folder. It's on the web, but not on my desktop. [12:56] Log says this: 2011-06-15 13:52:29,610 - ubuntuone.SyncDaemon.MuteFilter - DEBUG - Blocking FS_DIR_CREATE {'path': '/home/jeroen/Documenten/Foldername'} (2 left) [12:56] rye: ^ [12:56] I altered the "foldername" [12:56] jeroen-, could you please check that it appears and is checked in the cloud folders panel of ubuntuone-control-panel ? [12:56] The two other "left" are the same, but two subfolders [12:57] rye: yes the folder '/home/jeroen/Documenten is checked. I had this error when I unchecked and rechecked the folder in the control panel [12:58] it says all is synced, but not this important subfolder [12:58] jeroen-, okay, could you please run "u1sdtool --info /home/jeroen/Documenten/Foldername" in the terminal - does it work? [12:59] rye: yes [13:00] I have output [13:02] jeroen-, could you please run the same for some file inside that directory? [13:07] morning rye [13:07] duanedesign, morning! [13:09] rye: when you are getting 'failure: UPLOAD_CORRUPT'..."'hash_eq_server_hash': 'F'" what to do to resolve the differing hashes? [13:10] duanedesign, is this on 11.04 ? [13:11] rye: yes [13:11] duanedesign, frankly speaking i can't find any other way except to remove the offending file from the server side (backing up the local one) and then reupload [13:11] facundobatista, ^ [13:11] duanedesign, what is the createor of the file? [13:12] their looks to be quite a few, https://launchpadlibrarian.net/73481619/syncdaemon.log [13:15] mandel, ping [13:17] alecu: hes walking the dog [13:17] probably not back yet [13:17] cool [13:17] Wow my brains are on the floor today [13:18] fagan, so, how's your branch coming? any progress on the list of items we wrote? [13:18] alecu: I was looking at it and playing about and breaking it lots but I cant do anything today [13:19] next door are making a lot of noise im waiting for ralsina to ok me abandoning work today [13:20] rye: it has no file. It only has tow subdirectories and the rest is empty, the same as on my desktop [13:20] fagan, ralsina is not coming today. [13:20] rye: the are much more subdirs [13:20] fagan, take the day off, and swap it for some other, or mark it as a sick day. [13:20] alecu: ah god so who do I ask to get off [13:21] ah ok [13:21] rye: but they are on the web - if I could download a whole folder structure I was happy [13:21] well I do have a blazing headache so it does count as sick ish [13:21] so im going to run out the door to the nearest quiet place [13:22] rye: what the ....!!! now those filers and folders are also gone on the web! [13:22] now I loose data!! [13:23] * fagan EOD [13:25] where can I sue Ubuntu for loosing my files? [13:27] duanedesign, which is the size of the file? [13:27] alecu: internet is flaking out here, *and* I have a repair guy coming out at 9 (standup o'clock), so if I'm not there, here's my standup: [13:27] jeroen-, could you please check whether the files are in your Trash folder? [13:27] jeroen-, are you running 11.04 ? [13:27] DONE: bug #797176, packaging couchdb server patch, reviews [13:27] thisfred: Bug 797176 on http://launchpad.net/bugs/797176 is private [13:28] TODO: maybe package new server patch for couch, whatever else anyone needs, open bugs [13:28] BLOCKED: no [13:28] thisfred, cool, thanks. [13:28] thank you! [13:29] gonna try rebooting to see if that helps, but I suspect it' [13:30] s bloody comcast again [13:33] rye: yes I do [13:33] rye: they are not in my trash folder [13:34] * mandel back [13:34] facundobatista: their are more then one. The first one in the log is size='27270040' [13:35] duanedesign, are all of them > 25MB? there's a known issue with resumable uploads and persistent corruption in the upload [13:35] jeroen-, upon folder/file removal syncdaemon is moving the files to the trash folder so the folders may be there containing the files [13:36] duanedesign, AFAIK, verterok is working on a branch that will allow a new upload don't stay dirty because of the previous one [13:36] facundobatista, oh, so my .iso file upload has not yet completed still [13:37] jeroen-, when was the last time you saw these files online? [13:37] facundobatista: it looks like they are all >25mb....i'll look through the entire log to be positive [13:39] mandel, ping [13:40] alecu: pong [13:42] mandel, any ideas on how to make this compile? [13:42] http://pastebin.ubuntu.com/627294/ [13:43] mandel, also, regarding this merge proposal: https://code.launchpad.net/~mandel/txnamedpipes/add_qt_integration/+merge/61923 [13:43] alecu: which c++ compiler do you have? [13:43] mandel, the one that's mentioned in the wiki [13:43] mandel, the express edition of vs2008 [13:44] alecu: hmm weird.. I've had no issues with it, let me look closer [13:44] rye: I saw the files before I unchecked the Documents folder and rechecked it again in the UO control panel [13:44] jeroen-, ok [13:44] mandel, hmmm... perhaps it's because I've never even ran it. [13:44] rye: I saw the files online, not on my disk [13:44] jeroen-, could you please archive the logs from ~/.cache/ubuntuone/log now and send them to ubuntuone-support@canonical.com ? [13:45] mandel, I've just started it, and it says "configuring the environ for the first time".... [13:45] let me check again,. [13:45] alecu: could be, it does something about setting the env the first time. [13:45] alecu: :P [13:45] jeroen-, were these files uploaded from another computer (i.e. they were not originally on this computer)? [13:45] rye: is there not to much private infomation in those logs? [13:45] jeroen-, there are filenames there [13:45] jeroen-, they may be sensitive, yes... hmmm [13:46] facundobatista, do you have any way of reliable log screening? [13:46] rye, what do you mean with "log screening"? [13:46] rye: that last question: can't remember [13:46] jeroen-, ah, sorry, the files will not be in trash because they were not locally [13:46] I will check my laptop, one moment please [13:46] oh wait [13:47] I never used ubuhnto one on my laptop [13:47] only desktop [13:47] facundobatista, say we are investigating something but don't care about the filenames, do we have some way of filtering the output to replace the filenames only [13:47] jeroen-, um, have you reinstalled your machine? [13:47] mandel, another thing: in the following branch, nessita says we are missing tests for the qt.py file: https://code.launchpad.net/~mandel/txnamedpipes/add_qt_integration/+merge/61923 [13:47] mandel, do you want me to help making those tests? [13:49] rye, I never do that, sorry [13:49] fagan: laptops are portable, fyi. [13:49] rye: no i didnt reinstall, but I reinstalled ubuntu one [13:50] jeroen-, so, the folder locally suddenly started missing these files but they still were present online, is that correct? [13:50] alecu: I'm writing some of them, but I've stumbled with a problem, whihc you might be able to help :) [13:50] jeroen-, any special steps for ubuntuone reinstallation? [13:50] rye: correct [13:51] jeroen-, the log files should be interesting [13:51] rye: only I can remember is I did a --purge as always and the rreinstall was not done on the same day [13:51] alecu: it seems that trial does not like that http://bazaar.launchpad.net/~mandel/txnamedpipes/add_qt_integration/view/head:/txnamedpipes/iocpsupportpipe/iocpsupportpipe.pyx is ompiled and present in the current dir when running the tests [13:51] jeroen-, nothing was done to ~/.local/share/ubuntuone/syncdaemon, right? [13:51] I also removed the old log files and config files [13:51] alecu: it gives an import error, but it you install it and run it from a diff path it works... [13:51] to start over again [13:51] to see if that solved the problem === m_conley_away is now known as m_conley [13:52] jeroen-, was ~/.local/share/ubuntuone/syncdaemon removed too? [13:52] rye: yes I think so. i did a find . | grep ubuntuone [13:53] rye: one moment I have to do another priority [13:55] jeroen-, uh, that was a metadata folder [13:55] alecu: did it compile? [13:55] verterok, how about creating README file in metadata directory with "Do not remove this directory" message? [13:56] mandel, not yet. I started VS, closed it, restarted a cmd.exe and now it says it can't find zope.interface. I installed it (again, I think), and now it's giving the same compilation issue. [13:57] mandel, so I'm restarting the windows vm, since this usually unbreaks every issue :P [13:57] alecu: take a look if the ocmpiler was added in your cmd path [13:57] alecu: maybe the issue is that it cannot find the path of the compiler [14:00] me [14:00] rye: i don't think that will help really [14:01] no stand up? [14:02] dobey, true [14:02] rye: 2011-04-03 19:44 fsm < can I assume with this info that this folder was not deletes? [14:02] d [14:02] mandel: dunno. ralsina not here. fagan ran off. [14:03] oh! I have to have lunch (spanish time) [14:03] and nessita is not here too... [14:03] jeroen-, not really, fsm is "file system metadata", it is recreated next time you start ubuntuone, at this point i am not sure about the state of the account [14:04] jeroen-, could you please run "u1sdtool --waiting | wc -l" now? [14:05] mandel, the compiler was not added to my path, and the vcvarsall.bat was not created right. I'll try reinstalling vs2008 [14:05] output is 0 [14:05] jeroen-, okay [14:05] rye: output is 0 [14:05] facundobatista: do you know if their is a bug report on the 'resumable uploads and persistent corruption in the upload'? [14:05] duanedesign, nop... we can ask verterok when he's back [14:06] alecu: that vs2008 thing is crap... [14:06] alecu: do you know when is nessita getting here? do we have stand up? [14:06] jeroen-, i have ran the recovery, used bytes counter stayed the same, could you please check whether you have "Recovered" folder in Documenten folder? [14:06] mandel, nessita is starting in three hours, I think. [14:07] jeroen-, is Documenten UDF folder listed online? [14:07] mandel, but we should have the standup anyway. [14:07] rye: local or online? [14:07] jeroen-, online [14:07] mandel, thisfred sent his standup notes. [14:07] alecu, dobey, min-stand up then [14:07] rye: yes there is a Recovered folder [14:07] me [14:08] right, nessita is at uni this morning [14:08] me (as thisfred) [14:08] jeroen-, was the UDF "Documenten", "Studie (archief)" or "Jaar 1" ? [14:08] me [14:08] me (as alecu) [14:08] rye: allthough there is not much in it - only one of the subdirs (Jaar 1/Blok 1) [14:08] jeroen-, is there anything in Recovered folder? [14:09] rye: Jaar 1 [14:09] there are many subfolders in it [14:09] DONE: More work on SDTool for windows. I was stuck with some tests not passing and I'm behind of what I expected. Looked at the add_qt _support for txnamedpipes, it looks like trial does not like to load the code compiled which is weird. All pending branches to land in u1client have been landed, hurray! [14:09] TODO: Update the bugs to add the missing SD tool one and link it with the branch. PAsk for a re-review and fix txnamedpipes qt integration tests. [14:09] BLOCKED: no. [14:09] alecu (thisfred) go [14:09] Blok 1, Blok 2, etc [14:09] DONE: bug #797176, packaging couchdb server patch, reviews [14:09] alecu: Bug 797176 on http://launchpad.net/bugs/797176 is private [14:09] TODO: maybe package new server patch for couch, whatever else anyone needs, open bugs [14:09] BLOCKED: no [14:09] NEXT: dobey [14:10] Cimi: the diff shown on lp doesn't get updated automatically when the target changes, iircλ DONE: sprint, workaround to unblock u1client (worked on swap day) [14:10] λ TODO: pick another day to not work, expenses, fix broken stuff [14:10] λ BLCK: None. [14:10] alecu :) [14:10] dobey, there's something weird on your first line of the standup, perhaps for another channel. [14:11] facundobatista: thank you. I am making a note to ask verterok. Do you know when he will be back? [14:11] jeroen-, what was the problem you tried to solve in the first place? [14:12] rye: to get this folder 'jaar 1' and all its contents back - it was gone locally somehow, but still online [14:12] never deleted it or moved it [14:12] alecu: thx, repair man's come and gone [14:12] duanedesign, today or tomorrow... but only if the volcano ashes allow him [14:13] although, cant remember doing so [14:13] jeroen-, could you please double-check the Trash folder? is it completely empty too? [14:15] rye: he local trash is not empty - there are other deleted files in there, from other folders [14:15] alecu: very weird [14:17] DONE: winport meeting, sorted winport bugs, many reviews, worked on getting txnamedpipes running on my vm [14:17] TODO: winport: help mandel with tests for qt+txnamedpipes [14:17] BLOCKED: no [14:17] jeroen-, could you please do a quick find ~/.local/share/Trash -name '*Blok*' ? [14:18] rye: did it, but nothing [14:19] rye: remember those Blok* folders and such where there for months [14:19] jeroen-, is Documents folder completely empty now? [14:19] rye: no [14:20] rye: I moved some folders out of it, because I hitted the 2 GB [14:22] could you please archive the logs and send them to ubuntuone-support@canonical.com still, it will be a bit faster then [14:23] jeroen-, when did you update to 11.04 ? [14:23] rye: when it came out [14:24] rye: OK, I will [14:24] jeroen-, and when did you notice the files went missing? [14:24] ugh [14:25] edge: /admin/ OperationalError: fe_sendauth: no password supplied [14:25] mandel: grr, one of your branches landed, that had changes from another proposal, but it didn't have the prerequesite set :( [14:26] rye: must be a few weeks or a month ago, but I disdnt had time to solved it before [14:27] jeroen-, can you confirm that the files (not folders) were indeed present in online storage recently? [14:29] rye: yes I can confirm that this morning (EU-time) they were present [14:29] cause I tried to see if I could download the folder at once [14:29] I also tried to share the folder, but this was no resolution [14:30] rye: mail is sent wit all contecnt of /home/jeroen/.cache/ubuntuone/log [14:30] jeroen-, ok, that is promising, let me have a look at the logs [14:32] dobey: what do you mean? [14:34] mandel: your use_txnamedpips branch for u1client, it got merged, but was never reviewed with its own proposal, which existed. instead another of your branches included those changes, it seems; but it didn't have a prerequisite on use_txnamedpipes [14:34] dobey: oh bullockS! [14:35] mandel: :) [14:35] dobey: lets revert, reviw and merge, ok? [14:36] mandel: well i presume the changes did get reviewed in the branch that merged; so i'm not fussed about doing all that. it's just annoying to see it. just set prerequisite correctly in future :) [14:38] dobey: I usually do, it split [14:41] mandel: can you review https://code.launchpad.net/~facundo/ubuntuone-client/waiting-send-id/+merge/63979 please? there is a pending review requested of you :) [14:42] dobey: I needed the other branch to land to give the green light :) [14:42] on it [14:42] ah ok [14:44] dobey, I approved the branch [14:45] what is SV_DIR_NEW - is it from inotify or server-side? [14:45] facundobatista: approved what branch? [14:45] oh your branch, ok [14:48] rye, SV means "server side" [14:48] rye, from the File System you'd get a FS_DIR_CREATE or something === zyga is now known as zyga-food [15:06] jeroen-, can you give at least one example of the filename from that directory? (privately if you prefer) - i can't find anything related to Jaar 1 except an OpenOffice/LibreOffice lock file === zyga-food is now known as zyga-afk [15:38] oh bother [15:39] mandel: grr, that branch i mentioned earlier, did break other stuff. was it branched off a really really old version of trunk or something? :( [15:40] mandel: provide_windows_vm_helper broke stuff, that is :( [15:41] dobey: it should not, fuck.. lets revert and take a look [15:42] dobey: you propose the revert and I'll give you the +1 [15:42] mandel: there are things added back in nautilus/gsd plug-ins, which i'm sure you didn't manually touch yourself :) [15:43] dobey: yes, I'm sure I did not touch that... [15:46] pushing now [15:52] mandel: https://code.launchpad.net/~dobey/ubuntuone-client/revert-999/+merge/64698 [15:58] ugh, and other spurious bad things in there. boo :( [16:07] ok, i am eoding for now, will return back and continue with udfs, restoring etc [16:08] mandel: uh [16:08] where is my +1! [16:16] bah, i'm going to lunch. bbiab :) [16:17] dobey: reviewing :) [16:17] alecu: https://code.launchpad.net/~dobey/ubuntuone-client/revert-999/+merge/64698 [16:18] looking [17:01] dobey, mandel: revert approved. [17:01] alecu: thx! [17:02] mandel, the only bit different between revisions is this: [17:02] === renamed file 'gsd-plugin/test-send-signal.py' => 'bin/test-send-signal.py' [17:02] mandel, did your branch do that bit? [17:02] alecu: I'm taking a look, that branch was approved soooo long ago that anything might have happened [17:02] alecu: I'll compare agains trunk to make sense of it [17:03] mandel, yes, it's on 999 [17:03] http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-client/trunk/revision/999 [17:05] dobey: what was readded exactly? was it just that ^ [17:15] * mandel walking dog will be back soon [17:20] alecu: no, i did that [17:23] huh! hear that? [17:24] it's the wind! [17:24] hear what it's saying? [17:24] plaaaaatfooorm spriiiint [17:24] duuuublinnn [17:32] what i heard was "groooooooaaannnn" [17:33] :) [17:35] dobey: yeah [17:36] dobey: the idea of telling people to go kills me, so I'm not gonna [17:37] i like dublin, i do. but quoth the overweight redneck next to me on the plane from LHR->ATL… "my butt's wore out" [17:37] * dobey waits for mandel to chime in [17:40] dobey: exactly my point, there [17:40] dobey: my point is butts [17:42] and last week, ralsina mentioned the possibility of another desktop+ sprint in BA soonish [17:43] but i guess between that and dublin, i'd probably end up being Gold Medallion on DL [17:57] mandel, ping [17:57] mandel, VS2008 is not working for me. What if you upload the .dll or .pyd to bzr? [18:02] dobey: I'm here, tell me [18:03] alecu: may I know the error ? [18:03] pastebin would be nice [18:03] * Chipaca looks around for a nessita [18:03] mandel: tell you what? i was just waiting for you to make a bad joke :) [18:04] mandel, I've reinstalled everything, but it still can't find the .bat files with the env variables for the compiler [18:04] mandel, I've started digging into the distutils code that starts the compiler... [18:04] dobey: dammed I missed the oportunity [18:05] dobey: one question, what was added by the merge that you said should not be present? [18:05] mandel, but I figured it would be better if we include the .pyd or .dll that is generated in the txnamedpipes repo. [18:05] hello everyone! [18:05] nessita: OHAI [18:05] dobey: I'm taking a look at the branch again to ensure it does not happen again [18:05] mandel, alecu: I'm ready when you are (re: mumble) [18:05] alecu: do you think so? what happens if someone is using x64 [18:06] mandel, we won't be distributing a x64 binary. Not yet at least. [18:06] mandel: there were lots of things. some changes to the C code. merge trunk into your branch, commit it, and then make a diff from trunk and see what all is in it [18:06] dobey: ok, so its mostly C code, right? [18:07] nessita: I'm booting mumble [18:07] starting, you do not boot software [18:07] mandel, and anyway, making vs2008 a dependency is too much only for compiling this .c file in txnamedpipes. [18:07] alecu: how did you install pykeyring? [18:07] 'cause there you have the same issue [18:07] mandel: well, the C is what I noticed, because it broke the nightlies building; but there were also a couple places where you commented out a line of code, or whitespace got added to the end of the line for some reason. it was weird [18:08] mandel: and i think fagan and ralsina just ran tests, and didn't actually look at the code maybe, or something :( [18:08] mandel, I haven't installed pykeyring yet. But the same argument could apply. [18:08] dobey: O_o [18:08] dobey: ok, I'll take a closer look, maybe something in that old branch is terribly bad [18:11] mandel: well the branch is a month old, so maybe merging in trunk will get things back to par [18:12] dobey: yes, I hope that is the only thing... [18:12] mandel: probably some conflicts. request me as a reviewer when you re-propose the branch again :) [18:13] nessita: hrmm, for mterry's branch i'm inclined to say it should have more tests, but i also am looking at the tests code, and think it could use some refactoring, for that specific set of tests [18:20] dobey: sorry, I'm in call. What mterry's branch? [18:20] nessita: the nm 0.9 status stuff [18:21] dobey: have a link? [18:21] https://code.launchpad.net/~mterry/ubuntu-sso-client/nm0.9/+merge/63869 [18:35] dobey: can you please re-review https://code.launchpad.net/~nataliabidart/ubuntuone-client/tool-no-params/+merge/64610 ? [18:35] dobey: and regarding mterry's branch, yes, it definitely needs more tests. Whether we ask him to refactor the test or not, seems to me like there is no needs to ask him to do that. I would like alecu's reviewing that branch though. [18:37] +1 on yours [18:37] nessita: i wouldn't ask him to refactor it. but i'm a bit hesitant to ask him to add more tests that we then need to refactor as well [18:38] nessita: should we refactor first perhaps then? [18:43] mandel, so, I'm definitely getting the same issues on pykeyring, as per the link I pasted on mumble: http://pastebin.ubuntu.com/627493/ [18:44] alecu: do you have any other vs version installed? [18:44] mandel, absolutely no. [18:45] alecu: I wonder what is going on… check that the batch that i not found is missing, it might be the case that it uses %PATH% to find the batch and is not there [18:45] mandel, doh, it seems to be a known issue: http://bugs.python.org/issue7511 [18:49] dobey: I would say yes, currently we have no resources to do so. My opinion is to add more tests even if need refactor, since I prefer the test correcteness on top of nice code (though both are important) [18:52] nessita: the tests in question are very few, and refactoring is pretty easy. i'll make a branch for that, and we can ask mterry to update his branch after it lands, then? [18:52] dobey: that sounds great [18:52] dobey: ping me for reviews! [18:53] will do [18:58] mandel: I haven't received your email yet (re daily report). Did it leave your "outbox" :-)? [18:59] nessita: seems like it, is not longer here [19:00] * mandel moving to a diff room will be back in a sec [19:00] mandel: can you please re-send? [19:10] mandel: can you please re-send? [19:10] nessita: yes, right away [19:10] thanks! [19:10] alecu: can I send you the binaries by mail and you upload them to the canonical server, it seems I'm too stupid to do that [19:11] mandel, please do. thanks. [19:11] alecu: it is the txnamedpipes dependecy and pykeyring, right? [19:12] mandel, at least those two, yes. I don't know yet if I'm missing another [19:12] alecu: I dont think so [19:27] alecu: can you confirm you have gotten my email with the binaries? [19:27] alecu: I just zipped the full package that I have installed in my system [19:29] mandel, got the email. It's just one keyring.zip, with no binaries at all inside of it. [19:29] alecu: really? let me try again [19:29] * mandel wonders what 7zip does when you tell it to zip [19:32] does anyone run nvidia cards in here? [19:33] i messed up my machine so bad it won't boot normally i finally got it to boot in failsafe mode [19:34] alecu: the keyring pagkage should work, can you try it? [19:35] alecu: and you did not get a txnamedpipes.zip too? I've sent it again [19:35] mandel, no txnamedpipes on the first mail, but it's on the second. [19:35] lemme check it. [19:36] alecu: is the same foward… wtf?! [19:36] mandel, wtf! it seems my thunderbird is acting up. [19:37] mandel, I just clicked again on the first message, and it now shows the second attachment :P [19:37] well, as long as it is there, who cares :) [19:38] GalahadForce: I think you need to ask ubuntu specific support questions in #ubuntu :-) [19:39] dobey: look! a u1devtools branch! https://code.launchpad.net/~nataliabidart/ubuntuone-dev-tools/remove-signal-receivers/+merge/64730 [19:46] dobey: ping [19:46] mandel: hi [19:47] nessita: there was a bunch of other code to do that before, but i'm not sure it was actually ever working right, and i'm not sure it's needed, as flush/close should drop them all anyway [19:48] dobey: I think is good practice to remove the receivers, and I does not make any harm. [19:48] dobey: I'm working on the branch that broke nightlies, will be testing on natty if everything is ok, will you have time t take a look later? [19:48] mandel, ping [19:49] alecu: pong [19:49] mandel, I just met the same error you were having, and I think I found a solution [19:49] nessita: i would normally agree, but complexity adds more places for things to break [19:49] alecu: really !!! [19:49] * mandel jumps [19:49] mandel: yes, just let me know when it's ready :) [19:49] dobey: you think this is more complex? [19:49] dobey: th [19:49] x [19:50] mandel, when I tried to run the tests in the add_qt_integration branch it said something like "exceptions.ImportError: cannot import name iocpsupportpipe" [19:50] mandel, was that the error? [19:50] alecu: yes, that is the issue I have [19:50] mandel, I fixed it by renaming the folder named iocpsupportpipe, and copying the iocpsupportpipe.pyd there instead. [19:50] alecu: what do you mean? [19:51] mandel, "cd txnamedpipes; ren iocpsupportpipe iocpsupportpipe.ok; copy c:\iocpsupportpipe.pyd ." [19:52] dobey: what I also considered was: for debugging the InvalidSessionBla exception we have right commented out, is ideal to add some check at tearDown time than all the connections are closed before flushing (even if we flush, I think is good to have the tests doing proper cleanup) [19:52] right now* [19:52] (I'm not typing very well today :-/) [19:52] alecu: hm… can you propose a branch with the required changes in the tree so that we can have that landing in trunk [19:52] dobey: so this removal is needed to ensure all the signal matchers are cleanedup [19:53] alecu: then I'll finish the test and we can approve that and move on [19:53] mandel, sure, I'll try. [19:53] sweet [19:54] nessita: i think the code that was there before was probably complex for a reason, but that reason is currently long forgotten [19:55] dobey: I think I know what the code looked like, and I think it was there becasue of lack of knowledge of dbus. That code removed the signal receivers using some complex signal_receiver_remove function that takes several params. This code is analogue but simpler. [19:57] nessita: and the number of signal receivers doesn't have anything to do with the connection itself. one connection with 5000 signal receivers is still one connection. so i am a bit unsure of whether or not there is actually any benefit to doing this. [19:57] mandel, wait. This error is also happening on txnamedpipes trunk [19:57] mandel, can you push your branch with the changes? I'll try looking directly at it [19:57] * your branch with the tests for the qt.py module [19:58] dobey: actually no, each signal receiver count as a separate connection (at least inside list_names), I checked this by testing with and without [19:58] dobey: the benefit is, at least, cleaner code [19:59] alecu: which changes you want me to push? [20:02] mandel, sorry, no changes. I meant "branch with the *tests* for the qt.py module" [20:03] alecu: ok, give me 10 min I need to sort out something in u1-client first [20:03] sure [20:03] * alecu will be back in 10' [20:06] nessita: not urgent, but when you demoed magicicada I noticed the per file progress indicators (right? Or did I dream that?) I wonder where they get their data from and how, and if we can use that for to make the progress bar smarter (so that it doesn't flip from 0% to 100% all at once for a single big file for instance) [20:06] Also it turns out that the magicicada are having their cycle this year! http://www.magicicada.org/magicicada_xix.php [20:07] thisfred: there is no espcific signal from syncdaemon to the world, you need instead pool syncdaemon for upload/download transfer progress :-( [20:07] thisfred: LOL [20:07] nessita: ah, well maybe we can switch to that then, and just update every 10 seconds or so [20:07] nessita: well i think there is an internal event, which is what the progressbar/aggregator bits use, iirc [20:08] dobey: that's just acting on queue length though, and we need more fine grained info [20:08] dobey: I think that is the SYS_QUEUE_ADDED/SYS_QUEUE_REMOVED, and does not report progress. But maybe I'm wrong? [20:08] nessita: no you're right [20:08] nessita: that's what they're currently using, yes [20:08] dobey: yes, I think thisfred was asking about upload progress for a given file [20:09] nessita: but i thought there was another internal thing that had bytes_transferred or something too [20:09] * thisfred digs [20:09] dobey: not that I know of [20:09] but maybe? thisfred, let me know! [20:09] nessita, alecu: tonight there is a lunar eclipse at 9:30 − 10:15 in spains time and I will go away fro some time to take some picts, I ope you don't mind [20:09] mandel: I do mind. [20:09] since we won't be able to see it from here :-P [20:09] nessita: well, internal, and thus not on dbus, which is why magicicada can't use it :) [20:10] nessita: I'll send you the picts ;) [20:10] nessita: meanwhile… https://code.launchpad.net/~dobey/ubuntu-sso-client/rf-nm-tests/+merge/64737 :) [20:11] dobey: did we reach any consensus re the devtools branch? [20:11] looking at the ussoc branch now [20:11] nessita: curious, which IDE do you guys prefer? [20:12] hum, hot topis [20:12] Uber_Geek: each one uses a different one, most likely [20:12] nessita: no, but i will look deaper into it [20:12] I use the best of all IDEs: Midnight commander :-D [20:12] Uber_Geek: i would prefer the one i haven't written yet, but i use emacs + terminal to develop with [20:14] so no real IDE's just a text editor and a file manager. lol awesome [20:14] IDEs are for sissies :-P [20:15] emacs is an IDE [20:16] it also does e-mail, calendaring, contacts, web browsing, gaming, and irc [20:16] * mandel on the roof taking picts [20:17] nessita: i didn't know you were manuel [20:17] dobey: the name "get_proxy" may indicate that the method returns, oh surprise, a proxy :-). Could you please rename it to something like "create_proxy", "init_proxy", etc? [20:17] dobey: I didn't get the me being manuel joke [20:18] oh sure. i named it expecting i needed to return one, but after implementing i didn't need to :) [20:18] 57+# Author: Natalia B. Bidart nessita: ^^ in devtools branch :P [20:18] lol [20:18] bad copy and paste [20:18] :D [20:18] * nessita fixes [20:20] nessita: get_proxy->connect_proxy change pushed [20:21] dobey: great, me returning to my original personality is in place as well [20:22] power went out, did you see my msg about the progress events? [20:22] thisfred: can you repeat please, JIC? [20:22] nessita: dobey: there is an AQ_UPLOAD_FILE_PROGRESS event. I wonder how often that fires [20:22] TRANSFER_PROGRESS_THRESHOLD = 64*1024*1024 [20:22] so every 64 k [20:22] yum [20:22] same for downloads [20:23] the progress bar will need a little work, but it's cool if we can use that [20:23] thisfred: you can ceratinly use that, and we (in magicicada) may wanna evaluate moving that to dbus (though it may be too overheading) [20:23] yeah, that's a lot of events [20:23] potentially [20:26] dobey: approved === zyga-afk is now known as zyga [20:31] nessita, thisfred: that sounds like a message to aggregate, and push thru dbus no more than once per second, or so. [20:32] right [20:34] I wonder what all listens to that. If nothing else is, we can also up the threshold by a lot [20:35] although 64k is not that bad [20:35] well, there are cases where 64K will take longer than 1 second [20:38] which is fine [20:39] no progress is also news [20:39] :) [20:39] I'll just use it as is, and we can see if and where we need aggregation [20:40] thisfred: and it doesn't solve the problem if you stick in one files that's <= 64K :) [20:40] true, but that would be text files, which are only for geeks ;) [20:41] and unless you have a very slow connection, it does not really matter since the bar won't sit at 0 forever [20:58] my connection was horribly slow last night :( [20:58] but back to normal now [20:59] dobey, horribly slow would be approximately as "normal in Argentina", right? [21:00] facundobatista: it was slower than the hotel in argentina even :( [21:00] wow [21:00] dobey: you should know that when inheriting from 2 classes, when one is old style, calling super will not call both parent (just checked it). So I'm changing DBusTwistedTestCase so both parents are called [21:01] nessita: huh? then why was that code working yesterday when i did that? [21:01] dobey: becasue we removed the check, and the DBusTwistedTestCase was creating its own self.bus [21:02] dobey: if you remove the self.bus creation, assuming that you have one from your parent, boom, no self.bus [21:02] nessita: so which parent does it call then? [21:02] dobey: the first one in the inheritance declaration [21:03] please don't not call super() [21:03] in this case, the BaseTwistedBlad [21:03] nessita: but only if the first one is old style is that the case? [21:03] nessita: swap the inheritence declaration then [21:04] dobey: both parents are old syle, and that does not work [21:04] or well, i swapped them yesterday, when fixing the other issue we had, to unblock the branch landing [21:04] we need to do: [21:04] + yield DBusTestCase.tearDown(self) [21:04] + BaseTwistedTestCase.setUp(self) [21:04] eh? it was working just fine yesterday [21:04] otherwise the tests would have failed [21:04] dobey: nopes, please read me for a bit :-) [21:05] dobey: before your change, the DBusTwistedTestCase was calling the 2 parents explicitely. After your change, DBusTestCase was not longer called, but the test were passing since DBusTwistedTestCase was doing a lot of stuff by his own (duplicating code from the DBusTestCase parent) [21:05] dobey: the solution is *not using* super, in this case [21:06] dobey: super() should not be used for old style classes parents [21:06] (if there is more than one) [21:06] not calling super() is the wrong fix i think [21:07] dobey: not in this case. Why you think is wrong? [21:11] nessita: because of http://fuhm.net/super-harmful/ [21:11] "...But it's okay if they're oldstyle classes" [21:12] "Subclasses must use super if their superclasses do" [21:12] dobey: you can try this by your own instead of arguing :-) not both setUp's are called using super() [21:12] and we need both [21:13] super should call both. if it's not then we need to fix that problem, not workaround it by not using super, i think [21:13] tcole: is that correct? or am i totally confused with this twisted/super/testing insanity again? [21:14] dobey: I will not fight this battle. Until you fix super(), I think we need to call both explicitly :-) [21:14] dobey: please run this http://pastebin.ubuntu.com/627603/ [21:15] as you can see, no matter the order of the inheritance, only the first parent is called [21:15] nessita: these aren't old-style classes; we should be using super() consistently everywhere in the hiearchy [21:15] tcole: define "these" please [21:15] all the test case classes [21:15] tcole: False :-) [21:15] True [21:15] the twisted TestCase is old-style [21:16] how is it old style? [21:16] I used to think so, but IIRC it's not [21:16] yeah, it's new-style [21:16] check out twisted.trial.unittest.TestCase.__mro__ [21:16] old style is what exactly? "class foo:" ? [21:17] dobey: yes [21:17] old-style = doesn't inherit from object [21:17] dobey: new style is when inheriting from object [21:17] ok, then the test cases are definitely new style [21:17] tcole: then how do you explain that when inheriting from 2 classes only one is called when using super() [21:17] again, ALL the test case classes, *including* twisted's are new-style classes [21:17] nessita: multiple inheritance and inconsistent use of super() everywhere [21:18] nessita: since MI can interpose other classes in between the class and its "obvious" ancestor [21:18] nessita: if you want to continue to insist that twisted.trial.unittest.TestCase is an old-style class, you are going to have to explain why object is in its MRO first [21:19] nessita: are you looking at fixing the tests again? [21:19] tcole: I will not insist, but anyways, can you explain this? http://pastebin.ubuntu.com/627610/ [21:19] dobey: not at all, I'm trying to have them passing in testdbus [21:19] dobey: I added some func I need [21:20] nessita: you changed your pastebin [21:20] nessita: that's wrong, both A and B should be calling super() in their __init__ [21:20] tcole: if you run that script, you will see that only the first parent is called [21:20] dobey: yeah, to have 2 new style classes [21:20] nessita: the way super works is that it finds the "next" class in the MRO [21:21] nessita: so when the MRO is e.g. [Chill, B, A], the fact that B.__init__ fails to call super() means that A.__init__ won't get called [21:21] crap [21:21] I understand now [21:21] so, this is a tricky thing, since then somewhere in your hierarchy things are messed up [21:21] yep [21:22] (actually techinically the MRO would be [Chill, B, A, object], but you got the idea anyhow) [21:22] yes, thanks [21:22] python has a lot of attractive nuisances in some regards, doesn't it? [21:23] my favorite python tla is wtf [21:23] from __future__ import tf [21:25] dobey: ok, I fixed BaseTwistedBla to call super() [21:26] good discussion :-) [21:26] :) [21:26] dobey: I will read that article "when I have time" (tm) [21:26] no, seriously, I will [21:26] heh [21:26] "when i'm dead" [21:27] nessita@dali:~/canonical/u1/client/extend-sdtool$ grep "\.setUp(self)" * | wc -l [21:27] 62 [21:28] we need to fix all those calls to .setUp(self), since they are not using super() [21:28] welcome to my world [21:29] tcole: LET'S TRADE [21:29] :-P [21:30] nessita: give the setUp stuff a week and then see if you still feel the same [21:30] nessita: some of them we can probably just outright get rid of, or merge some of the functionality into devtools instead [21:30] dobey: yes [21:31] tcole: speaking of that, are the server tests running in natty? (I'm curious, not that I need that right now) [21:31] yes, with the caveat that there's a rabbitmq startup thing that dobey and I still haven't hammered out [21:31] it may or may not work on your machine [21:31] dobey: which reminds me, what's your /etc/hosts look like? [21:32] tcole: oh about that btw; so it starts ok on my dell duo, which i installed 11.04 from scratch on, and upgraded to 11.10; i fixed my workstation's /etc/hosts to basically match that default setup, and it still fails on workstation :( [21:32] hm [21:33] so maybe it's not that [21:33] alecu: care to review, please? https://code.launchpad.net/~nataliabidart/ubuntuone-client/extend-sdtool/+merge/64749 [21:33] mandel, ping [21:33] nessita, sure [21:33] but the issue remains whether the rabbitmq note we fire up comes up as branchname@localhost or branchname@$hostname [21:33] thanks [21:33] branchname@$hostname is arguably more correct actually [21:36] weird [21:42] dobey, 127.0.0.1 localhost\n127.0.1.1 hostname ? [21:43] rye: yes [21:43] plus ipv6 bits after that [21:43] it seems rabbitmq is not actually binding to localhost though [21:44] dobey, it binds to the $HOSTNAME [21:45] alecu: I just pushed a couple of new revs since I left some nasty prints in the way [21:46] rye: it binds to $FAIL afaict [21:46] actually, i think it does bind to localhost, but something is not right [21:48] yeah, it's binding to localhost, but trying to connect to hostname [21:50] and for some reason it's not resolving hostname to the lo interface ip; instead it is resolving to the eth IP [21:50] dobey, add hostname. too ? [21:50] dobey, 127.0.1.1 hostname hostname. ? [21:55] why? [21:58] hrmm [21:58] mandel: you still hunting photos? [21:58] oh well [22:04] nessita, ping [22:04] alecu: pong [22:04] nessita, why did you change DBusTwistedTestCase to TestCase in test_zglog.py ? [22:05] alecu: because it does not depend on dbus, as far as I can tell. I asked thisfred and at the time, he couldn't find a reason why to depend on DBus [22:06] alecu: I needed to do a quick debugging due to some dbus failures, and I ran into that issue [22:06] nessita, zglog uses DBus to contact the zeitgeist daemon. If you don't use the test dbus instance, the tests would end up using the real zg daemon. [22:06] well, IIRC I said I didn't know but it looked like it didn't need it and to ask alecu :) [22:06] thisfred: right [22:07] alecu: but the test is not using the real ZG, isn't it? /me rechecks [22:07] alecu: well they won't now, they can't [22:08] well, maybe they can, but very unlikely, given we patch the SessionBus/SystemBus methods [22:08] alecu: the single test inside ZeitgeistNotStartedTests do not need the real ZG since is tetsing the failure of that service [22:08] hmmm let me check. [22:10] alecu: if I understood the former code correctly, that test is now really isolated from the system components. I'm not sure how that test was passing before, since it was testing the case where the service was not being started but the test itself was not doing anything explicitly to ensure the service was not running [22:11] nessita, the test runner used to have a clean dbus instance, so there was no zg-daemon running. [22:12] nessita, the zg-daemon only was run on ZeitgeistTestCase setup, and cleaned up afterwards. [22:12] nessita, so, this being an integration test, I don't like the "self.patch(zg_client, 'ZeitgeistClient', fake_fail)" in ZeitgeistNotStartedTests [22:12] alecu: I see. So, why ZeitgeistTestCase does not inherit from DBusTestCase? [22:13] nessita, it did [22:13] alecu: I did not changed that [22:13] ah, yes, I did === m_conley is now known as m_conley_away [22:13] sorry [22:13] ok, I ll revert that [22:14] alecu: sorry for that, seems like I was too dizzy. Revert committed and pushed to revision 1008. [22:15] nessita, are you reverting ZeitgeistNotStartedTests too? [22:15] alecu: yes, everything in that class but the extra empty line [22:19] alright, i gotta go. have a good evening all [22:20] dobey: bye [22:21] thisfred: would you be available for a review? [22:21] nessita: sure! [22:21] thisfred: I live you implementing the "sure" interface :-D https://code.launchpad.net/~nataliabidart/ubuntuone-client/extend-sdtool/+merge/64749 [22:21] s/live/love [22:22] * thisfred is on the case! [22:27] nessita: can you add a deprecation warning to the deprecated method? [22:27] thisfred: yes I can, and I will [22:27] if you need an example look at desktopcouch, about 60% of it is deprecation warnings ;) [22:27] lol [22:28] thisfred: I did not add that since the dbus call itself can not propagate the deprecation warning [22:28] but I'll add it the same [22:28] ah right. yeah just to be sure, for instance if it's ever subclassed or used in a different context [22:29] yes [22:29] it's also easy to search for in the next version so we can remove it [22:33] thisfred: Pushed up to revision 1009. [22:33] thx! [22:34] :-) [22:35] looks great, just waiting for the tests to finish now :) [22:36] yey [22:40] nessita: this looks wrong even though the tests in question don't fail: http://pastebin.ubuntu.com/627640/ [22:40] thisfred: without looking, is it a dbus disconnected thingy? [22:40] RuntimeError: Found no running zeitgeist-daemon instance [22:40] all of them [22:40] alecu: any clues? ^ [22:41] thisfred: do you have the latest branch version? [22:41] 1009\ [22:41] thisfred: and latest u1devtools? (Jic() [22:41] nessita: The tests were running in 1008, I'll run them again in 1009 [22:41] thisfred: do you get that in trunk? [22:42] I'll see [22:42] thanks [22:44] nessita, thisfred: that looks like the tests in tests.syncdaemon.test_main are not using a mocked version of zglog [22:44] nessita, thisfred: and they surely used a mocked version of zglog before. [22:45] running make test on trunk now [22:46] alecu: I added some code to Main().shutdown that was missing (and is needed). In my diff, lines 752 to 760 [22:46] alecu: maybe, the Main().shutdown method is being called in test cases that use Main but not the faked zglog? [22:47] though in those cases I would expect getattr(self, 'eventlog_listener', None) to be None [22:55] huh. in trunk I get a test failure http://pastebin.ubuntu.com/627649/ [22:56] gah [22:56] thisfred: is this your fast or not so fast machine? [22:56] this is the fast one [22:57] our tests have tremendous timing issues [22:58] :-( [23:01] nessita: same non-failing errors on trunk, so I won't hold your branch up for it [23:01] thisfred: thanks [23:01] let me run the tests one last time on 1009 [23:01] thisfred: sure, why not :-D [23:02] well I've not run them completely yet [23:05] nessita, re: the zglog issues: I don't understand why your branch deletes so many stuff from test_dbus.py, and I guess it surely must be related to that. [23:06] nessita, in any case, I think your branch is trying to fix too many things at once, and has little resemblance to what the commit message says it does. [23:06] alecu: it deletes stuff that are provided by the DBusTestCase from u1devtools: the self.loop and self.bus, among other, are created in the parent class [23:06] nessita, I don't understand whytf we are making this fixes right now. [23:06] alecu: well, those fixes are there to have a clean tets run in my machine for the branch changes :-( [23:06] test* [23:07] alecu: the errors happen on trunk already, FWIW, or are you talking about an earlier branch? [23:07] alecu: the tests have several bugs, I think that if we see them we should fix them while we're at it [23:07] thisfred, those errors are happening on trunk right now? [23:07] maybe it's just my machine [23:07] alecu: yes [23:08] thisfred, nessita: then whytf are we breaking u1devtools right now! :-((((( [23:08] alecu: the things I'm fixing are, as far as I can tell (I can be wrong just like I was with the zglog thing), correct [23:08] alecu: strictly speaking we're not breaking them but fixing them :-( [23:08] alecu: I understand your point, though [23:09] alecu: the trigger from all these was our server tests being broken on natty, which lead to tons of fixes, where some of them impacted u1devtools [23:09] nessita, strictly speaking we are breaking and delaying to achieve "perfection" [23:10] I disagree since I think perfection includes a clean and correct test suite. But yes, this is delaying us in the windows port side. [23:10] we're trying to make the least possible on the test fixing side [23:11] nessita, we should not be landing stuff on u1devtools if that stuff breaks our tests [23:11] alecu: we can argue a long time about that, but not sure it worths it (at this point) [23:11] nessita, I believe that our dbus integration tests were "good enough" and what we are doing is "paja mental" [23:12] and I strongly oppose that. And I'm angry, so I better call this an (ugly) day. [23:12] alecu: you may not be aware of this, but several tests were passing by chance, and the test itself was not testing what it should [23:12] sorry guys. [23:13] alecu: it's understandable, let's team mumble tomorrow? [23:13] alecu: you get the right to be upset, but I think you have strong opinion about something that you're not completely familiar with [23:13] and that is complicated [23:13] I've spent 2 whole days debugging the test failures we were having, and believe, I saw some nasty stuff (bugs in our tests) [23:14] so, from where I stand, is not paja mental. I agree the timing for this to happen SUCKS [23:14] nessita, what I'm upset about is having to debug zeitgeist and dbus stuff that's blocking our windows port that will have no dbus nor zeitgeist. [23:15] alecu: then don't debug, please. If we have this failures in trunk, is not up to us right now to debug [23:15] maybe later, after the 24th [23:15] nessita, ok [23:15] NOTE: there are no failures, just errors [23:15] thisfred: yeah, just stdout error messages [23:15] well there was one failure, but completely unrelated to dbus [23:15] or zg [23:15] let's leave them there, and make sure we dontt make the worse [23:15] right [23:16] them* [23:16] thisfred, doh. [23:16] for all I know these have been there for months [23:16] * nessita hugs alecu [23:16] thisfred, I was chasing the errors, my bad. Now I just realized about those failures. [23:16] * thisfred too [23:16] hmm [23:16] thisfred, * Now I just realized about those were just "error messages". [23:17] right, but still they indicate something is not right [23:17] not something that has to be solved today or this week [23:17] True [23:17] or at least I hope so, which is why I pasted them :) [23:17] on the bright side, very slowly we're fixing bugs in our tests [23:18] * thisfred half fills his glass [23:19] thisfred, very good point, indeed. And I think it has helped me understand the issue: we should be mocking the zglog for all the tests that do not test it directly. [23:20] thisfred, that's what that error is about. It's being thrown and logged when zg-daemon is not available, and that's the case for most SD tests [23:21] I was stupidly chasing that error in nessita's latest branch. [23:21] * alecu takes a deep breath. [23:21] :-( [23:22] ok guys, see you tomorrow. [23:22] right, I'll file a bug about the mocking [23:22] * alecu EODs [23:22] later! [23:26] bye [23:26] alecu: did you approve the branch? [23:26] no he did not :-( [23:27] on the upside: I did. tests all pass here [23:27] thisfred: thanks [23:27] maybe someone on the u1-internal channel will have time [23:27] Tim knows a lot about the test issues and twisted [23:28] right [23:29] I filed bug #797949 to not forget about the passing weird tests [23:29] Launchpad bug 797949 in ubuntuone-client "Mock zeitgeist logging for all tests that use it indirectly (affects: 1) (heat: 6)" [Medium,Confirmed] https://launchpad.net/bugs/797949 [23:30] ok, eod for me too [23:30] thisfred: enjoy [23:31] thx, don't make it too long yourself, there's always tomorrow [23:31] yeah [23:32] I'm very tired [23:43] * nessita -> eods [23:43] bye all! [23:43] bye nessita