alibaba / alibaba/GraphScope

[BUG] Error for using graphscope in local mode

Open
#2,431 2 comments 0 reactions 0 assignees View on GitHub
bug component:gae
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

I installed the grpahscope in python3.8.3. When I run the follow codes, it's stuck.
Codes:

```python
import graphscope.nx as nx
import matplotlib.pyplot as plt
import matplotlib
matplotlib.use('TkAgg')

# Create a star graph with 5 vertices
G = nx.star_graph(5)

# Sraw
nx.draw(G, with_labels=True, font_weight='bold')
plt.show()
```

Errors:

```
[error] Check failed: IOError: Receive message failed: Connection reset by peer in "client->Connect(vineyard_socket)", in function void gs::EnsureClient(std::shared_ptr&, const string&), file /work/analytical_engine/core/launcher.cc, line 123
terminate called after throwing an instance of 'std::runtime_error'
what(): Check failed: IOError: Receive message failed: Connection reset by peer in "client->Connect(vineyard_socket)", in function void gs::EnsureClient(std::shared_ptr&, const string&), file /work/analytical_engine/core/launcher.cc, line 123
*** Aborted at 1676362810 (unix time) try "date -d @1676362810" if you are using GNU date ***
PC: @ 0x0 (unknown)
*** SIGABRT (@0x155ca4) received by PID 1399972 (TID 0x7f6200be8080) from PID 1399972; stack trace: ***
@ 0x7f6202f0a420 (unknown)
@ 0x7f620103c00b gsignal
@ 0x7f620101b859 abort
@ 0x7f62013f3911 (unknown)
@ 0x7f62013ff38c (unknown)
@ 0x7f62013ff3f7 std::terminate()
@ 0x7f62013ff6a9 __cxa_throw
@ 0x7f6227afdfb0 (unknown)
@ 0x472320 gs::GrapeInstance::Init()
@ 0x45e893 gs::GrapeEngine::Start()
@ 0x455ba2 main
@ 0x7f620101d083 __libc_start_main
@ 0x456335 (unknown)
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the Python local-mode example with graphscope.nx, matplotlib, and the TkAgg backend, then inspect the failure at analytical_engine/core/launcher.cc:123 and the GrapeInstance::Init stack entry. Done means the star graph can be drawn without the vineyard connection-reset failure or process abort.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, matplotlib, python
Domain
data-visualization, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.