Sync from gerrit is failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro patch metrics |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
With the following traceback:
/srv/patches.
if '%s not found' % person.email in e.message:
Traceback (most recent call last):
File "/srv/patches.
person.email, start_after=
File "/srv/patches.
'allQueryNext', [query, start_after, page_size])
File "/srv/patches.
raise GerritError(
patchmetrics.
line 1:7 no viable alternative at input '('
It turns out this was caused because there was a Person in the patchwork DB with "(address hidden)" as its email address. That, in turn, was caused by the parsing of http:// patches. linaro. org/5668/. I asked Mike on IRC whether or not we should expect to see more of those, but the answer was not; the address mangling was not intentional:
<mturquette> i pulled the baseline patch from russell's patch tracker... so maybe the email address mangling was done there...
I've deleted the bogus Person entry so the script should run fine now