Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

importSample example fails #71

Open
diplodata opened this issue Oct 25, 2017 · 2 comments
Open

importSample example fails #71

diplodata opened this issue Oct 25, 2017 · 2 comments

Comments

@diplodata
Copy link

diplodata commented Oct 25, 2017

Firstly, is this very helpful package still being developed/maintained? No expectations, but it would be good to know.

The example for importSample no longer appears to work (neo4j 3.3.0 / R 3.4.2).

> importSample(graph, "tweets")
You are about to delete all nodes, relationships, indexes, and constraints from the graph database. Are you sure? Y/N
1: Y
Error: Client error: (400) Bad Request
Neo.ClientError.Statement.SyntaxError
Parentheses are required to identify nodes in patterns, i.e. (_0) (line 400, column 8 (offset: 60164))
"create _0-[:`USING`]->_163"
        ^
> getNodes(graph, 'MATCH (n) RETURN (n);')
> importSample(graph, "tweets")
You are about to delete all nodes, relationships, indexes, and constraints from the graph database. Are you sure? Y/N
1: N
Error in clear.graph(graph, input = input) : Delete aborted.
> getNodes(graph, 'MATCH (n) RETURN (n);')
[NULL response..]
@aflooding
Copy link

Pls help. I meet same problem.

importSample(graph, "dfw")
You are about to delete all nodes, relationships, indexes, and constraints from the graph database. Are you sure? Y/N
1: Y
错误: Client error: (404) Not Found

@aflooding
Copy link

I changed the directory,404 error disappeared, got new problems,

importSample(graph, "dfw")
You are about to delete all nodes, relationships, indexes, and constraints from the graph database. Are you sure? Y/N
1: Y
Error: Client error: (400) Bad Request
Neo.ClientError.Statement.SyntaxError
Parentheses are required to identify nodes in patterns, i.e. (_5) (line 288, column 8 (offset: 10571))
"create _5-[:IN_TERMINAL]->_0"
^
In addition: Warning message:
In readChar(fpath, file.info(fpath)$size) :
can only read in bytes in a non-UTF-8 MBCS locale


importSample(graph, "caltrain")
You are about to delete all nodes, relationships, indexes, and constraints from the graph database. Are you sure? Y/N
1: Y
Error: Client error: (400) Bad Request
Neo.ClientError.Statement.SyntaxError
Parentheses are required to identify nodes in patterns, i.e. (_167) (line 167, column 8 (offset: 12055))
"create _167-[:IN]->_166"
^
In addition: Warning message:
In readChar(fpath, file.info(fpath)$size) :
can only read in bytes in a non-UTF-8 MBCS locale


importSample(graph,"movies")
You are about to delete all nodes, relationships, indexes, and constraints from the graph database. Are you sure? Y/N
1:
Error in if (answer == "Y") { : argument is of length zero
Y
Error: object 'Y' not found


importSample(graph, "tweets")
You are about to delete all nodes, relationships, indexes, and constraints from the graph database. Are you sure? Y/N
1:
Error in if (answer == "Y") { : argument is of length zero

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

No branches or pull requests

2 participants