Closed mikkonie closed 2 years ago
Dump:
From: root@localhost [root@localhost]
Sent: Friday, February 08, 2019 12:24
To: Stolpe, Oliver; Holtgrewe, Manuel
Subject: [CUBI VarFish]ERROR (EXTERNAL IP): Internal Server Error: /project/remote/site/sync/f1854782-ef48-408b-ab0e-086ce83c5488
Internal Server Error: /project/remote/site/sync/f1854782-ef48-408b-ab0e-086ce83c5488
KeyError at /project/remote/site/sync/f1854782-ef48-408b-ab0e-086ce83c5488
'CATERGORY'
Request Method: GET
Request URL: https://varfish.bihealth.org/project/remote/site/sync/f1854782-ef48-408b-ab0e-086ce83c5488
Django Version: 1.11.18
Python Executable: /srv/varfish-web/v0.11.4-venv/bin/python3.6
Python Version: 3.6.7
Python Path: ['/srv/varfish-web/v0.11.4', '/srv/varfish-web/v0.11.4', '/srv/varfish-web/v0.11.4-venv/bin', '/srv/varfish-web/v0.11.4-venv/lib64/python36.zip', '/srv/varfish-web/v0.11.4-venv/lib64/python3.6', '/srv/varfish-web/v0.11.4-venv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages', '/srv/varfish-web/v0.11.4-venv/src/django-plugins', '/srv/varfish-web/v0.11.4-venv/src/django-sodar-core', '/srv/varfish-web/v0.11.4', '/srv/varfish-web/v0.11.4/varfish']
Server time: Fri, 8 Feb 2019 11:24:31 +0000
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
'django.contrib.admin',
'crispy_forms',
'rules.apps.AutodiscoverRulesConfig',
'djangoplugins',
'pagedown',
'markupfield',
'rest_framework',
'knox',
'aldjemy',
'adminalerts',
'projectroles.apps.ProjectrolesConfig',
'timeline.apps.TimelineConfig',
'docs',
'varfish.users.apps.UsersConfig',
'annotation.apps.AnnotationConfig',
'clinvar.apps.ClinvarConfig',
'conservation.apps.ConservationConfig',
'dbsnp.apps.DbsnpConfig',
'frequencies.apps.FrequenciesConfig',
'hgmd.apps.HgmdConfig',
'geneinfo.apps.GeneinfoConfig',
'importer.apps.ImporterConfig',
'pathways.apps.PathwaysConfig',
'variants.apps.VariantsConfig',
'bgjobs.apps.BgjobsConfig',
'var_stats_qc.apps.VarStatsQcConfig',
'templatetags.apps.TemplatetagsConfig',
'raven.contrib.django.raven_compat',
'gunicorn']
Installed Middleware:
['raven.contrib.django.middleware.DjangoRestFrameworkCompatMiddleware',
'raven.contrib.django.middleware.SentryMiddleware',
'raven.contrib.django.raven_compat.middleware.SentryResponseErrorIdMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback:
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
41. response = get_response(request)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
217. response = self.process_exception_by_middleware(e, request)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
215. response = response.render()
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/response.py" in render
107. self.content = self.rendered_content
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/response.py" in rendered_content
84. content = template.render(context, self._request)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/backends/django.py" in render
66. return self.template.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
207. return self._render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in _render
199. return self.nodelist.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
990. bit = node.render_annotated(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render_annotated
957. return self.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/loader_tags.py" in render
177. return compiled_parent._render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in _render
199. return self.nodelist.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
990. bit = node.render_annotated(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render_annotated
957. return self.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/loader_tags.py" in render
177. return compiled_parent._render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in _render
199. return self.nodelist.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
990. bit = node.render_annotated(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render_annotated
957. return self.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/loader_tags.py" in render
177. return compiled_parent._render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in _render
199. return self.nodelist.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
990. bit = node.render_annotated(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render_annotated
957. return self.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/loader_tags.py" in render
72. result = block.nodelist.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
990. bit = node.render_annotated(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render_annotated
957. return self.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/loader_tags.py" in render
72. result = block.nodelist.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
990. bit = node.render_annotated(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render_annotated
957. return self.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/defaulttags.py" in render
322. return nodelist.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
990. bit = node.render_annotated(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render_annotated
957. return self.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/defaulttags.py" in render
322. return nodelist.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render
990. bit = node.render_annotated(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/base.py" in render_annotated
957. return self.render(context)
File "/srv/varfish-web/v0.11.4-venv/lib/python3.6/site-packages/django/template/library.py" in render
203. output = self.func(*resolved_args, **resolved_kwargs)
File "/srv/varfish-web/v0.11.4-venv/src/django-sodar-core/projectroles/templatetags/projectroles_common_tags.py" in get_display_name
107. return _get_display_name(key, title, count, plural)
File "/srv/varfish-web/v0.11.4-venv/src/django-sodar-core/projectroles/utils.py" in get_display_name
34. ret = SODAR_CONSTANTS['DISPLAY_NAMES'][key][
Exception Type: KeyError at /project/remote/site/sync/f1854782-ef48-408b-ab0e-086ce83c5488
Exception Value: 'CATERGORY'
Request information:
USER: holtgrem_admin
GET: No GET data
POST: No POST data
FILES: No FILES data
COOKIES:
csrftoken = 'NtSjK5DO1sFDXAuFJXYGydEa0xTKVJkuLodvqNACYR4korTZIowVl70aejXh4vCg'
sessionid = '7lujan51n2jut1lr7x15ga8axmxzw66z'
META:
CSRF_COOKIE = 'NtSjK5DO1sFDXAuFJXYGydEa0xTKVJkuLodvqNACYR4korTZIowVl70aejXh4vCg'
CSRF_COOKIE_USED = True
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.5'
HTTP_CONNECTION = 'close'
HTTP_COOKIE = 'csrftoken=NtSjK5DO1sFDXAuFJXYGydEa0xTKVJkuLodvqNACYR4korTZIowVl70aejXh4vCg; sessionid=7lujan51n2jut1lr7x15ga8axmxzw66z'
HTTP_DNT = '1'
HTTP_HOST = 'varfish.bihealth.org'
HTTP_REFERER = 'https://varfish.bihealth.org/project/remote/sites'
HTTP_UPGRADE_INSECURE_REQUESTS = '1'
HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0'
HTTP_X_FORWARDED_FOR = '172.16.128.8'
HTTP_X_FORWARDED_PROTO = 'https'
PATH_INFO = '/project/remote/site/sync/f1854782-ef48-408b-ab0e-086ce83c5488'
QUERY_STRING = ''
RAW_URI = '/project/remote/site/sync/f1854782-ef48-408b-ab0e-086ce83c5488'
REMOTE_ADDR = '127.0.0.1'
REMOTE_PORT = '60564'
REQUEST_METHOD = 'GET'
SCRIPT_NAME = ''
SERVER_NAME = '127.0.0.1'
SERVER_PORT = '8000'
SERVER_PROTOCOL = 'HTTP/1.0'
SERVER_SOFTWARE = 'gunicorn/19.7.1'
gunicorn.socket = <gevent._socket3.socket object, fd=3, family=2, type=2049, proto=0>
wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9137f0afd0>
wsgi.file_wrapper = ''
wsgi.input = <gunicorn.http.body.Body object at 0x7f9137f0af60>
wsgi.multiprocess = True
wsgi.multithread = True
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module config.settings.production
ABSOLUTE_URL_OVERRIDES = {}
ADMINS = [('Oliver Stolpe', 'oliver.stolpe@bihealth.de'), ('Manuel Holtgrewe', 'manuel.holtgrewe@bihealth.de')]
ADMIN_URL = '^admin/'
ALDJEMY_DATA_TYPES = {'ArrayField': <function <lambda> at 0x7f91cea88ae8>, 'UUIDField': <function <lambda> at 0x7f91ce819bf8>, 'JSONField': <function <lambda> at 0x7f91cde0a840>, 'BinaryField': <function <lambda> at 0x7f91cde16730>}
ALDJEMY_ENGINES = {'postgres': 'postgresql+psycopg2'}
ALLOWED_HOSTS = ['*']
APPEND_SLASH = True
APPS_DIR = <Path:/srv/varfish-web/v0.11.4/varfish>
AUTHENTICATION_BACKENDS = "('projectroles.auth_backends.SecondaryLDAPBackend', 'projectroles.auth_backends.PrimaryLDAPBackend', 'rules.permissions.ObjectPermissionBackend', 'django.contrib.auth.backends.ModelBackend')"
AUTH_LDAP2_BIND_DN = 'CN=sa-p-bind-bihvarfish,OU=functional_accounts,DC=mdc-berlin,DC=net'
AUTH_LDAP2_BIND_PASSWORD = '********************'
AUTH_LDAP2_CONNECTION_OPTIONS = {8: 0}
AUTH_LDAP2_DOMAIN_PRINTABLE = 'MDC'
AUTH_LDAP2_SERVER_URI = 'ldap://141.80.136.108:3268'
AUTH_LDAP2_USERNAME_DOMAIN = 'MDC-BERLIN'
AUTH_LDAP2_USER_ATTR_MAP = {'first_name': 'givenName', 'last_name': 'sn', 'email': 'mail'}
AUTH_LDAP2_USER_SEARCH = <django_auth_ldap.config.LDAPSearch object at 0x7f91ce815ef0>
AUTH_LDAP_BIND_DN = 'CN=svc-bih-cubi-varfish,OU=Benutzer,OU=Allgemein,OU=BCU,OU=FO,OU=BIH,OU=Partner,OU=Struktur,DC=charite,DC=de'
AUTH_LDAP_BIND_PASSWORD = '********************'
AUTH_LDAP_CONNECTION_OPTIONS = {8: 0}
AUTH_LDAP_DOMAIN_PRINTABLE = 'Charité'
AUTH_LDAP_SERVER_URI = 'ldap://172.16.0.71:389'
AUTH_LDAP_USERNAME_DOMAIN = 'CHARITE'
AUTH_LDAP_USER_ATTR_MAP = {'first_name': 'givenName', 'last_name': 'sn', 'email': 'mail'}
AUTH_LDAP_USER_SEARCH = <django_auth_ldap.config.LDAPSearch object at 0x7f91cdea03c8>
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'users.User'
AUTOSLUG_SLUGIFY_FUNCTION = 'slugify.slugify'
CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/0', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'IGNORE_EXCEPTIONS': True}}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 600
CELERYD_TASK_SOFT_TIME_LIMIT = 60
CELERYD_TASK_TIME_LIMIT = 300
CELERY_ACCEPT_CONTENT = ['json']
CELERY_BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TASK_SERIALIZER = 'json'
CELERY_TIMEZONE = 'UTC'
CRISPY_TEMPLATE_PACK = 'bootstrap4'
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'NAME': 'varfish', 'USER': 'varfish', 'PASSWORD': '********************', 'HOST': '172.16.96.189', 'PORT': '', 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'CONN_MAX_AGE': 60, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
DATETIME_FORMAT = 'N j, Y, P'
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT = 'N j, Y'
DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DECIMAL_SEPARATOR = '.'
DEFAULT_CHARSET = 'utf-8'
DEFAULT_CONTENT_TYPE = 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL = 'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DISALLOWED_USER_AGENTS = []
DJANGO_APPS = ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.admin']
DOCS_ROOT = <Path:/srv/varfish-web/v0.11.4/docs_manual/_build/html>
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'postamt.charite.de'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = None
EMAIL_PORT = None
EMAIL_SENDER = 'svc-bih-cubi-varfish@charite.de'
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[CUBI VarFish]'
EMAIL_TIMEOUT = None
EMAIL_URL = {'EMAIL_FILE_PATH': '', 'EMAIL_HOST_USER': None, 'EMAIL_HOST_PASSWORD': '********************', 'EMAIL_HOST': 'postamt.charite.de', 'EMAIL_PORT': None, 'EMAIL_BACKEND': 'django.core.mail.backends.smtp.EmailBackend'}
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLED_BACKEND_PLUGINS = ['timeline_backend', 'timeline_backend']
ENABLE_LDAP = True
ENABLE_LDAP_SECONDARY = True
FILE_CHARSET = 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
FILE_UPLOAD_PERMISSIONS = None
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/srv/varfish-web/v0.11.4/varfish/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS = []
INSTALLED_APPS = ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.admin', 'crispy_forms', 'rules.apps.AutodiscoverRulesConfig', 'djangoplugins', 'pagedown', 'markupfield', 'rest_framework', 'knox', 'aldjemy', 'adminalerts', 'projectroles.apps.ProjectrolesConfig', 'timeline.apps.TimelineConfig', 'docs', 'varfish.users.apps.UsersConfig', 'annotation.apps.AnnotationConfig', 'clinvar.apps.ClinvarConfig', 'conservation.apps.ConservationConfig', 'dbsnp.apps.DbsnpConfig', 'frequencies.apps.FrequenciesConfig', 'hgmd.apps.HgmdConfig', 'geneinfo.apps.GeneinfoConfig', 'importer.apps.ImporterConfig', 'pathways.apps.PathwaysConfig', 'variants.apps.VariantsConfig', 'bgjobs.apps.BgjobsConfig', 'var_stats_qc.apps.VarStatsQcConfig', 'templatetags.apps.TemplatetagsConfig', 'raven.contrib.django.raven_compat', 'gunicorn']
INTERNAL_IPS = []
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE = 'en-us'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LDAP_DEFAULT_ATTR_MAP = {'first_name': 'givenName', 'last_name': 'sn', 'email': 'mail'}
LDAP_DEFAULT_CONN_OPTIONS = {8: 0}
LDAP_DEFAULT_FILTERSTR = '(sAMAccountName=%(user)s)'
LOCALE_PATHS = []
LOCAL_APPS = ['varfish.users.apps.UsersConfig', 'annotation.apps.AnnotationConfig', 'clinvar.apps.ClinvarConfig', 'conservation.apps.ConservationConfig', 'dbsnp.apps.DbsnpConfig', 'frequencies.apps.FrequenciesConfig', 'hgmd.apps.HgmdConfig', 'geneinfo.apps.GeneinfoConfig', 'importer.apps.ImporterConfig', 'pathways.apps.PathwaysConfig', 'variants.apps.VariantsConfig', 'bgjobs.apps.BgjobsConfig', 'var_stats_qc.apps.VarStatsQcConfig', 'templatetags.apps.TemplatetagsConfig']
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'formatters': {'simple': {'format': '%(asctime)s [%(levelname)s] %(name)s: %(message)s'}}, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'simple'}}, 'loggers': {'projectroles': {'level': 'INFO', 'handlers': ['console'], 'propagate': False}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_REDIRECT_URL = 'home'
LOGIN_URL = 'login'
LOGOUT_REDIRECT_URL = None
MANAGERS = [('Oliver Stolpe', 'oliver.stolpe@bihealth.de'), ('Manuel Holtgrewe', 'manuel.holtgrewe@bihealth.de')]
MEDIA_ROOT = '/srv/varfish-web/v0.11.4/varfish/media'
MEDIA_URL = '/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['raven.contrib.django.middleware.DjangoRestFrameworkCompatMiddleware', 'raven.contrib.django.middleware.SentryMiddleware', 'raven.contrib.django.raven_compat.middleware.SentryResponseErrorIdMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware']
MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware']
MIGRATION_MODULES = {'sites': 'varfish.contrib.sites.migrations'}
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECTROLES_ADMIN_OWNER = 'root'
PROJECTROLES_ENABLE_SEARCH = True
PROJECTROLES_HELP_HIGHLIGHT_DAYS = 7
PROJECTROLES_INVITE_EXPIRY_DAYS = 14
PROJECTROLES_SEARCH_PAGINATION = 5
PROJECTROLES_SECRET_LENGTH = '********************'
PROJECTROLES_SEND_EMAIL = True
PROJECTROLES_SITE_MODE = 'TARGET'
PROJECTROLES_TARGET_CREATE = True
RAVEN_MIDDLEWARE = ['raven.contrib.django.raven_compat.middleware.SentryResponseErrorIdMiddleware']
READ_DOT_ENV_FILE = False
REDIS_LOCATION = 'redis://127.0.0.1:6379/0'
REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.SessionAuthentication', 'knox.auth.TokenAuthentication')}
ROOT_DIR = <Path:/srv/varfish-web/v0.11.4>
ROOT_URLCONF = 'config.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = True
SECURE_CONTENT_TYPE_NOSNIFF = True
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 60
SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = True
SERVER_EMAIL = 'root@localhost'
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SECURE = True
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = False
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE = 'config.settings.production'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = []
SITE_ID = 1
SITE_INSTANCE_TITLE = 'Deployment Instance Name'
SITE_PACKAGE = 'varfish'
SITE_SUBTITLE = 'Beta'
SITE_TITLE = 'VarFish'
SODAR_API_DEFAULT_VERSION = '********************'
SODAR_API_MEDIA_TYPE = '********************'
STATICFILES_DIRS = ['/srv/varfish-web/v0.11.4/varfish/static']
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
STATIC_ROOT = '/srv/varfish-web/v0.11.4/staticfiles'
STATIC_URL = '/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/srv/varfish-web/v0.11.4/varfish/templates'], 'OPTIONS': {'debug': False, 'loaders': [('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])], 'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'projectroles.context_processors.urls_processor']}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
THIRD_PARTY_APPS = ['crispy_forms', 'rules.apps.AutodiscoverRulesConfig', 'djangoplugins', 'pagedown', 'markupfield', 'rest_framework', 'knox', 'aldjemy', 'adminalerts', 'projectroles.apps.ProjectrolesConfig', 'timeline.apps.TimelineConfig', 'docs']
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
USE_ETAGS = False
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WHITENOISE_MIDDLEWARE = ['whitenoise.middleware.WhiteNoiseMiddleware']
WSGI_APPLICATION = 'config.wsgi.application'
X_FRAME_OPTIONS = 'DENY'
YEAR_MONTH_FORMAT = 'F Y'
Found the problem, typo of one character in a string argument. See kids, this is why we usually use constants :P
mentioned in commit 3bb25b98235727c07a07626850c0cc8528194b4a
closed
Looks like I missed something in the unit tests for this.
Happens with the NAMSE-Translate project. Posting the error dump in comments.
Edit: sync itself works, rendering a template after that crashes.