tangos icon indicating copy to clipboard operation
tangos copied to clipboard

tangos serve isn't working with certain databases

Open anchwr opened this issue 3 years ago • 4 comments

I recently created a few databases and am getting an error when I run tangos serve with all but one of them. The merger tree display works fine with all of them, but as soon as I try to plot any other set of properties, the web server displays an error that links to a page that says "Internal Server Error. The server encountered an unexpected internal server error. (generated by waitress)". The error that shows up in the terminal window is Traceback (most recent call last): File "/Users/anna/anaconda3/envs/astroconda/lib/python3.7/site-packages/pyramid-2.0-py3.7.egg/pyramid/tweens.py", line 13, in _error_handler response = request.invoke_exception_view(exc_info) File "/Users/anna/anaconda3/envs/astroconda/lib/python3.7/site-packages/pyramid-2.0-py3.7.egg/pyramid/view.py", line 786, in invoke_exception_view raise HTTPNotFound pyramid.httpexceptions.HTTPNotFound: The resource could not be found.

I have forked tangos and have been using a custom handler for Enzo simulations processed with yt and rockstar to create my databases. However, my fork is up to date and both the databases that generate the error and the one that does not were made with the same handler. The only difference that I can think of is that the database that works is quite a bit smaller than the others (31 timesteps, compared to ~400).

anchwr avatar Nov 27 '21 20:11 anchwr