Closed
Bug 588677
Opened 14 years ago
Closed 13 years ago
Sphinx re-indexing has been bust for a while on Stage
Categories
(support.mozilla.org :: Search, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fox2mike, Unassigned)
Details
And we've been getting a zillion emails. I did drop in an email to sumo-dev but since it's not been fixed, I've dumped the output to /dev/null and am filing this so you guys know it still need to fix it. Alternatively, if you'd like to get these mails in the future, that can be arranged as well :)
Reporter | ||
Comment 1•14 years ago
|
||
-------- Original Message -------- From: root@pm-app-sphinx02.mozilla.org (Cron Daemon) Subject: Cron <daemon@pm-app-sphinx02> /data/bin/sphinx-reindex support-stage-new > /dev/null Date: Tue, 17 Aug 2010 05:05:01 -0700 To: daemon@pm-app-sphinx02.mozilla.org Traceback (most recent call last): File "/data/sphinx/support-stage-new/sphinx.conf", line 14, in ? config = """ AttributeError: 'str' object has no attribute 'format' Traceback (most recent call last): File "/data/sphinx/support-stage-new/sphinx.conf", line 14, in ? config = """ AttributeError: 'str' object has no attribute 'format'
Reporter | ||
Comment 2•14 years ago
|
||
The "fix" is to set #!/usr/bin/python26 or /bin/env python26 as against the current /bin/env python (which is using the system's python, 2.4)
Comment 3•14 years ago
|
||
Adding to this, we need a better way to know that this is failing. Script's been broken for some time.
Comment 4•14 years ago
|
||
So hudson doesn't seem to like the changes. We need to investigate that. https://hudson.mozilla.org/job/support.mozilla.com/283/
Comment 5•14 years ago
|
||
Can indexer run in a virtualenv? It only needs python 2.6. Or we need help to make hudson accept #!/usr/bin/env python26 inside the testing virtualenv.
Comment 6•13 years ago
|
||
All seems to be working now.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•