Scriptforge doesn't work anymore in LO 24.8.1

My python-scripts which uses ScriptForge in Windows 11 don’t work anymore in in version 24.8.1. When I start a Calc spreadsheet under this version I get a system error message that "doc = CreateScriptService(‘Calc’) " is not available.
I could solve this problem by reloading the former version, but this is not the right solution. I think this is a severe problem in

Might be worth a bug report. I can reproduce the failure on Windows10 but not on Linux.

from scriptforge import CreateScriptService

def testSF_CreateScriptProvider():
    srv = CreateScriptService("Calc")

The bug is reported in bugzilla and it is confirmed.

tdf#162962