kuzudb / explorer

Browser-based user interface for Kùzu graph database
https://hub.docker.com/r/kuzudb/explorer
MIT License
29 stars 5 forks source link

Simple query not running in v0.4.0: `isSchemaChanged is not defined error` #144

Closed prrao87 closed 4 months ago

prrao87 commented 4 months ago

I've downloaded the latest Docker image for 0.4.0 of the Explorer, and I'm trying to run the simplest query after creating a graph in version 0.4.0.

$ docker compose up
[+] Running 0/0
 ⠋ Container kuzudb-explorer-1  Recrea...                               0.0s 
Attaching to explorer-1
explorer-1  | [15:06:41.207] INFO (1): Access mode: READ_ONLY
explorer-1  | [15:06:41.424] INFO (1): Version of Kùzu: 0.4.0
explorer-1  | [15:06:41.424] INFO (1): Storage version of Kùzu: 27
explorer-1  | [15:06:41.425] INFO (1): Deployed server started on port: 8000

image

Not sure if the issue originates in the Node.js client or the way the schema is passed to the Explorer, so I've opened this as a bug here.

Update

Seems like the issue is only occurring in READ_ONLY mode (the queries work fine in READ_WRITE mode) Here's my docker compose:

services:
  explorer:
    image: kuzudb/explorer:latest
    restart: unless-stopped
    environment:
      - MODE=READ_ONLY
    ports:
      - 8000:8000
    volumes:
      - ./social_network:/database

volumes:
  social_network:
mewim commented 4 months ago

Fixed in https://github.com/kuzudb/explorer/commit/c17548a8861300ff79908bd5e75a82ec979780f1