DeprecationWarning |
Python 3.11.2: /usr/bin/python Sun Sep 14 16:10:48 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/openid/server/trustroot.py') |
8 mod = imp.load_compiled(name, path) |
9 else: |
=> 10 mod = imp.load_source(name, path) |
11 self[path] = value = getattr(mod, 'application') |
12 return value |
mod undefined, global imp = <module 'imp' from '/usr/lib/python3.11/imp.py'>, imp.load_source = <function load_source>, name = 'trustroot', path = '/home/www/public_html/python3/dist-packages/openid/server/trustroot.py' |
/usr/lib/python3.11/imp.py in load_source(name='trustroot', pathname='/home/www/public_html/python3/dist-packages/openid/server/trustroot.py', file=None) |
170 module = _exec(spec, sys.modules[name]) |
171 else: |
=> 172 module = _load(spec) |
173 # To allow reloading to potentially work, use a non-hacked loader which |
174 # won't rely on a now-closed file object. |
module undefined, global _load = <function _load>, spec = ModuleSpec(name='trustroot', loader=<imp._LoadSo...ython3/dist-packages/openid/server/trustroot.py') |
/usr/bin/<frozen importlib._bootstrap> in _load(spec=ModuleSpec(name='trustroot', loader=<imp._LoadSo...ython3/dist-packages/openid/server/trustroot.py')) |
/usr/bin/<frozen importlib._bootstrap> in _load_unlocked(spec=ModuleSpec(name='trustroot', loader=<imp._LoadSo...ython3/dist-packages/openid/server/trustroot.py')) |
/usr/bin/<frozen importlib._bootstrap_external> in exec_module(self=<imp._LoadSourceCompatibility object>, module=<module 'trustroot' from '/home/www/public_html/python3/dist-packages/openid/server/trustroot.py'>) |
/usr/bin/<frozen importlib._bootstrap> in _call_with_frames_removed(f=<built-in function exec>, *args=(<code object <module> at 0x7f4f540aa890, file "/...ist-packages/openid/server/trustroot.py", line 1>, {'__all__': ['TrustRoot', 'RP_RETURN_TO_URL_TYPE', 'extractReturnToURLs', 'returnToMatches', 'verifyReturnTo'], '__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/openid/server/__pycache__/trustroot.cpython-311.pyc', '__doc__': '\nThis module contains the C{L{TrustRoot}} class,... return_to URL verification, based on\nthe realm.\n', '__file__': '/home/www/public_html/python3/dist-packages/openid/server/trustroot.py', '__loader__': <imp._LoadSourceCompatibility object>, '__name__': 'trustroot', '__package__': '', '__spec__': ModuleSpec(name='trustroot', loader=<imp._LoadSo...ython3/dist-packages/openid/server/trustroot.py'), 'urinorm': <module 'openid.urinorm' from '/usr/lib/python3/dist-packages/openid/urinorm.py'>}), **kwds={}) |
/home/www/public_html/python3/dist-packages/openid/server/trustroot.py in <module> |
19 |
20 from openid import urinorm |
=> 21 from openid.yadis import services |
22 |
23 from urllib.parse import urlparse, urlunparse |
openid undefined, services undefined |
/usr/lib/python3/dist-packages/openid/yadis/services.py in <module> |
1 # -*- test-case-name: openid.test.test_services -*- |
2 |
=> 3 from openid.yadis.filters import mkFilter |
4 from openid.yadis.discover import discover, DiscoveryFailure |
5 from openid.yadis.etxrd import parseXRDS, iterServices, XRDSError |
openid undefined, mkFilter undefined |
/usr/lib/python3/dist-packages/openid/yadis/filters.py in <module> |
12 ] |
13 |
=> 14 from openid.yadis.etxrd import expandService |
15 try: |
16 from collections.abc import Callable |
openid undefined, expandService undefined |
/usr/lib/python3/dist-packages/openid/yadis/etxrd.py in <module> |
29 |
30 ElementTree = importElementTree() |
=> 31 SafeElementTree = importSafeElementTree() |
32 |
33 from openid.yadis import xri |
SafeElementTree undefined, importSafeElementTree = <function importSafeElementTree> |
/usr/lib/python3/dist-packages/openid/oidutil.py in importSafeElementTree(module_names=['defusedxml.cElementTree', 'defusedxml.ElementTree']) |
80 module_names = xxe_safe_elementtree_modules |
81 try: |
=> 82 return importElementTree(module_names) |
83 except ImportError: |
84 raise ImportError('Unable to find a ElementTree module ' |
global importElementTree = <function importElementTree>, module_names = ['defusedxml.cElementTree', 'defusedxml.ElementTree'] |
/usr/lib/python3/dist-packages/openid/oidutil.py in importElementTree(module_names=['defusedxml.cElementTree', 'defusedxml.ElementTree']) |
103 for mod_name in module_names: |
104 try: |
=> 105 ElementTree = __import__(mod_name, None, None, ['unused']) |
106 except ImportError: |
107 pass |
ElementTree undefined, builtin __import__ = <built-in function __import__>, mod_name = 'defusedxml.cElementTree' |
/usr/lib/python3/dist-packages/defusedxml/cElementTree.py in <module> |
36 |
37 |
=> 38 warnings.warn( |
=> 39 "defusedxml.cElementTree is deprecated, import from defusedxml.ElementTree instead.", |
=> 40 category=DeprecationWarning, |
warnings = <module 'warnings' from '/usr/lib/python3.11/warnings.py'>, warnings.warn = <built-in function warn>, category undefined, builtin DeprecationWarning = <class 'DeprecationWarning'>, stacklevel undefined |
DeprecationWarning: defusedxml.cElementTree is deprecated, import from defusedxml.ElementTree instead.
add_note =
<built-in method add_note of DeprecationWarning object>
args =
('defusedxml.cElementTree is deprecated, import from defusedxml.ElementTree instead.',)
with_traceback =
<built-in method with_traceback of DeprecationWarning object>