mozilla-releng / mozilla-releng/tooltool

ValueError: A string literal cannot contain NUL (0x00) characters.

Open
#1,189 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug python
Dominant language
Python
Stars
2
Forks
14
Avg merge
1d 6h
Merged PRs (30d)
2

Description

Sentry Issue: TOOLTOOL-1T

ValueError: A string literal cannot contain NUL (0x00) characters.
(19 additional frame(s) were not displayed)
...
  File "sqlalchemy/engine/base.py", line 1846, in _execute_context
    return self._exec_single_context(
  File "sqlalchemy/engine/base.py", line 1987, in _exec_single_context
    self._handle_dbapi_exception(
  File "sqlalchemy/engine/base.py", line 2347, in _handle_dbapi_exception
    raise exc_info[1].with_traceback(exc_info[2])
  File "sqlalchemy/engine/base.py", line 1968, in _exec_single_context
    self.dialect.do_execute(
  File "sqlalchemy/engine/default.py", line 920, in do_execute
    cursor.execute(statement, parameters)

ValueError: A string literal cannot contain NUL (0x00) characters.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Sentry report and the SQLAlchemy execution path named in the traceback, especially sqlalchemy/engine/base.py and sqlalchemy/engine/default.py. Determine which input contains the NUL character and where it enters the statement or parameters; done should include a confirmed cause and a regression test or clearly documented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlalchemy
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.