new repo comes up with broken pushlog

RESOLVED FIXED

Status

P1
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: Pike, Assigned: gps)

Tracking

({regression})

Details

(Reporter)

Description

4 years ago
+++ This bug was initially created as a clone of Bug #1116328 +++

https://hg.mozilla.org/gaia-l10n/ha/json-pushes returns a 500 error right now.

This is a new repo from bug 1113426, and breaks the l10n automation.

I guess this is also fall-out from the pushlog extension conversion.
(Assignee)

Comment 1

4 years ago
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212] mod_wsgi (pid=23704): Exception occurred processing WSGI script '/repo_local/mozilla/webroot_wsgi/gaia-l10n/hgweb.wsgi'.
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212] Traceback (most recent call last):
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]   File "/repo_local/mozilla/extensions/serverlog/__init__.py", line 285, in run_wsgi
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]     for what in super(hgwebwrapped, self).run_wsgi(req):
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]   File "/usr/lib64/python2.6/site-packages/mercurial/hgweb/hgweb_mod.py", line 253, in run_wsgi
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]     content = getattr(webcommands, cmd)(self, req, tmpl)
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]   File "/repo_local/mozilla/extensions/pushlog-feed.py", line 490, in pushes
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]     query = pushlogSetup(web.repo, req)
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]   File "/repo_local/mozilla/extensions/pushlog-feed.py", line 308, in pushlogSetup
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]     query.DoQuery()
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]   File "/repo_local/mozilla/extensions/pushlog-feed.py", line 161, in DoQuery
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212]     self.lastpushid = self.conn.execute(query).fetchone()[0]
[Thu Jan 01 01:53:23 2015] [error] [client 10.22.74.212] TypeError: 'NoneType' object is unsubscriptable
Assignee: nobody → gps
Status: NEW → ASSIGNED
(Assignee)

Comment 3

4 years ago
Deployed updated pushlog-feed.py to production. 500's appear to have gone away.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Reporter)

Comment 4

4 years ago
Thanks for the quick turnaround. My poller cycled successfully through all its repos now
You need to log in before you can comment on or make changes to this bug.