patchmetrics.gerrit.GerritError: "--format" is not a valid option

Bug #1155533 reported by Milo Casagrande
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro patch metrics
Fix Released
High
Milo Casagrande

Bug Description

Since a couple of days we are getting this error:

Traceback (most recent call last):
  File "/srv/patches.linaro.org/apps/patchmetrics/bin/sync-gerrit-changes.py", line 28, in <module>
    results = get_aosp_changes_from(user_email, resume_key=resume_key)
  File "/srv/patches.linaro.org/apps/patchmetrics/gerrit.py", line 66, in get_aosp_changes_from
    query_params)
  File "/srv/patches.linaro.org/apps/patchmetrics/gerrit.py", line 79, in rest_api_request
    return gerrit_request(request_url)
  File "/srv/patches.linaro.org/apps/patchmetrics/gerrit.py", line 166, in gerrit_request
    raise GerritError(ex.read())
patchmetrics.gerrit.GerritError: "--format" is not a valid option

Might be that android gerrit has been updated and API calls changed. Something similar already happened in the past.
Need to be looked into.

Related branches

Milo Casagrande (milo)
Changed in linaro-patchmetrics:
status: New → Confirmed
importance: Undecided → High
milestone: none → 2013.03
Milo Casagrande (milo)
Changed in linaro-patchmetrics:
assignee: nobody → Milo Casagrande (milo)
status: Confirmed → In Progress
Milo Casagrande (milo)
Changed in linaro-patchmetrics:
status: In Progress → Fix Committed
Revision history for this message
Milo Casagrande (milo) wrote :

Create RT #914 with request to upgrade patches code on the server.

Revision history for this message
Milo Casagrande (milo) wrote :

This was released during patches migration from Canonical server.

Changed in linaro-patchmetrics:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.