Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error from /solr/core/select #2639

Closed
scottx611x opened this issue Feb 28, 2018 · 1 comment
Closed

Internal Server Error from /solr/core/select #2639

scottx611x opened this issue Feb 28, 2018 · 1 comment
Assignees

Comments

@scottx611x
Copy link
Member

  • Specific code commit: c2b6047
  • Version of the web browser and OS: Any
  • Environment where the error occurred (Vagrant VM and site conf mode or AWS instance): AWS

Steps to reproduce

  1. Search for any term in the Solr search bar above the DataSet listing on the dashboard
  2. Notice the change in url: <site>/#/?q=youmadeaquery
    • NOTE: The results of the search don't seem to matter.
  3. Refresh the page

Observed behavior

[Wed Feb 28 15:11:02.721336 2018] [:error] [pid 2596:tid 140631568996096] 2018-02-28 15:11:02 ERROR    django.request:256 handle_uncaught_exception() - Internal Server Error: /solr/core/select/
[Wed Feb 28 15:11:02.721501 2018] [:error] [pid 2596:tid 140631568996096] Traceback (most recent call last):
[Wed Feb 28 15:11:02.721564 2018] [:error] [pid 2596:tid 140631568996096]   File "/home/ubuntu/.virtualenvs/refinery-platform/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
[Wed Feb 28 15:11:02.721620 2018] [:error] [pid 2596:tid 140631568996096]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Wed Feb 28 15:11:02.721710 2018] [:error] [pid 2596:tid 140631568996096]   File "/srv/refinery-platform/refinery/core/views.py", line 551, in solr_core_search
[Wed Feb 28 15:11:02.721767 2018] [:error] [pid 2596:tid 140631568996096]     return JsonResponse(response)
[Wed Feb 28 15:11:02.721819 2018] [:error] [pid 2596:tid 140631568996096]   File "/home/ubuntu/.virtualenvs/refinery-platform/lib/python2.7/site-packages/django/http/response.py", line 532, in __init__
[Wed Feb 28 15:11:02.721873 2018] [:error] [pid 2596:tid 140631568996096]     raise TypeError('In order to allow non-dict objects to be '
[Wed Feb 28 15:11:02.721925 2018] [:error] [pid 2596:tid 140631568996096] TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False

Expected behavior

  • No error. Ability to refresh the page without 500
@scottx611x scottx611x added this to the Next milestone Feb 28, 2018
@jkmarx
Copy link
Member

jkmarx commented Mar 14, 2018

I notice this error when removing a different API. #2665 should resolve it

@jkmarx jkmarx self-assigned this Mar 14, 2018
@jkmarx jkmarx closed this as completed Mar 14, 2018
@jkmarx jkmarx removed this from the Next milestone Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants