=== elmo_ [~james@george.kkhotels.co.uk] has joined #launchpad === cprov is now known as cprov_shower === cprov_shower is now known as cprov === stu1 [~stub@dsl-246.248.240.220.dsl.comindico.com.au] has joined #launchpad === elmo_ [~james@george.kkhotels.co.uk] has joined #launchpad === sabdfl [~mark@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad === mdz [~mdz@69-167-148-207.vnnyca.adelphia.net] has joined #launchpad === spiv waves from Mallorca === carlos_ [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad === carlos_ is now known as carlos === BradB [~bradb@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad === debonzi [~debonzi@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad [10:02] morning [10:02] BradB: if you merge into rocketfuel what you have, I could finish fixing rosetta's tests === lulu [~lu@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad [10:06] hi, yeah, i'm merging right now. it'll take a while though. === elmo_ [~james@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad [10:06] ok === cprov [~cprov@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad === limi [~limi@193.71.38.142] has joined #launchpad [10:21] morning :) [10:23] limi: good morning [10:24] limi, morning === SteveA [~steve@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad [10:28] SteveA :) [10:32] morning [10:33] sabdfl: what is the highest priority UI-wise on Malone right now? [10:34] portlets [10:34] (or anyone from the Malone team, obviously :) [10:34] ok === limi updates and has a look [10:34] stu1: stub? [10:35] limi: i've just finished the first cut of a working DOAP framework [10:35] aha === stu1 is now known as stub [10:35] would appreciate some love on the following templates: [10:35] project-new.pt [10:35] product-new.pt [10:35] project-edit.pt [10:35] product-edit.pt [10:35] project-index.pt [10:36] will do [10:40] wow, I was able to run launchpad today :-D [10:42] sabdfl: could I fix the problems I found with rosetta or should I wait until the integration work is finished? [10:42] carlos: i'm all merged in now [10:43] plese be careful with objects in dlalo and dmark that are very similar, we have to resolve that cleanly === limi is still amazed at how long it takes to merge [10:43] limi: I think the portlets on the main bug view page (wherever that is now ;) ) are ready for you to play with. And if they are not, I'll need more info about what you need. [10:43] sabdfl: getting lots of good feedback on Ubuntu in the Plone community, btw - congrats to the team :) [10:43] sabdfl: then, what should I do? work on dlalo on dmark or on both? [10:44] stub: ok, cool [10:44] stevea is working on something to allow us to have a different browser:defaultview for a Project object in Rosetta and Malone [10:44] guess I will know in a few minutes ;) [10:44] I suspect there is too much info for one page, but I'll let that be your decision [10:44] way too much [10:44] too much info is easily dealt with ;) [10:44] it's the other way around that is the problem [10:44] stub: i've been trying to get doap to the point where we can cut project stuff out of all the other launchpad components and just refer to doap [10:44] it's finally there after a good run on the weekend [10:45] project / product create / edit is all set [10:45] stub: brad b and i are going to start work on malone in a few hours, is there anything you want us to focus on? [10:45] sabdfl: and Jeff has Queen's Birthday Holiday today, right :) [10:46] i'll be continuing the cleanup post-renaming [10:46] limi: if jdub wants i could go round to her house and drop off a card ;-) [10:46] hehe [10:47] or enter her bedroom, like that guy recently [10:47] limi: Its one reason for staying a monarchy - if we lose the queen that is almost all of our public holidays gone ;) [10:48] sabdfl: The audit trail would be good. [10:48] sabdfl: And BradB might have some ideas on utilizing SQLObject to do the heavy lifting [10:49] . o O ( still merging ) [10:49] is BradB still in London? [10:49] yes [10:53] stub: i think iniitally we'll refactor stuff to bring it into line with new conventions etc [10:53] give me a day to get a full handle on it [10:53] sabdfl: Sure. [10:54] stub: can you get going on the bug watch thing? [10:54] sabdfl: Bug watch thing? [10:54] we want to be able to watch bugs in bugzilla, as that's the best way to migrate to malone from bugzilla for warty [10:55] "bug watch thing" -> adding and updating bug watches [10:55] That was in and working last I looked [10:55] so you can say "this bug is the same as bug #1980 in bugzilla.ubuntu.com" and it will tell you the status in that remote bug system? [10:56] At least as far as the web code goes - it just needs Dave's daemons to drive it. [10:56] sabdfl: You can say 'this bug is the same as bug #1980 in bugzilla.ubuntu.com' and the status will sit there as unknown [11:02] stub: after you finish with mark can we talk ? [11:02] cprov: now is fine [11:04] stub: so, I need to figure out how will be the best way to insert my postgres dump on soyuz [11:04] spiv, ping === Kinnison [~dsilvers@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad [11:05] cprov: You need to explain that a bit better. I'm not sure what you mean by 'insert my postgres dump on soyuz'. [11:06] cprov: is your svn server listening? [11:06] stub: of course, we have maid a script to import all the packages information from a ubuntu mirror inside the current database [11:06] cprov: my svn process is sat there doing nothing (seemingly) [11:06] Kinnison: yes [11:06] connect(3, {sa_family=AF_INET, sin_port=htons(8080), sin_addr=inet_addr("196.168.1.26")}, 16 [11:06] that's never returning [11:06] Kinnison: let me see [11:07] anybody know why I get this error when starting Launchpad? http://paste.plone.org/1619 [11:07] cprov: Where does the data need to be? The production database, rosetta.warthogs.hbd.com, or developers' local databases? [11:08] it means you have two SQLObject classes both called "Product", in different places [11:08] Kinnison: http://192.168.1.26:8080/svn/gina/trunk/ is working [11:08] debonzi: pong [11:09] How remarkably odd [11:09] spiv, hi.. a question for you [11:09] I managed to fail to c&p properly the first itme [11:09] s/itme/time/. Please give me the 'MUD' hat [11:09] spiv, supose I have a SQLObject selection of bin packages [11:10] stub: that is the question I don't know if we should use that Huge (25 Mb gz) data, but for sure it should be the production DB [11:10] spiv, I would like to get from this selection the binpackage with version 1.0.0 [11:11] spiv, do you know a nice way to do that? [11:11] cprov: ok. So can we stick it into the production database by rerunning your script, or do we need to use your database export (eg. did you need to do any cleanups?) [11:12] stub: no, now you need to drop the current DB and create a new one by hand and run psql -f my_dump [11:12] cprov: How long does the extraction script take to run? [11:13] stub: 4 1/2 hour [11:13] debonzi: Hmm... [11:13] cprov: The reason I am asking is that a database dump will contain all the keys, which will conflict with the rows that already exist on the production database. [11:13] stub: on zhongshan [11:14] cprov: So ideally, if we need the database on production I'd rerun the script and let it take 4 1/2 hours. [11:14] spiv, actualy, I am geting the selection clause attribute, adding ' AND binarypackage.version = %s' and selection again, but Im not sure if it is a good way [11:15] stub: yes, I'm working with a pre-filled DB on gina (importer script) [11:15] spiv: ping [11:15] carlos: Also pong... [11:15] s/section again/selecting again [11:15] SteveA: and how do I fix it? :) [11:15] carlos: But still thinking about debonzi's problem :) [11:15] I'm having some problems with sqlobject transactions [11:15] spiv: :-P [11:16] carlos, I came first :) [11:16] debonzi: O:-) [11:16] debonzi: By "selection", you mean a SelectResults object? === carlos joins the spiv's queue [11:16] yep [11:16] limi: remove the offending other class. Realistically, update from rf [11:16] I just did :] [11:17] spiv, sorry for not be clear enougth [11:18] debonzi: So you're doing mySelectResults.clone(clause=mySelectResults.clause + ' AND binarypackage.version = %s' % version) ? [11:18] stub: better for now I think is share the dump as it is between the soyuz member, latter I can work with an empty (I need the warty related fields and components) DB [11:18] Or actually doing a new BinaryPackage.select? [11:18] spiv, doing a new BinaryPackage.select [11:19] I'm at launchpad--devel--0--patch-490, and I still get the error :( [11:19] elmo_: btw, I need permission to run gina on zhongshan as kiko did last week [11:19] spiv, the clone method is the right way? [11:19] debonzi: The clone method is slightly nicer, I think, but it doesn't really make much difference :) [11:20] cprov: ok. Just so long as I don't end up with a postgres dump that I'm somehow expected to migrate into the live database ;-) [11:20] SQLObject won't actually send a query until you try to get the actual results out of the object, either way :) [11:20] spiv, I see.. in that case it is not realy bad right? [11:20] cprov: done - there's a postgres user for you now [11:21] anybody else with a current Launchpad that are getting SQLObject errors? [11:21] (patch-490) [11:21] or is it just my wonderful Mac? :] [11:21] cprov: So did you need me to help setup how to share the dump, or are you right with setting that up? [11:22] limi: executing launchpad? [11:22] yes, doing make run [11:22] debonzi: Right. So it doesn't really matter :) [11:22] last time I was told to use lalo's branch until we get new slqobject merged into rocketfuel [11:23] limi: did you saw lalo's mail from last week about sqlobject? [11:23] spiv, nice.. thanks for your help [11:23] lalo's branch of SQLObject or Launchpad? yes, saw the mail, but assumed it had been resolved by now [11:23] debonzi: so, is spiv free? :-P [11:23] lalo's branch of SQLObject [11:24] carlos: Yeah, what's up? :) [11:24] stub: I think I can create by myself, thanks for the hints ! [11:24] what's the magic incantation to switch to lalo's branch? [11:24] elmo_: tks [11:24] spiv: I have a form that updates two different objects (Person and PersonLabel) depending on the submit button you select [11:25] limi: lalo's branch sounds unrelated to your problem. [11:25] is there an arch switch statement? [11:25] ok [11:25] http://paste.plone.org/1619 is the traceback [11:25] cprov: No problem. If you go with an uncompressed text-format dump in arch, please don't put it in the rocketfuel archive as some of us keep local mirrors of it ;) [11:25] spiv: the first one (Person) executes the END transaction, but the other does not so it's lost when launchpad is shutdown [11:26] stub: Well, arch stores changesets as .tar.gz of patches... [11:26] spiv: any idea about how to debug it? [11:26] (it'll sure pad out revlibs and pristine trees nicely, though ;) [11:27] carlos: Hmm, that's odd. The SQLOS glue is supposed to take care of the transactions for you (by starting and ending a transaction for the star tand end of each web request). [11:28] carlos: Where's the code? :) [11:29] rosetta/browser.py #414 [11:29] "SAVE-PERSONAL" works, but "SAVE-LANGS" does not works [11:30] the template is rosetta-preferences.pt [11:31] btw, I need to request a merge to fix them after all changes we have since last week (givenName -> givenname) so the template will fail if you try to visit it [11:31] spiv: do you run patch-490 at the moment? [11:31] limi: what happens when you do 'PYTHONPATH=lib python -c "import canonical.launchpad.database"'? [11:32] limi: Yep. [11:32] will rebuilding the DB do any difference? [11:33] s/do/make [11:34] the command ran fine, no errors [11:34] carlos: Hmm, I think it's the relatedjoin that's breaking it. [11:35] limi: Nah, this error is before it tries to access the DB. [11:35] ok [11:35] spiv: could be, but that means a bug in sqlObject, right? [11:35] carlos: SQLObject/SQLOS. [11:36] carlos: I sent a mail about this to the list a few weeks back, iirc. [11:36] stub: ok, I'll keep it in somewhere far away from arch :), tks [11:36] "SQLOS vs. RelatedJoin" [11:37] hmm [11:37] cprov: I'm not saying don't keep it in arch, just don't keep it in the rocketfuel@canonical.com archive. You can just create a new archive on chinstrap for it. [11:38] elmo_: can you send me the zhongshan full address ? [11:38] spiv: but it was working until recently [11:38] I mean, yes, it seems to be the same problem [11:39] stub: do you think we need to it on arch ? it is a 25 Mbyte gziped file !! [11:39] but I think the problem came when I move to lalo's sqlobject branch [11:39] limi: is it possible to replace the declarations in the body with in the head? [11:40] sabdfl: possible, but not advisable [11:40] it will kill NS4 [11:40] cprov: It depends if you are going to be updating it. If you are, it would become quicker to distribute changes because arch would just send the diffs. If you aren't going to be updating it there is not much point. [11:40] not recommended, I mean [11:40] it's just.... i can find the xsl that gives me the but have no idea how to change the xsl to do it the way you describe [11:40] aha [11:41] well, make it do that for now, and we can change it later [11:41] NS4 should be mostly extinct in geek circles now anyway [11:41] and I assume it doesn't ship with Ubuntu ;) [11:42] sabdfl: in any case - there shouldn't be any XSLT required in that part anyway - it's just static HTML [11:42] stub: the second option is more atractive to me, but you from malone and rosetta should decide if is relevant for you test your apps with a real DB, I don't know. [11:42] carlos: Wow. I've no idea what would've been making that work ;) [11:42] if Lurker uses some dynamic way of getting the CSS, you can just remove that part [11:43] the ubuntulinux.org CSS includes all the Lurker styles [11:43] limi: can i have multiple link rel= elements in the head? [11:43] yes [11:43] carlos: I'll look into it deeper later today. [11:43] ok, i'll try that [11:44] spiv: I'm not 100% sure, but as soon as daf comes, I will be able to tell you if I'm wrong or if it's working, I think our rosetta alpha server has it working [11:45] carlos: Hmm! [11:45] cprov: I will be wanting a copy, but aren't fussed on how I get it so just dump the dump.gz somewhere on chinstrap then. [11:45] carlos: If you're using lalo's sqlobject branch, I think I have a patch for you to try... [11:45] spiv: sure === spiv hunts for the bug he attached it to [11:49] sabdfl: just make it look like http://paste.plone.org/1621 [11:50] the only change is removing the one element and inserting the