SystemError
Python 3.11.2: /usr/bin/python
Mon Sep 15 19:04:10 2025

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python3/dist-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
    565         """Runs the handler, flushes the streams, and ends the request."""
    566         try:
=>  567             protocolStatus, appStatus = self.server.handler(self)
    568         except:
    569             output = io.StringIO()
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method BaseFCGIServer.handler of <flup.server.fcgi.WSGIServer object>>
 /usr/lib/python3/dist-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
   1129         try:
   1130             try:
=> 1131                 result = self.application(environ, start_response)
   1132                 try:
   1133                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <function application>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/www/public_html/', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/home/www/public_html/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'petkli.de', ...}, start_response = <function BaseFCGIServer.handler.<locals>.start_response>
 /usr/lib/python3/dist-packages/cm4all/fcgi/launcher.py in application(environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/www/public_html/', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/home/www/public_html/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'petkli.de', ...}, start_response=<function BaseFCGIServer.handler.<locals>.start_response>)
     15 
     16 def application(environ, start_response):
=>   17     return cache[environ['SCRIPT_FILENAME']](environ, start_response)
     18 
     19 def launch():
global cache = {}, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/www/public_html/', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/home/www/public_html/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'petkli.de', ...}, start_response = <function BaseFCGIServer.handler.<locals>.start_response>
 /usr/lib/python3/dist-packages/cm4all/fcgi/launcher.py in __missing__(self={}, path='/home/www/public_html/python3/dist-packages/IPython/core/magics/__pycache__/history.cpython-311.pyc')
      6         name, ext = os.path.splitext(os.path.split(path)[-1])
      7         if ext in ('.pyc', '.py3c'):
=>    8             mod = imp.load_compiled(name, path)
      9         else:
     10             mod = imp.load_source(name, path)
mod undefined, global imp = <module 'imp' from '/usr/lib/python3.11/imp.py'>, imp.load_compiled = <function load_compiled>, name = 'history.cpython-311', path = '/home/www/public_html/python3/dist-packages/IPython/core/magics/__pycache__/history.cpython-311.pyc'
 /usr/lib/python3.11/imp.py in load_compiled(name='history.cpython-311', pathname='/home/www/public_html/python3/dist-packages/IPython/core/magics/__pycache__/history.cpython-311.pyc', file=None)
    190         module = _exec(spec, sys.modules[name])
    191     else:
=>  192         module = _load(spec)
    193     # To allow reloading to potentially work, use a non-hacked loader which
    194     # won't rely on a now-closed file object.
module undefined, global _load = <function _load>, spec = ModuleSpec(name='history.cpython-311', loader=<i...core/magics/__pycache__/history.cpython-311.pyc')
 /usr/bin/<frozen importlib._bootstrap> in _load(spec=ModuleSpec(name='history.cpython-311', loader=<i...core/magics/__pycache__/history.cpython-311.pyc'))
 /usr/bin/<frozen importlib._bootstrap> in _load_unlocked(spec=ModuleSpec(name='history.cpython-311', loader=<i...core/magics/__pycache__/history.cpython-311.pyc'))
 /usr/bin/<frozen importlib._bootstrap_external> in exec_module(self=<imp._LoadCompiledCompatibility object>, module=<module 'history.cpython-311' from '/home/www/pu...core/magics/__pycache__/history.cpython-311.pyc'>)
 /usr/bin/<frozen importlib._bootstrap> in _call_with_frames_removed(f=<built-in function exec>, *args=(<code object <module> at 0x7f2f5ce01640, file "/...packages/IPython/core/magics/history.py", line 1>, {'__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, ...}, '__cached__': '/home/www/public_html/python3/dist-packages/IPython/core/magics/__pycache__/history.cpython-311.pyc', '__doc__': 'Implementation of magic functions related to History.\n', '__file__': '/home/www/public_html/python3/dist-packages/IPython/core/magics/__pycache__/history.cpython-311.pyc', '__loader__': <imp._LoadCompiledCompatibility object>, '__name__': 'history.cpython-311', '__package__': 'history', '__spec__': ModuleSpec(name='history.cpython-311', loader=<i...core/magics/__pycache__/history.cpython-311.pyc'), 'io_open': <built-in function open>, 'os': <module 'os' (frozen)>, ...}), **kwds={})
 /home/www/public_html/python3/dist-packages/IPython/core/magics/history.py in <module>
     20 
     21 # Our own packages
=>   22 from IPython.core.error import StdinNotImplementedError
     23 from IPython.core.magic import Magics, magics_class, line_magic
     24 from IPython.core.magic_arguments import (argument, magic_arguments,
IPython undefined, StdinNotImplementedError undefined
 /usr/lib/python3/dist-packages/IPython/__init__.py in <module>
     50 from .core.getipython import get_ipython
     51 from .core import release
=>   52 from .core.application import Application
     53 from .terminal.embed import embed
     54 
Application undefined
 /usr/lib/python3/dist-packages/IPython/core/application.py in <module>
     25 from traitlets.config.application import Application, catch_config_error
     26 from traitlets.config.loader import ConfigFileNotFound, PyFileConfigLoader
=>   27 from IPython.core import release, crashhandler
     28 from IPython.core.profiledir import ProfileDir, ProfileDirError
     29 from IPython.paths import get_ipython_dir, get_ipython_package_dir
IPython undefined, release undefined, crashhandler undefined
 /usr/lib/python3/dist-packages/IPython/core/crashhandler.py in <module>
     26 from pathlib import Path
     27 
=>   28 from IPython.core import ultratb
     29 from IPython.core.release import author_email
     30 from IPython.utils.sysinfo import sys_info
IPython undefined, ultratb undefined
 /usr/lib/python3/dist-packages/IPython/core/ultratb.py in <module>
     99 from typing import Tuple, List, Any, Optional
    100 
=>  101 import stack_data
    102 from pygments.formatters.terminal256 import Terminal256Formatter
    103 from pygments.styles import get_style_by_name
stack_data undefined
 /usr/lib/python3/dist-packages/stack_data/__init__.py in <module>
=>    1 from .core import Source, FrameInfo, markers_from_ranges, Options, LINE_GAP, Line, Variable, RangeInLine, \
=>    2     RepeatedFrames, MarkerInLine, style_with_executing_node, BlankLineRange, BlankLines
      3 from .formatting import Formatter
      4 from .serializing import Serializer
      5 
Source undefined, FrameInfo undefined, markers_from_ranges undefined, Options undefined, LINE_GAP undefined, Line undefined, Variable undefined, RangeInLine undefined, RepeatedFrames undefined, MarkerInLine undefined, style_with_executing_node undefined, BlankLineRange undefined, BlankLines undefined
 /usr/lib/python3/dist-packages/stack_data/core.py in <module>
     16 from asttokens.util import Token
     17 from executing import only
=>   18 from pure_eval import Evaluator, is_expression_interesting
     19 from stack_data.utils import (
     20     truncate, unique_in_order, line_range,
pure_eval undefined, Evaluator undefined, is_expression_interesting undefined
 /usr/lib/python3/dist-packages/pure_eval/__init__.py in <module>
=>    1 from .core import Evaluator, CannotEval, group_expressions, is_expression_interesting
      2 from .my_getattr_static import getattr_static
      3 
      4 try:
      5     from .version import __version__
Evaluator undefined, CannotEval undefined, group_expressions undefined, is_expression_interesting undefined
 /usr/lib/python3/dist-packages/pure_eval/core.py in <module>
      7 from typing import Any, Tuple, Iterable, List, Mapping, Dict, Union, Set
      8 
=>    9 from pure_eval.my_getattr_static import getattr_static
     10 from pure_eval.utils import (
     11     CannotEval,
pure_eval undefined, getattr_static undefined
 /usr/lib/python3/dist-packages/pure_eval/my_getattr_static.py in <module>
      1 import types
      2 
=>    3 from pure_eval.utils import of_type, CannotEval
      4 
      5 _sentinel = object()
pure_eval undefined, of_type undefined, CannotEval undefined
 /usr/lib/python3/dist-packages/pure_eval/utils.py in <module>
      2 from datetime import date, time, datetime
      3 from decimal import Decimal
=>    4 from fractions import Fraction
      5 import ast
      6 import enum
fractions undefined, Fraction undefined
 /usr/lib/python3.11/fractions.py in <module>
     21 _PyHASH_INF = sys.hash_info.inf
     22 
=>   23 _RATIONAL_FORMAT = re.compile(r"""
=>   24     \A\s*                                 # optional whitespace at the start,
=>   25     (?P<sign>[-+]?)                       # an optional sign, then
_RATIONAL_FORMAT undefined, re = <module 're' from '/usr/lib/python3.11/re/__init__.py'>, re.compile = <function compile>, re.VERBOSE = re.VERBOSE, re.IGNORECASE = re.IGNORECASE
 /usr/lib/python3.11/re/__init__.py in compile(pattern='\n \\A\\s* # opt... # and optional whitespace to finish\n', flags=re.IGNORECASE|re.VERBOSE)
    225 def compile(pattern, flags=0):
    226     "Compile a regular expression pattern, returning a Pattern object."
=>  227     return _compile(pattern, flags)
    228 
    229 def purge():
global _compile = <function _compile>, pattern = '\n \\A\\s* # opt... # and optional whitespace to finish\n', flags = re.IGNORECASE|re.VERBOSE
 /usr/lib/python3.11/re/__init__.py in _compile(pattern='\n \\A\\s* # opt... # and optional whitespace to finish\n', flags=66)
    292                   "Don't use it.",
    293                   DeprecationWarning)
=>  294     p = _compiler.compile(pattern, flags)
    295     if not (flags & DEBUG):
    296         if len(_cache) >= _MAXCACHE:
p undefined, global _compiler = <module 're._compiler' from '/usr/lib/python3.11/re/_compiler.py'>, _compiler.compile = <function compile>, pattern = '\n \\A\\s* # opt... # and optional whitespace to finish\n', flags = 66
 /usr/lib/python3.11/re/_compiler.py in compile(p='\n \\A\\s* # opt... # and optional whitespace to finish\n', flags=66)
    741     if isstring(p):
    742         pattern = p
=>  743         p = _parser.parse(p, flags)
    744     else:
    745         pattern = None
p = '\n \\A\\s* # opt... # and optional whitespace to finish\n', global _parser = <module 're._parser' from '/usr/lib/python3.11/re/_parser.py'>, _parser.parse = <function parse>, flags = 66
 /usr/lib/python3.11/re/_parser.py in parse(str='\n \\A\\s* # opt... # and optional whitespace to finish\n', flags=66, state=<re._parser.State object>)
    978     state.str = str
    979 
=>  980     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
    981     p.state.flags = fix_flags(str, p.state.flags)
    982 
p undefined, global _parse_sub = <function _parse_sub>, source = <re._parser.Tokenizer object>, state = <re._parser.State object>, flags = 66, global SRE_FLAG_VERBOSE = 64
 /usr/lib/python3.11/re/_parser.py in _parse_sub(source=<re._parser.Tokenizer object>, state=<re._parser.State object>, verbose=64, nested=0)
    453     start = source.tell()
    454     while True:
=>  455         itemsappend(_parse(source, state, verbose, nested + 1,
=>  456                            not nested and not items))
    457         if not sourcematch("|"):
itemsappend = <built-in method append of list object>, global _parse = <function _parse>, source = <re._parser.Tokenizer object>, state = <re._parser.State object>, verbose = 64, nested = 0, items = []
 /usr/lib/python3.11/re/_parser.py in _parse(source=<re._parser.Tokenizer object>, state=<re._parser.State object>, verbose=64, nested=1, first=True)
    861             sub_verbose = ((verbose or (add_flags & SRE_FLAG_VERBOSE)) and
    862                            not (del_flags & SRE_FLAG_VERBOSE))
=>  863             p = _parse_sub(source, state, sub_verbose, nested + 1)
    864             if not source.match(")"):
    865                 raise source.error("missing ), unterminated subpattern",
p = [(BRANCH, (None, [[(IN, [(CATEGORY, CATEGORY_DIG...RAL, 46), (IN, [(CATEGORY, CATEGORY_DIGIT)])]]))], global _parse_sub = <function _parse_sub>, source = <re._parser.Tokenizer object>, state = <re._parser.State object>, sub_verbose = True, nested = 1
 /usr/lib/python3.11/re/_parser.py in _parse_sub(source=<re._parser.Tokenizer object>, state=<re._parser.State object>, verbose=True, nested=2)
    453     start = source.tell()
    454     while True:
=>  455         itemsappend(_parse(source, state, verbose, nested + 1,
=>  456                            not nested and not items))
    457         if not sourcematch("|"):
itemsappend = <built-in method append of list object>, global _parse = <function _parse>, source = <re._parser.Tokenizer object>, state = <re._parser.State object>, verbose = True, nested = 2, items = [[(MAX_REPEAT, (0, MAXREPEAT, [(IN, [(CATEGORY, CATEGORY_DIGIT)])]))]]
 /usr/lib/python3.11/re/_parser.py in _parse(source=<re._parser.Tokenizer object>, state=<re._parser.State object>, verbose=True, nested=3, first=False)
    861             sub_verbose = ((verbose or (add_flags & SRE_FLAG_VERBOSE)) and
    862                            not (del_flags & SRE_FLAG_VERBOSE))
=>  863             p = _parse_sub(source, state, sub_verbose, nested + 1)
    864             if not source.match(")"):
    865                 raise source.error("missing ), unterminated subpattern",
p undefined, global _parse_sub = <function _parse_sub>, source = <re._parser.Tokenizer object>, state = <re._parser.State object>, sub_verbose = True, nested = 3
 /usr/lib/python3.11/re/_parser.py in _parse_sub(source=<re._parser.Tokenizer object>, state=<re._parser.State object>, verbose=True, nested=4)
    453     start = source.tell()
    454     while True:
=>  455         itemsappend(_parse(source, state, verbose, nested + 1,
=>  456                            not nested and not items))
    457         if not sourcematch("|"):
itemsappend = <built-in method append of list object>, global _parse = <function _parse>, source = <re._parser.Tokenizer object>, state = <re._parser.State object>, verbose = True, nested = 4, items = []

SystemError: error return without exception set
      add_note = <built-in method add_note of SystemError object>
      args = ('error return without exception set',)
      with_traceback = <built-in method with_traceback of SystemError object>