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

[RuntimeException] The node has no label #15

Open
FelikZ opened this issue May 11, 2015 · 0 comments
Open

[RuntimeException] The node has no label #15

FelikZ opened this issue May 11, 2015 · 0 comments

Comments

@FelikZ
Copy link

FelikZ commented May 11, 2015

Using example neogen.yml from README:

connection:
  scheme: http
  host: localhost
  port: 7474

nodes:
  persons:
    label: Person
    count: 50
    properties:
      firstname: firstName
      lastname: lastName

  companies:
    label: Company
    count: 10
    properties:
      name: company
      description: catchPhrase

relationships:
  person_works_for:
    start: persons
    end: companies
    type: WORKS_AT
    mode: n..1

  friendships:
    start: persons
    end: persons
    type: KNOWS
    mode: n..n

It generates a runtime exception that "node has no label", but they actually does:

$ ./bin/neogen generate --export="export.gen"

  [RuntimeException]     
  The node has no label  

generate [--export[="..."]]

I figured out that problem could be that nodes could have multiple labels so I tried to use labels instead of label, and it is probably running successfully then:

$ ./bin/neogen generate
0.023596048355103

But the problem is no matter I am specifying --export="export.cql" or using connection setting from yml file - it doesn't output anything anywhere except this times.

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