Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

OperationalError: string is too long for tsvector (2482440 bytes, max 1048575 bytes) #397

Open
sentry-io bot opened this issue Sep 18, 2021 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 18, 2021

Sentry Issue: MARIA-QUITERIA-8Z

ProgramLimitExceeded: string is too long for tsvector (2482440 bytes, max 1048575 bytes)

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)

OperationalError: string is too long for tsvector (2482440 bytes, max 1048575 bytes)

(8 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "django/db/backends/utils.py", line 75, 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)
  File "django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
@anapaulagomes
Copy link
Contributor

Talvez esse erro seja causado por arquivos com conteúdos grande demais (como alguns .rar). Sua ideia de salvar de maneira separada talvez seja uma boa pro futuro, @exageraldo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant