JanssenProject / jans

An open source enterprise digital identity platform for CIAM or workforce... Janssen is a distribution of standards-based, developer friendly, components that are engineered to work together in any cloud. #OAuth #OpenID #FIDO
https://docs.jans.io
Apache License 2.0
459 stars 73 forks source link

fix(bioid): script calling `oxauth` modules #2200

Open moabu opened 2 years ago

moabu commented 2 years ago

Describe the bug bioid script is calling non existent modules

org.python.core.PyException: ImportError: No module named oxauth
at org.python.core.Py.ImportError ( [org/python.core/Py.java:329](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2FPy.java&line=329&project=dev-gluu-cloud-platform) )
at org.python.core.imp.import_logic ( [org/python.core/imp.java:1290](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2Fimp.java&line=1290&project=dev-gluu-cloud-platform) )
at org.python.core.imp.import_module_level ( [org/python.core/imp.java:1369](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2Fimp.java&line=1369&project=dev-gluu-cloud-platform) )
at org.python.core.imp.importName ( [org/python.core/imp.java:1528](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2Fimp.java&line=1528&project=dev-gluu-cloud-platform) )
at org.python.core.ImportFunction.__call__ ( [org/python.core/__builtin__.java:1285](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2F__builtin__.java&line=1285&project=dev-gluu-cloud-platform) )
at org.python.core.PyObject.__call__ ( [org/python.core/PyObject.java:433](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2FPyObject.java&line=433&project=dev-gluu-cloud-platform) )
at org.python.core.__builtin__.__import__ ( [org/python.core/__builtin__.java:1232](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2F__builtin__.java&line=1232&project=dev-gluu-cloud-platform) )
at org.python.core.imp.importFromAs ( [org/python.core/imp.java:1620](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2Fimp.java&line=1620&project=dev-gluu-cloud-platform) )
at org.python.core.imp.importFrom ( [org/python.core/imp.java:1595](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2Fimp.java&line=1595&project=dev-gluu-cloud-platform) )
at org.python.pycode._pyx3.f$0 ( [org/python.pycode/bioid.py:23](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.pycode%2Fbioid.py&line=23&project=dev-gluu-cloud-platform) )
at org.python.pycode._pyx3.call_function
at org.python.core.PyTableCode.call ( [org/python.core/PyTableCode.java:173](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2FPyTableCode.java&line=173&project=dev-gluu-cloud-platform) )
at org.python.core.PyCode.call ( [org/python.core/PyCode.java:18](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2FPyCode.java&line=18&project=dev-gluu-cloud-platform) )
at org.python.core.Py.runCode ( [org/python.core/Py.java:1687](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.core%2FPy.java&line=1687&project=dev-gluu-cloud-platform) )
at org.python.util.PythonInterpreter.execfile ( [org/python.util/PythonInterpreter.java:297](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fpython.util%2FPythonInterpreter.java&line=297&project=dev-gluu-cloud-platform) )
at io.jans.service.PythonService.loadPythonScript ( [io/jans.service/PythonService.java:184](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fjans.service%2FPythonService.java&line=184&project=dev-gluu-cloud-platform) )
at io.jans.service.PythonService$Proxy$_$$_WeldClientProxy.loadPythonScript
at io.jans.service.custom.script.ExternalTypeCreator.createExternalTypeFromStringWithPythonException ( [io/jans.service.custom.script/ExternalTypeCreator.java:141](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fjans.service.custom.script%2FExternalTypeCreator.java&line=141&project=dev-gluu-cloud-platform) )
at io.jans.service.custom.script.ExternalTypeCreator.createExternalType ( [io/jans.service.custom.script/ExternalTypeCreator.java:77](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fjans.service.custom.script%2FExternalTypeCreator.java&line=77&project=dev-gluu-cloud-platform) )
at io.jans.service.custom.script.ExternalTypeCreator$Proxy$_$$_WeldClientProxy.createExternalType
at io.jans.service.custom.script.CustomScriptManager.reloadCustomScriptConfigurations ( [io/jans.service.custom.script/CustomScriptManager.java:276](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fjans.service.custom.script%2FCustomScriptManager.java&line=276&project=dev-gluu-cloud-platform) )
at io.jans.service.custom.script.CustomScriptManager.reloadImpl ( [io/jans.service.custom.script/CustomScriptManager.java:173](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fjans.service.custom.script%2FCustomScriptManager.java&line=173&project=dev-gluu-cloud-platform) )
at io.jans.service.custom.script.CustomScriptManager.reload ( [io/jans.service.custom.script/CustomScriptManager.java:143](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fjans.service.custom.script%2FCustomScriptManager.java&line=143&project=dev-gluu-cloud-platform) )
at io.jans.service.custom.script.CustomScriptManager.initTimer ( [io/jans.service.custom.script/CustomScriptManager.java:96](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fjans.service.custom.script%2FCustomScriptManager.java&line=96&project=dev-gluu-cloud-platform) )
at io.jans.service.custom.script.CustomScriptManager$Proxy$_$$_WeldSubclass.initTimer$$super
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
at java.lang.reflect.Method.invoke
at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal ( [org/jboss.weld.interceptor.proxy/TerminalAroundInvokeInvocationContext.java:51](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fjboss.weld.interceptor.proxy%2FTerminalAroundInvokeInvocationContext.java&line=51&project=dev-gluu-cloud-platform) )
at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed ( [org/jboss.weld.interceptor.proxy/AroundInvokeInvocationContext.java:78](https://console.cloud.google.com/debug?referrer=fromlog&file=org%2Fjboss.weld.interceptor.proxy%2FAroundInvokeInvocationContext.java&line=78&project=dev-gluu-cloud-platform) )
at io.jans.service.cdi.async.AsynchronousInterceptor$1.get ( [io/jans.service.cdi.async/AsynchronousInterceptor.java:42](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fjans.service.cdi.async%2FAsynchronousInterceptor.java&line=42&project=dev-gluu-cloud-platform) )
at java.util.concurrent.CompletableFuture$AsyncSupply.run
at java.lang.Thread.run
ossdhaval commented 10 months ago

Hi @maduvena, since this issue is open since long time, can you check if this is still not fixed and is still relevant?