cern-search-rest-api issues
https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues
2019-11-25T10:20:49+01:00
https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/92
Profile create record changes
2019-11-25T10:20:49+01:00
Carina Antunes
Profile create record changes
Profile create record changes due to https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/issues/85.
If negative impacts is found make files with buckets configurable.
Profile create record changes due to https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/issues/85.
If negative impacts is found make files with buckets configurable.
https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/90
Logging: Debug logs broken inside docker / oc
2019-11-21T11:24:03+01:00
Carina Antunes
Logging: Debug logs broken inside docker / oc
Flags don't seem to work. Investigate and fix.
Flags don't seem to work. Investigate and fix.
https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/89
test: ui/test_ui::test_view is failling
2019-11-14T16:54:33+01:00
Carina Antunes
test: ui/test_ui::test_view is failling
```
__________________________________________________________________________________________ test_view ___________________________________________________________________________________________
appctx = <Flask 'invenio'>, base_clien...
```
__________________________________________________________________________________________ test_view ___________________________________________________________________________________________
appctx = <Flask 'invenio'>, base_client = <FlaskClient <Flask 'invenio'>>
@pytest.mark.unit
def test_view(appctx, base_client):
> resp = base_client.post("/account/settings/applications/", follow_redirects=True)
tests/ui/test_ui.py:17:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/werkzeug/test.py:1039: in post
return self.open(*args, **kw)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/testing.py:227: in open
follow_redirects=follow_redirects,
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/werkzeug/test.py:1017: in open
response, new_location, environ, buffered=buffered
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/werkzeug/test.py:948: in resolve_redirect
return self.open(builder, as_tuple=True, buffered=buffered)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/testing.py:227: in open
follow_redirects=follow_redirects,
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/werkzeug/test.py:993: in open
response = self.run_wsgi_app(environ.copy(), buffered=buffered)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/werkzeug/test.py:884: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/werkzeug/test.py:1119: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/app.py:2463: in __call__
return self.wsgi_app(environ, start_response)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/app.py:2449: in wsgi_app
response = self.handle_exception(e)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/app.py:1866: in handle_exception
reraise(exc_type, exc_value, tb)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/_compat.py:39: in reraise
raise value
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/app.py:2446: in wsgi_app
response = self.full_dispatch_request()
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/app.py:1951: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/app.py:1820: in handle_user_exception
reraise(exc_type, exc_value, tb)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/_compat.py:39: in reraise
raise value
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/app.py:1949: in full_dispatch_request
rv = self.dispatch_request()
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/app.py:1935: in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask_security/decorators.py:230: in wrapper
return f(*args, **kwargs)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask_security/views.py:89: in login
**_ctx('login'))
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask_security/core.py:528: in render_template
return render_template(*args, **kwargs)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/templating.py:140: in render_template
ctx.app,
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/flask/templating.py:120: in _render
rv = template.render(context)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/jinja2/asyncsupport.py:76: in render
return original_render(self, *args, **kwargs)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/jinja2/environment.py:1008: in render
return self.environment.handle_exception(exc_info, True)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/jinja2/environment.py:780: in handle_exception
reraise(exc_type, exc_value, tb)
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/jinja2/_compat.py:37: in reraise
raise value.with_traceback(tb)
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/invenio_oauthclient/templates/invenio_oauthclient/login_user.html:11: in top-level template code
{%- from "invenio_oauthclient/_macros.html" import oauth_button %}
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/invenio_accounts/templates/invenio_accounts/login_user.html:11: in top-level template code
{% from "invenio_accounts/_macros.html" import render_field, form_errors %}
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/invenio_theme/templates/invenio_theme/page_cover.html:13: in top-level template code
{%- set body_css_classes=['cover-page'] %}
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/invenio_theme/templates/invenio_theme/page.html:12: in top-level template code
{%- block head %}
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/invenio_theme/templates/invenio_theme/page.html:47: in block "head"
{%- block css %}
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/invenio_theme/templates/invenio_theme/page.html:48: in block "css"
{{ webpack['theme.css']}}
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/jinja2/environment.py:411: in getitem
return obj[argument]
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/werkzeug/local.py:378: in <lambda>
__getitem__ = lambda x, i: x._get_current_object()[i]
/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/werkzeug/local.py:307: in _get_current_object
return self.__local()
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/flask_webpackext/proxies.py:22: in <lambda>
lambda: current_app.extensions['flask-webpackext'].manifest)
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/flask_webpackext/ext.py:88: in manifest
join(self.app.static_folder, path))
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/flask_webpackext/manifest.py:66: in load
super(JinjaManifestLoader, self).load(filepath)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask_webpackext.manifest.JinjaManifestLoader object at 0x7f270187df98>, filepath = '/opt/rh/rh-python36/root/usr/var/instance/static/dist/manifest.json'
def load(self, filepath):
"""Load a manifest from a file."""
> with open(filepath) as fp:
E FileNotFoundError: [Errno 2] No such file or directory: '/opt/rh/rh-python36/root/usr/var/instance/static/dist/manifest.json'
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pywebpack/manifests.py:212: FileNotFoundError
```