alibaba / alibaba/GraphScope

[Bug] iterating node got error after convert to gs.nx graph

Open
#3,564 1 comment 0 reactions 1 assignee Claimed by @acezen View on GitHub
stale
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

### Discussed in https://github.com/alibaba/GraphScope/discussions/3225

Originally posted by **zjarles** September 16, 2023
将子图转换为networks图后,在循环遍历时,报错如下,请问是什么原因呢?

G = nx.DiGraph(sub_graph, default_label="trmnl")
for node in G.nodes(data=True):
print(node)

AnalyticalEngineInternalError: /work/analytical_engine/core/object/object_manager.h:80: GetObject -> Object
graph_GWXIIwo7 does not exist
boost::leaf::result >
gs::ObjectManager::GetObject(std::string const&) + 0x2FE
gs::GrapeI ... [truncated]

这个图是存在的,sub_graph.schema可以显示数据。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.