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

Error while creating graph #129

Open
im-aditya30 opened this issue Mar 6, 2023 · 2 comments
Open

Error while creating graph #129

im-aditya30 opened this issue Mar 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@im-aditya30
Copy link

im-aditya30 commented Mar 6, 2023

Bug Description
I was trying to create a graph using Apache AGE viewer but I am getting this error:

An error occurred
Error Code: undefined

Error Details: TypeError: Cannot read properties of undefined (reading 'map')

When I checked the logs I got this:

info: ::ffff:127.0.0.1 - - [06/Mar/2023:16:04:24 +0000] "POST /api/v1/cypher/init HTTP/1.1" 500 76
 {"timestamp":"2023-03-06 21:34:24"}

Reproduction Steps
Steps to reproduce the behavior:

  1. Run Age-viewer and log in.
  2. Click on Create Graph and type a name and then press Done
  3. See error

Expected behavior
It should create a graph.

Desktop:

  • OS: WSL2 with Ubuntu 20.04.2 LTS
  • Browser Chrome
  • Version 110.0.5481.178

Additional context
The user is the Superuser and one can create graph database by writing query by oneself.

@im-aditya30 im-aditya30 added the bug Something isn't working label Mar 6, 2023
@marodins
Copy link
Contributor

marodins commented Mar 6, 2023

It looks like this is caused by the backend trying handle some non-existent files. I can work on a fix. Thank you for your submission.

@Amr-Shams
Copy link

I faced the same issue but I believe they mentioned in the tips you have to upload a CVS file.id when doing so.. the error is gone. while it is not convenient to create a button that do only creat non empty graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants