Webmaster
Threads by month
- ----- 2024 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
July 2024
- 22 participants
- 1520 discussions
This is the mail system at host smtp2.osuosl.org.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<Mimyarmy602(a)gmail.com>: host
gmail-smtp-in.l.google.com[2607:f8b0:400e:c07::1b] said: 550-5.1.1 The
email account that you tried to reach does not exist. Please try 550-5.1.1
double-checking the recipient's email address for typos or 550-5.1.1
unnecessary spaces. For more information, go to 550 5.1.1
https://support.google.com/mail/?p=NoSuchUser
d9443c01a7336-1fed7fb3c19si156770095ad.488 - gsmtp (in reply to RCPT TO
command)
1
0
![](https://secure.gravatar.com/avatar/31cce5fe7b0237aba1a00eaf943594ff.jpg?s=120&d=mm&r=g)
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /zh-hant/~inkscape/resources/
by webmaster@inkscape.org 31 Jul '24
by webmaster@inkscape.org 31 Jul '24
31 Jul '24
Internal Server Error: /zh-hant/~inkscape/resources/
KeyError at /zh-hant/~inkscape/resources/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/zh-hant/~inkscape/resources/?page=7&order=-liked&licen…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: 星期三, 31 七月 2024 22:24:09 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /zh-hant/~inkscape/resources/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
page = '7'
order = '-liked'
license = 'CC-BY-SA+3.0'
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = '*/*'
HTTP_ACCEPT_LANGUAGE = 'zh-hans'
HTTP_HOST = 'inkscape.org'
HTTP_USER_AGENT = 'meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)'
PATH_INFO = '/zh-hant/~inkscape/resources/'
QUERY_STRING = 'page=7&order=-liked&license=CC-BY-SA%2B3.0'
REMOTE_ADDR = '173.252.83.5'
REMOTE_PORT = '55748'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/zh-hant/~inkscape/resources/?page=7&order=-liked&license=CC-BY-SA%2B3.0'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/2.0'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f8f52fe37f8>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = '您必须先在论坛上发帖,然后才能发送私信。'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', '三欄頁面'), ('cms/super.html', '全螢幕'), ('cms/normal.html', '一般頁面'), ('cms/develop.html', '開發者頁面'), ('cms/withside.html', '側邊欄頁面'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
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': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', '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
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f8f66bd3268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
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(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
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 = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
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'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', '網站使用者'), ('resources.resource', '畫廊資源'), ('django_comments.comment', '使用者評註'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
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_SAMESITE = 'Lax'
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 = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
![](https://secure.gravatar.com/avatar/31cce5fe7b0237aba1a00eaf943594ff.jpg?s=120&d=mm&r=g)
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /zh-hans/~DG-RA/resources/
by webmaster@inkscape.org 31 Jul '24
by webmaster@inkscape.org 31 Jul '24
31 Jul '24
Internal Server Error: /zh-hans/~DG-RA/resources/
KeyError at /zh-hans/~DG-RA/resources/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/zh-hans/~DG-RA/resources/?page=7&order=-liked
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: 星期三, 31 七月 2024 19:40:32 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /zh-hans/~DG-RA/resources/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
page = '7'
order = '-liked'
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = '*/*'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_HOST = 'inkscape.org'
HTTP_USER_AGENT = 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)'
PATH_INFO = '/zh-hans/~DG-RA/resources/'
QUERY_STRING = 'page=7&order=-liked'
REMOTE_ADDR = '173.252.83.27'
REMOTE_PORT = '49566'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/zh-hans/~DG-RA/resources/?page=7&order=-liked'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/2.0'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f8f448d65a0>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = '您必须先在论坛上发帖,然后才能发送私信。'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', '三分页面'), ('cms/super.html', '全屏'), ('cms/normal.html', '普通页面'), ('cms/develop.html', '开发者页面'), ('cms/withside.html', '侧边栏页'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
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': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', '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
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f8f66bd3268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
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(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
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 = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
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'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', '网站用户'), ('resources.resource', '画册资源'), ('django_comments.comment', '用户评论'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
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_SAMESITE = 'Lax'
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 = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
This is the mail system at host smtp4.osuosl.org.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<jonatandavid121(a)gimail.com>: mail for gimail.com loops back to myself
1
0
![](https://secure.gravatar.com/avatar/31cce5fe7b0237aba1a00eaf943594ff.jpg?s=120&d=mm&r=g)
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /it/~bradtolentino211/resources/
by webmaster@inkscape.org 31 Jul '24
by webmaster@inkscape.org 31 Jul '24
31 Jul '24
Internal Server Error: /it/~bradtolentino211/resources/
KeyError at /it/~bradtolentino211/resources/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/it/~bradtolentino211/resources/?page=2&switchlang=it&o…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: Mer, 31 Lug 2024 18:21:38 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /it/~bradtolentino211/resources/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
page = '2'
switchlang = 'it'
order = 'downed'
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = '*/*'
HTTP_ACCEPT_LANGUAGE = 'zh-hant'
HTTP_HOST = 'inkscape.org'
HTTP_USER_AGENT = 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)'
PATH_INFO = '/it/~bradtolentino211/resources/'
QUERY_STRING = 'page=2&switchlang=it&order=downed'
REMOTE_ADDR = '173.252.69.10'
REMOTE_PORT = '53252'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/it/~bradtolentino211/resources/?page=2&switchlang=it&order=downed'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/2.0'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f8f46dedb88>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Pagina a tre colonne'), ('cms/super.html', 'Schermo completo'), ('cms/normal.html', 'Pagina normale'), ('cms/develop.html', 'Pagina dello sviluppatore'), ('cms/withside.html', 'Pagina con barra laterale'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
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': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', '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
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f8f66bd3268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
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(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
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 = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
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'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Utente del sito web'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'Commento dell’utente'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
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_SAMESITE = 'Lax'
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 = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
![](https://secure.gravatar.com/avatar/31cce5fe7b0237aba1a00eaf943594ff.jpg?s=120&d=mm&r=g)
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /zh-hant/~MarcJeanmougin/resources/=inkscape-package/
by webmaster@inkscape.org 31 Jul '24
by webmaster@inkscape.org 31 Jul '24
31 Jul '24
Internal Server Error: /zh-hant/~MarcJeanmougin/resources/=inkscape-package/
KeyError at /zh-hant/~MarcJeanmougin/resources/=inkscape-package/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/zh-hant/~MarcJeanmougin/resources/%3Dinkscape-package/…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: 星期三, 31 七月 2024 18:09:40 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /zh-hant/~MarcJeanmougin/resources/=inkscape-package/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
page = '10'
order = '-viewed'
license = 'GPLv3'
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = '*/*'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_HOST = 'inkscape.org'
HTTP_USER_AGENT = 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)'
PATH_INFO = '/zh-hant/~MarcJeanmougin/resources/=inkscape-package/'
QUERY_STRING = 'page=10&order=-viewed&license=GPLv3'
REMOTE_ADDR = '66.220.149.32'
REMOTE_PORT = '44314'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/zh-hant/~MarcJeanmougin/resources/%3Dinkscape-package/?page=10&order=-viewed&license=GPLv3'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/2.0'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f8f57129168>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = '您必须先在论坛上发帖,然后才能发送私信。'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', '三欄頁面'), ('cms/super.html', '全螢幕'), ('cms/normal.html', '一般頁面'), ('cms/develop.html', '開發者頁面'), ('cms/withside.html', '側邊欄頁面'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
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': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', '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
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f8f66bd3268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
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(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
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 = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
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'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', '網站使用者'), ('resources.resource', '畫廊資源'), ('django_comments.comment', '使用者評註'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
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_SAMESITE = 'Lax'
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 = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
![](https://secure.gravatar.com/avatar/31cce5fe7b0237aba1a00eaf943594ff.jpg?s=120&d=mm&r=g)
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /zh-hant/~jabiertxof/resources/=artwork/
by webmaster@inkscape.org 31 Jul '24
by webmaster@inkscape.org 31 Jul '24
31 Jul '24
Internal Server Error: /zh-hant/~jabiertxof/resources/=artwork/
KeyError at /zh-hant/~jabiertxof/resources/=artwork/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/zh-hant/~jabiertxof/resources/%3Dartwork/?page=7&licen…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: 星期三, 31 七月 2024 17:58:07 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /zh-hant/~jabiertxof/resources/=artwork/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
page = '7'
license = 'CC-BY-SA+3.0'
order = 'downed'
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = '*/*'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_HOST = 'inkscape.org'
HTTP_USER_AGENT = 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)'
PATH_INFO = '/zh-hant/~jabiertxof/resources/=artwork/'
QUERY_STRING = 'page=7&license=CC-BY-SA%2B3.0&order=downed'
REMOTE_ADDR = '173.252.83.15'
REMOTE_PORT = '55430'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/zh-hant/~jabiertxof/resources/%3Dartwork/?page=7&license=CC-BY-SA%2B3.0&order=downed'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/2.0'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f8f469cc900>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = '您必须先在论坛上发帖,然后才能发送私信。'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', '三欄頁面'), ('cms/super.html', '全螢幕'), ('cms/normal.html', '一般頁面'), ('cms/develop.html', '開發者頁面'), ('cms/withside.html', '側邊欄頁面'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
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': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', '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
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f8f66bd3268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
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(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
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 = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
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'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', '網站使用者'), ('resources.resource', '畫廊資源'), ('django_comments.comment', '使用者評註'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
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_SAMESITE = 'Lax'
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 = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
![](https://secure.gravatar.com/avatar/31cce5fe7b0237aba1a00eaf943594ff.jpg?s=120&d=mm&r=g)
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /cs/~Moini/resources/=screenshot/
by webmaster@inkscape.org 31 Jul '24
by webmaster@inkscape.org 31 Jul '24
31 Jul '24
Internal Server Error: /cs/~Moini/resources/=screenshot/
KeyError at /cs/~Moini/resources/=screenshot/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/cs/~Moini/resources/%3Dscreenshot/?order=-downed&page=4
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: st, 31 Čec 2024 15:48:38 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /cs/~Moini/resources/=screenshot/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
order = '-downed'
page = '4'
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_HOST = 'inkscape.org'
HTTP_SEC_FETCH_DEST = 'document'
HTTP_SEC_FETCH_MODE = 'navigate'
HTTP_SEC_FETCH_SITE = 'none'
HTTP_SEC_FETCH_USER = '?1'
HTTP_UPGRADE_INSECURE_REQUESTS = '1'
HTTP_USER_AGENT = 'Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback(a)bytedance.com)'
PATH_INFO = '/cs/~Moini/resources/=screenshot/'
QUERY_STRING = 'order=-downed&page=4'
REMOTE_ADDR = '110.249.202.86'
REMOTE_PORT = '39648'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/cs/~Moini/resources/=screenshot/?order=-downed&page=4'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/2.0'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f8f59a275b8>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'Normal Page'), ('cms/develop.html', 'Developer Page'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
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': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', '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
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f8f66bd3268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
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(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
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 = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
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'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Website User'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'User Comment'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
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_SAMESITE = 'Lax'
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 = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
![](https://secure.gravatar.com/avatar/31cce5fe7b0237aba1a00eaf943594ff.jpg?s=120&d=mm&r=g)
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /da/~doctormo/resources/=inkscape-package/
by webmaster@inkscape.org 31 Jul '24
by webmaster@inkscape.org 31 Jul '24
31 Jul '24
Internal Server Error: /da/~doctormo/resources/=inkscape-package/
KeyError at /da/~doctormo/resources/=inkscape-package/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/da/~doctormo/resources/%3Dinkscape-package/?order=-lik…
Django Version: 2.2
Python Executable: /var/www/www.inkscape.org/pythonenv/bin/uwsgi
Python Version: 3.6.8
Python Path: ['/var/www/www.inkscape.org/libs', '.', '', '/var/www/www.inkscape.org/pythonenv/lib64/python36.zip', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6', '/var/www/www.inkscape.org/pythonenv/lib64/python3.6/lib-dynload', '/usr/lib64/python3.6', '/usr/lib/python3.6', '/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages']
Server time: ons, 31 Jul 2024 15:17:23 +0000
Installed Applications:
('inkscape',
'person',
'calendars',
'rocketchat_send',
'recurrence',
'stopforumspam',
'elections',
'easy_thumbnails',
'django.contrib.sites',
'django.contrib.auth',
'django_registration',
'social_django',
'captcha',
'filer',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.redirects',
'django.contrib.staticfiles',
'django.contrib.humanize',
'haystack',
'treebeard',
'cmsplugin_diff',
'cms',
'cog',
'budget',
'menus',
'el_menu',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_file',
'cmsplugin_toc',
'cmsplugin_search',
'cmsplugin_news',
'cmsplugin_image',
'cmsplugin_alerts',
'cmstabs',
'docs',
'resources',
'moderation',
'releases',
'stats',
'forums',
'django_comments',
'alerts',
'markdown_deux')
Installed Middleware:
['cog.middleware.UserOnErrorMiddleware',
'inkscape.middleware.AutoBreadcrumbMiddleware',
'inkscape.middleware.InkLanguageMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'social_django.middleware.SocialAuthExceptionMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cmsplugin_diff.middleware.EditCommentMiddleware',
'person.middleware.SetLastVisitMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'forums.middleware.RecentUsersMiddleware']
Traceback:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "./resources/category_views.py" in get
358. context = self.get_context_data(object_list=qset, **kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /da/~doctormo/resources/=inkscape-package/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
order = '-liked'
page = '18'
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
META:
CONTENT_LENGTH = ''
CONTENT_TYPE = ''
DOCUMENT_ROOT = '/var/www/www.inkscape.org'
HTTPS = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_HOST = 'inkscape.org'
HTTP_SEC_FETCH_DEST = 'document'
HTTP_SEC_FETCH_MODE = 'navigate'
HTTP_SEC_FETCH_SITE = 'none'
HTTP_SEC_FETCH_USER = '?1'
HTTP_UPGRADE_INSECURE_REQUESTS = '1'
HTTP_USER_AGENT = 'Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback(a)bytedance.com)'
PATH_INFO = '/da/~doctormo/resources/=inkscape-package/'
QUERY_STRING = 'order=-liked&page=18'
REMOTE_ADDR = '110.249.202.135'
REMOTE_PORT = '56920'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/da/~doctormo/resources/=inkscape-package/?order=-liked&page=18'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/2.0'
uwsgi.node = b'inkscape1.osuosl.org'
uwsgi.version = b'2.0.17'
wsgi.errors = <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper = ''
wsgi.input = <uwsgi._Input object at 0x7f8f4fdca768>
wsgi.multiprocess = True
wsgi.multithread = False
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'
Settings:
Using settings module inkscape.settings
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_ACTIVATION_DAYS = 7
ADMINS = "(('Webmaster', 'webmaster(a)lists.inkscape.org'),)"
ALERTS_MESSAGE_DENIED = 'You must post to the forum before you can send personal messages.'
ALERTS_MESSAGE_PERMISSION = 'forums.can_post_topic'
ALLOWED_HOSTS = ['inkscape.org', 'www.inkscape.org', 'www.inkscape.org.', 'media.inkscape.org']
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = "('person.oauth.FilteredGoogleOAuth2', 'social_core.backends.gitlab.GitLabOAuth2', 'django.contrib.auth.backends.ModelBackend')"
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'person.User'
BASE_DIR = './inkscape'
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 5
CACHE_PAGE_SETTING = 3600
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.word_challenge'
CKEDITOR_NEWS = {'extraPlugins': 'image', 'filebrowserImageUploadUrl': '/news/admin/upload/', 'toolbar_HTMLField': [['Undo', 'Redo'], ['ShowBlocks'], ['Format', 'Styles', '-', 'RemoveFormat'], ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], ['Maximize', ''], '/', ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Image', '-', 'HorizontalRule'], ['Link', 'Unlink'], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], ['Source']]}
CKEDITOR_READONLY = {'readOnly': True, 'disableReadonlyStyling': True}
CKEDITOR_SETTINGS = {'disableNativeSpellChecker': False, 'browserContextMenuOnCtrl': True, 'readOnly': False}
CMS_APPHOOKS = "('cmsplugin_news.cms_app.NewsAppHook', 'inkscape.cms_app.SearchApphook')"
CMS_APPLICATIONS_URLS = "(('cmsplugin_news.urls', 'News'),)"
CMS_LANGUAGES = {1: [{'name': 'Afrikaans', 'code': 'af', 'fallbacks': ['af', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Arabic', 'code': 'ar', 'fallbacks': ['ar', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Asturian', 'code': 'ast', 'fallbacks': ['ast', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Azerbaijani', 'code': 'az', 'fallbacks': ['az', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bulgarian', 'code': 'bg', 'fallbacks': ['bg', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Belarusian', 'code': 'be', 'fallbacks': ['be', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bengali', 'code': 'bn', 'fallbacks': ['bn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Breton', 'code': 'br', 'fallbacks': ['br', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Bosnian', 'code': 'bs', 'fallbacks': ['bs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Catalan', 'code': 'ca', 'fallbacks': ['ca', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Czech', 'code': 'cs', 'fallbacks': ['cs', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Welsh', 'code': 'cy', 'fallbacks': ['cy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Danish', 'code': 'da', 'fallbacks': ['da', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'German', 'code': 'de', 'fallbacks': ['de', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lower Sorbian', 'code': 'dsb', 'fallbacks': ['dsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Greek', 'code': 'el', 'fallbacks': ['el', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Australian English', 'code': 'en-au', 'fallbacks': ['en-au', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'British English', 'code': 'en-gb', 'fallbacks': ['en-gb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Esperanto', 'code': 'eo', 'fallbacks': ['eo', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Spanish', 'code': 'es', 'fallbacks': ['es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Argentinian Spanish', 'code': 'es-ar', 'fallbacks': ['es-ar', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Colombian Spanish', 'code': 'es-co', 'fallbacks': ['es-co', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mexican Spanish', 'code': 'es-mx', 'fallbacks': ['es-mx', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nicaraguan Spanish', 'code': 'es-ni', 'fallbacks': ['es-ni', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Venezuelan Spanish', 'code': 'es-ve', 'fallbacks': ['es-ve', 'es', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Estonian', 'code': 'et', 'fallbacks': ['et', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Basque', 'code': 'eu', 'fallbacks': ['eu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Persian', 'code': 'fa', 'fallbacks': ['fa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Finnish', 'code': 'fi', 'fallbacks': ['fi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'French', 'code': 'fr', 'fallbacks': ['fr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Frisian', 'code': 'fy', 'fallbacks': ['fy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Irish', 'code': 'ga', 'fallbacks': ['ga', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Scottish Gaelic', 'code': 'gd', 'fallbacks': ['gd', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Galician', 'code': 'gl', 'fallbacks': ['gl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hebrew', 'code': 'he', 'fallbacks': ['he', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hindi', 'code': 'hi', 'fallbacks': ['hi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Croatian', 'code': 'hr', 'fallbacks': ['hr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Upper Sorbian', 'code': 'hsb', 'fallbacks': ['hsb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Hungarian', 'code': 'hu', 'fallbacks': ['hu', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Armenian', 'code': 'hy', 'fallbacks': ['hy', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Interlingua', 'code': 'ia', 'fallbacks': ['ia', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Indonesian', 'code': 'id', 'fallbacks': ['id', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ido', 'code': 'io', 'fallbacks': ['io', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Icelandic', 'code': 'is', 'fallbacks': ['is', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Italian', 'code': 'it', 'fallbacks': ['it', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Japanese', 'code': 'ja', 'fallbacks': ['ja', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Georgian', 'code': 'ka', 'fallbacks': ['ka', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kabyle', 'code': 'kab', 'fallbacks': ['kab', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kazakh', 'code': 'kk', 'fallbacks': ['kk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Khmer', 'code': 'km', 'fallbacks': ['km', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Kannada', 'code': 'kn', 'fallbacks': ['kn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Korean', 'code': 'ko', 'fallbacks': ['ko', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Luxembourgish', 'code': 'lb', 'fallbacks': ['lb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Lithuanian', 'code': 'lt', 'fallbacks': ['lt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Latvian', 'code': 'lv', 'fallbacks': ['lv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Macedonian', 'code': 'mk', 'fallbacks': ['mk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Malayalam', 'code': 'ml', 'fallbacks': ['ml', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Mongolian', 'code': 'mn', 'fallbacks': ['mn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Marathi', 'code': 'mr', 'fallbacks': ['mr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Burmese', 'code': 'my', 'fallbacks': ['my', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Bokmål', 'code': 'nb', 'fallbacks': ['nb', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Nepali', 'code': 'ne', 'fallbacks': ['ne', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Dutch', 'code': 'nl', 'fallbacks': ['nl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Norwegian Nynorsk', 'code': 'nn', 'fallbacks': ['nn', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ossetic', 'code': 'os', 'fallbacks': ['os', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Punjabi', 'code': 'pa', 'fallbacks': ['pa', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Polish', 'code': 'pl', 'fallbacks': ['pl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Portuguese', 'code': 'pt', 'fallbacks': ['pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Brazilian Portuguese', 'code': 'pt-br', 'fallbacks': ['pt-br', 'pt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Romanian', 'code': 'ro', 'fallbacks': ['ro', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Russian', 'code': 'ru', 'fallbacks': ['ru', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovak', 'code': 'sk', 'fallbacks': ['sk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Slovenian', 'code': 'sl', 'fallbacks': ['sl', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Albanian', 'code': 'sq', 'fallbacks': ['sq', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian', 'code': 'sr', 'fallbacks': ['sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Serbian Latin', 'code': 'sr-latn', 'fallbacks': ['sr-latn', 'sr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swedish', 'code': 'sv', 'fallbacks': ['sv', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Swahili', 'code': 'sw', 'fallbacks': ['sw', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tamil', 'code': 'ta', 'fallbacks': ['ta', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Telugu', 'code': 'te', 'fallbacks': ['te', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Thai', 'code': 'th', 'fallbacks': ['th', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Turkish', 'code': 'tr', 'fallbacks': ['tr', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Tatar', 'code': 'tt', 'fallbacks': ['tt', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Udmurt', 'code': 'udm', 'fallbacks': ['udm', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Ukrainian', 'code': 'uk', 'fallbacks': ['uk', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Urdu', 'code': 'ur', 'fallbacks': ['ur', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Vietnamese', 'code': 'vi', 'fallbacks': ['vi', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Simplified Chinese', 'code': 'zh-hans', 'fallbacks': ['zh-hans', 'zh', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}, {'name': 'Traditional Chinese', 'code': 'zh-hant', 'fallbacks': ['zh-hant', 'zh', 'zh-hans', 'en'], 'public': True, 'redirect_on_fallback': False, 'hide_untranslated': False}], 'default': {'public': True, 'fallbacks': ['en'], 'hide_untranslated': False, 'redirect_on_fallback': False}, <class 'cms.utils.conf.VERIFIED'>: True}
CMS_NAVIGATION_EXTENDERS = "(('cmsplugin_news.navigation.get_nodes', 'News navigation'),)"
CMS_PLACEHOLDER_CONF = {'normal_template_content': {'language_fallback': True}, 'front_body': {'language_fallback': True}, 'column_one': {'language_fallback': True}, 'column_two': {'language_fallback': True}, 'column_three': {'language_fallback': True}, 'sidebar_template_content': {'language_fallback': True}}
CMS_TEMPLATES = "(('cms/front.html', 'Three Column Page'), ('cms/super.html', 'Full Screen'), ('cms/normal.html', 'Normal Page'), ('cms/develop.html', 'Developer Page'), ('cms/withside.html', 'Side Bar Page'))"
CODE_PATH = '/var/www/www.inkscape.org/inkscape'
COMMENTS_APP = 'forums'
COMMENT_MAX_LENGTH = 20000
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
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': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'inkscape_live', 'USER': 'inkscape_live', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'PORT': '', '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
DEBUG_TOOLBAR_CONFIG = {'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f8f66bd3268>, 'MEDIA_URL': '/media/debug/', 'INTERCEPT_REDIRECTS': False}
DEBUG_TOOLBAR_PANELS = "('debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel')"
DEBUG_TOOLBAR_PATCH_SETTINGS = True
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(a)inkscape.org'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DESIGN_ROOT = '/var/www/www.inkscape.org/data/static/design'
DISALLOWED_USER_AGENTS = []
DOC_CACHE = '/var/www/www.inkscape.org/data/media/doc/.inkweb-cache'
DOC_ROOT = '/var/www/www.inkscape.org/data/media/doc'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[InkscapeWeb] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
ENABLE_CACHING = False
ENABLE_DEBUG_TOOLBAR = False
ENABLE_DESIGN_TOOLBAR = False
ENABLE_PROFILER_TOOLBAR = False
ENABLE_PYMPLER_TOOLBAR = False
ERROR_FILE = '/var/www/www.inkscape.org/data/logs/django.log'
ERROR_RATE_LIMIT = 300
ERROR_ROOT = '/var/www/www.inkscape.org/data/logs'
EXTRA_APPS = []
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
FASTLY_CACHE_API_KEY = '********************'
FASTLY_CACHE_SERVICE = '5iJRk5f4O40zatkoP4Dlqj'
FILER_IMAGE_MODEL = 'filer.Image'
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 = 420
FILE_UPLOAD_TEMP_DIR = None
FIRST_DAY_OF_WEEK = 0
FIXTURE_DIRS = "('/var/www/www.inkscape.org/data/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
FORUM_TEAM = 'moderators'
GEOIP_PATH = '/var/www/www.inkscape.org/data/geoip'
GIT_LOG_REPOSITORIES = {'membership': {'path': '/var/www/www.inkscape.org/data/teams.git/memberships'}}
GOOGLE_ANID = None
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/var/www/www.inkscape.org/data/woosh_search', 'EXCLUDED_INDEXES': ['forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex', 'resources.search_indexes.ResourceIndex']}, 'forums': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/xapian_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'resources.search_indexes.ResourceIndex', 'forums.search_indexes.CommentIndex', 'cmsplugin_search.search_indexes.PageIndex']}, 'resources': {'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/www/www.inkscape.org/data/resource_index', 'EXCLUDED_INDEXES': ['cmsplugin_news.search_indexes.NewsIndex', 'cmsplugin_search.search_indexes.PageIndex', 'forums.search_indexes.TopicIndex', 'forums.search_indexes.CommentIndex']}}
HAYSTACK_REALTIME_MODELS = ['forums.forumtopic', 'django_comments.comment', 'resources.resource']
HAYSTACK_ROUTERS = ['inkscape.routers.InkscapeSearchRouter']
HAYSTACK_SIGNAL_PROCESSOR = 'inkscape.search.LimitedSignalProcessor'
HOST_ROOT = 'www.inkscape.org'
I18N_DOMAIN = 'inkscape'
IGNORABLE_404_URLS = []
INSTALLED_APPS = "('inkscape', 'person', 'calendars', 'rocketchat_send', 'recurrence', 'stopforumspam', 'elections', 'easy_thumbnails', 'django.contrib.sites', 'django.contrib.auth', 'django_registration', 'social_django', 'captcha', 'filer', 'django.contrib.sessions', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.redirects', 'django.contrib.staticfiles', 'django.contrib.humanize', 'haystack', 'treebeard', 'cmsplugin_diff', 'cms', 'cog', 'budget', 'menus', 'el_menu', 'sekizai', 'djangocms_text_ckeditor', 'djangocms_file', 'cmsplugin_toc', 'cmsplugin_search', 'cmsplugin_news', 'cmsplugin_image', 'cmsplugin_alerts', 'cmstabs', 'docs', 'resources', 'moderation', 'releases', 'stats', 'forums', 'django_comments', 'alerts', 'markdown_deux')"
INTERNAL_IPS = []
IS_TEST = False
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'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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_ALTERNATIVES = {'zh': 'zh-hans', 'zh-cn': 'zh-hans', 'zh-tw': 'zh-hant', 'ca': 'es'}
LANGUAGE_CODE = 'en'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = "('/var/www/www.inkscape.org/data/locale/website',)"
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['ratelimit']}, 'file': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/www.inkscape.org/data/logs/django.log', 'maxBytes': 5242880, 'backupCount': 5, 'formatter': 'verbose'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}}, 'filters': {'ratelimit': {'()': 'cog.ratelimit.RateLimitFilter'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django': {'handlers': ['file'], 'propagate': True, 'level': 'ERROR'}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_ERROR_URL = '/user/login/'
LOGIN_REDIRECT_URL = '/user/'
LOGIN_URL = '/user/login/'
LOGOUT_REDIRECT_URL = None
LOGS_ROOT = '/var/www/www.inkscape.org/data/logs'
MANAGERS = '()'
MAX_PREVIEW_SIZE = 5242880
MEDIA_ROOT = '/var/www/www.inkscape.org/data/media/'
MEDIA_URL = 'https://media.inkscape.org/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE = ['cog.middleware.UserOnErrorMiddleware', 'inkscape.middleware.AutoBreadcrumbMiddleware', 'inkscape.middleware.InkLanguageMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cmsplugin_diff.middleware.EditCommentMiddleware', 'person.middleware.SetLastVisitMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'forums.middleware.RecentUsersMiddleware']
MIGRATION_MODULES = {}
MODERATED_MODELS = "(('person.user', 'Website User'), ('resources.resource', 'Gallery Resource'), ('django_comments.comment', 'User Comment'))"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
OPENID_AX = [{'type_uri': 'http://axschema.org/contact/email', 'count': 1, 'required': True, 'alias': 'email'}, {'type_uri': 'http://axschema.org/schema/fullname', 'count': 1, 'required': False, 'alias': 'fname'}]
OPENID_AX_PROVIDER_MAP = {'Default': {'email': 'http://axschema.org/contact/email', 'fullname': 'http://axschema.org/namePerson', 'nickname': 'http://axschema.org/namePerson/friendly'}}
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {'requred': 'nickname, email, fullname', 'optional': 'postcode, country', 'policy_url': ''}
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_PATH = '/var/www/www.inkscape.org'
PUBLIC_LANGUAGES = ['en', 'de', 'fr', 'hr', 'it', 'es', 'pt', 'pt-br', 'cs', 'ru', 'ar', 'ja', 'zh-hans', 'zh-hant', 'ko', 'id']
ROCKET_CHAT_API = '********************'
ROCKET_LOG = '/var/www/www.inkscape.org/data/logs/reminders.log'
ROCKET_REMINDERS = '/var/www/www.inkscape.org/data/reminders/todo.json'
ROCKET_SENT_DIR = '/var/www/www.inkscape.org/data/reminders/sent'
ROOT_URLCONF = 'inkscape.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SENDFILE_BACKEND = 'sendfile.backends.development'
SENDFILE_ROOT = '/var/www/www.inkscape.org/data/media/'
SENDFILE_URL = 'https://media.inkscape.org/media/'
SERVER_EMAIL = 'webmaster(a)inkscape.org'
SERVE_STATIC = True
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_SAMESITE = 'Lax'
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 = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS = 'local_settings.py'
SETTINGS_MODULE = 'inkscape.settings'
SFS_ALL_POST_REQUESTS = True
SFS_CACHE_EXPIRE = 7
SFS_LOG_EXPIRE = 7
SFS_SOURCE_ZIP = 'https://www.stopforumspam.com/downloads/listed_ip_7.zip'
SFS_ZIP_FILENAME = 'listed_ip_7.txt'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = ['1_6.W002']
SITE_ADDRESS = 'www.inkscape.org'
SITE_ID = 1
SITE_NAME = 'inkscape-website-www'
SITE_ROOT = 'http://www.inkscape.org'
SOCIAL_AUTH_DEFAULT_USERNAME = 'new_sa_user'
SOCIAL_AUTH_FACEBOOK_KEY = '********************'
SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/user/welcome/'
STATICFILES_DIRS = []
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/var/www/www.inkscape.org/data/static'
STATIC_URL = 'https://media.inkscape.org/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': {'context_processors': ('inkscape.context_processors.version', 'inkscape.context_processors.tracker_data', 'inkscape.context_processors.public_languages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.static', 'cms.context_processors.cms_settings', 'sekizai.context_processors.sekizai')}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'inkscape.runner.InkscapeTestSuiteRunner'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'UTC'
TRANSLATED_APPS = "('alerts', 'cmstabs', 'cmsplugin_alerts', 'cmsplugin_diff', 'cmsplugin_image', 'cmsplugin_news', 'cmsplugin_search', 'cmsplugin_toc', 'docs', 'forums', 'haystack', 'inkscape', 'moderation', 'person', 'elections', 'releases', 'resources')"
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = None
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
1
0
Hi,
I've tried quite a few times to accomplish your explanation with this
drawing. But no success.
This is also a svg drawing.
Could you, please, explain to me what I'm doing wrong?
vriendelijke groeten,
Marc Meyen
On Wed, Jul 31, 2024, 12:20 <webmaster(a)inkscape.org> wrote:
> Dear MarcM,
>
> A post has been edited on the topic "Completing frames of a ship" by
> David248:
> ---
> Here is an attempt.I used quite the same method as Polygon explained, with
> minor differences :I'v drawn all paths around frames (the future clipping
> paths), then selected bitmap and paths and used shapebuilder tool : with
> inkscape 1.4, it will creates clipped clones of image (decreasing file
> size).I used vertical guides then placed bitmap clipped images so that
> dashed middle line of image matches with guide. I dragged rotation point on
> guide (using snapping to guides and rotation centers). Eventually I did
> rotate clipped bitmaps a bit when dashed middle line of bitmap wasn't
> exaclty vertical, using the 3 pixels of width of this line on bitmap).With
> node tool (enable show clipping paths option) I place the left nodes of
> clipping paths (enable snapping to cusps nodes and guides) on guides : this
> way my clip is perfect on midlle dashed line.Once satisfied, I cloned the
> clipped image and reversed it and used snapping to rotation centers to
> place original and its clone exaclty.
> ----
> Link:
> http://www.inkscape.org/forums/questions/completing-frames-of-a-ship/#c73464
>
>
> All the best,
> Inkscape.org Website
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> Unsubscribe:
>
> If you do no longer want to receive these messages, you can edit your
> subscriptions and notification settings at
> http://www.inkscape.org/alerts/settings/.
>
>
1
0