surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.06k stars 81 forks source link

weird formatted tables name leads to empty explorer, designer, authentification sections (but querying works) #170

Closed nathanschwarz closed 4 months ago

nathanschwarz commented 7 months ago

Describe the bug

I tried on my old intel mac with the same configuration and DB and it works perfectly.

To Reproduce

Just run on a M2 mac and hit the explorer view

  1. See error

Expected behavior

tables and columns should be visible in the explorer views

Environment (you can view the current version under Settings):

singersbalm commented 7 months ago

the m2 Mac isn't the issue. it works on mine

nathanschwarz commented 7 months ago

Okay, I noticed by running the INFO FOR DB query that one of the table was weirdly formatted on my M2 database: "`\\`attributes \\``" (a problem with the python driver somewhere). I had to remove it through the python driver (it wouldn't work with surrealist or the CLI). Once the table was removed it was working again.