Closed
Bug 501228
Opened 15 years ago
Closed 14 years ago
topcrashers cron unsuccessful since 4/16/2009
Categories
(Socorro :: General, task)
Socorro
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: ozten, Unassigned)
References
Details
Attachments
(1 file)
1.93 KB,
patch
|
Details | Diff | Splinter Review |
startTopCrashers.py hasn't had a successful run since 4/16 in production. This is due to build being NULL in some rows of the reports table. I was able to repro in dev by setting build = NULL and running the script. Expected: Skip this row Actual: 2009-06-29 15:07:58,746 CRITICAL - MainThread Caught Error: psycopg2.IntegrityError 2009-06-29 15:07:58,747 CRITICAL - null value in column "build" violates not-null constraint 2009-06-29 15:07:58,765 INFO - trace back follows: File "/home/aking/breakpad/socorro/socorro/cron/topcrashes.py", line 184, in calculateTopCrashes cur.execute(sql2, (signatureData['signature'], signatureData['version'], signatureData['product'], signatureData['build'], signatureData['total'], signatureData['win'], signatureData['mac'], signatureData['lin'], signatureData['rank'], last_rank, "", signatureData['uptime_average'], signatureData['users'], update_time)) File "/usr/lib/python2.4/site-packages/psycopg2/extras.py", line 89, in execute return _cursor.execute(self, query, vars, async)
Reporter | ||
Comment 1•15 years ago
|
||
Attached is a patch that fixes the issue. It rejects rows which have a NULL build value.
Attachment #385870 -
Flags: review?(lars)
Attachment #385870 -
Flags: review?(griswolf)
Comment 2•15 years ago
|
||
Reviewed. Patch will work, in my opinion
Comment 4•14 years ago
|
||
Austin - What's the status of this bug?
Reporter | ||
Updated•14 years ago
|
Attachment #385870 -
Flags: review?(lars)
Attachment #385870 -
Flags: review?(griswolf)
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•13 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
You need to log in
before you can comment on or make changes to this bug.
Description
•