[Mailman-Developers] [django_mailman3-1.0.2] No Facebook app configured: please add a SocialApp using the Django admin
Leon
best.sum at gmail.com
Sun Nov 27 23:33:55 EST 2016
Hi developers. I copied production.py from (
https://wiki.list.org/DOC/Mailman%203%20installation%20experience?action=AttachFile&do=view&target=production.py),
so 'allauth.socialaccount.providers.facebook' is in INSTALLED_APPS. Also, I
added another site and set SITE_ID = 2(
http://stackoverflow.com/questions/14019017/django-allauth-no-facebook-app-configured-please-add-a-socialapp-using-the-djan).
However, the exception is not fixed.
Error log:
ImproperlyConfigured at /accounts/login/
No Facebook app configured: please add a SocialApp using the Django admin
Request Method: GET
Request URL: http://list.conferency.com/accounts/login/?next=/archives/
Django Version: 1.10.3
Exception Type: ImproperlyConfigured
Exception Value:
No Facebook app configured: please add a SocialApp using the Django admin
Exception Location:
/opt/mailman/venv/lib/python2.7/site-packages/django_allauth-0.29.0-py2.7.egg/allauth/socialaccount/providers/facebook/provider.py
in media_js, line 131
Python Executable: /opt/mailman/venv/bin/python2
Python Version: 2.7.12
Python Path:
['/opt/mailman/mailman-bundler',
'/opt/mailman/mailman-bundler/eggs/gunicorn-19.6.0-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/Whoosh-2.7.4-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/mock-2.0.0-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/beautifulsoup4-4.5.1-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/six-1.10.0-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/pbr-1.10.0-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/funcsigs-1.0.2-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/lockfile-0.12.2-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/django_extensions-1.7.5-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/django_haystack-2.5.1-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/enum34-1.1.6-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/networkx-1.11-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/python_dateutil-1.5-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/django_browserid-2.0.2-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/HyperKitty-1.0.4-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/mailmanclient-1.0.1-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/django_allauth-0.29.0-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/postorius-1.0.4-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/django_mailman3-1.0.2-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/Django-1.10.3-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages',
'/opt/mailman/mailman-bundler/eggs/django_compressor-2.1-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/django_paintstore-0.2-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/pytz-2016.7-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/robot_detection-0.4-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/cssmin-0.2.0-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/rjsmin-1.0.12-py2.7-linux-x86_64.egg',
'/opt/mailman/mailman-bundler/eggs/django_crispy_forms-1.6.1-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/djangorestframework-3.5.3-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/python_social_auth-0.2.21-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/django_gravatar2-1.4.0-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/decorator-4.0.10-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/httplib2-0.9.2-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/requests-2.12.1-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/rcssmin-1.0.6-py2.7-linux-x86_64.egg',
'/opt/mailman/mailman-bundler/eggs/django_appconf-1.0.2-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/PyJWT-1.4.2-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/requests_oauthlib-0.7.0-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/oauthlib-2.0.1-py2.7.egg',
'/opt/mailman/mailman-bundler/eggs/python_openid-2.2.5-py2.7.egg',
'/opt/mailman/mailman-bundler/bin',
'/opt/mailman/venv/lib/python2.7',
'/opt/mailman/venv/lib/python2.7/plat-x86_64-linux-gnu',
'/opt/mailman/venv/lib/python2.7/lib-tk',
'/opt/mailman/venv/lib/python2.7/lib-old',
'/opt/mailman/venv/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/opt/mailman/venv/local/lib/python2.7/site-packages/six-1.10.0-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/lockfile-0.12.2-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/django_extensions-1.7.5-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/django_haystack-2.5.1-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/enum34-1.1.6-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/networkx-1.11-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/django_compressor-2.1-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/django_paintstore-0.2-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/pytz-2016.7-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/robot_detection-0.4-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/cssmin-0.2.0-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/rjsmin-1.0.12-py2.7-linux-x86_64.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/djangorestframework-3.5.3-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/django_gravatar2-1.4.0-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/decorator-4.0.10-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/rcssmin-1.0.6-py2.7-linux-x86_64.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/django_appconf-1.0.2-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/requests-2.12.1-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/requests_oauthlib-0.7.0-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/python_openid-2.2.5-py2.7.egg',
'/opt/mailman/venv/local/lib/python2.7/site-packages/oauthlib-2.0.1-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/six-1.10.0-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/lockfile-0.12.2-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/django_extensions-1.7.5-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/django_haystack-2.5.1-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/enum34-1.1.6-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/networkx-1.11-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/django_compressor-2.1-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/django_paintstore-0.2-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/pytz-2016.7-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/robot_detection-0.4-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/cssmin-0.2.0-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/rjsmin-1.0.12-py2.7-linux-x86_64.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/djangorestframework-3.5.3-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/django_gravatar2-1.4.0-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/decorator-4.0.10-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/rcssmin-1.0.6-py2.7-linux-x86_64.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/django_appconf-1.0.2-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/requests-2.12.1-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/requests_oauthlib-0.7.0-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/python_openid-2.2.5-py2.7.egg',
'/opt/mailman/venv/lib/python2.7/site-packages/oauthlib-2.0.1-py2.7.egg']
Error during template rendering
In template
/opt/mailman/venv/lib/python2.7/site-packages/django_mailman3-1.0.2-py2.7.egg/django_mailman3/templates/account/login.html,
error at line *0*
No Facebook app configured: please add a SocialApp using the Django admin
1 {% extends "account/base.html" %}
2
3 {% load i18n %}
4 {% load account socialaccount %}
5 {% load bootstrap_tags %}
6
7 {% block head_title %}{% trans "Sign In" %}{% endblock %}
8
9 {% block content %}
--
Best wishes,
Leon
More information about the Mailman-Developers
mailing list