Skip to content

Windows import issues #8

@undeadindustries

Description

@undeadindustries

I could have swore I posted this already. But I don't see it so posting "again" ..

Arango 3.4.1
Windows 10 pro amd64 latest build.

When trying to import IMDB I follow these steps:
1- cd into the IMDB folder.
2- run arangosh
3- require("internal").load("import.js")

There are 2 errors:

First error is that, no matter what, it says the graph already exists.
To fix, I remove this code:

try {
    g = gm._create(gName);
    g.drop();
  } catch (e) {

  }

Second error:

127.0.0.1:8529@_system> require("internal").load("import.js")
2019-01-22T18:12:16Z [2096] ERROR JavaScript exception in file 'import.js' at 32,7: TypeError: g.addVertex is not a function
2019-01-22T18:12:16Z [2096] ERROR !    g.addVertex(d._key, d);
2019-01-22T18:12:16Z [2096] ERROR !      ^
JavaScript exception in file 'import.js' at 32,7: TypeError: g.addVertex is not a function
!    g.addVertex(d._key, d);
!      ^
stacktrace: TypeError: g.addVertex is not a function
    at Function.storeVertex (import.js:32:7)
    at import.js:61:12
    at import.js:63:2
    at <shell command>:1:21

Please help! I'm a linux person, but I'm trying to make this project 100% Windows. (Just saying that because I've seen "just use bash" suggested in other issues...)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions