Closed
Bug 1663694
Opened 4 years ago
Closed 4 years ago
[traceback] ValueError: A string literal cannot contain NUL (0x00) characters: /signature/bugzilla
Categories
(Socorro :: Webapp, defect, P2)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(1 file)
Sentry report: https://sentry.prod.mozaws.net/operations/socorro-new-prod/issues/9403544/
ValueError: A string literal cannot contain NUL (0x00) characters.
File "django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "crashstats/signature/views.py", line 64, in inner
return view(request, *args, **kwargs)
File "crashstats/signature/views.py", line 558, in signature_bugzilla
models.BugAssociation.objects.get_bugs_and_related_bugs(signatures=[signature])
File "crashstats/crashstats/models.py", line 42, in get_bugs_and_related_bugs
bug_ids = [
File "django/db/models/query.py", line 274, in __iter__
self._fetch_all()
File "django/db/models/query.py", line 1242, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "django/db/models/query.py", line 144, in __iter__
return compiler.results_iter(tuple_expected=True, chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File "django/db/models/sql/compiler.py", line 1092, in results_iter
results = self.execute_sql(MULTI, chunked_fetch=chunked_fetch, chunk_size=chunk_size)
File "django/db/models/sql/compiler.py", line 1140, in execute_sql
cursor.execute(sql, params)
File "django/db/backends/utils.py", line 67, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "django/db/backends/utils.py", line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File "django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
Assignee | ||
Comment 1•4 years ago
|
||
We hit a bunch of these a week or two ago. I'm not sure why (fuzzing? funky signature report?), but it's worth looking into and probably an easy fix.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
I pushed the latest changes to prod in bug #1664250. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•