age-viewer icon indicating copy to clipboard operation
age-viewer copied to clipboard

Error while creating graph

Open im-aditya30 opened this issue 1 year ago • 2 comments

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 avatar Mar 06 '23 21:03 im-aditya30

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.

marodins avatar Mar 06 '23 23:03 marodins

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

Amr-Shams avatar May 04 '23 23:05 Amr-Shams