{"action":"created","issue":{"url":"https://api.github.com/repos/c2corg/v6_api/issues/286","repository_url":"https://api.github.com/repos/c2corg/v6_api","labels_url":"https://api.github.com/repos/c2corg/v6_api/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/c2corg/v6_api/issues/286/comments","events_url":"https://api.github.com/repos/c2corg/v6_api/issues/286/events","html_url":"https://github.com/c2corg/v6_api/issues/286","id":154849974,"number":286,"title":"Searching users crash","user":{"login":"asaunier","id":1192331,"avatar_url":"https://avatars.githubusercontent.com/u/1192331?v=3","gravatar_id":"","url":"https://api.github.com/users/asaunier","html_url":"https://github.com/asaunier","followers_url":"https://api.github.com/users/asaunier/followers","following_url":"https://api.github.com/users/asaunier/following{/other_user}","gists_url":"https://api.github.com/users/asaunier/gists{/gist_id}","starred_url":"https://api.github.com/users/asaunier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaunier/subscriptions","organizations_url":"https://api.github.com/users/asaunier/orgs","repos_url":"https://api.github.com/users/asaunier/repos","events_url":"https://api.github.com/users/asaunier/events{/privacy}","received_events_url":"https://api.github.com/users/asaunier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/c2corg/v6_api/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"tsauerwein","id":266474,"avatar_url":"https://avatars.githubusercontent.com/u/266474?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauerwein","html_url":"https://github.com/tsauerwein","followers_url":"https://api.github.com/users/tsauerwein/followers","following_url":"https://api.github.com/users/tsauerwein/following{/other_user}","gists_url":"https://api.github.com/users/tsauerwein/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauerwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauerwein/subscriptions","organizations_url":"https://api.github.com/users/tsauerwein/orgs","repos_url":"https://api.github.com/users/tsauerwein/repos","events_url":"https://api.github.com/users/tsauerwein/events{/privacy}","received_events_url":"https://api.github.com/users/tsauerwein/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-14T12:00:24Z","updated_at":"2016-05-16T13:02:18Z","closed_at":null,"body":"at least on the demo instance.\r\n\r\nWhen typing a user name in the user-associating tool in the outing editing interface, one gets 500-error results from the API, the logs saying that\r\n\r\n> [Sat May 14 13:57:18.016505 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189] mod_wsgi (pid=25547): Exception occurred processing WSGI script '/var/www/vhosts/c2corgv6-api/private/v6_api/apache/app-c2corg_api.wsgi'.\r\n[Sat May 14 13:57:18.016900 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189] Traceback (most recent call last):\r\n[Sat May 14 13:57:18.017269 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/router.py\", line 223, in __call__\r\n[Sat May 14 13:57:18.017298 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     response = self.invoke_subrequest(request, use_tweens=True)\r\n[Sat May 14 13:57:18.017367 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/router.py\", line 198, in invoke_subrequest\r\n[Sat May 14 13:57:18.017389 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     response = handle_request(request)\r\n[Sat May 14 13:57:18.017487 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/c2corg_api/__init__.py\", line 46, in tween\r\n[Sat May 14 13:57:18.017512 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     return handler(request)\r\n[Sat May 14 13:57:18.017590 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/tweens.py\", line 48, in excview_tween\r\n[Sat May 14 13:57:18.017616 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     request_iface=request_iface.combined\r\n[Sat May 14 13:57:18.017700 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/view.py\", line 541, in _call_view\r\n[Sat May 14 13:57:18.017721 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     response = view_callable(context, request)\r\n[Sat May 14 13:57:18.017818 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/config/views.py\", line 385, in viewresult_to_response\r\n[Sat May 14 13:57:18.017842 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     result = view(context, request)\r\n[Sat May 14 13:57:18.017907 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/tweens.py\", line 20, in excview_tween\r\n[Sat May 14 13:57:18.017928 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     response = handler(request)\r\n[Sat May 14 13:57:18.017998 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid_tm/__init__.py\", line 101, in tm_tween\r\n[Sat May 14 13:57:18.018030 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     reraise(*exc_info)\r\n[Sat May 14 13:57:18.018105 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid_tm/compat.py\", line 15, in reraise\r\n[Sat May 14 13:57:18.018128 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     raise value\r\n[Sat May 14 13:57:18.018179 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid_tm/__init__.py\", line 83, in tm_tween\r\n[Sat May 14 13:57:18.018201 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     response = handler(request)\r\n[Sat May 14 13:57:18.018258 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/router.py\", line 145, in handle_request\r\n[Sat May 14 13:57:18.018282 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     view_name\r\n[Sat May 14 13:57:18.018341 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/view.py\", line 541, in _call_view\r\n[Sat May 14 13:57:18.018365 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     response = view_callable(context, request)\r\n[Sat May 14 13:57:18.018452 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/config/views.py\", line 602, in __call__\r\n[Sat May 14 13:57:18.018478 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     return view(context, request)\r\n[Sat May 14 13:57:18.018531 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/config/views.py\", line 328, in attr_view\r\n[Sat May 14 13:57:18.018555 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     return view(context, request)\r\n[Sat May 14 13:57:18.018613 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/config/views.py\", line 304, in predicate_wrapper\r\n[Sat May 14 13:57:18.018637 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     return view(context, request)\r\n[Sat May 14 13:57:18.018689 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/config/views.py\", line 353, in rendered_view\r\n[Sat May 14 13:57:18.018713 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     result = view(context, request)\r\n[Sat May 14 13:57:18.018762 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/pyramid/config/views.py\", line 507, in _requestonly_view\r\n[Sat May 14 13:57:18.018786 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     response = view(request)\r\n[Sat May 14 13:57:18.018869 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/cornice/service.py\", line 571, in wrapper\r\n[Sat May 14 13:57:18.018904 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     response = view_()\r\n[Sat May 14 13:57:18.019031 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/c2corg_api/views/search.py\", line 102, in get\r\n[Sat May 14 13:57:18.019060 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     return search.search_for_types(search_types, search_term, limit, lang)\r\n[Sat May 14 13:57:18.019148 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/c2corg_api/search/search.py\", line 22, in search_for_types\r\n[Sat May 14 13:57:18.019172 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     search_types, search_term, limit)\r\n[Sat May 14 13:57:18.019233 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/c2corg_api/search/search.py\", line 64, in do_multi_search_for_types\r\n[Sat May 14 13:57:18.019257 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     responses = multi_search.execute()\r\n[Sat May 14 13:57:18.019339 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/elasticsearch_dsl/search.py\", line 665, in execute\r\n[Sat May 14 13:57:18.019365 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     **self._params\r\n[Sat May 14 13:57:18.019465 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/elasticsearch/client/utils.py\", line 69, in _wrapped\r\n[Sat May 14 13:57:18.019490 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     return func(*args, params=params, **kwargs)\r\n[Sat May 14 13:57:18.019573 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]   File \"/var/www/vhosts/c2corgv6-api/private/v6_api/.build/venv/lib/python3.4/site-packages/elasticsearch/client/__init__.py\", line 814, in msearch\r\n[Sat May 14 13:57:18.019598 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189]     raise ValueError(\"Empty value passed for a required argument 'body'.\")\r\n[Sat May 14 13:57:18.019706 2016] [wsgi:error] [pid 25547] [remote 10.27.71.4:20189] ValueError: Empty value passed for a required argument 'body'."},"comment":{"url":"https://api.github.com/repos/c2corg/v6_api/issues/comments/219419399","html_url":"https://github.com/c2corg/v6_api/issues/286#issuecomment-219419399","issue_url":"https://api.github.com/repos/c2corg/v6_api/issues/286","id":219419399,"user":{"login":"tsauerwein","id":266474,"avatar_url":"https://avatars.githubusercontent.com/u/266474?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauerwein","html_url":"https://github.com/tsauerwein","followers_url":"https://api.github.com/users/tsauerwein/followers","following_url":"https://api.github.com/users/tsauerwein/following{/other_user}","gists_url":"https://api.github.com/users/tsauerwein/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauerwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauerwein/subscriptions","organizations_url":"https://api.github.com/users/tsauerwein/orgs","repos_url":"https://api.github.com/users/tsauerwein/repos","events_url":"https://api.github.com/users/tsauerwein/events{/privacy}","received_events_url":"https://api.github.com/users/tsauerwein/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T13:02:18Z","updated_at":"2016-05-16T13:02:18Z","body":"Could it be that you were not logged-in when doing the search?"}}