aus
Code: Select all
GremlinServerError: The traversal source [g] for alias [g] is not configured on the server (status code 499)
Code: Select all
bin/gremlin-server.sh conf/gremlin-server.yaml
< /code>
Aber wenn ich ausführe: < /p>
from gremlin_python.structure.graph import Graph
from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection
g = Graph().traversal().withRemote(
DriverRemoteConnection('ws://localhost:8182/gremlin','g')
)
print(g.V().count().next())
< /code>
Ich erhalte den gleichen 499 -Fehler.
Umgebung: < /p>
macOS 15.4.1 (Monterey)
Conda env with Python 3.13.2
Java: OpenJDK 17.0.15 via Homebrew
gremlin-server.yaml (I’ve attached the full file at the bottom)
- Wechsel zwischen dem „klassischen“ und „modernen“ Beispiel yamls