Socorro - messed up logging in processor

RESOLVED FIXED in 1.7.7

Status

RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: lars, Assigned: lars)

Tracking

Trunk
1.7.7
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

8 years ago
I noticed while cruising processor logs:

2011-01-24 08:33:20,651 ERROR - Thread-5 - Caught Error: <type 'exceptions.TypeError'>
2011-01-24 08:33:20,652 ERROR - Thread-5 - not enough arguments for format string
2011-01-24 08:33:20,653 ERROR - Thread-5 - trace back follows:
2011-01-24 08:33:20,654 ERROR - Thread-5 - Traceback (most recent call last):
2011-01-24 08:33:20,654 ERROR - Thread-5 - File "/data/socorro/application/socorro/processor/processor.py", line 607, in processJob
2011-01-24 08:33:20,655 ERROR - Thread-5 - File "/data/socorro/application/socorro/processor/processor.py", line 869, in insertCrashProcess
2011-01-24 08:33:20,655 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/__init__.py", line 1074, in error
2011-01-24 08:33:20,656 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
2011-01-24 08:33:20,656 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
2011-01-24 08:33:20,657 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
2011-01-24 08:33:20,657 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/__init__.py", line 673, in handle
2011-01-24 08:33:20,658 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/handlers.py", line 771, in emit
2011-01-24 08:33:20,658 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format
2011-01-24 08:33:20,659 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format
2011-01-24 08:33:20,660 ERROR - Thread-5 - File "/usr/lib64/python2.6/logging/__init__.py", line 306, in getMessage
2011-01-24 08:33:20,660 ERROR - Thread-5 - TypeError: not enough arguments for format string

line 869 in processor.py, is clearly screwed up.  There aren't enough parameters and the ones that are there are in the wrong order.
(Assignee)

Comment 1

8 years ago
r2940 - fixed
Assignee: nobody → lars
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.7.7
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.