CAVEconnectome / CAVEclient

This is the python client for accessing REST APIs within the Connectome Annotation Versioning Engine.
https://caveconnectome.github.io/CAVEclient/
MIT License
19 stars 12 forks source link

500 Server error in materialize #186

Open jinhan opened 2 months ago

jinhan commented 2 months ago

I have a 500 server error when I access the table list using the materialize.get_tables() function.

url = "https://global.brain-wire-test.org/"
datastack = "h01_c3_flat"

client = CAVEclient(datastack_name=datastack, server_address=url)
client.materialize.get_tables()
HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: https://local.brain-wire-test.org/materialize/api/v3/datastack/h01_c3_flat/version/377/views content:b'<!doctype html>\n<html lang=en>\n<title>500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n'

I could access info functions such as client.info.get_datastack_info("h01_c3_flat").

From the error log, https://local.brain-wire-test.org/materialize/api/v3/datastack/h01_c3_flat/version/377/views returns internal server error, but with /tables endpoint correctly returns the table list.

jakobtroidl commented 2 months ago

Additional info: We currently use the spatial_aligned_svid_lookup branch rather than the master branch.