[00:25] anyone know where the new developer tasks page on the canonical wiki lives? [00:25] I had to reinstall [00:25] everything [00:26] and now the internal chat won't work === gatox_away is now known as gatox [00:40] dobey: thx [00:41] dobey: the one I meant was for the PPA, but I found the PPA itself. The page seems to be gone though === pfibiger` is now known as pfibiger [06:35] morning [09:43] morning all! [09:48] Gelukkig Dinsdag! :) [13:35] hello #ubuntuone! [13:35] ok, my internet is crap :( [13:35] alecu, buenos dias! [13:36] mandel, hello to you, sir! [13:37] alecu, I've got good news about the proxy settings, I'm done with the TestCase for both auth and nonauth, I just need to update u1trial to use --integration [13:37] but for that I want to provide a test loader rather than using the default one and removing the integration tests [13:38] mandel, oh, like a new test loader for trial? [13:38] alecu, yes, I think is a more elegant solution [13:38] sounds... hard. [13:39] alecu, I'm looking at the unittest implementation, if it is too hard I'll simply purge out the integration tests from the tests collection [13:42] alecu, I need to go for lunch, if you see ralsina, tell him gatox is on a swap that he needs to approave ;) [13:42] mandel, cool [13:50] and yes... it's a lovely day for some AC/DC [13:50] thunderstruck! [13:59] hmm [14:00] mandel: simple solution is to do the same thing we do for qt vs gtk i guess [14:24] * Chipaca looks around for a spare ralsina [14:28] heh [14:38] good late morning! [14:39] oh look, a ralsina [14:39] hi dobey [14:39] hola [14:43] why did everyone load a kajillion admin requests on my day off? ;-) === webm0nk3y is now known as jdobrien [14:44] i figured i would put in the rest of my time off for the year, before the year ends :) [14:44] dobey: indeed. [14:49] * dobey pbuilds a rhythmbox from trunk package [14:58] dobey, yes, that is also a good idea, simply pass those to be ignored [14:59] ralsina, same here, I added all my holidays 'til the end :P [14:59] ralsina, by the way, gatox needs a +1 for his swap day [14:59] mandel: done [15:00] mandel: same for all of your requests and dobey's [15:00] mandel: do those tests require squid? [15:00] dobey, yes, those are the ones.. I want to see if the test loader is the one that checks for a flag to decide if they are instantiated or no [15:01] not* [15:01] mandel: :( [15:02] mandel: yes, the test loader pokes the test case hierarchy to see what service runners are needed [15:03] no standup today too? yay! [15:04] dobey, yeah, I'm looking how the loader in done in python unittest to implement something nice for our use [15:04] mandel: we already implement a loader in u1trial [15:05] mandel: and i still don't think this sort of stuff belongs in u1trial [15:05] well, we do this: unittest.defaultTestLoader.loadTestsFromModule(module) [15:06] which is not really a loader, we poke stuff, look if we reqire services and then call the default loader [15:06] me [15:06] we do have stand up? or not? [15:08] mandel: i think you're conflating loader, with the thing that discovers which tests to load; and you are wanting to do the latter [15:09] dobey, yes, I want to do the later, but the loader is the one that discovers the tests. I wanted to be able to tell the loader not to add a test to its test collection if it was an integration tests [15:09] I think is more elegant than loading ALL tests and then discard those that are integration tests in the runne [15:09] r [15:09] mandel: no; the thing that discovers the tests is the code in u1trial [15:10] mandel: the only sanely feasible way to do this, is to put integration tests under a different location in a different set of files [15:12] dobey, we have _load_tests , _load_tests: Load unit tests from a Python module with the given 'relpath' and _collect_tests: Return the set of unittests. which means that I have all the knowledge of which tests are to be ran, right? [15:13] mandel: there is one block of code that walks the filesystem tree for the passed-in path argument; there is another that walks over the list of test_foo.py files that function returns, and loads them into the test suite [15:13] i presume _colelct_tests is the one that walks the fs tree, and thus the thing you want to write a different implementation of [15:21] dobey, yeah, I was looking at that part, I believe I have an idea of how to do it 'cleanly' [15:22] mandel: well, i don't think u1trial should have some special case for this [15:23] dobey, ideally it would be nice for it to be able to differenciate between integration tests and not integration tests.. should not be terribly hard, le me do some work and we cna take a look at the code [15:23] mandel: u1trial has no concept of what an integration test is; so an --integration flag doesn't make sense really [15:23] mandel: i can't even get developers to make that distinction [15:25] dobey, yeah, that is true, making the distintion between integration and unittests is hard.. [15:26] mandel: and trying to do that programmatically will be wrong, if developers can't even make the distinction :) [15:26] dobey, oh, but let me try! [15:26] mandel: it's an exercise in futility [15:27] mandel: the only way you're going to make a distinction is by having the tests be in completely separate paths on disk; and then you can just do u1trial tests/ vs u1trial integrationtests/ [15:27] dobey, that is what she said :P [15:28] dobey, for the previous sentence, ofcourse hehe [15:28] dobey, but yeah, in the worst case scenario, using diff paths is a simple way to do it [15:28] note: alecu is without power, he'll show up eventually [15:30] heh [15:31] "foo is without power. * foo has quit" [15:32] [dobey@lunatari:banshee]: apt-cache search monkey brain [15:32] ttf-aenigma - 465 free TrueType fonts by Brian Kent [15:32] not helpful. [15:33] might help if i search for the right thing though === m_conley_away is now known as m_conley [16:06] rye: any progress on the music id3 problem? [16:11] dobey, do you know it there are lipsoup bindings for pyhton that do not use gi, I'd like to add some tests to see that my proxy works as expected :) [16:11] dobey, once that tests is done I'll show you how I got the --integration thing working [16:11] mandel: no, there aren't [16:12] dobey, que mierda! [16:13] dobey, 'cause ulr just works with noauth proxies :( [16:14] ulr? [16:15] dobey, ups, sorry typing fail, urllib.. but urllib2 does, right? [16:19] mandel: i don't think either one implicitly handles proxies [16:22] hrmm, what to get for lunch === beuno is now known as beuno-lunch [16:34] bbiab, lunch [16:39] ralsina_, ping [16:39] mandel: pong [16:40] ralsina_, I have the squid tests finished, but there is part of the code that is ugly... atm I'm doing a sleep to ensure that squid has enough time to load the config and start, do you know of any command that can return if squid started? [16:41] ralsina_, specially on a port [16:41] mandel: let me check [16:41] ralsina_, 'cause with that, I'm done :) [16:41] mandel: usually squid will start in less than a second [16:41] ralsina_, yeah, but I dont want to be foing a time.sleep(1) is very very ugly [16:42] mandel: you can use -d 3 [16:42] mandel: and grep the output for somethig [16:42] mandel: but it's much more complicated than sleep(1) ;-) [16:42] mandel: Or, you can loop connecting to the port, and then it's running [16:43] ralsina_, what about this: squid -k check -f squid.conf [16:43] ?? [16:44] mandel: well.... [16:44] mandel: you would still have to sleep and loop [16:44] ralsina_, yeah, which is ugly.. bu nicer than a grep :) [16:44] are you doing squid -z? [16:46] ralsina_, no, what is that? [16:46] mandel: -z builds the whole folder structure for the cache [16:47] mandel: should be run at least once [16:47] ralsina_, yes, that is ran before we start squid [16:47] mandel: OTOH, it may be a good idea to run it every time, to make tests independent [16:47] ralsina_, is done every testcase, not test since it would be too much [16:47] ok [16:47] is the order of tests randomized? [16:47] * ralsina_ is nitpicky sometimes [16:48] but in this case it's overkill [16:48] anyway, yes, you can use -k check [16:49] in fact, if you are just changing configs from test to test, you could do -k reconfigure [16:50] the only bad parts with going that way is a possibility of negative DNS caches or similar stuff === eu is now known as Guest2622 [17:07] ralsina_, good point.. I guess I can get that done for version 2 :) [17:07] ralsina_, we need something asap so that alecu can start writing integration tests at least on windows [17:08] mandel: of course [17:08] ralsina_, dobey so I'm thinking about this: lp:~mandel/ubuntuone-dev-tools/proxy-testcase [17:09] ralsina_, dobey that branch has two things, a SquidTestCase, and a --integration-tests flag. if you do a ./run-tests all tests should pass but if you do u1trial -c ubuntuone --integration-tests you will see one fail, since the integration tests fails always [17:10] ralsina_, dobey you can also find a testcase that uses the squid nontauth proxy under ubuntuone/devtools/testcases/tests/test_squid_testcase.py, but for that to not be skipped you need to have in the system squid and htpasswd since I'm using a very basic auth for the auth proxy [17:16] dobey, I added you as a reviewer for th branch with alecu since you are the two ones I want to hear about :) [17:17] @ping [17:17] pong [17:19] mandel: i guess i should get some lunch [17:19] mandel: I see nothing obviously wrong with the branches' squid config, if that makes you happy [17:20] Chipaca, I know, but I hope he reads it when he is back :) [17:20] ralsina_, have you tried running the tests? [17:20] mandel: nope [17:20] ralsina_, and it has merge issues :( [17:20] ralsina_, mierda! [17:21] mandel: it happens [17:21] ralsina_, I'll fix does and EOD [17:21] mandel: ack [17:28] hi [17:30] hmm [17:30] scary [17:31] oh hi firefox; why are you eating 600M of RES?! [17:36] dobey: because it can :) [17:36] dobey: CAN I HAZ MEMRY? === beuno-lunch is now known as beuno [17:38] swap swap swap [17:38] 2G of ram and still have to swap :( [17:44] dobey, you should use windows vista.. then you will stop complaining ;) [17:45] dobey, ralsina_ ok, EOD for me, I pushed the devtool branch one rev to fix the conflicts issues, feel free to complain about everything ;) [17:45] see you all tom! [17:45] * mandel gets ready for rugby [17:48] mandel: i think i'll upgrade to Slackware 95 [17:48] dobey, or mint you to piss off people hehehe [17:50] i'll just buy a mac and put the dock on the left [17:50] or just leave it as it is, and say it's elementaryOS [17:52] dobey, use the mac in a diff orientation, works the same way :) [17:52] ok, now I'm really leaving, laters! [17:52] heh [17:59] dobey: how do you feel about some lucid-bug-verifying? ;-) https://bugs.launchpad.net/ubuntuone-client/+bug/897799 [17:59] Launchpad bug 897799 in ubuntuone-client "Nautilus crashes all the time I try to publish a file (affects: 1) (heat: 6)" [Undecided,New] [18:02] lucid? bah === elopio_ is now known as elopio [18:03] vds: upgrade! :) [18:04] dobey, apt-get update or dist-upgrade ? :) [18:05] vds: to ubuntu 11.10 :) [18:06] vds: also, "apport-collect 897799 -p ubuntuone-client" please [18:07] dobey, apport on it's way [18:10] hmm, though that apport info might not be useful [18:10] vds: is there a nautilus crash file in /var/crash/ ? [18:11] dobey, nope [18:11] :-/ [18:13] need a backtrace [18:17] dobey, I keep getting LP errors [18:19] vds: yeah i think lp is being a bit buggered at the moment :( [18:26] bah, lp recipe builder is broken :( [18:28] dobey, apport explodes... [18:29] dobey, http://paste.ubuntu.com/753939/ [18:31] huh; lovely. it seems you don't have firefox, but something is configured to use firefox as your default browser? [19:00] come on twisted test suite; finish already === m_conley is now known as m_conley_away [22:39] later all === eu is now known as Guest51181 === gatox is now known as gatox_away [23:17] hey all [23:18] i have a reproducible upload failure [23:18] what should i do? [23:39] duanedesign: ↑ perhaps you could help my friend? [23:39] hello ulidtko [23:40] duanedesign: hi [23:40] ulidtko: what seems to be happening? [23:40] i placed a folder of mp3 files into my u1 folder [23:40] then i watch u1sdtool --status and u1sdtool --current-transfers [23:41] it starts uploading the files, progresses till some point, and then just stops [23:41] tried 4 times already (restarting via u1sdtool -q && --start), every time the same scenario [23:41] ok. Would you mind sending me your logs so I can look into what might be going on? [23:41] duanedesign: thanks, /me coocks dinner [23:42] *cooks [23:42] where do i get the logs? [23:42] thank you karni [23:43] duanedesign: ~/.cache/ubuntuone/log [23:43] ulidtko: http://pastebin.com/c5vKjRQ5 [23:44] ulidtko: i will PM you my email [23:45] tar.gz is ready [23:47] sent [23:48] * duanedesign loking [23:48] looking* [23:50] ulidtko: you are being affected by bug #872924 [23:50] Launchpad bug 872924 in ubuntuone-client (Ubuntu Precise) (and 5 other projects) "Resuming a failed upload crashes with ValueError: I/O operation on closed file (affects: 27) (dups: 3) (heat: 153)" [Critical,Fix released] https://launchpad.net/bugs/872924 [23:50] it has been fixed you should be seeing that fix in your updates soon [23:51] good! [23:51] will the updates arrive via ubuntu's update manager? [23:51] i.e. don't I have to wait till next resease? [23:56] ulidtko: no no [23:56] This fix will be backported [23:56] ulidtko: can you open the software center and select Software Sources [23:56] very nice [23:56] do you want me to enable oneiric-proposed? [23:57] :) [23:57] i think i understand already :) [23:57] ok great [23:58] and... is there some kind of a workaround? [23:58] be sure to restart the syncdaemon after you get the fix. You can do that with a disconnect/connect in the Control Panel or u1sdtool -q; u1sdtool -c in Terminal [23:58] ulidtko: let me see