[12:14] <mpt> nooooooooo
[12:37] <mpt> Weekend, all
[12:40] <dilys> Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  make spec URL field a reasonable length and fix the bug causing an exception to be raised when assigning specs to milestones, which could happen when two different spec targets had a target of the same name (patch-2559: brad.bollenbach@canonical.com)
[02:55] <dilys> Merge to rocketfuel@canonical.com/launchpad--production--1.34: Cherry pick patch-2558 into production 1.35 (patch-19: rocketfuel@canonical.com, mpt@canonical.com)
[06:34] <Keybuk> try:
[06:34] <Keybuk>     os.unlink(filename)
[06:34] <Keybuk> except OSError, e:
[06:34] <Keybuk>     if e.errno != errno.ENOENT:
[06:34] <Keybuk>         raise
[06:34] <Keybuk> THIS IS SO WRONG
[06:34] <Keybuk> ENoEnt (or even better, NotFoundError or something) should be an Exception sub-class of OSError
[07:08] <stub> Yup. Sucks.
[07:26] <Keybuk> the nice thing about xml is how easy it is to use
[07:27] <Keybuk> doc = xml.dom.minidom.getDOMImplementation().createDocument(NAMESPACE, ROOT_NODE, xml.dom.minidom.getDOCImplementation().createDocumentType(ROOT_NODE, None, DOC_TYPE))
[07:27] <Keybuk> what could be easier?! :-/
[07:52] <stub> Keybuk: elementree or one of the other XML tools that doesn't blindly follow idiotic standards like DOM or SAX
[07:53] <Keybuk> I found elementtree just as bad for constructing XML
[08:01] <stub> root = Element('root')
[08:01] <stub> child = SubElement(root, 'child')
[08:01] <stub> child.set('attribute','value')
[08:01] <stub> tree = ElementTree(root)
[08:01] <stub> tree.write('output.xml')
[08:04] <Keybuk> except that then doesn't have the right namespaces and stuff
[08:04] <Keybuk> and once you add those, it becomes exactly as hard as DOM
[08:06] <stub> root = Element('{%s}root' % NS)
[08:06] <stub> child = SubElement(root, '{%s}child' % NS)
[08:06] <stub> child.set('{%s}attribute' % NS,'value')
[08:06] <stub> tree = ElementTree(root)
[08:06] <stub> tree.write('output.xml')
[08:07] <Keybuk> and thus proving my point <g>
[08:07] <Keybuk> that's actually easier in DOM because you can just use ns.createElement
[08:07] <Keybuk> which returns an element already in the right namespace, with whatever prefix you assigned
[08:08] <Keybuk> (and you forgot there to set the xmlns:$NS attribute :p
[08:13] <stub> xmlns attribute is added automatically.
[08:13] <Keybuk> where does it get the value from?
[08:14] <stub> I do think it would be nicer if he hadn't followed James Clark's crackful idea of sticking the namespace URI in curly brackets though instead of using an extra parameter for the namespace
[08:15] <stub> It keeps track of the namespace URIs being used by elements you add. It then assigns prefixes and adds in the xmns boilerplate
[08:15] <Keybuk> see, then you end up having to try and persuade it what prefix you wanted and stuff <g>
[08:15] <stub> I don't know if it is easy to specify your own prefix in case you want human readable XML
[08:16] <Keybuk> I've yet to see someone really come up with a nice way of making xml
[08:17] <Keybuk> I tend to abstract it into three functions
[08:17] <Keybuk> set_text(node, text), set_attribute(node, attr, value), set_pair(node, key, value)
[08:17] <Keybuk> with equivalent get functions
[08:17] <stub> Ahh.... there appears to be a newer way of doing namespaces in elementtree...
[08:17] <Keybuk> the first does "la la la" inside node, removing any existing text
[08:17] <Keybuk> the second does foo="la la la" inside node
[08:18] <Keybuk> and the third does <foo>la la la</foo> inside node
[08:18] <Keybuk> and basically go frm there
[08:18] <Keybuk> and they're always about 5 lines long each, no matter which toolkit I use :-/
[08:20] <stub> hmm... false lead.
[08:23] <stub> http://www.tothink.com/python/ElementBuilder/ perhaps
[08:27] <stub> from elementtree.ElementTree import ElementTree, SubElement, Element, QName
[08:27] <stub> NS = 'whatever'
[08:27] <stub> root = Element(QName(NS, 'root'))
[08:27] <stub> child = SubElement(root, QName(NS, 'child'))
[08:27] <stub> child.set(QName(NS, 'attribute'), 'value')
[08:27] <stub> tree = ElementTree(root)
[08:27] <stub> tree.write('output.xml')
[08:27] <stub> Looks like enough people bitched to add support ;)
[10:38] <mdke> is there any way to search templates in rosetta?
[11:51] <zygis> hi
[11:52] <zygis> I've done a funny discovery when registering myself in launchpad
[11:53] <zygis> found that my wiki page url would be https://wiki.ubuntu.com/ygimantasBeruka2 instead of https://wiki.ubuntu.com/ygimantasBeruka
[11:54] <zygis> did a little research and found a bug (I guess)
[11:54] <zygis> somehow account with my name was registered in launchpad before I did it
[11:54] <zygis> see https://launchpad.net/people/uid0-tuxfamily
[11:55] <zygis> (I had an email uid0@tuxfamily.org uhm... two years ago)
[11:57] <zygis> how launchpad managed to register an account automatically with it?
[12:00] <zygis> wiki page under different URL, or disabled upload of hackergotchi isn't bugs of very high importance
[12:01] <zygis> but still, it's a bug :)
[12:18] <zygis> btw, wherever I go in rosetta, I get "You are not an official translator for this file."
[12:19] <zygis> what do I have to do to convince Rossetta, that I *am* the official translator?
[12:19] <mdke> zygis, you need to be a member of the relevant translator group for that language
[12:20] <mdke> if it is an Ubuntu file at least
[12:21] <zygis> well, I've just created ubuntu-l10n-lt group an hour ago
[12:22] <zygis> when it will show up in this list https://launchpad.net/rosetta/groups/ubuntu-translators/ ?
[12:24] <zygis> there's a button '
[12:24] <zygis> Appoint New Translator', who can use it? It seems that I do not have permission to use it
[12:29] <mdke> zygis, you need to ask the rosetta administrators to arrange the group
[04:44] <segfault> why the exported PO files from rosetta take so long to arrive?
[04:49] <salgado> segfault: I'm not sure, but could be because the queue is full or it's not processed very often
[04:55] <segfault> ok
[05:21] <Zoohouse> I have a question. I don't want my team to be called by my name. Is there a way I can dismantal the team I just made and remake it with another name?
[05:31] <salgado> Zoohouse: it used to be possible to rename teams, but someone removed that feature.
[05:31] <salgado> I'l file a bug on that, and if nobody complains I'll put that feature back
[05:32] <Zoohouse> ok
[05:32] <Zoohouse> Another thing
[05:33] <Zoohouse> salgado: I just made a team for artwork
[05:33] <Zoohouse> Can I upload a icon set so the team can work on?
[05:33] <Zoohouse> a package
[05:35] <salgado> Zoohouse: that's not possible yet
[05:37] <Zoohouse> Ok..
[05:39] <Zoohouse> How do I add a support ticket... 
[05:41] <Zoohouse> Is launchpad still under development?
[05:41] <salgado> Zoohouse: yes, it's still under heavy development
[05:42] <Zoohouse> ah ok.. I thought It was a finished product and was woundering why some of the links were dead :D
[05:54] <Zoohouse> I just created a new product. How do I link it to the team?
[06:05] <Zoohouse> And I cant log in as admin of my product...
[07:01] <eruin> any idea why https://launchpad.net/distros/ubuntu/breezy/+sources/gdm/+pots/gdm/nb/+translate doesn't work?
[07:02] <eruin> could launchpad be configured to output more verbose errors?
[07:03] <salgado> eruin, has this error happened now?
[07:04] <eruin> it happens on a few of the nb locale sections I use 
[07:04] <eruin> and yes
[07:08] <salgado> eruin, usually, when you have a URL that always raises a system error, you can just paste that URL in the bug report and say it's a system error
[07:08] <salgado> I'm filing that bug now, and I'll paste the full error message
[07:10] <eruin> okay, I'll do that in the future :)
[07:10] <eruin> thanks
[07:11] <eruin> By the way,who's responsible for the apps availablefor translation in rosetta?
[07:11] <salgado> eruin, it seems to happen for both nb and nn, have you noticed that?
[07:11] <eruin> seeing as breezy has serpentine 0.6.3 (where 0.6.2 intoroduced i18n), wouldn't it make sense to make a template available?
[07:11] <eruin> salgado, I'm not a nn translator, so no ;-)
[07:12] <salgado> eruin, I guess jordi is responsible for that
[07:20] <eruin> I guess I'll ping him after the weekend
[07:20] <eruin> we only have until the 10th to finish translations according to pitti ;o
[07:22] <salgado> eruin, you can mail the rosetta-users mailing list, if you haven't done so yet
[07:27] <eruin> hmm, there seems to already be traffic about it on the list, and jordi replied that he had added it to the queue
[07:27] <eruin> that was on sep 22
[08:59] <fabbione> hmmmm
[08:59] <fabbione> guys.. how do i add UBZ event to my calendar?
[08:59] <fabbione> shouldn't be some kind of autolink thingy?
[08:59] <fabbione>  Merged Calendar for Fabio Massimo Di Nitto <-
[08:59] <fabbione> ?`
[09:02] <fabbione> Ubuntu Below Zero: 2005-10-09 to 2006-11-18 <- this is going to be a veeeeeeeeeery loooooooong meeting...
[09:02] <Nafallo> lol
[09:03] <fabbione> no hold on!!!!
[09:03] <fabbione> it's going to start in 8 days!!!
[09:04] <spacey> i tried to plan it aswall in launchpad
[09:04] <spacey> not really obvious and not easy to set
[09:04] <spacey> to say the least
[09:07] <fabbione> i can't find a way to link UBZ into my calendar
[09:07] <fabbione> and of course the sprint page says nobody will be there
[09:07] <fabbione> dude.. launchpad is more fun than Q3A
[09:08] <fabbione> the dungeon is more complex and there are more levels of difficulties..
[09:08] <fabbione> including 20 monsters^Wdevelopers ready to hunt me down at the end of each of level
[10:09] <\sh> hmmm...