Hello i'm try to setup a tendenci website so that i can experience what it offers but i can't make any changes to it after finishing the installation process it is giving an error: "Oops ____, we caused a problem We have been notified of this and will be working on it quickly. You may want to try this page again in a little bit."

i have enable debug in my local_settings.py file and below is the trace back error. please assist Environment: Request Method: POST Request URL: http://127.0.0.1:8000/settings/site/global/

Django Version: 1.8.18 Python Version: 2.7.12 Installed Applications: ('django_admin_bootstrapped', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'django.contrib.sitemaps', 'django.contrib.messages', 'django.contrib.admindocs', 'django.contrib.staticfiles', 'formtools', 'bootstrap3', 'dj_pagination', 'tagging', 'captcha', 'haystack', 'tastypie', 'tendenci', 'tendenci.libs.model_report', 'tendenci.libs.tinymce', 'tendenci.libs.uploader', 'tendenci.apps.entities', 'tendenci.apps.base', 'tendenci.apps.site_settings', 'tendenci.apps.contributions', 'tendenci.apps.search', 'tendenci.apps.notifications', 'tendenci.apps.registration', 'tendenci.apps.registry', 'tendenci.apps.api_tasty', 'tendenci.apps.invoices', 'tendenci.apps.payments', 'tendenci.apps.recurring_payments', 'tendenci.apps.forms_builder.forms', 'tendenci.apps.accounts', 'tendenci.apps.files', 'tendenci.apps.user_groups', 'tendenci.apps.perms', 'tendenci.apps.profiles', 'tendenci.apps.meta', 'tendenci.apps.tags', 'tendenci.apps.articles', 'tendenci.apps.jobs', 'tendenci.apps.news', 'tendenci.apps.stories', 'tendenci.apps.pages', 'tendenci.apps.events', 'tendenci.apps.photos', 'tendenci.apps.memberships', 'tendenci.apps.corporate_memberships', 'tendenci.apps.locations', 'tendenci.apps.industries', 'tendenci.apps.regions', 'tendenci.apps.educations', 'tendenci.apps.careers', 'tendenci.apps.make_payments', 'tendenci.apps.accountings', 'tendenci.apps.emails', 'tendenci.apps.email_blocks', 'tendenci.apps.contacts', 'tendenci.apps.robots', 'tendenci.apps.versions', 'tendenci.apps.event_logs', 'tendenci.apps.categories', 'tendenci.apps.theme_editor', 'tendenci.libs.styled_forms', 'tendenci.apps.newsletters', 'tendenci.apps.redirects', 'tendenci.apps.directories', 'tendenci.apps.help_files', 'tendenci.apps.resumes', 'tendenci.apps.boxes', 'tendenci.apps.mobile', 'tendenci.apps.social_auth', 'tendenci.apps.campaign_monitor', 'tendenci.apps.wp_importer', 'tendenci.apps.wp_exporter', 'tendenci.apps.theme', 'tendenci.apps.discounts', 'tendenci.apps.metrics', 'tendenci.apps.navs', 'tendenci.apps.tendenci_guide', 'tendenci.apps.exports', 'tendenci.apps.events.ics', 'tendenci.apps.imports', 'tendenci.apps.handler404', 'tendenci.apps.reports', 'tendenci.apps.dashboard', 'tendenci.apps.social_media', 'tendenci.apps.announcements', 'tendenci.apps.forums', 'djkombu', 'djcelery', 'gunicorn', 'django.contrib.gis', 'tendenci.apps.committees', 'tendenci.apps.case_studies', 'tendenci.apps.donations', 'tendenci.apps.speakers', 'tendenci.apps.staff', 'tendenci.apps.studygroups', 'tendenci.apps.videos', 'tendenci.apps.testimonials', 'tendenci.apps.social_services', 'tendenci.apps.explorer_extensions', 'explorer') Installed Middleware: ('django.middleware.gzip.GZipMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.common.CommonMiddleware', 'dj_pagination.middleware.PaginationMiddleware', 'tendenci.apps.profiles.middleware.ForceLogoutProfileMiddleware', 'tendenci.apps.profiles.middleware.ProfileMiddleware', 'tendenci.apps.base.middleware.Http403Middleware', 'tendenci.apps.redirects.middleware.RedirectMiddleware', 'tendenci.apps.mobile.middleware.MobileMiddleware', 'tendenci.apps.theme.middleware.RequestMiddleware', 'tendenci.apps.base.middleware.MissingAppMiddleware', 'tendenci.apps.memberships.middleware.ExceededMaxTypesMiddleware', 'tendenci.apps.forums.middleware.PybbMiddleware', 'tendenci.apps.profiles.middleware.ProfileLanguageMiddleware', 'django.middleware.locale.LocaleMiddleware') Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 132. response = wrapped_callback(request, callback_args, callback_kwargs) File "/usr/local/lib/python2.7/dist-packages/tendenci/apps/site_settings/views.py" in list 38. form.save() File "/usr/local/lib/python2.7/dist-packages/tendenci/apps/site_settings/forms.py" in save_settings_form 82. setting.set_value(field_value) File "/usr/local/lib/python2.7/dist-packages/tendenci/apps/site_settings/models.py" in set_value 55. self.value = encrypt(value) File "/usr/local/lib/python2.7/dist-packages/tendenci/apps/site_settings/crypt.py" in encrypt 11. cipher = AES.new(settings.SITE_SETTINGS_KEY, AES.MODE_ECB) File "/usr/local/lib/python2.7/dist-packages/Crypto/Cipher/AES.py" in new 95. return AESCipher(key, *args, kwargs) File "/usr/local/lib/python2.7/dist-packages/Crypto/Cipher/AES.py" in init 59. blockalgo.BlockAlgo.init(self, _AES, key, args, kwargs) File "/usr/local/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py" in __init__ 141. self._cipher = factory.new(key, *args, kwargs)

Exception Type: ValueError at /settings/site/global/ Exception Value: AES key must be either 16, 24, or 32 bytes long

Edited 03 Oct, 2017 02:37