-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspace name #3
Comments
That's because, |
I am using Gephi 0.8.2 and I have to rename (in menu Workspace -> Rename) the default workspace name (Workspace 0) to "workspace0" in order to run GephiStreaming successfully. Without renaming it, the error message above always shows up. What am I missing? Thank you. |
Using Gephi 0.9.2, the initial workspace is "Workspace 1", so I needed to set workspace="workspace1" in order to get it to connect. |
Note that the title of workspace is used for identification in lowercase. When you title it in Gephi "TEST" you have to call "test" in code (Gephy 9.2 / Graphstreamer 2.0.3) |
By default, Gephi provides us
Workspace 0
for workspace name. On the other hand, GephiStreamer usesworkspace0
as default. I tried to change the default workspace name from GephiStreamer using this option:stream = streamer.Streamer(streamer.GephiWS(hostname="localhost", port=8080, workspace="Workspace 0"))
However, I got the following error:
ws4py.exc.HandshakeError: Invalid response status: 400 Bad Request
.It seems we have problem in class GephiWS (streamer.py):
def _generate_url(self): return "ws://{hostname}:{port}/{workspace}?operation=updateGraph".format(hostname=self.hostname, port=self.port, workspace=self.workspace)
where workspace is set without any space character?
Thanks.
The text was updated successfully, but these errors were encountered: