Open manojs1978 opened 1 year ago
still i can see below error in log, please find attached log
2024-02-28 06:12:19,370 ERROR [Thread-10] [io.jans.service.PythonService] (PythonService.java:186) - Failed to load python fileSyntaxError: mismatched input '' expecting DEDENT (duo.py, line 105) org.python.core.PySyntaxError: SyntaxError: mismatched input '' expecting DEDENT (duo.py, line 105) at org.python.core.ParserFacade.fixParseError(ParserFacade.java:95) ~[jython-standalone-2.7.3.jar:2.7.4a1-SNAPSHOT] at org.python.core.ParserFacade.parse(ParserFacade.java:190) ~[jython-standalone-2.7.3.jar:2.7.4a1-SNAPSHOT] at org.python.core.Py.compileflags(Py.java:2249) ~[jython-standalone-2.7.3.jar:2.7.4a1-SNAPSHOT] at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:297) ~[jython-standalone-2.7.3.jar:2.7.4a1-SNAPSHOT] at io.jans.service.PythonService.loadPythonScript(PythonService.java:184) ~[jans-core-script-1.1.0-SNAPSHOT.jar:?] at io.jans.service.PythonService$Proxy$$$WeldClientProxy.loadPythonScript(Unknown Source) ~[jans-core-script-1.1.0-SNAPSHOT.jar:?] at io.jans.service.custom.script.ExternalTypeCreator.createExternalTypeFromStringWithPythonException(ExternalTypeCreator.java:127) ~[jans-core-script-1.1.0-SNAPSHOT.jar:?] at io.jans.service.custom.script.ExternalTypeCreator.createExternalType(ExternalTypeCreator.java:54) ~[jans-core-script-1.1.0-SNAPSHOT.jar:?] at io.jans.service.custom.script.ExternalTypeCreator$Proxy$$$_WeldClientProxy.createExternalType(Unknown Source) ~[jans-core-script-1.1.0-SNAPSHOT.jar:?] at io.jans.service.custom.script.CustomScriptManager.reloadCustomScriptConfigurations(CustomScriptManager.java:276) ~[jans-core-script-1.1.0-SNAPSHOT.jar:?] at io.jans.service.custom.script.CustomScriptManager.reloadImpl(CustomScriptManager.java:173) ~[jans-core-script-1.1.0-SNAPSHOT.jar:?] at io.jans.service.custom.script.CustomScriptManager.reload(CustomScriptManager.java:143) ~[jans-core-script-1.1.0-SNAPSHOT.jar:?]
@jgomer2001 could you please check logs , it is still reproduced for me
I'm not the author of the script
Describe the bug duo script getting error when enabled
To Reproduce Steps to reproduce the behavior: install jans launch tui login to admin enable duo script See error
Expected behavior should able to enable duo script without any error.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here. jans-auth.log jans-auth_persistence.log jans-auth_persistence_ldap_statistics.log