liuxiaocs7 commented on issue #2228:
URL:
https://github.com/apache/incubator-hugegraph/issues/2228#issuecomment-1579898614
Same problem, but strangely direct interactive input seems to work
```shell
╭─ ~/Development/GitProject/apache-hugegraph-incubating-1.0.0
······································ ✔ 5s user@dev 12:53:22 ─╮
╰─ ./bin/gremlin-console.sh scripts/example.groovy
─╯
\,,,/
(o o)
-----oOOo-(3)-oOOo-----
plugin activated: HugeGraph
plugin activated: tinkerpop.server
plugin activated: tinkerpop.utilities
plugin activated: tinkerpop.tinkergraph
main dict load finished, time elapsed 599 ms
model load finished, time elapsed 37 ms.
Error in scripts/example.groovy at [40:
schema.indexLabel("personByAge").onV("person").by("age").range().ifNotExist().create();]
- Failed to update/query TaskStore: java.util.concurrent.ExecutionException:
org.apache.hugegraph.HugeException: Schema is missing for task(1)
'INDEX_LABEL:1:personByAge'
gremlin> graph.existsVertexLabel("person")
==>true
gremlin> graph.existsVertexLabel("software")
==>true
gremlin>
schema.indexLabel("personByAge").onV("person").by("age").range().ifNotExist().create()
==>personByAge(id=1)
gremlin>
```
`Schema is missing for task` seems like VertexLabel doesn't exist, but
actually exists
similar issues: #377 #1167
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]