Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Perform Import button triggers error in django.core.files.storage regarding absolute paths #7

Open
egrubbs opened this issue Jan 23, 2015 · 1 comment

Comments

@egrubbs
Copy link

egrubbs commented Jan 23, 2015

I'm getting this error when I click on the "Perform Import" button. My site is using Aldryn 1.3 with the Wordpress Import 1.0b10, and Blog 0.4.5 addons.

NotImplementedError at /en/admin/aldryn_wordpress_import/wordpressimport/1/
This backend doesn't support absolute paths.

Request Method: POST
Request URL: http://testmwm-stage.us-iad-rs.aldryn.io/en/admin/aldryn_wordpress_import/wordpressimport/1/
Django Version: 1.6.10
Python Executable: /usr/bin/python2.7
Python Version: 2.7.6
Python Path: ['/app', '/usr/local/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
Server time: Fri, 23 Jan 2015 20:30:36 +0100
Installed Applications:
[u'django.contrib.auth',
 u'django.contrib.contenttypes',
 u'django.contrib.sessions',
 u'django.contrib.sites',
 u'django.contrib.messages',
 u'djangocms_admin_style',
 u'django.contrib.admin',
 u'django.contrib.staticfiles',
 u'cms',
 u'menus',
 u'mptt',
 u'south',
 u'raven.contrib.django',
 u'sekizai',
 u'gunicorn',
 u'cmscloud',
 u'compressor',
 u'aldryn_wordpress_import',
 u'taggit',
 u'aldryn_blog',
 u'easy_thumbnails',
 u'filer',
 u'djangocms_text_ckeditor',
 u'django_select2',
 u'aldryn_common',
 u'hvad',
 u'aldryn_video',
 u'aldryn_grid_foundation',
 u'aldryn_style',
 u'aldryn_theme_standardsite',
 'polymorphic',
 'cmsplugin_filer_file',
 'cmsplugin_filer_image',
 'aldryn_sites',
 'aldryn_boilerplates',
 'reversion',
 'parler',
 'robots',
 'djangocms_link',
 'djangocms_snippet',
 'djangocms_googlemap',
 'django.contrib.sitemaps',
 'health_check',
 'health_check_db',
 'health_check_cache']
Installed Middleware:
['aldryn_sites.middleware.SiteMiddleware',
 u'django.contrib.sessions.middleware.SessionMiddleware',
 u'django.middleware.transaction.TransactionMiddleware',
 u'django.contrib.auth.middleware.AuthenticationMiddleware',
 u'cmscloud.middleware.AccessControlMiddleware',
 u'django.contrib.messages.middleware.MessageMiddleware',
 u'django.middleware.locale.LocaleMiddleware',
 u'django.middleware.common.CommonMiddleware',
 u'django.middleware.csrf.CsrfViewMiddleware',
 u'django.middleware.http.ConditionalGetMiddleware',
 u'cms.middleware.language.LanguageCookieMiddleware',
 u'cms.middleware.user.CurrentUserMiddleware',
 u'cms.middleware.page.CurrentPageMiddleware',
 u'cms.middleware.toolbar.ToolbarMiddleware',
 'cmscloud.middleware.CurrentSiteMiddleware',
 'cmscloud.middleware.AldrynUserMiddleware']

Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  112.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py" in wrapper
  465.                 return self.admin_site.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view
  99.                     response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func
  52.         response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in inner
  198.             return view(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/aldryn_wordpress_import/admin.py" in change_view
  34.             parser = WordpressParser(wp_import=instance)
File "/usr/local/lib/python2.7/dist-packages/aldryn_wordpress_import/utils.py" in __init__
  44.         self.file_path = self.wp_import.xml_file.path
File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/files.py" in _get_path
  59.         return self.storage.path(self.name)
File "/usr/local/lib/python2.7/dist-packages/django/core/files/storage.py" in path
  85.         raise NotImplementedError("This backend doesn't support absolute paths.")

Exception Type: NotImplementedError at /en/admin/aldryn_wordpress_import/wordpressimport/1/
Exception Value: This backend doesn't support absolute paths.
Request information:
GET: No GET data

POST:
csrfmiddlewaretoken = u'ccK0Bd0WxtzMuKv7H5NEA5jLtoLEw1YK'
execute = u'true'

FILES: No FILES data

COOKIES:
__utmz = '111857281.1422035107.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
SnapABugRef = 'http%3A%2F%2Ftestmwm-stage.us-iad-rs.aldryn.io%2F%3Fedit%20'
SnapABugHistory = '1#'
sessionid = 'q3nsyhpieahpzydo6jufh2osdoq1lkvo'
SnapABugVisit = '4#1422035107'
csrftoken = 'ccK0Bd0WxtzMuKv7H5NEA5jLtoLEw1YK'
__utma = '111857281.1964253073.1422035107.1422035107.1422035107.1'
__utmc = '111857281'
django_language = 'en'

META:
HTTP_ACCEPT = '*/*'
SERVER_NAME = 'testmwm-stage.us-iad-rs.aldryn.io'
SERVER_PORT = '80'
HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
HTTP_X_FORWARDED_PROTO = 'http'
SERVER_PROTOCOL = 'HTTP/1.0'
SERVER_SOFTWARE = 'gunicorn/18.0'
SCRIPT_NAME = u''
REMOTE_PORT = '80'
wsgi.input = <gunicorn.http.body.Body object at 0x7f7837d82790>
REQUEST_METHOD = 'POST'
HTTP_HOST = 'testmwm-stage.us-iad-rs.aldryn.io'
PATH_INFO = u'/en/admin/aldryn_wordpress_import/wordpressimport/1/'
HTTP_ORIGIN = 'http://testmwm-stage.us-iad-rs.aldryn.io'
wsgi.multithread = False
QUERY_STRING = ''
HTTP_CONNECTION = 'close'
REMOTE_ADDR = '108.80.210.6'
HTTP_X_REAL_IP = '::ffff:10.189.254.4'
CONTENT_LENGTH = '65'
HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36'
wsgi.version = 
HTTP_REFERER = 'http://testmwm-stage.us-iad-rs.aldryn.io/en/admin/aldryn_wordpress_import/wordpressimport/1/'
RAW_URI = '/en/admin/aldryn_wordpress_import/wordpressimport/1/'
HTTP_X_FORWARDED_PROTOCOL = 'http'
wsgi.run_once = False
CSRF_COOKIE = u'ccK0Bd0WxtzMuKv7H5NEA5jLtoLEw1YK'
wsgi.errors = <open file '<stderr>', mode 'w' at 0x7f784801f1e0>
wsgi.multiprocess = True
HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.8,de;q=0.6'
wsgi.url_scheme = 'http'
gunicorn.socket = <socket at 0x7f78374daf90 fileno=11 sock=127.0.0.1:5000 peer=127.0.0.1:58995>
HTTP_X_FORWARDED_PORT = '80'
CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=UTF-8'
HTTP_X_FORWARDED_FOR = '108.80.210.6'
wsgi.file_wrapper = ''
HTTP_X_CLUSTER_CLIENT_IP = '108.80.210.6'
HTTP_ACCEPT_ENCODING = 'gzip, deflate'
HTTP_COOKIE = 'django_language=en; SnapABugRef=http%3A%2F%2Ftestmwm-stage.us-iad-rs.aldryn.io%2F%3Fedit%20; SnapABugHistory=1#; __utma=111857281.1964253073.1422035107.1422035107.1422035107.1; __utmc=111857281; __utmz=111857281.1422035107.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); SnapABugVisit=4#1422035107; sessionid=q3nsyhpieahpzydo6jufh2osdoq1lkvo; csrftoken=ccK0Bd0WxtzMuKv7H5NEA5jLtoLEw1YK'

Settings:
Using settings module settings
COMPRESS_URL = '/static/'
COMPRESS_OUTPUT_DIR = u'CACHE'
COMPRESS_TEMPLATE_FILTER_CONTEXT = {u'STATIC_URL': '/static/'}
USE_L10N = True
THUMBNAIL_PROCESSORS = 
COMPRESS_DATA_URI_MAX_SIZE = 1024
CSRF_COOKIE_SECURE = False
LANGUAGE_CODE = 'en'
ROOT_URLCONF = 'urls'
MANAGERS = 
COMPRESS_CSS_HASHING_METHOD = u'mtime'
DEFAULT_CHARSET = 'utf-8'
IGNORABLE_404_URLS = 
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
STATIC_ROOT = '/app/data/static_collected'
COMPRESS_CLOSURE_COMPILER_ARGUMENTS = u''
DEFAULT_LANGUAGE = 0
USE_THOUSAND_SEPARATOR = False
COMPRESS_OFFLINE_MANIFEST = u'manifest.json'
ALLOWED_HOSTS = [u'testmwm-stage.us-iad-rs.aldryn.io', u'*']
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
COMPRESS_YUI_JS_ARGUMENTS = u''
SEND_BROKEN_LINK_EMAILS = False
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'aldryn_boilerplates.staticfile_finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
SESSION_CACHE_ALIAS = 'default'
COMPRESS_CSSTIDY_ARGUMENTS = u'--template=highest'
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_NAME = 'sessionid'
COMPRESS_YUGLIFY_JS_ARGUMENTS = u'--terminal'
ADMIN_FOR = 
TIME_INPUT_FORMATS = 
DATABASES = {u'default': {u'ENGINE': u'django.db.backends.postgresql_psycopg2', 'AUTOCOMMIT': True, 'ATOMIC_REQUESTS': False, u'NAME': u'db_1861', 'TEST_MIRROR': None, 'CONN_MAX_AGE': 0, 'TIME_ZONE': 'Europe/Zurich', 'TEST_COLLATION': None, 'TEST_CHARSET': None, u'PORT': 5432, u'HOST': u'192.168.128.1', u'USER': u'db_1861', 'TEST_NAME': None, u'PASSWORD': u'********************', 'OPTIONS': {}}}
SHARING_VIEW_ONLY_SECRET_TOKEN = u'********************'
COMPRESS_YUI_BINARY = u'java -jar yuicompressor.jar'
FILE_UPLOAD_PERMISSIONS = None
FILE_UPLOAD_HANDLERS = 
TEMPLATE_CONTEXT_PROCESSORS = [u'django.contrib.auth.context_processors.auth', u'django.core.context_processors.i18n', u'django.core.context_processors.request', u'django.core.context_processors.media', u'django.core.context_processors.static', u'django.contrib.messages.context_processors.messages', u'sekizai.context_processors.sekizai', u'cms.context_processors.media', u'cmscloud.context_processors.boilerplate', u'cmscloud.context_processors.debug', u'aldryn_snake.template_api.template_processor', 'aldryn_boilerplates.context_processors.boilerplate']
DEFAULT_CONTENT_TYPE = 'text/html'
COMPRESS_CSS_COMPRESSOR = u'compressor.css.CssCompressor'
CMSCLOUD_SYNC_KEY = u'********************'
APPEND_SLASH = True
FIRST_DAY_OF_WEEK = 0
DATABASE_ROUTERS = []
YEAR_MONTH_FORMAT = 'F Y'
COMPRESS_OFFLINE_TIMEOUT = 31536000
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES = {'default': {'LOCATION': u'django_dbcache', 'KEY_PREFIX': u'********************', 'BACKEND': 'django.core.cache.backends.db.DatabaseCache'}}
CMSCLOUD_STATIC_URL = 'https://static.aldryn.com/'
DOMAIN_REDIRECTS = ''
TEMPLATE_DIRS = ['/app/cmscloud/templates', '/app/templates', '/app/custom_templates']
SERVER_EMAIL = 'root@localhost'
SESSION_COOKIE_PATH = '/'
COMPRESS_PARSER = u'compressor.parser.AutoSelectParser'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
ALDRYN_SITES_AUTO_CONFIGURE_ALLOWED_HOSTS = True
COMPRESS_CACHE_BACKEND = u'default'
CMS_TEMPLATES = [[u'fullwidth.html', u'full width'], [u'sidebar_left.html', u'sidebar left'], [u'sidebar_right.html', u'sidebar right'], [u'tpl_home.html', u'home template']]
MIDDLEWARE_CLASSES = ['aldryn_sites.middleware.SiteMiddleware', u'django.contrib.sessions.middleware.SessionMiddleware', u'django.middleware.transaction.TransactionMiddleware', u'django.contrib.auth.middleware.AuthenticationMiddleware', u'cmscloud.middleware.AccessControlMiddleware', u'django.contrib.messages.middleware.MessageMiddleware', u'django.middleware.locale.LocaleMiddleware', u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware', u'django.middleware.http.ConditionalGetMiddleware', u'cms.middleware.language.LanguageCookieMiddleware', u'cms.middleware.user.CurrentUserMiddleware', u'cms.middleware.page.CurrentPageMiddleware', u'cms.middleware.toolbar.ToolbarMiddleware', 'cmscloud.middleware.CurrentSiteMiddleware', 'cmscloud.middleware.AldrynUserMiddleware']
USE_I18N = True
THOUSAND_SEPARATOR = ','
CMS_LANGUAGES = {'default': {'redirect_on_fallback': True, 'hide_untranslated': True, 'public': True}, 1: [{u'code': u'en', 'redirect_on_fallback': True, u'fallbacks': [], 'hide_untranslated': True, u'public': True, u'name': u'English'}], <class cms.utils.conf.VERIFIED at 0x7f78407a1b48>: True}
THUMBNAIL_SOURCE_GENERATORS = 'easy_thumbnails.source_generators.pil_image'
LANGUAGE_COOKIE_NAME = 'django_language'
DEFAULT_INDEX_TABLESPACE = ''
TRANSACTIONS_MANAGED = False
LOGGING_CONFIG = 'django.utils.log.dictConfig'
SESSION_COOKIE_AGE = 1209600
CMSPLUGIN_FILER_IMAGE_STYLE_CHOICES = 
TEMPLATE_LOADERS = ['django.template.loaders.filesystem.Loader', 'aldryn_boilerplates.template_loaders.AppDirectoriesLoader', 'django.template.loaders.app_directories.Loader']
DJEESE_STORAGE_KEY = u'********************'
WSGI_APPLICATION = None
CKEDITOR_SETTINGS = {'toolbar_HTMLField': [['Undo', 'Redo'], ['cmsplugins', '-', 'ShowBlocks'], ['Format', 'Styles'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript', '-', 'RemoveFormat'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source'], ['Link', 'Unlink', 'Anchor']], 'language': '{{ language }}', 'contentsCss': ['/static/css/base.css'], 'extraPlugins': 'cmsplugins', 'stylesSet': 'default:/static/js/modules/ckeditor.wysiwyg.js', 'skin': 'moono', 'height': 300, 'toolbar': 'CMS'}
TEMPLATE_DEBUG = True
X_FRAME_OPTIONS = 'SAMEORIGIN'
ALDRYN_BLOG_PLUGIN_LANGUAGE = u'en'
FORCE_SCRIPT_NAME = None
USE_X_FORWARDED_HOST = False
RESTARTER_PAYLOAD = u'********************'
SYNC_CHANGED_FILES_URL = u'https://control.aldryn.com/api/internal/v1/sync-changed-files/testmwm/'
COMPRESS_CSSTIDY_BINARY = u'csstidy'
SYNC_CHANGED_FILES_SIGNATURE_MAX_AGE = u'********************'
SESSION_COOKIE_SECURE = False
COMPRESS_DEBUG_TOGGLE = None
COMPRESS_VERBOSE = False
CSRF_COOKIE_DOMAIN = None
FILE_CHARSET = 'utf-8'
DEBUG = True
SESSION_FILE_PATH = None
COMPRESS_JS_FILTERS = [u'compressor.filters.jsmin.JSMinFilter']
DEFAULT_FILE_STORAGE = u'fs.django_storage.DjeeseFSStorage'
INSTALLED_APPS = [u'django.contrib.auth', u'django.contrib.contenttypes', u'django.contrib.sessions', u'django.contrib.sites', u'django.contrib.messages', u'djangocms_admin_style', u'django.contrib.admin', u'django.contrib.staticfiles', u'cms', u'menus', u'mptt', u'south', u'raven.contrib.django', u'sekizai', u'gunicorn', u'cmscloud', u'compressor', u'aldryn_wordpress_import', u'taggit', u'aldryn_blog', u'easy_thumbnails', u'filer', u'djangocms_text_ckeditor', u'django_select2', u'aldryn_common', u'hvad', u'aldryn_video', u'aldryn_grid_foundation', u'aldryn_style', u'aldryn_theme_standardsite', 'polymorphic', 'cmsplugin_filer_file', 'cmsplugin_filer_image', 'aldryn_sites', 'aldryn_boilerplates', 'reversion', 'parler', 'robots', 'djangocms_link', 'djangocms_snippet', 'djangocms_googlemap', 'django.contrib.sitemaps', 'health_check', 'health_check_db', 'health_check_cache']
CACHE_URL = u'db://django_dbcache'
COMMENTS_ALLOW_PROFANITIES = False
COMPRESS_YUI_CSS_ARGUMENTS = u''
STATICFILES_DIRS = ['/app/static']
PREPEND_WWW = False
DJEESE_STORAGE_HOST = u'http://media.us-iad-rs.aldryn.net'
SESSION_COOKIE_HTTPONLY = True
DEBUG_PROPAGATE_EXCEPTIONS = False
INTERNAL_IPS = 
LIVERELOAD_CREDENTIAL_URL = u'https://control.aldryn.com/control/editor/1826/livereload-credentials/'
LOGIN_URL = '/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_SAVE_EVERY_REQUEST = False
DOMAIN = 'testmwm-stage.us-iad-rs.aldryn.io'
REDIS_URL = u'********************'
TIME_FORMAT = 'P'
EXTRA_MIDDLEWARE_CLASSES = ['cmscloud.middleware.CurrentSiteMiddleware', 'cmscloud.middleware.AldrynUserMiddleware']
SHARING_VIEW_ONLY_TOKEN_KEY_NAME = u'********************'
COMPRESS_STORAGE = u'compressor.storage.CompressorFileStorage'
FILER_DEBUG = True
AUTH_USER_MODEL = 'auth.User'
DATE_INPUT_FORMATS = 
COMPRESS_CSS_FILTERS = [u'compressor.filters.css_default.CssAbsoluteFilter']
AUTHENTICATION_BACKENDS = 'django.contrib.auth.backends.ModelBackend'
EMAIL_HOST_PASSWORD = u'********************'
SENTRY_DSN = u'********************'
COMPRESS_REBUILD_TIMEOUT = 2592000
RESTARTER_URL = u'https://control.aldryn.com/api/internal/v1/restart/'
PASSWORD_RESET_TIMEOUT_DAYS = u'********************'
CACHE_MIDDLEWARE_ALIAS = 'default'
FILER_ENABLE_LOGGING = True
ADMIN_MEDIA_PREFIX = '/static/admin/'
NUMBER_GROUPING = 0
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
COMPRESS_YUGLIFY_BINARY = u'yuglify'
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_COOKIE_PATH = '/'
EXTRA_INSTALLED_APPS = ['aldryn_sites', 'aldryn_boilerplates', 'reversion', 'parler', 'hvad', 'robots', 'djangocms_text_ckeditor', 'djangocms_link', 'django_select2', 'djangocms_snippet', 'djangocms_googlemap', 'django.contrib.sitemaps']
COMPRESS_CACHE_KEY_FUNCTION = u'********************'
CMSPLUGIN_FILER_IMAGE_DEFAULT_STYLE = ''
TEMPLATE_STRING_IF_INVALID = ''
THUMBNAIL_PRESERVE_EXTENSIONS = ['png', 'gif']
DECIMAL_SEPARATOR = '.'
COMPRESS_PRECOMPILERS = 
COMPRESS_MTIME_DELAY = 10
SITE_ID = 1
LOCALE_PATHS = 
MONTH_DAY_FORMAT = 'F j'
ALDRYN_STYLE_CLASS_NAMES = [[u'content', u'content']]
LOGOUT_URL = '/accounts/logout/'
FILER_IMAGE_USE_ICON = True
EMAIL_USE_TLS = False
EXTRA_TEMPLATE_CONTEXT_PROCESSORS = ['aldryn_boilerplates.context_processors.boilerplate']
LOGIN_REDIRECT_URL = '/accounts/profile/'
FIXTURE_DIRS = 
EMAIL_HOST = 'localhost'
DATE_FORMAT = 'N j, Y'
DJEESE_STORAGE_ID = u'luEwVK3qS3vFsrITdC2LnJTjxaBJnpKNGlKbX1syxk1BRe0ja0KPg3pzAx1IStnQ'
MEDIA_ROOT = '/app/data/media'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
CMSPLUGIN_FILER_FILE_DEFAULT_STYLE = ''
ALDRYN_SITES_DOMAINS = {1: {'domain': 'testmwm-stage.us-iad-rs.aldryn.io', 'redirects': [], 'aliases': []}}
FORMAT_MODULE_PATH = None
DEFAULT_FROM_EMAIL = 'webmaster@localhost'
COMPRESS_ROOT = '/app/data/static_collected'
ADMINS = 
MEDIA_URL = '/media/'
DATETIME_FORMAT = 'N j, Y, P'
EMAIL_SUBJECT_PREFIX = '[Django] '
COMPRESS_JS_COMPRESSOR = u'compressor.js.JsCompressor'
DISALLOWED_USER_AGENTS = 
ALLOWED_INCLUDE_ROOTS = 
SSO_DSN = u'********************'
LANGUAGES_BIDI = 
ALDRYN_SITES_SET_DOMAIN_NAME = True
COMPRESS_MINT_DELAY = 30
LOGGING = {'loggers': {'py.warnings': {'handlers': ['console']}, 'django.request': {'handlers': ['mail_admins'], 'propagate': False, 'level': 'ERROR'}, 'django': {'handlers': ['console']}}, 'version': 1, 'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}, 'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'}}, 'handlers': {'null': {'class': 'django.utils.log.NullHandler'}, 'console': {'class': 'logging.StreamHandler', 'filters': ['require_debug_true'], 'level': 'INFO'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}}
PROJECT_DIR = '/app'
SECRET_KEY = u'********************'
THUMBNAIL_QUALITY = 90
SECURE_PROXY_SSL_HEADER = None
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
COMPRESS_ENABLED = False
SHORT_DATE_FORMAT = 'm/d/Y'
CACHE_MIDDLEWARE_KEY_PREFIX = u'********************'
COMPRESS_OFFLINE = False
CMSPLUGIN_FILER_FILE_STYLE_CHOICES = 
COMPRESS_OFFLINE_CONTEXT = {u'STATIC_URL': '/static/'}
COMPRESS_YUGLIFY_CSS_ARGUMENTS = u'--terminal'
DOMAIN_ALIASES = ''
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
ALDRYN_BOILERPLATE_NAME = None
DEFAULT_TABLESPACE = ''
CLOUD_USER_SESSION_EXPIRATION = 86400
LAST_BOILERPLATE_COMMIT = u'33c46ef74b2ae4c63cb3d7953fc2519ab2b7eb02'
SETTINGS_MODULE = 'settings'
USE_ETAGS = False
LANGUAGES = [[u'en', u'English']]
COMPRESS_JINJA2_GET_ENVIRONMENT = None
COMPRESS_CLOSURE_COMPILER_BINARY = u'java -jar compiler.jar'
FILE_UPLOAD_TEMP_DIR = None
ALDRYN_BLOG_SEARCH = True
STATIC_URL = '/static/'
CSRF_COOKIE_NAME = 'csrftoken'
EMAIL_PORT = 25
USE_TZ = False
SHORT_DATETIME_FORMAT = 'm/d/Y P'
PASSWORD_HASHERS = u'********************'
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
ABSOLUTE_URL_OVERRIDES = {}
DATA_ROOT = '/app/data'
CACHE_MIDDLEWARE_SECONDS = 600
CSRF_COOKIE_HTTPONLY = False
DATETIME_INPUT_FORMATS = 
TIME_ZONE = 'Europe/Zurich'
EMAIL_HOST_USER = ''
PROFANITIES_LIST = u'********************'

You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard 500 page.
@aa-dit-yuh
Copy link

+1 I am facing the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants