#launchpad 2004-09-06 * limi welcomes warthylog <limi> welcome, earthlings <carlos> stub: did you found the problem with the sqlobject updates? <lalo> what sqlo problem? :-) <stub> carlos: Found two problems. I have fixed one (SQLOS only registering itself with the transaction it was created in, not subsequent transactions), and need to work out the best way of fixing the other (transaction isolation levels mean connections don't see changes made in other handler threads until they too have begun a new transaction, which doesn't happen) <stub> The first fix has not been migrated in yet <carlos> ok <stub> Transaction problems should be nailed as soon as PQM picks up the patch <andrewv> stub: whoo hoo! <andrewv> what was the problem? <limi> andrewv / stub: can we standardize on 4 spaces and no tabs for indenting? ;) <andrewv> in page templates? <limi> yes <stub> I'll reconfigure my '2 space indent' defaults for html and xml <limi> in python too ;) <andrewv> sure <andrewv> i was just checking - i thought all of our python would be 4 spaces <limi> yup <limi> like Guido indented it <stub> I'll run reindent.py on stuff I find that doesn't ;) <limi> thanks <andrewv> i do sometimes use 2 spaces on html just because it can get very, very indented <limi> it's just because I am anal enough to always have to fix it when I see it ;) <andrewv> lol <limi> if it wasn't for me, it wouldn't matter <andrewv> stub and i have slightly different indenting styles in python <stub> limi: As long as you don't mind me trimming your >80 column lines <andrewv> if you look at the malone code you can spot whodid what * stub 's style is a bastardization of the way he likes it, and the way vim's autoindent likes it <andrewv> as long as there aren't tabs or >80 i'm pretty relaxed * limi is never relaxed ;) <limi> hence the anal retentiveness of the code display <limi> ;) <limi> we could go for 2 spaces as indents if you think it would help, but there will be lots of cases where you exceed 80 columns anyway <daf> Limi the Amazing Grumpy Swearing Norwegian :) <limi> hehe <carlos> only 2 spaces? <carlos> please not!! <limi> finally some support ;) <daf> 2 space indentation is wrong <daf> I can live with 4 <daf> I don't like really long lines either <limi> ...but you prefer 3? <limi> :] <daf> no, I want pi spaces :) <carlos> daf: X-) <daf> I just want a terminal emulator that can display characters with irrational sizes <carlos> daf: did you found your brain? Are you awake? <carlos> X-) <limi> irrational sizes like in "2i"? <limi> imaginary sizes for xterm NOW! <daf> limi: no, that's for indenting imaginary code :) <stub> Anyone had a patch go through PQM recently? <carlos> stub: the commit logs shows that last one was from about 30 minutes ago <daf> lalo: is there ever a situation where we would want to call makeMessageSet with update=False? <lalo> let me check <lalo> not AFAIK, but we can't remove the argument, Mark made quite a point on it :-) <daf> the only difference it makes that update=True means that the prior existance check is waived <daf> why not? <lalo> consistency <daf> with what? <lalo> we're in the wrong chanel <daf> let's not worry about that <limi> daf: the xtal trick is actually very useful <limi> should almost be an official policy :) <daf> heh :) <limi> that way I can write pseudoTAL into templates without them breaking <limi> so it's easier for you guys to see how I envision the repeats etc <justdave> if I have a .pyc file is it possible to turn that back into a .py? * justdave just did a major oops on a file that hadn't been committed yet <justdave> I got bitten by arch <justdave> did a tla add on a file, then decided I didn't want to add it yet, and tried to figure out how to undo it. opposite of tla add? tla rm. except it actually nukes the file instead of just taking it out of arch control. <SteveA> stub: got a few mins to talk to run|osx? <stub> SteveA: Sure <SteveA> stub: /join #sqlos <daf> lalo: thanks for the tea <lalo> np <limi> I love that you guys thank eachother on IRC instead of saying "thank you" when the tea is delivered ;) <daf> lalo: ihodge@example.net/launchpad--devel--0--patch-68 has the (ahem) interesting refactoring work #launchpad 2004-09-07 * netjoined: irc.freenode.net -> kornbluth.freenode.net * netjoined: irc.freenode.net -> kornbluth.freenode.net * netjoined: irc.freenode.net -> kornbluth.freenode.net -dmwaters(ihodge@example.net)- (global notice) Hi all! it appears that we're having problems with one of our main rotation servers. I apologize for the inconvenience, and thank you for your patience. <carlos> morning <limi> carlos: I only see translated/untranslated in the graph, where is the "translated but not committed/upstream yet"? <carlos> in which graph? <limi> project-index.pt <carlos> btw, I will work on it between today and tomorrow so you will be able to "touch" it on Monday <limi> ? <limi> I thought it was done? Lu asked me to complete the changes <carlos> I told Lu that is not ready yet, that I will finish it this week <limi> aha <limi> ok * limi goes back to malone <carlos> limi: I have code but I need to do the Effors and Product/project modifications <limi> ok <carlos> and then, the templates changes <daf> I've just merged a change which removes canonical.arch.sqlbase and makes everything use canonical.database.sqlbase <lalo> good call <andrewv> does anyone know if lu is about today? <limi> she's getting lunch right now <limi> daf: where are you? :) <daf> in hiding :) <daf> oo, food <daf> somebody forgot to update Malone's pages.zcml when they removed a template <daf> which broke launchpad <stub> daf: What file was removed? <daf> mumblemumble-overview.pt <daf> it was in a draft pages thing * stub twiddles his thumbs, waiting for arch <limi> daf: where are you hiding? :) <carlos> stub: launchpad is still broken <carlos> ConfigurationError: ('No such file', '/home/carlos/Work/dists/launchpad/lib/canonical/malone/templates/packages-overview.pt') <carlos> make: *** [run] Error 1 <stub> Yer - waiting on pqm <stub> limi did it ;) <limi> eek <carlos> limi!!!! <carlos> X-) <limi> ;) <limi> it was fixed a while back, but PQM has to merge it <limi> it's merged <carlos> ok <carlos> thanks <limi> carlos: does launchpad work for you now? <carlos> no <carlos> ConfigurationError: ('No such file', '/home/carlos/Work/dists/launchpad/lib/canonical/malone/templates/packages-overview.pt') <carlos> but I don't need it now, https://rosetta.warthogs.hbd.com is working <carlos> and I only need to see a running system while I'm chaning the Rosetta's URLs <carlos> /s/chaning/changing/ <limi> carlos: I submitted a merge now, since stub's change didn't make it * netjoined: irc.freenode.net -> kornbluth.freenode.net !dmwaters:*! Hi all! One of our main rotation servers seems to be having some local routing problems. This box was taken out of rotation this morning, and we're keeping an eye on it <daf> stub: where did ILanguages go? * stub shrugs <stub> Where was it? <daf> canonical.rosett.interfaces <daf> canonical.rosetta.interfaces <daf> okay, somebody else must have changed it then <stub> I have it in my checkout <daf> humph * daf wonders how to find out what happened <daf> bah <daf> my fault * Signon time : Wed Aug 25 12:43:39 2004 * Signoff time : Thu Aug 26 23:11:27 2004 * Total uptime : 1d 10h 27m 48s <carlos> stub: Could I add sampledata-rosetta.sql to the schema/Makefile? <carlos> stub: it's the same data we had in sampledata.sql but moved to its own file <stub> carlos: Go for it <carlos> thanks <carlos> SteveA: I need some help with updating the traversal code <SteveA> carlos: what do you need? <carlos> SteveA: I'm adding the $Project.name/$Product.name/ URL and I get this error: NotFound: Object: <RosettaProduct at 0x31c9d430>, name: youindex.html' <carlos> grrrr I hate xchat... <carlos> name: youindex.html' <carlos> ok, just replace you with an u ' <carlos> that's when I try to visit: http://localhost:8085/++skin++Debug/rosetta/projects/gnome/evolution/ <carlos> gnome is $Project.name and evolution is $Product.name <SteveA> uindex.html ? <carlos> not, unicode string <SteveA> that would suggest the defaultView for a product is index.html <SteveA> yet there is no page "index.html" <SteveA> to fix, look in configure.zcml <carlos> ok <SteveA> look for the defaultView directives <SteveA> add one for IRosettaProduct <carlos> yes, seems like that was the problem I didn't touched that file <carlos> SteveA: should I change anything from publication.py? <carlos> I was playing with it but there is a comment about moving that code to the .zcml files <SteveA> you shouldn't need to change anything except adding a defaultView directive <carlos> and update the pages.zcml file <carlos> It works now <carlos> thanks <carlos> SteveA: what's the utility for the publication.py file? <SteveA> I don't understand what you're asking <carlos> there is a file inside rosetta <carlos> called publication.py <lalo> hey <SteveA> I know <SteveA> what about the file publication.py ? <carlos> I just want to know if has any utility, because when I was looking for a way to modify the traversal code I though that was the file I should update <carlos> lalo: hi <SteveA> you mean, if it is used for anything? <carlos> right <SteveA> I'm getting confused by your use of the word "utility" <carlos> if it's useful <carlos> because I removed it and launchpad/rosetta still works <SteveA> oic <SteveA> you think it is a decoy <carlos> decoy? <SteveA> code that is checked in, but is unused, or obselete <carlos> yes, that's what I think :-) <carlos> well, In fact that's what I'm asking <SteveA> looks to me like a decoy <SteveA> if so, please remove it! ;-) <carlos> ok <SteveA> thanks for spotting a decoy <carlos> SteveA: sorry O:-) <daf> SteveA: "pop stand"?? <SteveA> it was an expression that mako and lu were using <daf> carlos: it appears that none of the sample message sets has a non-NULL commenttext <carlos> daf: Did you talked with Steve about the rosetta login/sessions? <carlos> daf: we have non-NULL commenttext <daf> launchpad_test=# SELECT * FROM POMsgSet WHERE commenttext IS NOT NULL; <daf> id | primemsgid | sequence | potemplate | pofile | iscomplete | obsolete | fuzzy | commenttext | filereferences | sourcecomment | flagscomment <daf> ----+------------+----------+------------+--------+------------+----------+-------+-------------+----------------+---------------+-------------- <daf> (0 rows) <carlos> hmm <daf> :) <carlos> sorry, I was confused with sourcecomment :-P <daf> oh <daf> I think I was too :) <daf> launchpad_test=# SELECT * FROM POMsgSet WHERE commenttext IS NOT NULL; <daf> id | primemsgid | sequence | potemplate | pofile | iscomplete | obsolete | fuzzy | commenttext | filereferences | sourcecomment | flagscomment <carlos> X-) <daf> ----+------------+----------+------------+--------+------------+----------+-------+-------------+----------------+---------------+-------------- <daf> (0 rows) <daf> sorry <daf> bah <carlos> is it enough with one? <daf> should be, yes <stub> So does anyone know where the malone sample data has gone? <daf> limi: about? <limi> out and about :) * limi didn't steal the sample data O:) <carlos> stub: I think it comes from the arch problems that celso had yesterday <SteveA> daf: about: limi <daf> stub: "Have you seen this sample data? Last seen in launchpad--devel--0--patch-78. Blue eyes, blond hair." * SteveA wonders if that works in any major browsers... <stub> :-P <stub> tla blame sampledata.sql <SteveA> rocketfuel only dates blondes <SteveA> I read it in the channel topicc <limi> but its girlfriend is out of town <daf> limi: "<div class="visualClear"></div>" <-- is this still needed in the translation template? <SteveA> how can you call launchpad "it" ? <SteveA> it is clearly phallic <SteveA> picture it... <daf> no, the launchpad itself is flat :) <daf> you just have an overactive imagination <limi> daf: yes, that's a buggy browser workaround <daf> ok <SteveA> it is a platform whose only purpose is to support the soyuz-phallus-diety <limi> might be unnecessary now that there are no floats, though <daf> that's what I was thinking <limi> remove it, and I will put it back if it creates problems ;) <daf> SteveA: all hail the package-management-father-thing! <daf> limi: roger :) <SteveA> package management and soyuz is about derivative distributions. <SteveA> this is an embodiment of the earth-mother-goddess <limi> daf: Bob's your uncle <carlos> interesting, the script that sends the arch changelogs with every commit expands the $foo variables <carlos> Summary: <carlos> Implemented the .name/.name/ URL <carlos> instead of $Project.name/$Product.name <SteveA> carlos: please file a bug in bugzilla on that <carlos> which one? <daf> carlos: nope <daf> I think it's a bash problem <SteveA> oh, if it is a bash problem then don't :) <daf> arch-submit-merge "blah blah $foo blah blah" pqm@foo <carlos> hmmm <SteveA> cprov: hi <daf> expands to: <cprov> SteveA: hi <carlos> daf: make sense X-) <daf> arch-submit-merge "blah blah blah blah" pqm@foo <daf> carlos: :) <daf> solution: use '' <SteveA> is kiko available too? I'd like to have a brief chat about soyuz development * cprov solving another MONSTER arch conflict <SteveA> sometime over the next hour or two, perhaps? <cprov> SteveA: yep, just some minutes <carlos> cprov: It's not a problem for me anymore, we moved our data to our own file <SteveA> cprov: ok, fine. Can we meet on #warthogs-meeting ? <carlos> cprov: but that's not normal <cprov> carlos: again, as it was before <SteveA> cprov: let me know when it is convenient <cprov> SteveA: of course ! when? now ? <carlos> cprov: you can remove any rosetta data from sampledata.sql, we have it ihodge@example.net <SteveA> cprov: shall we say 15 minutes? <SteveA> if kiko is available then <cprov> carlos: nice but it doesn't solve all the problems .. <cprov> SteveA: perfect :) <SteveA> great, thanks. <carlos> cprov: did you tried to get a fresh checkout and continue your work there? <carlos> I mean, after solve the conflict <carlos> and save all your data <carlos> perhaps you have anything wrong with your current tree <cprov> carlos: no yet, we are inspecting our archive with jblack and lifeless to figure out exactly what is happen <cprov> carlos: you are right, we just need to figure out what is wrong to avoid it in the future <daf> yo kiko! <kiko> it's daf! <kiko> how's england? <daf> wet <daf> but soon, I will go back to Wales <kiko> and how will wales be? <daf> probably wet, too * ..[topic/#launchpad:kiko] : <kiko> how's england? <daf> wet <daf> but soon, I will go back to Wales <kiko> and how will wales be? <daf> probably wet, too <kiko> so we now have a topic <kiko> stub! <kiko> hadn't seen stuart <stub> Yo <kiko> how's the good life <kiko> SteveA, are we on? <SteveA> kiko: I need 5 mins. #warthogs-meeting in 5 ? * SteveA waits for daf to finish using the smallest room... <carlos> daf: you have your sample data in rocketfuel waiting for you :-P <kiko> k <daf> carlos: prompt, high-quality sample data service as susual :) <kiko> limi's a riot :) <limi> kiko: travelling on the mayonnaise? <kiko> heh <stub> I might have to put back the sampledata from a few days ago - there is way too much missing <daf> limi: huh?! <limi> daf: Brazilian expression <lalo> daf: that's a Brazilian expression limi probably picked up in Oxford :-) * limi has included it in his i18n proverb library along with "please do the needful" <daf> lalo: use this channel <daf> lalo: um <lalo> we're killing #rosetta? <daf> it's not dead, it's just resting <limi> except for specific meetings <daf> we'll reanimate if for meeting <lalo> it's not resting! it's an ex-channel! <stub> carlos: Have you seen the malone sample data? There are a heap of products that have disappeared and the bugassignments don't get inserted because the bugs have disappeared <daf> bereft of dialogue, it rests in peace <lalo> I'm asking because if it's dead I'll kick it out of my autojoin :-) <kiko> or /settab it to "r" <lalo> daf: if you don't, I'll try to get newPOTemplate to work properly, then switch the script & ftest to use it <SteveA> let's have specific meetings on #warthogs-meeting <daf> lalo: as opposed to? <SteveA> if that gets too full of warthogs people, we'll have a #launchpad-meeting <SteveA> but, let's retire #rosetta and #malone <daf> lalo: I mean, what's the status quo? <lalo> daf: they instantiate the classes directly, which, at least for the script, is Evil. <daf> lalo: sounds like a good plan <lalo> (for the ftest it's probably ok, but if we do have the method, I'd rather have it ftested) <lalo> daf: it does, but it's nothing of paramount priority :-) so if you have something better I'm open to possibilities <daf> well, we need to concentrate on beta-critical things <daf> we were talking earlier about how ready we are to import Real Live Projects <tm> <carlos> stub: let me a second and I will give you a link to download last revision before the break * lalo re-reads over the list of beta-critical things we made yesterday <stub> carlos: I think I have found that - just that if I put it back in, then the new rosetta stuff breaks and I don't have time to deal with trawling through it. <carlos> stub: just kill all rosetta code <carlos> stub: our data is ihodge@example.net <stub> carlos: I was just about to commit a change that splits the rosetta and other sample data into two seperate targets in the makefile <carlos> stub: that's already done, I did it this morning <carlos> hmm <carlos> sorry, the target is not done <lalo> hmm. gaim logs chats but doesn't give me an option in the UI to view them :-P <stub> carlos: I'm doing it now <carlos> if you remove the old rosetta data from the sampledata.sql file is enough <stub> But sampledata-rosetta.sql depends on sampledata.sql being run first, and this is what is broken (from the Malone perspective, anyway). <carlos> stub: no it does not depend on any sampledata.sql record <stub> oic <carlos> it just depends on default.sql <stub> ahh <daf> limi: there are some changes which need to be made to the translation template <daf> limi: they are changes which I think need your m4d sk1llz <limi> monday ;) <daf> sure, they aren't urgent <limi> ok <limi> just send in mail <daf> Monday is a holiday in the UK, by the way <limi> aha <daf> carlos: <daf> lalo: <carlos> daf: <daf> I will probably be online on Monday, but not working <carlos> ok <daf> actually, I will probably be inebriated, so I might not be much use even if you can get hold of me * lalo finished reading the log from yesterday and still doesn't know what to do :-) <carlos> daf: X-) <carlos> daf: a party? <daf> yes <daf> a birthday party <daf> Debian's 11th, to be precise <carlos> all day?, you really know how to have fun <daf> all weekend, in fact <lalo> I could do what I said, or improve the import ftests - but neither of these sound like beta-priority to me <daf> a three-day barbecue <carlos> daf: will we have the same with Rosetta? X-) <daf> carlos: good idea1 <daf> ! <carlos> lalo: well, there is the import process, a way to import easily a new project/product/template without the need of doing it by hand, if you are bored... <carlos> or import real data by hand :-) <carlos> daf: hmm, we should talk about the login/session part of rosetta because we need it for the betatesting process and we only have 2.5 days to implemente it <daf> carlos: SteveA is working on that today <carlos> and you will be missing one of those days <carlos> perfect <daf> what are our requirements for login? <daf> do we have a place to store preferred languages in the database? <daf> also, do we have an interface for changing those? <lalo> carlos: there is no concrete difference between importing "by hand" or the command line script, the work involved is the same <daf> SteveA: does your work include a registration interface? <lalo> so coding that would be a time sink <daf> lalo: there is a difference, I think <daf> lalo: it's better to have a script because then you have the information about how to do something in a shared place <carlos> lalo: if we have a script to create projects/products it's easier than use sql sentences directly <daf> more time to write it, less time to run it <lalo> no <lalo> :-P <lalo> it would actually be the same time to run it <lalo> what would be more useful is - <lalo> where are we getting this information *from*? <carlos> daf: hmm If we create a team for every language, we don't need any change in the database to store the languages interest of a Person <daf> lalo: less time typing it :) <lalo> if we're going to create our products from germinate, then something that interacts with that would be useful - although I have no idea how to associate those with projects :-) <carlos> daf: but I'm not completely sure it's the right way to do it <daf> carlos: huh? teams? <lalo> daf: not really <SteveA> daf: my work does not include registration of people <SteveA> we will deal with that "by hand" at first <carlos> daf: the 'es' team, the 'cy' team, etc... <daf> lalo: ./scripts/foo.{py,sh} vs. psql launchpad_test\nINSERT INTO Foo VALUES ... <daf> carlos: where do we have teams? <carlos> daf: the Person Table <carlos> is also for teams <daf> ohhh <daf> but we don't have any code for dealing with teams <carlos> then, we use the Membership table to store the relations btw teams and people <daf> even if the database schema will theoretically support such code <daf> I don't want to get bogged down in teams <daf> let's focus on allowing individuals to register themselves and set language preferences <carlos> daf: we could use then Labels <daf> carlos: that sounds promising * carlos is talking about a way to store that information reusing the current schema <daf> carlos: how hard would it be to set up some sample data that sets language preference labels on a person? <lalo> daf: I was thinking more in terms of, either a sql script file, or a python script that creates sqlo instances <daf> SteveA: does your work include a login interface to Launchpad? <carlos> daf: I think that not more than 30 minutes <lalo> *that* would be less work than invoking a command line script like 300 times <daf> carlos: do you think it would be useful? <daf> we will also need to change sql.py to use that data <carlos> daf: what? <carlos> daf: the sampledata? <daf> yes <carlos> sure, without sample data we cannot test our code <daf> then it's a task :) <daf> two tasks, in fact: <carlos> yes <daf> 1) add the sample language preference data <daf> 2) make sql.py read that data <carlos> 3) edit that data <carlos> :-) <daf> ah, yes <carlos> you need to be able to create/update it from your preferences page (if we have one) <daf> I'm a little fuzzy on how preference pages will work <carlos> daf: As soon as Steve's work is done we will know what should we do and how (talking about 3) <daf> carlos: right <carlos> daf: I need to know the priority of those tasks <carlos> I'm starting now with a new task <carlos> so should I give more priority to this new tasks or follow today's planning? <daf> carlos: by the way, there's a T in "effort" <daf> since this is waiting on work from Steve, I think you can carry on with today's plan <carlos> daf: ok I will change it :-P <carlos> ok * lalo chats by jabber with someone less than 1m away from him <limi> lalo: encrypted? ;) <daf> lalo: more like 50cm, I think :) <daf> SteveA: you didn't answer my question earlier <SteveA> daf: my work includes people in the database being able to log in <SteveA> using basic auth at first <daf> SteveA: excellent <daf> can create people by hand in the interim <SteveA> yes <daf> we should probably have a script for that, too <daf> birth.sql <carlos> daf: :-) <carlos> birth.py --mother-languages es,cy,pt_BR <carlos> X-) <daf> :D <carlos> daf: to recreate the rosetta DB, you should use now make rosetta inside database/schema <carlos> could you tell it to lalo? <daf> carlos: is it possible to have both malone and Rosetta data in the database at the same time? <carlos> daf: yes, but stuart moved Rosetta data into its own rule <carlos> If you need it <carlos> I could add the other .sql file in our rule <carlos> added <daf> ok <daf> on rosetta.w.h.c, we'll want to have all the sample data for Rosetta, Malone and Soyuz loaded <stub> If someone wants to make everyones data play together happily again, I'd be happy :-) <daf> that would be nice <daf> even if we have the data in separate files, it would be nice to be able to load them all <carlos> stub: I already told you that Rosetta data works on its own, we don't depend/conflict with yours <stub> carlos: I get mostly duplicate key violations if I try to load the rosetta sample data if I have already populated my database with the current sampledata.sql (which is what I recovered from a previous release since a load of stuff was missing) <carlos> stub: as I said, the sampledata.sql should not have any rosetta record <carlos> I moved it to its own file because I'm tired to fix it every time soyuz's people commits anything (hope they fix their arch problems soon) <stub> Yes, but the current sampledata.sql is polluted again because I had to recover it from before you did your work. eg. sampledata.sql defines the gnome project, as does sample-rosetta.sql. <carlos> stub: I'm fixing it now <stub> If you have a ihodge@example.net, it is missing stuff like the sample bug and the products it depends on. <carlos> so I will remove the rosetta own rule, is that ok for you? <stub> Yes - I'd prefer that. <carlos> stub: I know that sampledata-stuffed.sql is fucked, I had the same problem with rosetta data <carlos> ok <stub> I'd like a sampledata-malone as well, but that won't exist until I get back (I'm off for three weeks dealing with other commitments) <carlos> your desires are orders for me :-P <carlos> stub: my commit has a sampledata-malone.sql with malone's block * stub enjoys his new gimp <carlos> daf: ok, forgot the new rule, we are using again the make launchpad_test <carlos> stub: I just asked a merge with the malone block moved into its own file <daf> stub: "new"? 2.0? * stub gives carlos a big sloppy kiss <daf> :D <daf> and everyone is happy <carlos> eerrr... * carlos hides <daf> spiv: yo! <daf> spiv: I hear Boston is nice <lulu> hi all :o) <lulu> daf: please could u update the Rosetta task board. Thanks :o) <cprov> spiv: <spiv> daf: Yeah, it's good so far :) <spiv> daf: I've been mainly sleeping though ;) <daf> lulu: sure <cprov> spiv: now you can merge my changes in rocketfuel ... please <daf> spiv: heh :) <spiv> cprov: Ok, I'll take a look. <lulu> daf: thanks! <cprov> spiv: thank you * debonzi lunch <daf> carlos: do you think we want to get the translator dashboard working for the beta? <carlos> hmm <carlos> I don't think we will have enough time for that <carlos> we could do it for Phase1 <daf> I think we might be able to do "my current projects" <carlos> but I doubt we will have it working for this wednesday <daf> it's a pain to have to use the search form all the time <carlos> daf: schemas/Labels <daf> I don't think we need to have labels for it <carlos> Perhaps we could decide it after the implementation of the prefered languages <daf> we just make a list of all the translations the person has done, sort them by date, and make them unique by project <carlos> hmmm <daf> perhaps "my current templates" would be more useful <carlos> that's not the same idea behind the current page, but it's fine for me <carlos> yes, that's better <carlos> and it's doable for the beta phase <daf> I'm thinking 1 query, 1 extra method in the interface, and some quick template work <daf> it's more like "my recent templates" <carlos> yes <daf> I think we don't have to worry about recommended projects <daf> later on, I think we will use labels for todo projects/templates <daf> i.e. person <-- todo --> template <daf> if that notation makes sense :) <daf> (person <-- prefers --> language) <carlos> todo? <carlos> I don't get its meaning there <daf> a person has marked a project/template as "todo" -- i.e. they want to translate it <carlos> ok <daf> does it make sense? <carlos> yes <daf> good :) <carlos> :-) <daf> carlos: I've just finished reviewing poexport.txt <carlos> daf: do you miss anything? <daf> it looks good <daf> I think we should add information about which interfaces we're using, though <daf> I've reformatted it as ReStructuredText, simplified the layout and made some other changes <carlos> add Objects instead of SQL sentences? <daf> s/instead of/as well as/ <daf> :) <carlos> ok <carlos> :-P <daf> I think it would be useful <daf> because it's a document about the implementation rather than just a specification <carlos> true <daf> I spent quite a bit of time today working on tests for browser.py <daf> (I haven't merged them yet) <daf> we should have good test coverage for browser.py <carlos> interesting, I didn't though about unittest for it <daf> I didn't either :) * carlos is really new to the unittest world <daf> but Steve asked me about it <daf> so we sat down together and he helped me write some tests <daf> I thought it would be difficult to write tests for it, but it's not so hard <daf> you have to write quite a few dummy classes, though <carlos> good to know it :-D <daf> yeah :) <carlos> daf: When will you and lalo come back to your home? <daf> lalo is going back on Sunday <daf> and he will be travelling for some of Monday <carlos> then I will be alone on Monday? <daf> seems so :) <carlos> wow <daf> that is a bit weird <carlos> a meeting with myself <carlos> :-D <daf> :) <daf> I need to fix the code for displaying translations on the translation template <daf> so that selects by active rather than sequence <daf> do you select the message set with the most recent active translation sighting? <carlos> when? <daf> sorry <daf> if you have a template message set <daf> and you want to find the corresponding translation message set for some language <carlos> hmmm <daf> (if it exists) <carlos> the msgset is alwasy the same <daf> as you said, it's a similar problem to exporting <daf> it's always the same? <carlos> you get the POTranslationSighting with lasttouched=TRUE (I think I forgot to specify it in the document) <daf> because the primemsgid is unique or something? <carlos> daf: you cannot have two MsgSet for the same msgid and same potemplate or pofile <daf> oh, that's good <daf> sorry, I'm tired <carlos> UNIQUE ( potemplate, pofile, primemsgid ) <daf> does that work even if pofile IS NULL <carlos> it's the same like gettext <carlos> daf: it should <carlos> NULL is a value <daf> okay, so finding the msgset is easy <carlos> yes, the problem is get the latest translation <daf> well, NULL is a weird value :) <carlos> I think I forgot to describe it <carlos> daf: but it's a value :-P <daf> isn't is TRUE OR NULL = TRUE but TRUE AND NULL = NULL? <daf> well, I'll merge my changes and you can update the document <carlos> daf: excuse me? <daf> boolean logic goes weird when you have NULLs involves <daf> involved <carlos> daf: but we don't use boolean logic there :-) <carlos> so It's not a problem <carlos> I don't know the boolean logic with tristate values <carlos> :-D <daf> well, the point is that NULL is strange :) <carlos> daf: sure :-) <daf> okay, submitting a merge <carlos> What means this: <carlos> M database/sampledata-stuffed.sql <carlos> -- lib/canonical/rosetta/Makefile <carlos> the -- ? <daf> permissions change, I think <daf> somebody made it 600 <carlos> that's good or bad? <daf> silly <carlos> :-P <daf> or maybe "ugly" <daf> I'll fix it <carlos> at least this time the sampledata was not touched :-P <carlos> dinner time, see you later <daf> later! #launchpad 2004-09-08 * Your nick [warthylog] is owned by ~ihodge@example.net * #launchpad [freenode-info] help freenode weed out clonebots, please register your IRC nick and auto-identify: http://freenode.net/faq.shtml#nicksetup * Signon time : Fri Aug 27 07:31:22 2004 * Signoff time : Sat Aug 28 18:38:20 2004 * Total uptime : 1d 11h 6m 58s !dmwaters:*! um.... hi all..... That was my mistake.... I was running the testnet version of our ircd through valgrind, and I accidently killed the wrong process..... I am really really really sorry for that split.... #launchpad 2004-09-09 <stub> Greetings <daf> hi stub <daf> are you back in .au now? <stub> daf: Nah - I'm ihodge@example.net. Heading to Heathrow soon for a 9pm flight to Tokyo. I'm not back in Australia until Friday. * stub buggers orf #launchpad 2004-09-10 * Your nick [warthylog] is owned by ~ihodge@example.net <carlos> limi: ping <limi> on phone <limi> :) <carlos> ok <limi> Apple Support :P <carlos> Did you broke your new laptop? <carlos> you are too fast <limi> no ;) <carlos> X-) <limi> just seeking some answers to annoyances with the OS <carlos> warty!!!! * carlos hides <limi> haha <limi> warty isn't even remotely capable of doing what I'm trying to do right now, unfortunately ;) <carlos> limi: man, it's only a computer, you cannot pretend it to do all things you want :-P <carlos> limi: I need to go to study now. I think you have all code in place to implement the changes to the statistics we talked about in Oxford <limi> ok, cool <carlos> for projects and products, the effort one is not ready yet, but If you put it in the projects and products templates I could copy it tomorrow for the efforts <carlos> If you miss anything just tell me it, ok? <limi> ok <carlos> and please, don't care about the colors we get now, I just added an extra color to test it, and I know it's ugly :-) <limi> np :) <carlos> later!! * limi waves * daf is on a train <daf> the GPRS connection is really bad <carlos> daf: man, that's too expensive... <daf> well, my friend was paying for it :) * daf is back in Wales * justdave is away: school openhouse #launchpad 2004-09-11 <carlos> daf: how was the party? <daf> it was good <carlos> good night, I want to wake up early tomorrow <daf> good morning <carlos> daf: morning <daf> carlos: how was your day yesterday? <carlos> well, it was not as productive as I thought, the Efforts task took me more time I wanted. <carlos> but I think I have now a clear image about schema/label <daf> I thought we were working on beta-critical stuff? <carlos> daf: that should be working for beta <carlos> We talked about that <carlos> and was already on my tasks list <daf> oh, ok <daf> I thought it was non-beta-crtitical <carlos> Also, the statistics graphs are ready for limi's magic <carlos> daf: Don't worry, the "big" part of my work is also needed for the People/prefered languages <daf> ok <carlos> daf: Lu asked for it last week, I thought it was needed for the beta.. <daf> hmm, I should have posted the list I made up on the wiki <carlos> daf: spoken-languages is fine for you as the name for the schema? <carlos> or 'know-languages' <daf> translation-languages, perhaps <carlos> Hmm, the Labels should be created with the script that fills the Languages/Countries tables <daf> hmm, it would be nice if the user didn't have to navigate through products to get to PO templates <carlos> daf: With lots of templates is not easy to do it without a bloated page <carlos> daf: we need to import data <carlos> real data <carlos> to see how will look like it <carlos> hmmm. I just had an idea about the schemas/labels <carlos> daf: I'm thinking on storing only the language code instead of the name, and then make another query to the Language table <carlos> to get the english name and the native name <carlos> that way the duplicated data is small <daf> what's the status of the preferred languages things? <daf> do you think it will be ready soon? <carlos> daf: I have the sample data ready <carlos> I'm starting now with the code development <daf> cool <daf> I suppose it's not really going to have much effect until we have authentication working <carlos> Hmm, true, but we could "hardcode" one of the sample persons (you, lalo or I) <carlos> and then, if we change the database, the list of languages will also change <carlos> Breakfast time, see you later <daf> carlos: did you get a chance to look at my changes to the export document? <carlos> upps <carlos> I forgot it O:-) <carlos> sorry <carlos> I will do it today <daf> no problem <SteveA> hi <daf> hi Steve <carlos> hi <SteveA> lulu: can we talk about the authentication for the websites? <limi> apparently not :] <SteveA> limi: hi <limi> hi SteveA <carlos> daf: Language preferences is working :-P <daf> carlos: ooh <carlos> daf: and you are the "default" until we get the login stuff in place :-P <daf> heh <carlos> wow, the arch commits list works again, no more garbage.... <daf> yes, I think lifeless fixed it <carlos> daf: My next tasks is finish the efforts code <carlos> daf: Do you have anything more important for me? !dmwaters:*! Hi all, we're currently being nailed with drones, we're doing our best to get things under control <daf> there must be something more important thant that :) <carlos> Could you populate the task board with pending things? <daf> don't we need scripts for creating projects, products, people, etc? <carlos> yes, but I think Lalo is working on it already <daf> do we have a user interface for setting language preferences? <daf> I see that's on the task board <carlos> daf: but that should be added to the user preferences, shouldn't it? <carlos> daf: where you configure your login, email, etc, etc... <carlos> Do we have it already in any place? <carlos> limi: Could you review https://rosetta.warthogs.hbd.com/rosetta/projects/gnome and https://rosetta.warthogs.hbd.com/rosetta/projects/gnome/evolution/? <daf> carlos: yes, it should be on the preference page <daf> carlos: I don't think we have one yet <carlos> limi: when you have more than one language we have the same links for every language. Is that ok from the usability point of view? <carlos> daf: Is it included in Steve's work? <daf> carlos: I think the fact that clicking on different languages gives you the same thing is ugly/confusing <daf> carlos: no * limi looks <carlos> daf: me too, that's why I'm asking limi, because I just noticied it :-( <daf> SteveA has been working on the non-UI side of the auth stuff <carlos> ok <daf> SteveA: have you merged any of the auth stuff yet? <carlos> Do we have any place where lists the things a user will be able to configure from there? <carlos> I suppose that the DB schema has been updated to store the user password, right? (I don't remember any field to store it) <limi> the Translation Overview page shouldn't have the languages before you have selected a product, afaik * limi notices that Rosetta has mutated <limi> :) <limi> and, "A system error occurred." ;) <carlos> URL? <limi> https://rosetta.warthogs.hbd.com/rosetta/projects/gnome/evolution/evolution-2.0/translate <limi> you guys desperately need unit tests soon :) <limi> it's going to be totally unmanagable if not <daf> limi: we've just added unit tests to that page <daf> limi: I've fixed that bug but haven't merged it yet <carlos> limi: Then, If the project list does not know about any language... <carlos> limi: should I calculate the average of all languages? <carlos> That will break the statistics or we need to specify a list of translations we care <carlos> because there are lots of languages that does not have any translation <limi> yes, I thought this was the page where it would show the summary for all languages? <carlos> hmmm <carlos> sorry <carlos> :-P <carlos> only the summary of all languages a translator knows, right? <limi> on the overview page, full summary <carlos> daf: upps, You need to update your database to get working new rosetta <limi> this is the thing that Mark wanted, remember? <limi> with the overall project language stats <daf> carlos: huh? <carlos> daf: rosetta servers have my last code changes <carlos> but the database does not have the needed data <carlos> limi: I know <limi> ok <limi> :)@ <carlos> but I'm focusing on the other part of the stats <limi> on the overview page (is this an Effort?), the current stats make less sense <carlos> limi: why? <limi> because you need some aggregation anyway <limi> if it should show anything, it's the summary of all the products inside the project <limi> can you easily report that? <carlos> per language or globally? <carlos> I can do both <limi> per language would be nice <carlos> limi: that's what we have already at https://rosetta.warthogs.hbd.com/++skin++Debug/rosetta/projects/gnome <carlos> hmm <limi> ok <carlos> no, sorry, is not the same <carlos> but the code is the same <carlos> so it's already done <limi> ok * limi probably has to rework that page a bit <limi> but we have separate pages for Effort and Project now, right? <carlos> not yet <carlos> but we will have it soon <carlos> SteveA: please ping me as soon as you are free, I need to know the status of the login/session code. thanks <carlos> daf: until I get an answer from Steve, I will finish the efforts part. Ok? <limi> ok <limi> :) <limi> nice work <carlos> limi: did you saw the new statistics vars? Do you need anything else? <carlos> limi: I suppose you should add a note at /rosetta/projects/gnome so the user knows that the values are related to all languages she's interested on translate <limi> yes <limi> I'm going to move things about a bit :) <carlos> limi: ok <daf> carlos: there are more important things than translation efforts <daf> carlos: I think you can start writing the template for the preference page without Steve's work <carlos> daf: But I don't have any idea about how will it work, where will it be hosted and if it's a rosetta specific page or launchpad one <daf> ok <daf> for now, we will put it at /rosetta/preferences <daf> and the only preference it will have is the language preferences <carlos> ok <SteveA> hi carlos. I'll be merging the auth code today <daf> and I think it should work more or less like the other forms we have in Rosetta <carlos> SteveA: ok, please notify me it as soon as it's ready <daf> you might like to look at test/test_browser.py for test cases I've added for the view classes <SteveA> ok <carlos> daf: ok <limi> shhh, everybody be quiet, lulu is back O:) <carlos> :-P <lulu> SteveA: sorry hon - was away from my desk.... <lulu> SteveA: sure... <SteveA> hi <lulu> hey - how was your trip back? <SteveA> it was okay. I felt really tired yesterday, though. <SteveA> much better today <SteveA> so, I took yesterday off, as the bank holiday. <lulu> good - I'm sure everyone's needed some recovery time. <SteveA> websites and authentication: we have the ubuntu plone site. <lulu> I also need to hat to you about the app server. James is already onto the webserver stuff. Zope and Plone are huge! :o) <SteveA> we discussed having the plone site do authentication against a launchpad app server via xmlrpc (or something similar) <lulu> yup <lulu> McQuarie = app server and not accessing Emperor direct makes James very happy. <SteveA> ok. I can arrange for the code to be written in launchpad that will do this. Who will write the code to make plone do this? <SteveA> is this part of upfront's contract? <lulu> No. They are purely commissioned to do installation and config. But I can ask them to quote on it, if they have the know how. <SteveA> limi: what's the standard way to do pluggable auth in plone? <lulu> I will need a comprehensive spec from you please. <limi> any way Zope does it <SteveA> I wonder what roche would recommend. <SteveA> lulu: how about I mail roche, explain the overall plan, and ask him what he'd suggest? <lulu> sure - I'll send you an email with his details - pls cc me on correspondence with him, <SteveA> I'll cc you. I know roche already, though. <lulu> SteveA: great. * limi gets lunch <daf> good idea <limi> lulu: btw, could you forward me the summary we made of the theft at the hotel? my insurance company wants it. <lulu> Limi: sure. <lulu> limi: Jane is looking for you & also - the Squid setup for Plone file - could you check with James that it's readable and what he needs. Thanks :o) <SteveA> the squid set-up for the parts that forward requests to launchpad will be a bit different. <SteveA> but, we can add that to the set-up later on, after the ubuntu and canonical parts are done. <limi> lulu: uhm, I've already sent the file twice, what's missing? <lulu> limi: as you saw from James' email - is that what he should be expecting? I cannot read the binary. Pls check with him he has what he needs. cheers. <carlos> limi: ping * limi pongs <carlos> limi: I need some help <carlos> with a page <limi> ok <carlos> it's a list of languages <carlos> and the user will select the ones he/she knows about <limi> ok <carlos> here you have the output I get: <carlos> http://gollum.pemas.net/~carlos/translator.html <carlos> I don't have the .css but it's the translator's dashboard modified <limi> yup <limi> I have a widget for that <carlos> I know it's not a good way to put that information <carlos> so don't blame me for the big list :-P <limi> why are all the language names in English? <carlos> The code that generate that page will be at rocketfuel in some minutes <carlos> limi: just testing :-) <limi> ok <carlos> should I change ihodge@example.net to use the widget? * carlos has no idea about widgets <limi> no, I don't mean widgets in the Z3 sense ;) <carlos> daf: we need a way to cache the language list, we have now 632 in the database and the webpage I have to list all them takes about 3 seconds in my laptop to query the list do some checks and render it <limi> it can be cached heavily, it really doesn't change very often <carlos> limi: then, Should I do anything, or just implement the form summit for that page as I have it now? <limi> carlos: just put in what you have, and I will go and add the widgets <carlos> limi: it's now at rocketfuel <carlos> the submit is not yet at rocketfuel, I'm still working on it <limi> ok <daf> carlos: well, it should run much faster on the server <daf> carlos: if it's still slow on the server, we'll optimise it then <carlos> ok <carlos> daf: could you update the server's database, rosetta is broken until it's update <carlos> ? <daf> ok <carlos> thanks <daf> one <daf> done <daf> (I think) <carlos> daf: yes, it works now <carlos> daf: hmm, I don't get this error in my computer: https://rosetta.warthogs.hbd.com/++skin++Debug/rosetta/translator <daf> neither do I <daf> SteveA: I'm getting a weird error <daf> SteveA: I think it's because sqlos is trying to create a DatabaseException with the wrong number of parameters <carlos> daf: it comes from my latest changes, do you have them? <daf> no, I don't <carlos> then it's normal you don't get the error in your local machine :-) <SteveA> daf: can you paste it into jabber? <daf> SteveA: sure <daf> carlos: :) <carlos> daf: How could I know if a checkbox is checked or not from the Submit method? <carlos> self.request.form[checkbox_name] .checked? <SteveA> this is a tough problem <SteveA> no <SteveA> so, all you can tell is if a checkbox is checked <SteveA> you cannot tell the difference between a checkbox being unchecked, and a checkbox not being there at all <carlos> hmm <carlos> ok, it should not be a problem <carlos> for this page in concrete <SteveA> to see what you get out of a particular form, put <div tal:content="request" /> a the bottom of a page <carlos> thanks <SteveA> you'll see a bulleted-list output of the request <carlos> ok * daf <3 tla undo <daf> or, to put it differently, * daf tla undo * limi switches encoding to daf-8 <carlos> X-) <carlos> daf: the tla undo is the only thing that keeps me to blame arch :-) <daf> carlos: sorry? <carlos> daf: sorry, /s/blame/speak badly about/ <daf> "keeps me to" or "keeps me from"? :) <carlos> from <carlos> keep moving, nothing to see here... <carlos> :-P <daf> no worries, English idioms are hard :) <daf> muy difcil
{'channel': 'launchpad', 'month': 9}