You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MATCH
(phone:STD.ChinaMobile)<-[:hasPhone]-(u:RiskMining.Person)
RETURN
u.id,phone.id
spg异常如下:
2024-12-11 11:29:33,427 [] [] [http-nio-8887-exec-4] INFO lube - benchmark main plan plan2UnresolvedLogicalPlan cost = 2
2024-12-11 11:29:33,427 [] [] [http-nio-8887-exec-4] INFO lube - benchmark LogicalPlannerContext cost = 0
2024-12-11 11:29:33,429 [] [] [http-nio-8887-exec-4] ERROR c.a.o.r.r.l.LocalReasonerRunner - KGReasonerLocalRunner,error:Cannot find phone in Map(u -> Set(), anonymous_4 -> Set(), phone -> Set())
com.antgroup.openspg.reasoner.common.exception.SchemaException: Cannot find phone in Map(u -> Set(), anonymous_4 -> Set(), phone -> Set())
at com.antgroup.openspg.reasoner.lube.logical.validate.Validator$$anonfun$com$antgroup$openspg$reasoner$lube$logical$validate$Validator$$fieldToVar$1.apply(Validator.scala:132)
at com.antgroup.openspg.reasoner.lube.logical.validate.Validator$$anonfun$com$antgroup$openspg$reasoner$lube$logical$validate$Validator$$fieldToVar$1.apply(Validator.scala:128)
at scala.collection.immutable.List.foreach(List.scala:392)
at com.antgroup.openspg.reasoner.lube.logical.validate.Validator$.com$antgroup$openspg$reasoner$lube$logical$validate$Validator$$fieldToVar(Validator.scala:128)
at com.antgroup.openspg.reasoner.lube.logical.validate.Validator$$anonfun$com$antgroup$openspg$reasoner$lube$logical$validate$Validator$$resolve$1.apply(Validator.scala:114)
at com.antgroup.openspg.reasoner.lube.logical.validate.Validator$$anonfun$com$antgroup$openspg$reasoner$lube$logical$validate$Validator$$resolve$1.apply(Validator.scala:109)
at com.antgroup.openspg.reasoner.common.trees.Transform.transform(TreeTransformer.scala:179)
at com.antgroup.openspg.reasoner.common.trees.Transform.transform(TreeTransformer.scala:174)
at com.antgroup.openspg.reasoner.common.trees.AbstractTreeNode.transform(AbstractTreeNode.scala:60)
at com.antgroup.openspg.reasoner.lube.logical.validate.Validator$.com$antgroup$openspg$reasoner$lube$logical$validate$Validator$$resolve(Validator.scala:109)
at com.antgroup.openspg.reasoner.lube.logical.validate.Validator$.validate(Validator.scala:52)
at com.antgroup.openspg.reasoner.session.KGReasonerSession.plan2LogicalPlan(KGReasonerSession.scala:325)
at com.antgroup.openspg.reasoner.session.KGReasonerSession.plan2OptimizedLogicalPlan(KGReasonerSession.scala:189)
at com.antgroup.openspg.reasoner.session.KGReasonerSession.planBlock(KGReasonerSession.scala:172)
at com.antgroup.openspg.reasoner.session.KGReasonerSession.plan(KGReasonerSession.scala:165)
at com.antgroup.openspg.reasoner.runner.local.LocalReasonerRunner.doRun(LocalReasonerRunner.java:114)
at com.antgroup.openspg.reasoner.runner.local.LocalReasonerRunner.run(LocalReasonerRunner.java:70)
at com.antgroup.openspg.server.core.reasoner.service.runner.ReasonerRunner.run(ReasonerRunner.java:73)
at com.antgroup.openspg.server.core.reasoner.service.impl.ReasonerServiceImpl.runTask(ReasonerServiceImpl.java:72)
at com.antgroup.openspg.server.biz.service.impl.ReasonerManagerImpl.reason(ReasonerManagerImpl.java:71)
at com.antgroup.openspg.server.api.http.server.openapi.ReasonController$1.action(ReasonController.java:48)
at com.antgroup.openspg.server.api.http.server.openapi.ReasonController$1.action(ReasonController.java:42)
at com.antgroup.openspg.server.api.http.server.HttpBizTemplate.execute(HttpBizTemplate.java:39)
at com.antgroup.openspg.server.api.http.server.openapi.ReasonController.reason(ReasonController.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at com.alipay.sofa.tracer.plugins.springmvc.SpringMvcSofaTracerFilter.doFilter(SpringMvcSofaTracerFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
语法2:
执行dsl
Define (s:RiskMining.App)-[p:belongTo]->(o:`RiskMining.TaxOfRiskApp`/`赌博应用`) {
Structure {
(s)
}
Constraint {
R1("风险标记为赌博"): s.riskMark like "%赌博%"
}
}
File "D:\software\02coder\anaconda\anaconda3\envs\kag-demo\lib\site-packages\knext\common\rest\api_client.py", line 361, in __deserialize
return self.__deserialize_model(data, klass)
File "D:\software\02coder\anaconda\anaconda3\envs\kag-demo\lib\site-packages\knext\common\rest\api_client.py", line 759, in __deserialize_model
instance = klass(**kwargs)
File "D:\software\02coder\anaconda\anaconda3\envs\kag-demo\lib\site-packages\knext\reasoner\rest\models\table_result.py", line 64, in __init__
self.header = header
File "D:\software\02coder\anaconda\anaconda3\envs\kag-demo\lib\site-packages\knext\reasoner\rest\models\table_result.py", line 115, in header
raise ValueError(
ValueError: Invalid value for `header`, must not be `None`
File "D:\software\02coder\anaconda\anaconda3\envs\kag-demo\lib\site-packages\knext\common\rest\api_client.py", line 361, in __deserialize
return self.__deserialize_model(data, klass)
File "D:\software\02coder\anaconda\anaconda3\envs\kag-demo\lib\site-packages\knext\common\rest\api_client.py", line 759, in __deserialize_model
instance = klass(**kwargs)
File "D:\software\02coder\anaconda\anaconda3\envs\kag-demo\lib\site-packages\knext\reasoner\rest\models\table_result.py", line 64, in __init__
self.header = header
File "D:\software\02coder\anaconda\anaconda3\envs\kag-demo\lib\site-packages\knext\reasoner\rest\models\table_result.py", line 115, in header
raise ValueError(
ValueError: Invalid value for `header`, must not be `None`
是语法问题吗,刚入手spg,正在看代码中
The text was updated successfully, but these errors were encountered:
很期待你们能回复。
我下载KAG代码以及spg代码,均用master分支,
环境信息:mysql和neo4j(docker),运行机器为windows;
目前代码能正常run起来,但是在执行example黑产任务
spg异常如下:
语法2:
执行dsl
spg正常运行,如下:
但是在python的KAG异常
是语法问题吗,刚入手spg,正在看代码中
The text was updated successfully, but these errors were encountered: