catmaid / CATMAID

Collaborative Annotation Toolkit for Massive Amounts of Image Data
https://catmaid.org
GNU General Public License v3.0
188 stars 56 forks source link

No skeleton or neuron found #2146

Open ayesha-mrc opened 3 years ago

ayesha-mrc commented 3 years ago

When using the neuron search widget, I receive this error message, which does not disappear until I refresh the page. It also prevents me from selecting any neuron, with the same error

Occurs frequently, about every hour

More information

{
  "error":"No skeleton or neuron found",
  "detail":"Traceback (most recent call last):\n File \"/opt/catmaid/fibsem/django/env/lib/python3.8/site-packages/django/core/handlers/base.py\", line 113, in _get_response\n response = wrapped_callback(request, *callback_args, **callback_kwargs)\n File \"/usr/lib/python3.8/contextlib.py\", line 75, in inner\n return func(*args, **kwds)\n File \"/opt/catmaid/fibsem/django/applications/catmaid/control/authentication.py\", line 234, in inner_decorator\n return f(request, *args, **kwargs)\n File \"/opt/catmaid/fibsem/django/applications/catmaid/control/skeleton.py\", line 3562, in annotation_list\n response = get_annotation_info(project_id, skeleton_ids,\n File \"/opt/catmaid/fibsem/django/applications/catmaid/control/skeleton.py\", line 3644, in get_annotation_info\n raise Http404('No skeleton or neuron found')\ndjango.http.response.Http404: No skeleton or neuron found\n",
  "type":"Http404",
  "meta":null
}

Traceback:

Traceback (most recent call last):
 File \"/opt/catmaid/fibsem/django/env/lib/python3.8/site-packages/django/core/handlers/base.py\", line 113, in _get_response
 response = wrapped_callback(request, *callback_args, **callback_kwargs)
 File \"/usr/lib/python3.8/contextlib.py\", line 75, in inner
 return func(*args, **kwds)
 File \"/opt/catmaid/fibsem/django/applications/catmaid/control/authentication.py\", line 234, in inner_decorator
 return f(request, *args, **kwargs)
 File \"/opt/catmaid/fibsem/django/applications/catmaid/control/skeleton.py\", line 3562, in annotation_list
 response = get_annotation_info(project_id, skeleton_ids,
 File \"/opt/catmaid/fibsem/django/applications/catmaid/control/skeleton.py\", line 3644, in get_annotation_info
raise Http404('No skeleton or neuron found')
django.http.response.Http404: No skeleton or neuron found
tomka commented 3 years ago

Thanks for the bug report @ayesha-mrc! Does this still happen? And if so, does it happen only on specific search parameters, like annotations? And does this error appear as a result of initiating a search or some other operation?