Closed Bug 1032553 Opened 10 years ago Closed 10 years ago

all graphs returning 500 (TypeError: 'long' object is not iterable)

Categories

(Webtools Graveyard :: Graph Server, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rhelmer, Assigned: rhelmer)

Details

[Mon Jun 30 16:00:03 2014] [error] [client 10.22.74.213] TypeError: 'long' object is not iterable
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213] mod_wsgi (pid=4265): Exception occurred processing WSGI script '/var/www/html/graphs/server/api.wsgi'.
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213] Traceback (most recent call last):
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]   File "/usr/lib/python2.6/site-packages/WebOb-1.2b3-py2.6.egg/webob/dec.py", line 130, in __call__
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]     resp = self.call_func(req, *args, **self.kwargs)
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]   File "/usr/lib/python2.6/site-packages/WebOb-1.2b3-py2.6.egg/webob/dec.py", line 195, in call_func
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]     return self.func(req, *args, **kwargs)
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]   File "/var/www/html/graphs/server/api_cgi.py", line 74, in application
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]     result = options[item](id, attribute, req)
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]   File "/var/www/html/graphs/server/api.py", line 306, in getTestRuns
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]     annotations = getAnnotations(row['id'], 'array')
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]   File "/var/www/html/graphs/server/api.py", line 425, in getAnnotations
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]     cursor.execute(sql, (test_run_id))
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]   File "/var/www/html/graphs/server/graphsdb.py", line 80, in execute
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]     return self._cursor.execute(*args, **kw)
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]   File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 187, in execute
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213]     query = query % tuple([db.literal(item) for item in args])
[Mon Jun 30 16:00:04 2014] [error] [client 10.22.74.213] TypeError: 'long' object is not iterable
This appears to be from annotations, which AFAIK isn't actually used by graphserver. Quick fix is to disable the feature.
Status: NEW → ASSIGNED
http://hg.mozilla.org/graphs/file/f1df196cfbea
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.