Closed Bug 1116899 Opened 8 years ago Closed 8 years ago

new repo comes up with broken pushlog

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: gps)

References

Details

(Keywords: regression)

+++ 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.
[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
Deployed updated pushlog-feed.py to production. 500's appear to have gone away.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
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.