Closed tsfoer closed 8 years ago
Damn, this issue got old.
The error message is caused by https://code.djangoproject.com/ticket/26886 and is harmless. It has nothing to do with the login failure.
Try checking session_cookie_secure
in your /etc/teamvault.cfg
. It you're not using HTTPS, this can cause logins to not work without an error message.
Hello,
i've just upgraded from 0.4.3 to 0.5.1 via pip and now i'm unable to login: TypeError at /login an integer is required (got type str)
Here is the full error message:
Environment:
Request Method: POST Request URL: http:///login?next=/
Django Version: 1.8.5 Python Version: 3.4.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.humanize', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_gravatar', 'djorm_pgfulltext', 'rest_framework', 'teamvault.apps.accounts.AccountsConfig', 'teamvault.apps.audit.AuditConfig', 'teamvault.apps.secrets.SecretsConfig', 'teamvault.apps.settings.SettingsConfig'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware')
Traceback: File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py" in get_response
Exception Type: TypeError at /login Exception Value: an integer is required (got type str)
Is this happening to somebody else? Any ideas how to fix this as 0.4.3 was working fine.
Thanks a lot!