Portal de códigos de erro
PythonPythonCódigo de erro

SystemError

SystemError

Código SystemError · Problema relatado por Python.

Criado quando o intérprete encontra um erro interno, mas a situação não parece tão grave para fazê-lo abandonar toda a esperança. O valor associado é uma string que indica o que correu mal (em termos de baixo nível). Em CPython, isto pode ser levantado usando incorretamente a API Python . Tal como devolver um valor NULL sem um conjunto de exceção. Se você estiver confiante de que esta exceção não foi sua culpa, ou a culpa de um pacote que você está usando, você deve reportar isto ao autor ou mantene do seu intérprete Python. Certifique-se de reportar a versão do intérprete Python (sys.version; também é impresso no início de uma sessão interativa Python), a mensagem de erro exata (o valor associado à exceção ), e, se possível, a fonte do programa que desencadeou o erro.

OPUS-MT · Helsinki-NLP / CTranslate2 · Esta é uma tradução automática. Confira os termos técnicos e as condições aplicáveis no original em inglês.

Raised when the interpreter finds an internal error, but the situation does not look so serious to cause it to abandon all hope. The associated value is a string indicating what went wrong (in low-level terms). In CPython, this could be raised by incorrectly using Python’s C API, such as returning a NULL value without an exception set. If you’re confident that this exception wasn’t your fault, or the fault of a package you’re using, you should report this to the author or maintainer of your Python interpreter. Be sure to report the version of the Python interpreter (sys.version; it is also printed at the start of an interactive Python session), the exact error message (the exception’s associated value) and if possible the source of the program that triggered the error.

Links de solução de problemas e diagnóstico

Primeiro, confira se o produto, a versão e o ambiente do documento correspondem à sua situação.