[06:50] <pjp> Hi, When creating a bug via createBug() method, is 'tags' argument a list of tags['tag1', 'tag2', 'tag3',] OR a string like "tag1 tag2 tag3"?
[06:52] <pjp> For both variants I get => HTTP Error 400: Bad Request -> tags: ([ConstraintNotSatisfied(u'tag1', '')], 'tags')
[07:02] <wgrant> pjp: It's a list of tags:
[07:02] <wgrant> In [2]: lp.bugs.createBug(target='/ubuntu', title='Test', description='Test', tags=['foo', 'bar', 'baz'])
[07:03] <wgrant> Out[2]: <bug at https://api.staging.launchpad.net/devel/bugs/1880206>
[07:04] <pjp> wgrant: Yes, list works on a staging instance. On 'production' it is throwing Bad Request error.
[07:04] <wgrant> pjp: What's the exact call you're making?
[07:04] <wgrant> In [1]: lp.bugs.createBug(target='/null-and-void', title='Test', description='Test', tags=['foo', 'bar', 'baz'])
[07:04] <wgrant> Out[1]: <bug at https://api.launchpad.net/devel/bugs/1880820>
[07:04] <wgrant> Works fine on prod too.
[07:07] <pjp> wgrant: lp.bugs.createBug(title=bz['summary'], description=bz['cf_release_notes'], target='/qemu', tags=['Qemu'], information_type='Public')
[07:09] <pjp> wgrant: does the case matter?
[07:09] <wgrant> pjp: Tags are lowercase. They follow the same rules as other Launchpad names: ^[a-z0-9][a-z0-9\+\.\-]+$
[07:09] <pjp> wgrant: Ah, likely that is triggering the error
[07:09] <wgrant> Almost certainly.
[07:09] <wgrant> Staging would show the same thing.
[07:10] <pjp> wgrant: Yes, lowercase worked.
[07:10] <pjp> wgrant: Thank you.
[07:10] <wgrant> Great.
[07:10] <wgrant> np
[12:34] <rbasak> That's odd. On sru-review accept: lazr.restfulclient.errors.PreconditionFailed: HTTP Error 412: Precondition Failed
[12:35]  * rbasak tries again
[12:35] <wgrant> rbasak: That means you raced with another modification to the object.
[12:35] <rbasak> Ah - probably myself
[12:35] <rbasak> ERROR: Queue does not have an upload of this source.
[12:35] <rbasak> I guess I can run sru-accept manually