#ubuntuone 2009-09-01 <urbanape> heya, statik <statik> hey <urbanape> so, what's the word in the new world order about merging bindwood branches to trunk? <urbanape> now that it's under the auspices of ubuntuone-control-tower <statik> you just propose for merge to trunk and set the commit message, and then it gets marked approved after reviews <urbanape> k, did that <statik> we don't have tarmac in cron yet, so i have to kick it off manually <statik> i can do that now <urbanape> not sure about the commit message, though. <urbanape> does it need to be formatted specially? <statik> nope, nothing special <statik> just hopefully somewhat descriptive <statik> so if you set the commit message here https://code.edge.launchpad.net/~urbanape/bindwood/thorough-debugging/+merge/10928 i can run tarmac on it <statik> huh, the ancestry on that branch is odd <statik> it looks like it was branched from the packagebranch rather than from trunk <urbanape> hrm. <urbanape> also, should I be able to edit the commit message? I see no edit icon or link <statik> yeah, there should be a pencil icon next to the commit message, at least if you are logged in <statik> https://code.edge.launchpad.net/~urbanape/bindwood/thorough-debugging/+merge/10928/+edit-commit-message <urbanape> ah, weird. yeah, somehow I got logged out. <urbanape> k <urbanape> I recall branching after we had done some changes, but I thought it was still cut from trunk. <statik> i don't think it will hurt anything <statik> packaging branches are basically a long-lived branch from trunk <statik> that never gets merged to trunk <statik> but trunk is merged to it for every release <statik> in this branch, we're merging the packaging branch to trunk but you've deleted the packaging stuff from it <statik> i think bzr will be smart enough to handle it <statik> urbanape, alright, tarmac has merged it. thanks for the great branch! <urbanape> so, for my local copy of trunk, its source is... <urbanape> ~ubuntuone-control-tower/bindwood/ubuntu/ <urbanape> is that correct? <statik> yep, that should be right <statik> the shortcut for that is lp:bindwood <statik> it's entirely possible that i had already made the branch history funky, i'll run bzr qviz on it tomorrow <statik> urbanape, do you know if it's possible to put 8gb of ram in the older macbook pros, or only the new ones? <urbanape> how much older? <CardinalFang> statik, I'm pushing desktopcouch my changes to lp now. <urbanape> the first unibody MBP could take 8, I believe. <statik> ah, mine won't work then <statik> CardinalFang, awesome! <urbanape> the previous MBP I think maxed out at 6GB <CardinalFang> urbanape, statik, https://code.edge.launchpad.net/~cmiller/desktopcouch/get_port_not_stale <CardinalFang> I think it's close to right. My brain is mush now. <CardinalFang> Please eyeball it if you have any cycles left. * CardinalFang sends message to aquarius to see it. <statik> CardinalFang, sure. want to propose it for review? or you just want a pre-review review? <CardinalFang> statik, proposed for merge, so reviews are online. <CardinalFang> Thx! <CardinalFang> Good night, all. <statik> gnight <CardinalFang> Oh, and beware that teh test suite screws around with couchdb and leaves one running that isn't what you expect. the port-finding code freaks out at it half the time. :( Much time wasted there. :( * CardinalFang collapses. <urbanape> What's the best way to run the desktopcouch tests? <Chipaca> urbanape: first, you take a young rooster <Chipaca> urbanape: I'm not too sure how it goes from there, but you should probably not wear a suit <deserted> Chipaca: I think it involves vaseline and a pair of electric shears <Chipaca> and... that's probably why I blanked it out <urbanape> Hmm, all my Tyvek suits are at the cleaners. From the last time I ran hairy tests. <dobey> "trial desktopcouch" <urbanape> lots of waiting for couch to start... <urbanape> will noodle on it in the morning. <urbanape> night, folks. <thisfred> goedemorgen <jblount> Yo, yo, yo, yo <aquarius> yoyo. <jblount> aquarius: yo yo, yo? <aquarius> jblount, Yo. Yo-yo, ya? <jblount> aquarius: yo. :) <CardinalFangZzzz> aquarius, has thisfred convinced you that d-c log reading isn't as good? <aquarius> CardinalFangZzzz, not quite. I'd like to hear your reasoning too :) <CardinalFangZzzz> aquarius, the absolute best approach is to make couchdb emit its info on request. -b starts, -k kills, -I (!) prints JSON information about the running process, including ports and addresses used. TODO: implement -I <aquarius> CardinalFang, yes. The couch people have talked about that, too, but it hasn't happened yet, and it won't for karmic :( <thisfred> brb, have to reboot <CardinalFang> aquarius, We never know if the port is correct. The log file can be stale; it always exists, regardless of process' existence. We can add the additional check of trying to connect to a port, but we don't even know if we really connect to someone else's couchdb (unless we check auth too). <aquarius> but you have to wait to see if couch started up properly *anyway*, before doing anything to establish the port. <aquarius> since we need to do that regardless, if you've done that check, then you know the logfile won't be stale <CardinalFang> aquarius, I don't know if I need to start ihodge@example.net. Log file is there. Is it from last month? <aquarius> that's what find_pid is for. <aquarius> you need to check the pidfile, and see if it's stale, and if it is, then start couch. <thisfred> CardinalFang: that's where I messed up: I thought I kept the calling structure intact, and that I checked that everywhere find_port was called, find_pid was called first, but apparently I messed up <thisfred> Perhaps I should have let find_port continue to require a pid argument, even though it's not used <CardinalFang> thisfred, I added that. <thisfred> CardinalFang: aquarius and I discussed earlier that we (I) need to fix the tests, so that they use the find_port and find_pid again, while not starting up the real couchdb, by hacking into local_files in a different way. Have you tested your branch manually, because the current tests don't actually exercise the find_port and find_pid ihodge@example.net... <thisfred> which is how I managed to slip up and create logfilegate <aquarius> CardinalFang, my suggested approach is to lie to xdg about where your base directory is. That's what the start_local_couchdb test does. and then everything shoudl work :) <thisfred> aquarius: yeah, that part I'm starting a branch for now. My concern is that we should get CardinalFang's branch landed ASAP if we know for sure it works, since the current code doesn't <aquarius> agreed <aquarius> but...having the code landed doesn't actually help, since what we need to do is get that code into a package and then into a PPA so people can start testing it <thisfred> But I do want to know it works. I'm not having much luck with importing find_port <aquarius> and I don't want to hassle kenvandine into building a package more than he has to, since he's busy :) <thisfred> true <thisfred> aquarius: ok, then I'm starting the branch to fix the tests first, since we need to get that landed at the same time, and then package <thisfred> aquarius: CardinalFang and we can use it to verify the correctness of any solution to the find_port issue you guys come up with <kenvandine> aquarius, thisfred, CardinalFang: if you have some proposed branches... i can merge them together into a ppa build for testing <thisfred> aquarius: open question: starting couch before, and stopping it after each test will be too slow, I think. Any good suggestions on a testcase wide 'teardown'? <CardinalFang> You didn't like my stochastic method. * CardinalFang hugs the word 'stochastic'. <thisfred> CardinalFang: no, randomness in tests, I dislike :) <thisfred> CardinalFang: I prefer having a single test that tests the stopping and restarting <thisfred> CardinalFang: then run all the other tests against a running couch <thisfred> CardinalFang: also, the stochastic method leaves the couch running at the end of the tests, so it doesn't solve this problem <aquarius> thisfred, teardown is just stopping couch. call desktopcouch-stop, that's what it's for <thisfred> is it madness to stop couch from the testcase class' __del__ ? <CardinalFang> thisfred, yes it is. <thisfred> aquarius: teardown is run after each test <CardinalFang> thisfred, There's a container for test cases. Can 'trail <jblount> MEETING BEGINS <CardinalFang> 'trial' use test suite code? <jblount> ZOMG! If you are a desktop+ person, this is your time. "me" get's your voice heard, hopefully your voice sounds like "DONE / TODO / BLOCKED" <CardinalFang> dagn. <CardinalFang> me <aquarius> thisfred, what? no it isn't, is it? setup runs at the start, teardown runs at the end <thisfred> aquarius: of each test <jblount> me <aquarius> me <teknico> me <rodrigo_> me <thisfred> (continue after) <statik> me <urbanape> me <jblount> CardinalFang: It's go time <CardinalFang> DONE: desktopcouch replicate to u1. desktopcouch getPort() fixups. desktopcouch pairing fixups. reviewed aquarius' talk notes. <CardinalFang> TODO: get reviews. package d-c? <CardinalFang> BLOCKED: Nein. <CardinalFang> aquarius, if you please.... <aquarius> â DONE: bank holiday, reviewed chad's port branch; work with jan to fix oauth problem <aquarius> â TODO: continue piston oauth in snowy; finish DC talk for Ubuntu Developer Week; look at doing username URL at U1; discussions with thisfred/cardinalfang about DC port stuff <aquarius> â BLOCKED: nothing (woo!) <aquarius> doo-do-do-do, doo-doo, doo-doo, you can't touch jblount <jblount> DONE: Tiny branch to fix tiny bugs, resolved (and landed) weird issue with pqm not liking my overlays-skin branch, slapping my VMs into shape. <jblount> BLOCKED: Nope (although need statik to tell me if I should submit a RT about hooking up blog.ubuntuone.com or some other address setup DNS style) <jblount> TODO: Add tabs to website (again) with some re-thinking about nav, get wordpress.com blog into shape <jblount> teknico: rocknroll <teknico> DONE: worked on a Funambol deployment problem with pfibiger and mattgriffin, implemented the list_all template tag for the contacts CRUD web ui, improved the options handling of the create_couch_contacts.py script <teknico> TODO: implement the details view for the contacts CRUD web ui <teknico> BLOCKED: none <teknico> next: rodrigo_ <rodrigo_> DONE: More tomboy syncing fixes. oAuth request signing in couchdb-glib. Attended some ubuntu developer week talks. Prepared couchdb-glib basic info for Wednesday's aquarius talk <rodrigo_> â¢ TODO: Start upstream discussion for adding social services accounts config to about-me. Talk to Ara about writing mago tests for evo-couchdb. Propose couchdb-glib/evo-couchdb for GNOME 2.29. Store UUIDs for postal addresses. Conflict resolver tool in pair tool. Look at becoming a MOTU (https://wiki.ubuntu.com/UbuntuDevelopers). <rodrigo_> â¢ BLOCKED: none <rodrigo_> next aquarius <rodrigo_> ugh next statik <rodrigo_> or thisfred, sorry :D <aquarius> rodrigo_, fail :) <statik> DONE: New snapshot package of couchdb 0.10.x with a handful of bugfixes including cascading auth. <statik> TODO: desktopcouch bugfix release and packaging branches reorg <statik> BLCK: not-blocked-just-yet but anxiously awaiting versions of desktopcouch, bindwood and couchdb-glib which use oauth by default. And a version of couhcdb with SSL! <dobey> me <jblount> dobey: Your turn <dobey> â­ DONE: Released poauth 0.1, Packaged poauth 0.1, Pushed poauth to REVU, Fixed some small issues in poauth, Fixed ubuntuone-client to use poauth, Fixed ubuntuone-storage-protocol to use poauth <dobey> â­ TODO: Backport poauth to jaunty/hardy, Fix ubuntuone-storage-server to use poauth, Fix #409281 <dobey> â­ BLCK: None. <urbanape> erm, okay <dobey> you lied <urbanape> DONE: Most of the way through the design for Bindwood to talk to Couch via OAuth. <urbanape> TODO: Finish that up and push and propose. Also, I'm Face and On-Call Reviewer today. <urbanape> BLOCK: Getting my desktopcouch branch to actually expect OAuth. Need a little help. <urbanape> standup.next() -> StopIterationError <aquarius> urbanape, I can help with that <thisfred> aquarius: Zope TestCases have a way of doing testcase wide initialization and cleanup, but I don't think basic python unit tests do. (which is more in keeping with unit testing as it's meant to be, but a pain in cases like this) <urbanape> aquarius, I'd like that. <jblount> urbanape: hugs, sorry I get confused keeping things in order. <urbanape> *sniff* it's okay. <jblount> MEETING ENDS (somewhat tentatively) <aquarius> oh, I missed: talk to someone who's interested in DC but uses fedora, so there might be some work to make that happen going on over the next week or so. :-) * urbanape changed the topic of #ubuntuone to: Help contact: urbanape | File Sharing for Ubuntu | https://ubuntuone.com | https://launchpad.net/ubuntuone | Current Beta Client Revno is 191, Protocol Revno is 69 | Release 0.93 <rodrigo_> aquarius: the opensuse build service builds stuff for fedora also, so we could try finishing my work there and provide packages for all those RPM distros <aquarius> rodrigo_, rawk! really? I didn't know t hat. <rodrigo_> aquarius: yes, and for debian and ubuntu also <rodrigo_> although for .deb it needs more work, and it doesn't make sense for us <aquarius> rodrigo_, certainly DC doesn't do anything Ubuntu-specific, so it shold work elsewhere, assuming you have a hysterically up-to-date couchdb ;-) <rodrigo_> but for RPMs, we should be able to do one .spec with very few changes for both <rodrigo_> aquarius: yeah, I was a bit blocked on my opensuse packaging work because of erlang and couchdb <aquarius> I'm looking forward to the results of someone running DC on fedora to confirm that it works, work out which dependencies are required, etc <rodrigo_> but once that is done, it should be easy to package the client stuff <rodrigo_> aquarius: so when you're going to work on it, let me know and we'll see how to do it there if you want <aquarius> rodrigo_, someone else is working on it, I hope, rather than me, but yeah :) <rodrigo_> aquarius: ah, cool, we can just then publish the .spec in OS build service, and have the packages for both distros built there <aquarius> nice :) <thisfred> aquarius: so, if I poke the right XDG values into env, and force reload xdg.BaseDirectory (siC(amelCase)) it just works? And *that* doesn't mess with the rest of my system? Really? <aquarius> it doesn't mess with the rest of your system because the environment you've set goes away once the process ends. (doesn't it? it does, right?) <CardinalFang> aquarius, Rgr. <thisfred> I hope so, because they're not explicitly unset :) SO, probably we would have found out <aquarius> yep. So we're golden. :) <thisfred> aquarius: coolness <thisfred> that's simple enough, wish I'd seen that <CardinalFang> aquarius, this process and all its children, (unless exec* is packed with a explicit environment). <aquarius> CardinalFang, that's what I thought. (Sudden clenching fear that I might have been wrong ;)) <thisfred> only open problem: how/when to stop the test couchdb <aquarius> in shutdown. <CardinalFang> thisfred, How evil do you want to be? "import atexit" <aquarius> although I admit for that we need test-suite-wide setUp and tearDown. Someone must surely have solved this problem though! <thisfred> aquarius: indeed, zope testcase has, perhaps twisted as well <thisfred> CardinalFang: evil in tests I can live with <aquarius> if it doesn't, then have each setUp call test_suite_wide.setUp, which starts couch and then sets an envar. If the envar is set, don't start couch again <CardinalFang> i was just checking for suite setUp and tearDown, and didn't find it. :( <thisfred> aquarius: yeah, the starting is easy <aquarius> we need to be a little cleverer because you might want to run a subset of the test suite <thisfred> aquarius: the *stopping* however <CardinalFang> thisfred, "atexit" will let you ihodge@example.net. <thisfred> CardinalFang: I'm fine with that <aquarius> ah, yeah, stopping is harder because an individual tearDown can't look into the future to know whether there are other tests coming. atexit is probably the way, although it's horrid :) <thisfred> I'll leave refining it to people with more developed sensibilities ;) <thisfred> being Dutch means never saying sorry, even if you have to :) * aquarius applies for a dutch passport. <aquarius> so...thisfred, you're redoing the tests? <thisfred> aquarius: yes, should not be much work, mostly throwing code away <thisfred> aquarius: you can never go on holiday again <aquarius> thisfred, cool <aquarius> thisfred, I am beginning to get that impression. I suck at organising things :( <thisfred> aquarius: nah, I should have dug 1 mm farther <CardinalFang> (hrmpf! does "couchdb -s" do nothing?) <aquarius> dpends on your definition of nothing <urbanape> aquarius, so, I'm modifying the script that we had been using that generates the CouchDB port (dbus.sh) to get our overall environment necessary. So that script will spit out the port and the OAuth bits we need to communicate with Couch. <aquarius> urbanape, cool. Can you talk to the keyring from the shell? <urbanape> I've got your dc-records-oauth branch checked out, but there's nothing that's seeding my keyring. <urbanape> yes, I can, but there's no match (obviously) <aquarius> ah, you want DC trunk, I think :) <urbanape> k, I can do that, too. <urbanape> also, I seem unable to kill my system-installed desktopcouch. should I remove the package altogether while this is under development? <aquarius> run desktopcouch-stop <aquarius> er, /usr/lib/desktopcouch/desktopcouch-stop <urbanape> yeah, did that. <aquarius> killall beam.smp is the nuclear option :) <urbanape> killed it hard and dead <CardinalFang> thisfred, aquarius, so what's the state of getPort fixing? Testing, and if pass, merge, and then release as 0.3.1? <thisfred> yes, that would have my +1, I'm working on the testing now <aquarius> CardinalFang, if we can get the tests in before releasing a 0.3.1 I'd lie that <thisfred> aquarius: fail <thisfred> aquarius: the xdg stuff looks nice in theory, but it doesn't quite work yet <aquarius> what doesn't work? <thisfred> everything, including the test_design docs, still talks to .cache <thisfred> it's probably an import order problem. <aquarius> might have to explicitly override xdg.cache_dir or whatever it is too <thisfred> I think local files is loaded before the tests start poking <thisfred> and so the dirs are never recomputed <thisfred> let's see what effect moving the imports around has <thisfred> aquarius: I don't understand: why do you use a mocker if the tests are supposed to talk to a fake database? <thisfred> I mean real database, but not the user's <dobey> look at the client tests. we override some env vars so stuff gets written to _trial_temp/foo instead of ~/.foo <thisfred> dobey: thanks, will do <aquarius> thisfred, I'm using the mocker for belt-and-braces security. We'll need to actually start a real couch for testing couch-startup <dobey> or rather, our problem was that it was trying to write to /.cache, because the env was empty for the tests, given the way we run them in ubuntuone-client <thisfred> aquarius: so the one test that does this poking to start up a new database doesn't actually talk to it, right? <aquarius> I knew we'd need it... <thisfred> aquarius: oh yeah, and I think it works almost, or sometimes, so I'm happy you did most of the work ;) <dobey> eh, i don't think "can we actaully start a db" is a particularly good test <thisfred> I just should learn to never ever say again in any context: "should not be much work" ;) <dobey> heh <thisfred> license revoked :) <aquarius> dobey, why? <thisfred> dobey: starting a database in itself is a good test, because we do it in a very complicated way. Also: that's not so much at issue here, since that test doesn't actually exist: we need to start a database for all the tests to talk to. <dobey> aquarius: because it's going to fail for anyone that doesn't have a specific version of couchdb, and might fail due to configuration differences <aquarius> dobey, that's the point. We want to know that the startup scripts properly cope with bad situations, and properly actually start up couch, so we know that we haven't broken them with a checkin. <dobey> i am quite happy that in poauth, i completely avoided using a BaseHTTPServer to test the code/protocol <thisfred> aquarius: we should totally use what the client does. Shame we can't depend on it, so I'm gonna steal its testcase runner <thisfred> dobey: yes of course, faking and mocking is great for unit tests, but we're talking functional/integration tests here, really <aquarius> dobey, this isn't testing the protocol (I mock CouchDatabase, and we can continue doing that). This is testing that the scripts that start up couchdb actually work <thisfred> aquarius, chad: stupid question: what actually is 'trial' and why do we use that rather than the five million other arbitrary ways to run tests? (I'm not saying we shouldn't, it works just fine, genuinely curious since I hadn't come across it before) <thisfred> is it twisted? <aquarius> trial is the twisted test runner <thisfred> right <thisfred> ubuntuone client seems to actually patch that into the regular test runner <thisfred> aquarius: I'm also asking since I think we may set the env vars at the start of the test run, and do cleanup at the end, but I need to find out where I can hook in <dobey> thisfred: ubuntuone-client has its own test runner which inherits from the twisted one <dobey> thisfred: trial has nicer output than just running the standard python unit test thing <thisfred> dobey: no, it does not inherit from it, it imports it and uses it though <dobey> thisfred: well that's what i mean by "inherits". we don't just run "trial" but imported the twisted test runner independently <dobey> and do some other stuff on top <dobey> like the env magic and start up a dbus session bus <CardinalFang> thisfred, not to be too much of a distraction, but where is the service I use to map OAUTH to usernames or database-names ? <thisfred> CardinalFang: this jdo would know :) <jdo> CardinalFang, it has not been deployed yet <thisfred> CardinalFang: I can also look up the branch in my mail <thisfred> ah <CardinalFang> jdo, okay. Out of curiosity, what does it yield? <jdo> CardinalFang, User info: ID, username, first/last name <jdo> email <CardinalFang> aquarius, SteveA, thisfred: did we decide on a naming scheme for the desktopcouch database names on U1? "%(username)s/%(databasename)s" ? <aquarius> CardinalFang, I think it's a bit more complex than that, for easier HTTP sharding. thisfred knows though :) <thisfred> aquarius: the http sharding is an open issue. We're using u/xxx/xxx/[userid]/[databaseid] where the xxxs are the first six characters of the hash of the user id. this is to spread the dbs evenly over directories, but I don't know that it will scale out over multiple servers as is <thisfred> so anyone have any idea how I can hook into the start of a twisted trial run? are there plugins you can register or something? <dobey> thisfred: you probably want to do stuff in setUp() normally, but dbus seems to fail at that <thisfred> dobey: but there should be a way to hook into the test run, rather than each individual test, right? <dobey> so if you need to start a dbus session bus, then you basically need to do what ubuntuone-client does (which is have its own test script), and run that instead of trial <thisfred> yeah, I was afraid that was the answer <dobey> you might be able to do less work in a shell script, instead of python, but i'm not sure what all you need to do exactly <dobey> and i'm off to get some lunch :) * aquarius ahahahahas at thisfred and CardinalFang over tcole's comment about the logfile on CardinalFang's branch :) <aquarius> so, for reading port info from the logfile: me and tcole. For reading it from /proc: CardinalFang and thisfred. And tcole's got the coolest beard, so he wins. <tcole> the main thing is dealing appropriately with stale information <tcole> once we get the info from the log file, actually try talking to the process to verify <tcole> ironically, I shaved the beard off some time ago <thisfred> aquarius: and I'm working on mine, or at least have been too lazy to shave since I moved. Also: I'm totally +1 on logfile, but +10 on what we can get working now. Which in my case seems to be absolutely nothing, mostly. <aquarius> CardinalFang, thisfred: it would be interesting to get tcole's perspective on your technical issues with using the logfile <thisfred> aquarius: no technical issues, AFAIK: we just reverted to the working proc file, because the logfile code was broken <CardinalFang> aquarius, thisfred, I'm happy with using the logfile if you can get it working as well. <CardinalFang> Lunch! Back in 1h! <aquarius> thisfred, I need to get going -- have to meet up with some people this evening :( <thisfred> aquarius: ok, keep you posted by mail <aquarius> sorry to have to bail <thisfred> aquarius: no problem, I will sort it! I'm sure <urbanape> statik, you about? <urbanape> or anyone else hip to the new Couch DB + OAuth? <CardinalFang> j0! <urbanape> heya, CF <thisfred> CardinalFang: heads up: I think I'm near a solution for the tests, at least it's now completely broken, and not seemingly working but talking to the wrong db. I understand you will be working on the packaging, so I will tell you when I'm done, and hopefully get some other people to review it. <CardinalFang> thisfred, Roger. <thisfred> CardinalFang: bah: I think the problem may be: 1. tests poke in env settings to point to test couchdb 2. tests initiate code that talks to couchdb 3. code that talks to couchdb gets info from DBUS 4. DBUS finds couchdb not running and starts it, but at this point I'm not sure it looks at the test ENV anymore <thisfred> It's a Kind of Magic <CardinalFang> thisfred, well, the dbus call only works because bin/desktopcouch-service is running. <thisfred> CardinalFang: ah, right, I could start my own from the tests. That would break the user's normal operations, but at least we don't screw up their real data, though they could screw up our test data, or lose some writes to our temporary db <thisfred> Man, this is a fine ball of twine though. <thisfred> I want test driven development. At least for everyone else's code! :) <CardinalFang> thisfred, I say just kill your running desktopcouch-service and start it where you're testing. Don't get bogged down in making trial work directly. Just make a shell script, "run-tests" that does what you need. <kenvandine> thisfred, any eta on a dc release? * gafton_ begs xchat to stop quitting <thisfred> CardinalFang: yeah, I'll do that, I think. <thisfred> kenvandine: not sure no, but I'm not sure how much work we'll be bugging you for, as CardinalFang and statik have changed the release process for dc substantially, so probably CardinalFang can answer your question better than I <thisfred> kenvandine: if we're all waiting on my tests fix, then, eh, as soon as I get a clue... :( <kenvandine> i am mostly concerned with getting it in time to have an uploader still awake <thisfred> right <kenvandine> statik, CardinalFang: when you guys work on the packaging branch... make sure you merge in my changes in ~ubuntu-desktop <kenvandine> thisfred, yeah... it's pitti who is in germany * rmcbride changed the topic of #ubuntuone to: Help contact: urbanape | File Sharing for Ubuntu | https://ubuntuone.com | https://launchpad.net/ubuntuone | Current Beta Client Revno is 194, Protocol Revno is 69 | Release 0.93 <kenvandine> getting late there now <thisfred> CardinalFang: the critical bugs are fixed yes? <thisfred> CardinalFang: perhaps we should let perfecting the tests not keep us from releasing then <CardinalFang> kenvandine, I think we've done that. Thanks! <kenvandine> CardinalFang, good... just make sure desktopcouch depends on python-desktopcouch-records :) <CardinalFang> kenvandine, It does. <kenvandine> good <kenvandine> thisfred, so are the tests at least passing? <thisfred> kenvandine: the tests always pass, and test the real code, the only part that is undertested is the stuff that starts couch. That is how the logfile reading bug slipped through. <kenvandine> ah <thisfred> CardinalFang: can I get an ack on the portnumber issue being done? <thisfred> ow, it's still waiting on review <thisfred> I wish stuart hadn't abstained. That resulted in everyone else avoiding it <thisfred> CardinalFang: I'll do a review, but can you tell me the best way to manually test that the code actually finds the port and if not starts couch? <CardinalFang> thisfred, confirming. <CardinalFang> ... <kenvandine> thisfred, fwiw... i did build a deb of your branch and ran it... seemed fine <thisfred> kenvandine: mine, or chad's? <kenvandine> oh <kenvandine> chad's <kenvandine> lp:~cmiller/desktopcouch/get_port_not_stale <thisfred> right, that's good news. I'll look through the code, and approve asap, and cajole someone else into doing the same <dobey> hrmm <CardinalFang> thisfred, Okay: Confirmed that https://bugs.edge.launchpad.net/desktopcouch/+bug/420911 is avoided with /proc searching. <ubottu> Launchpad bug 420911 in desktopcouch "Cannot getPort - desktop-couchdb.log doesn't exist" [Critical,New] <CardinalFang> Added comment about it. <CardinalFang> So, the other bug, hrm.... <CardinalFang> https://bugs.edge.launchpad.net/desktopcouch/+bug/422127 Added comment. <ubottu> Launchpad bug 422127 in desktopcouch "getPort succeeds when desktopcouch isn't running" [Critical,New] <CardinalFang> kenvandine, Are those ^ the two very big bugs we should fix now? <kenvandine> yes <CardinalFang> Rock. <thisfred> CardinalFang: branch is approved as you probably noticed, but if not, now you know <thisfred> ;) <thisfred> and let me know what else I can do to help <CardinalFang> thisfred, Okeh! Dank. <CardinalFang> statik, You around? <statik> hi CardinalFang, i am now. did my mail go through this time? <CardinalFang> statik, Yes. Now I see both. Weird. <CardinalFang> Thanks! <kenvandine> statik, i need to run out pretty soon... can you prepare the upload for the dc release? <kenvandine> and ping pitti if he is still around? <CardinalFang> statik, I can't find where to upload the orig.tar.gz . Should it be a link on https://edge.launchpad.net/ubuntu/karmic/+source/desktopcouch ? <kenvandine> statik, ok... pitti is still around and awaiting your ping :) <kenvandine> when you guys are ready <urbanape> I am a horrible Face. <kenvandine> statik, i am heading out for a bit.. call my cell if you have any urgent needs <CardinalFang> kenvandine, I'm uploading. <CardinalFang> Well, I am trying. <CardinalFang> kenvandine, statik, "A release requires a corresponding milestone that is not attached to another release." Wtf? <dobey> yes <dobey> CardinalFang: just make a new milestone called 0.4 or 0.3.1 or whatever you are numbering the release <CardinalFang> Okay. <thisfred> statik: re:ssl kocolosk reports back that it *does* seem to be a simple oversight, and that a workaround would be 5 minutes work (let's inflate that a lot to include landin testing and packaging) but he's talking to Ã¼berstream to see what solution mochiweb would prefer <CardinalFang> rawk, thisfred. <thisfred> CardinalFang: indeed :) <statik> kenvandine, james_w had agreed this morning to sponsor, we are going to try doing a merge proposal to lp:ubuntu/desktopcouch <statik> will definitely ping pitti if we can't get james_w for some reason <statik> thisfred, that is great news * dobey wonders if james_w got to look at poauth today <statik> thisfred, as soon as SSL support is committed to the 0.10.x couchdb branch i will build a new package <thisfred> statik: I will immediately dispatch a pigeon when that happens <thisfred> forthwith! <statik> awesome <statik> i'm going to see about backporting erlang and xulrunner and couchdb to hardy for the data center now <statik> dobey, any exotic packages you uploaded to karmic that should go on our watchlist for bugs other than icontool? <dobey> i'm trying to get poauth uploaded into karmic <statik> ok, i've got that on my list <dobey> it's still on the fence <dobey> statik: i hope we can get it in though <statik> me too <CardinalFang> dc0.3.1release$ bzr bd -S <CardinalFang> dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2 <CardinalFang> debuild: fatal error at line 1334: <CardinalFang> dpkg-buildpackage -rfakeroot -d -us -uc -S failed <CardinalFang> bzr: ERROR: The build failed. <CardinalFang> statik, ^ Hrm. <statik> CardinalFang, you might need to specify which key to sign with <statik> does debuild -S -sa do any better? <statik> also, i have DEBSIGN_KEYID=NNNNN set in ~/.devscripts <CardinalFang> statik, same. Exactly the same, I thinkj. <statik> which overrides which key is chosen to sign with <statik> otherwise devscripts tries to find the key based on the email address in the changelog, which doesn't always work the way you want it to <statik> you can also specify an unsigned package, since you aren't going to upload it, you're just going to testbuild in pbuilder <CardinalFang> statik, it was missing build dep cdbs <statik> ah, that would do it * statik hugs apt-get build-dep and sticks his tongue out at rpms <CardinalFang> Okay, now I have source files. <statik> yay! the next part is really fun. apt-get install ubuntu-dev-scripts; ln -s /usr/bin/pbuilder-dist ~/bin/pbuilder-karmic;pbuilder-karmic create;pbuilder-karmic build desktopcouchfoo.dsc <statik> er, ubuntu-dev-tools not ubuntu-dev-scripts; sorry <CardinalFang> Rgr. Building.... <CardinalFang> statik, Okeh! I have .debs. <statik> CardinalFang, awesome! after a quick testinstall, you are probably ready to propose the spb for merging to lp:ubuntu/desktopcouch, and ping james_w to upload it <CardinalFang> statik, You say "testinstall". Is that command somehow, or are you being all German? <statik> I do cd ~/pbuilder/karmic_result; sudo dpkg --install desktopcouchfoo-i386.deb;scan the logs, try out /usr/bin/start_local_couchdb.py, etc <CardinalFang> statik, looks good. The only problem I see is that couchdb doesn't have authentication on and the file:/// URL we use has a username/password specified, which makes Firefox complain that it's not necessary and may be a phishing attack. <statik> CardinalFang, great! <CardinalFang> Okay. Uploading and proposing. <statik> cool. point me to the merge proposal when you register it, I would like to have a look, i've never seen one before <statik> by uploading you mean pushing to lp:~ubuntuone-control-tower/ubuntu/karmic/desktopcouch/spb ? <CardinalFang> Yep. <CardinalFang> statik, https://code.edge.launchpad.net/~ubuntuone-control-tower/ubuntu/karmic/desktopcouch/spb <statik> CardinalFang, it's interesting that the last commit didn't have the comments from the changelog <statik> like r53 did <CardinalFang> Eek. Hrm. <statik> CardinalFang, are the changes to debian/changelog committed there? swapping from UNRELEASED to karmic and adding entries for the two bugs that this upload will close? <statik> it's ok for those to be in extra commits <CardinalFang> Crap. I reverted that to merge from the bugfix. <CardinalFang> Forgot to mv back. <statik> no harm done i think <CardinalFang> I hope that's the only mistake I made. <CardinalFang> statik, reload. * statik waits for launchpad to finish scanning the latest revision <CardinalFang> there. <statik> CardinalFang, it looks good. I normally write 'New upstream bugfix-only release' just because i'm super nervous about giving the right impression, but I think this looks good <statik> i think it's ready to 'propose for merging' <statik> don't forget to set the reviewer to ubuntu-main-sponsors <dobey> hrmm <dobey> https://edge.launchpad.net/ubuntu/+source/poauth <- not a 404 <statik> python-poauth ? <dobey> would be the binary package, yes <dobey> source is poauth though <statik> i usually name my sourcepackages with the python- prefix too, for stuff that is pure python <statik> i don't know why though <dobey> source should match the tarball name usually <dobey> only time it shouldn't really, is if there are conflicts <statik> that seems reasonable <statik> man erlang takes forever to build <dobey> statik: can you go to https://edge.launchpad.net/ubuntu/+source/ubuntuone-client/+subscribe and subscribe "Ubuntu One Hackers"? :) <statik> absolutely. i thought i already had, but i must have missed it <dobey> thanks <dobey> i'm not an admine of ~ubuntuone-hackers, or i'd do it :) <CardinalFang> statik, I must go offline, 20 minutes ago. <CardinalFang> I can be back in 40min. <statik> CardinalFang, thanks for taking care of this, i'll keep an eye out for it too <thisfred> ok, I FINALLY got the tests doing something <thisfred> glass half full side: I learned a little about xdg <thisfred> All tests pass :) except for the mocker... :( <statik> that mocker <dobey> is it mocking you? <thisfred> terribly <thisfred> it just sits there <thisfred> looking at me <thisfred> anyhow: I mailed Stuart, he'll be my knight in shining armor and solve it tomorrow morning, these test fixes missed this alpha already anyway, and I'm glad I got the rest of it working #ubuntuone 2009-09-02 <CardinalFang> statik, Okay. Any news? <statik> CardinalFang, i mailed you the discussion we had in #ubuntu-desktop <statik> james_w is in england, pitti is in germany, so i don't necessarily expect them to upload until they wake up <statik> but rickspencer3 knows that the fix is ready, and it's on the alpha5 blocker list, so should be uploaded first thing in the european morning if not tonight <CardinalFang> Rgr. <rblst> hi, i've just installed ubuntu one, i copied a folder with serveral subfolders and files inside; on the website i can only see the folder structure, but not the file list <rblst> can anyone help me with this please? <urbanape> hi, rblst <CardinalFang> rblst, $ u1sdtool --current-transfers <rblst> Current uploads: 0 Current downloads: 0 <rblst> in nautilus everything appears just fine <rblst> hi, urbanape <CardinalFang> rblst, in Nautilus on the same computer, yes? Not a different computer as the first. <rblst> CardinalFang: yes, on my own computer <CardinalFang> I'm probably getting in urbanape's hair. Sorry. <urbanape> nope, I was gonna start with some similar stuff. <CardinalFang> rblst, Hrm, I suppose the files have been uploaded but the web UI is stale. I don't know how to test for that. <CardinalFang> rblst, Create a file in the web UI and see if it shows up in the desktop, perhaps? * CardinalFang shrugs. <CardinalFang> Good night, all. Good luck, rblst. <urbanape> I can replicate something similar here. <CardinalFang> Reproduce or replicate? <urbanape> reproduce <rblst> thanks for your help CardinalFang; good night <rblst> i can create a folder via the web ui, but it does not appear in nautilus <urbanape> I created a sparse directory structure populated with non-empty text files and dragged the top-level folder into Ubuntu One. <rblst> and? same syndrome? <urbanape> seems to be. <rblst> hmm <urbanape> the top level folder was recreated on the web <urbanape> but no subfolders and no text files. <rblst> whereas your desktop reflects the changes? <urbanape> yeah, my desktop reflects all the folders and files <urbanape> looks like my Ubuntu One got logged out (locally) <urbanape> I just forced it to reconnect and now all the folders and files are up on the web <urbanape> do you see the applet in your menu bar? <rblst> yes, i've reconnected <urbanape> you can check the logfile in ~/.cache/ubuntuone/log/syncdaemon.log <rblst> uh, it's quite detailed :) <urbanape> when you reconnected, did the files show up in the web? <rblst> most of my files seems to have got lost on the web :\ <urbanape> have they all remained in your local filesystem, though? <urbanape> (just being safe rather than sorry) <rblst> seems so, yes, but now the name of the folder i copied got a .u1conflict postfix, and i got this notification popup saying that ubuntu one is updating files <rblst> that is the local situation :) <rblst> but, apparently, there is no network activity <rblst> strange... <urbanape> So, I just relaunched my client applet (and changed its prefs to always remain visible) <urbanape> I created a new folder in my home directory with another non-zero length text file and dragged the folder into Ubuntu One <urbanape> this time, it was fully replicated on the web. <urbanape> (although all my text files end up with a zero-length filename~ file along side them) <urbanape> brb <rblst> hmm <rblst> is this a temporary error, or should i ascribe this to 'beta'? <statik> best thing to do is report a bug against https://launchpad.net/ubuntuone-client, and attach the logs from ~/.cache/ubuntuone/log <statik> then we can get some good analysis from the guys who work on the file syncing client to be certain about it <rblst> i might do statik, thanks <rblst> thanks everyone, and specially you, urbanape <urbanape> oh, shoot. well, glad I could help a bit. * urbanape files the u1sdtool --current-transfers under useful diagnostic tools. <eu> Hi! <eu> I have a (simple) question... <urbanape> howdy <eu> :) <eu> here it goes <eu> when ubuntuone launched I installed it on Linux Mint 7 (9.04 derivative) <eu> had no problems running it <eu> tried the same today: "fatal error" <eu> is any chance developers changed permissions over OS recognition? <urbanape> I don't think we've done anything that draconian. <statik> eu, no, we're happy for any OS to run it <eu> :D <statik> more likely a plain ol boring bug <eu> strange... <eu> do you want me to paste the apport summary? <urbanape> did it not post properly? <statik> hurrah, our desktopcouch fixes for alpha5 just got uploaded a few minutes ago <eu> yes, it did, but I'm affraid it can be a duplicate <urbanape> you can use the pastebin if you like: http://pastebin.ubuntu.com/ <urbanape> statik, excellent! <urbanape> statik, how's your javascript? <statik> urbanape, it's all muddied with the other languages ;) <statik> but i can figure stuff out sometimes. aquarius is your man though, especially re browser stuff <eu> just checking for duplicates... <urbanape> I'm just looking for someone to verify that while the latest Couch JS stuff ships with OAuth libs and the tests actually test that functionality, oauth capabilities aren't actually reflected in the higher-level APIs (load(), save(), deleteObject(), &c) <urbanape> it seems, based on my reading, that the oauth tests are all accomplished by lower-level CouchDB.request() calls. <urbanape> which is probably fine, really, but it sorta starts to beg the question about why have a more abstract API? <eu> ok guys, just submited apport repport to LP <eu> ubuntuone-client <eu> if it is a duplicate, I plea for your mercy in advance <statik> eu, no worries, duplicates are fine <statik> we will be sure to look at it <statik> thanks for filing the bug, and sorry it wasn't working for you <eu> no problem <eu> you're doing an excellent job here <eu> i'm sure this service will help ubuntu rise to the top <eu> ;) <urbanape> do you have a directory in your $HOMEDIR called 'Ubuntu One'? <eu> nope, but the first time i installed ubuntuone it created one, not this time, though <eu> should i manually create one? <eu> just in case... <eu> Well, there's a slightly improvemment, but i still can't authenticate... <urbanape> I'm pretty sure there's a way to clear your auth creds <urbanape> just a sec <eu> thanks <urbanape> try `u1sync --authorize` <eu> on console? <eu> not workin' <urbanape> can you check your keyring? <urbanape> might you have an outdated UbuntuOne auth token? <eu> what's the easiest way to find out? <urbanape> You say this is based on 9.04? <eu> yes <urbanape> do you have the same app menu items? <eu> more or less, yes <urbanape> Applications -> Accessories -> Passwords and Encryption Keys <eu> ok <urbanape> so, under my login passwords I have one entry for UbuntuOne token for https://ubuntuone.com <eu> none here <urbanape> k, and u1sync --authorize didn't do anything <eu> nope :( <eu> command not found <urbanape> ah <urbanape> I think it's in ubuntuone-client-tools, an optional package <urbanape> yup <eu> let me check synaptic <eu> strange, can't see it <eu> maybe it's a dev repository? <eu> i just have the ppa repos <eu> http://ppa.launchpad.net/ubuntuone/beta/ubuntu/ <eu> deb and deb-src <urbanape> checking <urbanape> Hmm. I'm not using that particular ppa. Probably because I'm hitting karmic directly <eu> oh, right <urbanape> I'm sure this might be a red herring, though. Like I said, the ubuntuone-client-tools package is optional. You should be able to authenticate without u1sync <eu> :( <eu> ill keep trying <urbanape> silly question: you've installed the gnome client, right? <eu> yes <urbanape> and you've added that computer? <eu> ubuntuone-client-gnome and ubuntuone-client <eu> yes, and I deleted the computer and added it again <urbanape> if you log into ubuntuone.com and click on Account and "Manage the computers on my account" <urbanape> (We'll eventually be giving them more humane names) <eu> :) <eu> a key id appears, i deleted this three or four times <eu> and tried again <eu> didn't try a gnome log-out though <eu> just web log out <urbanape> So, what I did <urbanape> Quit ubuntuone-client <urbanape> deleted my known computers from the web <urbanape> deleted my auth token from Passwords and Encryption Keys (which you admittedly don't have) <urbanape> restarted ubuntuone-client <urbanape> which opened the web browser to re-add this computer <urbanape> and all seems to be back to normal. <eu> yes, i tried that, still don't work... <eu> :( <eu> do u think a system log out could be an issue here? <eu> just in case... <urbanape> hrm. Okay, I'll write up what I've suggested and where we are (re-adding the Ubuntu One folder eliminates one of the error logs that came in with the apport) <urbanape> and I'll note that we've gone through re-authentication/re-adding your computer <eu> indeed <urbanape> I think if you're okay adding system log info to the bug report, it might not hurt <eu> no problem <eu> what u need? <eu> (wow, now it doen't even start the client. i did nothing, i swear!) :) <urbanape> uh huh, that's what they all say... <urbanape> so, logs. <eu> :) <eu> ok, what logs do u need? <urbanape> do you have anything of note in ~/.cache/ubuntuone/log/oauth-login.log ? <dobey> what is the problem? <eu> i've some txt 4 today, yes <eu> the other info goes back to the launch days back in July when everything was ok <eu> dobey: oauth <urbanape> dobey: https://bugs.launchpad.net/ubuntuone-client/+bug/422933 <ubottu> Launchpad bug 422933 in ubuntuone-client ""Fatal Error" on Linux Mint (9.04)" [Undecided,New] <dobey> the problem isn't oauth <eu> :) <dobey> and you have an oauth token in your keyring <dobey> the problem is that syncdaemon isn't running, and it's failing to start <dobey> or rather, it looks like it's constantly starting and dying :( <urbanape> that sees familiar <eu> but my key doesn't appear on seahorse <dobey> i don't know where you're looking, but the oauth-loging.log clearly shows that it has a key :) <eu> :) <eu> geeez... <dobey> 2009-09-02 01:51:11,164:164.834022522 UbuntuOne.OAuthDesktop.auth Access token successfully found in the keyring <eu> yep, i see it now <dobey> i wonder what broke in the syncdaemon :-/ <eu> ... * dobey tests something real quick <eu> :) <Igoru-san> hello... my u1 is eating all my upload connection. could someone help me? <eu> hi <eu> if you right click on u1 applet you can change the up limit <eu> (the same for down is valid too) <eu> easy to find <Igoru-san> uh <Igoru-san> so i need to update it first. XD how can i do this? <Igoru-san> the icon just apears when i kill the daemon and theres no option to do this <dobey> you're running 9.10 alpha? <Igoru-san> this = change limits <eu> auch <Igoru-san> nonono <Igoru-san> 9.04 <Igoru-san> ur name is confusing me HAHAHA where are you from? <Igoru-san> ur nick* <eu> can't help u bro, u need professional help like i do... :) <Igoru-san> lol k <Igoru-san> but where are u from? haha <eu> what does this mean in japanese? <eu> ;) <Igoru-san> uh? i'm asking where do you live.. <Igoru-san> actually, i just want to know why ur nickname is "eu" haha <dobey> sudo apt-get update <Igoru-san> because "eu" means "I" in portuguese [my language] <dobey> sudo apt-get install ubuntuone-client-gnome <eu> bem-vindo meu filho <eu> :D <Igoru-san> HAHAHAHA <Igoru-san> taquilpa <dobey> (since you presumably have the PPA set up already, given you're running the client) <Igoru-san> i've ran an update some minutes ago <Igoru-san> but i didn't see if u1 was on the list <Igoru-san> :P <Igoru-san> qual teu problema, primeira pessoa? <eu> even my cat is trying to help me here <eu> :D <Igoru-san> hahaha <Igoru-san> ur apt-get install just said its already updated. <Igoru-san> oh <Igoru-san> duh <Igoru-san> preferences <Igoru-san> HAHA <Igoru-san> done =D ty so much dobey <dobey> crikey <dobey> urbanape, eu: i don't know what your problem is... i can't make it restart so much on my machine :( <dobey> and i had to change the code to explicitly fail in order to get a failure at all <eu> wow <eu> just one thing <eu> system monitor tells me that ubuntuone-client-applet and ubuntuone-clien (sic.) are zombies <urbanape> dobey, yeah, I haven't been able to reproduce the problem, either. <dobey> the applet too? <eu> yes <eu> can't kill them <dobey> the applet shouldn't be <dobey> it should be S not Z <dobey> what does ps say about it? <eu> i know, but the applet stopped working <eu> (i didint do nothing, i swear!!) <eu> :) <dobey> you can't click on it at all? <eu> nope <eu> totally disappeared <eu> wait, it's on again <eu> with the beautiful readish exclamation mark though <dobey> must have connected and timed out doing nothing then <dobey> oh <eu> :) <dobey> :-/ <eu> let me check what sys monitor have 2 say <eu> everything looks cool, even the sync daemon <urbanape> there's a pref to keep it visible always. <urbanape> (if you like) <eu> yes, i prefer that way <eu> (it's just this service is perfect for me, i'm a writer) <eu> i need my files everywhere <eu> and pen drives fail <eu> believe me <eu> (curious, i'm not able to delete file even on the web <urbanape> that's a recently filed bug <urbanape> a regression <eu> ohh <urbanape> at least, I think it is <eu> :) <eu> it needs therapy then! =) <eu> regression hipnotizing session <eu> =) <eu> One more thing - it keeps me telling to allow my machine to authenticate, which led to two different keys to be attributed to the same PC <dobey> it keeps reauthenticating now? <eu> yes <eu> or at least sometimes <eu> let me try another file <eu> hummm, complicated stuff, let me try to explain: <eu> 1 - I clean my authenticated machines online and logout <eu> 2 - I quit u1 <eu> 3 - i restart u1; it asks for a auth <eu> 4 - i put a new
{'channel': 'ubuntuone', 'month': 9}