Skip to content
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

The cypher statement query is faulty #5

Open
noobexplore opened this issue Mar 4, 2022 · 0 comments
Open

The cypher statement query is faulty #5

noobexplore opened this issue Mar 4, 2022 · 0 comments

Comments

@noobexplore
Copy link

The following code is:

cypher sql ="match (n)-[r]->(m) return r" or "match p=(n)-[r]->(m) return p"
for x in StellarDataConvert.bind_output(db.execute(sql)):
print(x)

debug info
python-BaseException
return Edge.parseEdgeFromDict(schema, m)
File "/home/xtl/anaconda3/envs/kbqapop/lib/python3.7/site-packages/pystellardb/graph_types.py", line 183, in parseEdgeFromDict
startUid = Vertex.parseUidFromRK(m['startKey'])
File "/home/xtl/anaconda3/envs/kbqapop/lib/python3.7/site-packages/pystellardb/graph_types.py", line 103, in parseUidFromRK
return ''.join([chr(x) for x in rk[:-2]])
File "/home/xtl/anaconda3/envs/kbqapop/lib/python3.7/site-packages/pystellardb/graph_types.py", line 103, in
return ''.join([chr(x) for x in rk[:-2]])
ValueError: chr() arg not in range(0x110000)

What's wrong? how can i fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant