Webmaster
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- 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
November 2023
- 446 participants
- 1465 discussions
This is the mail system at host smtp1.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
<hzan(a)colegiocostaadeje.es>: host ASPMX.L.GOOGLE.COM[2607:f8b0:400e:c0c::1b]
said: 550-5.7.1 The user or domain that you are sending to (or from) has a
policy that 550-5.7.1 prohibited the mail that you sent. Please contact
your domain 550-5.7.1 administrator for further details. For more
information, please visit 550 5.7.1
https://support.google.com/a/answer/172179
jx4-20020a17090b46c400b002839e721d0dsi11907521pjb.77 - gsmtp (in reply to
end of DATA command)
1
0
Good
1
0
Hot galleries, daily updated collections
http://tobaccoville.swingers.porn.alypics.com/?jamie
interactive porn stories neve cambell porn hanyccaped porn clips arrest records public porn showcase tv porn
1
0
Undeliverable: Your registration on inkscape.org
by postmaster@nelearningtrust.onmicrosoft.com 28 Nov '23
by postmaster@nelearningtrust.onmicrosoft.com 28 Nov '23
28 Nov '23
[https://products.office.com/en-us/CMSImages/Office365Logo_Orange.png?versio…]
Your message to 16fj00(a)teesdaleschool.co.uk couldn't be delivered.
A custom mail flow rule created by an admin at nelearningtrust.onmicrosoft.com has blocked your message.
Your mail could not be delivered as requested, please contact the NorthEast Learning Trust Helpdesk for assistance
webmaster Office 365 teesdaleschool.co.uk
Sender Action Required
Blocked by mail flow rule
How to Fix It
An email admin at nelearningtrust.onmicrosoft.com has created a custom mail flow rule that blocks messages that meet certain conditions, and it appears that your message has met one or more of those conditions.
* Check the text above for a custom message from the email admin that may help explain why your message was blocked and how you might be able to fix it. For example, removing prohibited words from the message or sending the message from a different email account may be sufficient to deliver your message.
If you've tried and you're still not able to fix the problem, consider contacting the email admin at nelearningtrust.onmicrosoft.com to discuss what to do. While they're unlikely to remove or relax the rule, if you have a legitimate need to deliver your message they may offer guidance for how to do so.
________________________________
More Info for Email Admins
Status code: 550 5.7.1_ETR
This error occurs because an email admin at nelearningtrust.onmicrosoft.com has created a custom mail flow rule that has blocked the sender's message.
In some cases, the sender can change the message so it no longer violates the rule. However, depending on the rule's conditions, it's possible that the only way to deliver the message is to change the rule itself, and only an email admin at nelearningtrust.onmicrosoft.com can do that. Although it's possible the rule is unintentionally flawed or it's stricter than the admin intended, it may be working exactly as they want it to.
Original Message Details
Created Date: 11/28/2023 9:32:58 AM
Sender Address: webmaster(a)inkscape.org
Recipient Address: 16fj00(a)teesdaleschool.co.uk
Subject: Your registration on inkscape.org
Error Details
Error: 550 5.7.1 TRANSPORT.RULES.RejectMessage; the message was rejected by organization policy
Message rejected by: PAVPR10MB7489.EURPRD10.PROD.OUTLOOK.COM
Notification Details
Sent by: PAVPR10MB7489.EURPRD10.PROD.OUTLOOK.COM
Message Hops
HOP TIME (UTC) FROM TO WITH RELAY TIME
1 11/28/2023
9:32:58 AM inkscape1.osuosl.org inkscape1.osuosl.org ESMTP *
2 11/28/2023
9:32:59 AM inkscape1.osuosl.org smtp2.osuosl.org ESMTP 1 sec
3 11/28/2023
9:32:59 AM smtp2.osuosl.org localhost ESMTP *
4 11/28/2023
9:33:00 AM localhost smtp2.osuosl.org ESMTP 1 sec
5 11/28/2023
9:33:05 AM smtp2.osuosl.org mx-inbound19-200.eu-west-2b.ess.aws.cudaops.com 5 sec
6 11/28/2023
9:33:11 AM egress-ip15b.ess.uk.barracuda.com AM3PEPF0000A78F.mail.protection.outlook.com Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) 6 sec
7 11/28/2023
9:33:12 AM AM3PEPF0000A78F.eurprd04.prod.outlook.com AM9P192CA0004.outlook.office365.com Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) 1 sec
8 11/28/2023
9:33:12 AM AM9P192CA0004.EURP192.PROD.OUTLOOK.COM PAVPR10MB7489.EURPRD10.PROD.OUTLOOK.COM Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) *
Original Message Headers
Received: from AM9P192CA0004.EURP192.PROD.OUTLOOK.COM (2603:10a6:20b:21d::9)
by PAVPR10MB7489.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:2f4::17) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Tue, 28 Nov
2023 09:33:12 +0000
Received: from AM3PEPF0000A78F.eurprd04.prod.outlook.com
(2603:10a6:20b:21d:cafe::7) by AM9P192CA0004.outlook.office365.com
(2603:10a6:20b:21d::9) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27 via Frontend
Transport; Tue, 28 Nov 2023 09:33:12 +0000
Authentication-Results: spf=pass (sender IP is 140.211.166.133)
smtp.mailfrom=inkscape.org; dkim=none (message not signed)
header.d=none;dmarc=bestguesspass action=none header.from=inkscape.org;
Received-SPF: Pass (protection.outlook.com: domain of inkscape.org designates
140.211.166.133 as permitted sender) receiver=protection.outlook.com;
client-ip=140.211.166.133; helo=smtp2.osuosl.org; pr=C
Received: from egress-ip15b.ess.uk.barracuda.com (35.176.92.116) by
AM3PEPF0000A78F.mail.protection.outlook.com (10.167.16.118) with Microsoft
SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.7046.17 via Frontend Transport; Tue, 28 Nov 2023 09:33:11 +0000
Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by mx-inbound19-200.eu-west-2b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 28 Nov 2023 09:33:05 +0000
Received: from localhost (localhost [127.0.0.1])
by smtp2.osuosl.org (Postfix) with ESMTP id 0EBF8402DC
for <16fj00(a)teesdaleschool.co.uk>; Tue, 28 Nov 2023 09:33:00 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 0EBF8402DC
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from smtp2.osuosl.org ([127.0.0.1])
by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id oiIM9fTjF352 for <16fj00(a)teesdaleschool.co.uk>;
Tue, 28 Nov 2023 09:32:59 +0000 (UTC)
Received: from inkscape1.osuosl.org (inkscape1.osuosl.org [140.211.9.79])
by smtp2.osuosl.org (Postfix) with ESMTP id 141864011C
for <16fj00(a)teesdaleschool.co.uk>; Tue, 28 Nov 2023 09:32:59 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 141864011C
Received: from inkscape1.osuosl.org (localhost [IPv6:::1])
by inkscape1.osuosl.org (Postfix) with ESMTP id CF077F18E
for <16fj00(a)teesdaleschool.co.uk>; Tue, 28 Nov 2023 09:32:58 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Subject: Your registration on inkscape.org
From: webmaster(a)inkscape.org
To: 16fj00(a)teesdaleschool.co.uk
Date: Tue, 28 Nov 2023 09:32:58 -0000
Message-ID: <170116397884.24338.4805916894488760573(a)inkscape1.osuosl.org>
X-BESS-ID: 1701163983-205064-12391-8866-1
X-BESS-VER: 2019.1_20231116.1739
X-BESS-Apparent-Source-IP: 140.211.166.133
X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVsbmBkBGBlAszTzR2MIkzSjRwM
w4zczY1CwlMTUtNdXSyCA1JTHJyEKpNhYAGC1cCEAAAAA=
X-BESS-Spam-Status: SCORE=0.00 using account:ESS66934 scores of QUARANTINE_LEVEL=3.2 KILL_LEVEL=5.0 tests=NO_REAL_NAME
Received-SPF: pass (mx-inbound19-200.eu-west-2b.ess.aws.cudaops.com: domain of webmaster(a)inkscape.org designates 140.211.166.133 as permitted sender)
X-BESS-Spam-Score: 0.00
Authentication-Results-Original: mx-inbound19-200.eu-west-2b.ess.aws.cudaops.com; spf=pass (sender IP is
140.211.166.133) smtp.mailfrom=webmaster(a)inkscape.org; dmarc=none action=
header.from=webmaster(a)inkscape.org
X-BESS-Spam-Report: Code version 3.2, rules version 3.2.2.252452 [from cloudscan11-
221.eu-west-2a.ess.aws.cudaops.com]
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------
0.00 NO_REAL_NAME HEADER: From: does not include a real name
X-BESS-BRTS-Status: 1
Return-Path: webmaster(a)inkscape.org
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 37b0a967-5720-4e7d-b713-a37ffefe848c:0
X-MS-Exchange-SkipListedInternetSender: ip=[140.211.166.133];domain=smtp2.osuosl.org
X-MS-Exchange-ExternalOriginalInternetSender: ip=[140.211.166.133];domain=smtp2.osuosl.org
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: AM3PEPF0000A78F:EE_|PAVPR10MB7489:EE_
X-MS-Office365-Filtering-Correlation-Id: b1858f52-345a-48a4-85cf-08dbeff509c2
X-MS-Exchange-AtpMessageProperties: SA|SL
1
0
Undeliverable: Your registration on inkscape.org
by postmaster@nelearningtrust.onmicrosoft.com 28 Nov '23
by postmaster@nelearningtrust.onmicrosoft.com 28 Nov '23
28 Nov '23
[https://products.office.com/en-us/CMSImages/Office365Logo_Orange.png?versio…]
Your message to 16sj00(a)teesdaleschool.co.uk couldn't be delivered.
A custom mail flow rule created by an admin at nelearningtrust.onmicrosoft.com has blocked your message.
Your mail could not be delivered as requested, please contact the NorthEast Learning Trust Helpdesk for assistance
webmaster Office 365 teesdaleschool.co.uk
Sender Action Required
Blocked by mail flow rule
How to Fix It
An email admin at nelearningtrust.onmicrosoft.com has created a custom mail flow rule that blocks messages that meet certain conditions, and it appears that your message has met one or more of those conditions.
* Check the text above for a custom message from the email admin that may help explain why your message was blocked and how you might be able to fix it. For example, removing prohibited words from the message or sending the message from a different email account may be sufficient to deliver your message.
If you've tried and you're still not able to fix the problem, consider contacting the email admin at nelearningtrust.onmicrosoft.com to discuss what to do. While they're unlikely to remove or relax the rule, if you have a legitimate need to deliver your message they may offer guidance for how to do so.
________________________________
More Info for Email Admins
Status code: 550 5.7.1_ETR
This error occurs because an email admin at nelearningtrust.onmicrosoft.com has created a custom mail flow rule that has blocked the sender's message.
In some cases, the sender can change the message so it no longer violates the rule. However, depending on the rule's conditions, it's possible that the only way to deliver the message is to change the rule itself, and only an email admin at nelearningtrust.onmicrosoft.com can do that. Although it's possible the rule is unintentionally flawed or it's stricter than the admin intended, it may be working exactly as they want it to.
Original Message Details
Created Date: 11/28/2023 9:32:31 AM
Sender Address: webmaster(a)inkscape.org
Recipient Address: 16sj00(a)teesdaleschool.co.uk
Subject: Your registration on inkscape.org
Error Details
Error: 550 5.7.1 TRANSPORT.RULES.RejectMessage; the message was rejected by organization policy
Message rejected by: GV1PR10MB5987.EURPRD10.PROD.OUTLOOK.COM
Notification Details
Sent by: GV1PR10MB5987.EURPRD10.PROD.OUTLOOK.COM
Message Hops
HOP TIME (UTC) FROM TO WITH RELAY TIME
1 11/28/2023
9:32:31 AM inkscape1.osuosl.org inkscape1.osuosl.org ESMTP *
2 11/28/2023
9:32:31 AM inkscape1.osuosl.org smtp3.osuosl.org ESMTP *
3 11/28/2023
9:32:31 AM smtp3.osuosl.org localhost ESMTP *
4 11/28/2023
9:32:32 AM localhost smtp3.osuosl.org ESMTP 1 sec
5 11/28/2023
9:32:33 AM smtp3.osuosl.org mx-inbound23-221.eu-west-2b.ess.aws.cudaops.com 1 sec
6 11/28/2023
9:32:39 AM egress-ip47b.ess.uk.barracuda.com AMS1EPF00000046.mail.protection.outlook.com Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) 6 sec
7 11/28/2023
9:32:40 AM AMS1EPF00000046.eurprd04.prod.outlook.com AS9PR06CA0046.outlook.office365.com Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) 1 sec
8 11/28/2023
9:32:41 AM AS9PR06CA0046.eurprd06.prod.outlook.com GV1PR10MB5987.EURPRD10.PROD.OUTLOOK.COM Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) 1 sec
Original Message Headers
Received: from AS9PR06CA0046.eurprd06.prod.outlook.com (2603:10a6:20b:463::29)
by GV1PR10MB5987.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:5e::10) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Tue, 28 Nov
2023 09:32:41 +0000
Received: from AMS1EPF00000046.eurprd04.prod.outlook.com
(2603:10a6:20b:463:cafe::9c) by AS9PR06CA0046.outlook.office365.com
(2603:10a6:20b:463::29) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27 via Frontend
Transport; Tue, 28 Nov 2023 09:32:40 +0000
Authentication-Results: spf=pass (sender IP is 140.211.166.136)
smtp.mailfrom=inkscape.org; dkim=none (message not signed)
header.d=none;dmarc=bestguesspass action=none header.from=inkscape.org;
Received-SPF: Pass (protection.outlook.com: domain of inkscape.org designates
140.211.166.136 as permitted sender) receiver=protection.outlook.com;
client-ip=140.211.166.136; helo=smtp3.osuosl.org; pr=C
Received: from egress-ip47b.ess.uk.barracuda.com (35.176.92.111) by
AMS1EPF00000046.mail.protection.outlook.com (10.167.16.43) with Microsoft
SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.7046.17 via Frontend Transport; Tue, 28 Nov 2023 09:32:39 +0000
Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by mx-inbound23-221.eu-west-2b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 28 Nov 2023 09:32:33 +0000
Received: from localhost (localhost [127.0.0.1])
by smtp3.osuosl.org (Postfix) with ESMTP id 0CCBA60F41
for <16sj00(a)teesdaleschool.co.uk>; Tue, 28 Nov 2023 09:32:32 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 0CCBA60F41
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from smtp3.osuosl.org ([127.0.0.1])
by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id EDSVfDikSgDH for <16sj00(a)teesdaleschool.co.uk>;
Tue, 28 Nov 2023 09:32:31 +0000 (UTC)
Received: from inkscape1.osuosl.org (inkscape1.osuosl.org [140.211.9.79])
by smtp3.osuosl.org (Postfix) with ESMTP id 4CF0860ECC
for <16sj00(a)teesdaleschool.co.uk>; Tue, 28 Nov 2023 09:32:31 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4CF0860ECC
Received: from inkscape1.osuosl.org (localhost [IPv6:::1])
by inkscape1.osuosl.org (Postfix) with ESMTP id 109E9F17A
for <16sj00(a)teesdaleschool.co.uk>; Tue, 28 Nov 2023 09:32:31 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Subject: Your registration on inkscape.org
From: webmaster(a)inkscape.org
To: 16sj00(a)teesdaleschool.co.uk
Date: Tue, 28 Nov 2023 09:32:31 -0000
Message-ID: <170116395104.24338.4310224926534068992(a)inkscape1.osuosl.org>
X-BESS-ID: 1701163952-206109-12348-8877-1
X-BESS-VER: 2019.1_20231116.1739
X-BESS-Apparent-Source-IP: 140.211.166.136
X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVsamxkBGBlAs1dA0JTE5KSnN0s
jU0sjY2NLS3DQ51SjRMCU5xdjUwESpNhYAVkidkEAAAAA=
X-BESS-Spam-Status: SCORE=0.00 using account:ESS66934 scores of QUARANTINE_LEVEL=3.2 KILL_LEVEL=5.0 tests=NO_REAL_NAME
Received-SPF: pass (mx-inbound23-221.eu-west-2b.ess.aws.cudaops.com: domain of webmaster(a)inkscape.org designates 140.211.166.136 as permitted sender)
X-BESS-Spam-Score: 0.00
Authentication-Results-Original: mx-inbound23-221.eu-west-2b.ess.aws.cudaops.com; spf=pass (sender IP is
140.211.166.136) smtp.mailfrom=webmaster(a)inkscape.org; dmarc=none action=
header.from=webmaster(a)inkscape.org
X-BESS-Spam-Report: Code version 3.2, rules version 3.2.2.252452 [from cloudscan12-
79.eu-west-2a.ess.aws.cudaops.com]
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------
0.00 NO_REAL_NAME HEADER: From: does not include a real name
X-BESS-BRTS-Status: 1
Return-Path: webmaster(a)inkscape.org
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 37b0a967-5720-4e7d-b713-a37ffefe848c:0
X-MS-Exchange-SkipListedInternetSender: ip=[140.211.166.136];domain=smtp3.osuosl.org
X-MS-Exchange-ExternalOriginalInternetSender: ip=[140.211.166.136];domain=smtp3.osuosl.org
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: AMS1EPF00000046:EE_|GV1PR10MB5987:EE_
X-MS-Office365-Filtering-Correlation-Id: 8c9d64e3-161a-455e-08c2-08dbeff4f6f1
X-MS-Exchange-AtpMessageProperties: SA|SL
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /gallery/=artwork/json/
by webmaster@inkscape.org 28 Nov '23
by webmaster@inkscape.org 28 Nov '23
28 Nov '23
Internal Server Error: /gallery/=artwork/json/
QueryParserError at /gallery/=artwork/json/
Syntax: <expression> AND <expression>
Request Method: GET
Request URL: https://inkscape.org/gallery/%3Dartwork/json/?q=+BLACK+AND+WHITE+PATTERN
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: Tue, 28 Nov 2023 08:20:25 +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
920. 'items': list(self.layout_items(object_list)),
File "./resources/views.py" in layout_items
925. for item in lst:
File "./resources/search_base.py" in __iter__
88. for item in self.qset:
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in _manual_iter
154. if not self._fill_cache(current_position, current_position + ITERATOR_LOAD_PER_QUERY):
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/query.py" in _fill_cache
231. results = self.query.get_results(**kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in get_results
638. self.run(**kwargs)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/haystack/backends/__init__.py" in run
550. final_query = self.build_query()
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in build_query
1252. query = self._query_from_search_node(self.query_filter)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1287. self._query_from_search_node(child, child.negated)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1287. self._query_from_search_node(child, child.negated)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_search_node
1293. constructed_query_list = self._query_from_term(term, field_name, filter_type, is_not)
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in _query_from_term
1315. return [self.backend.parse_query(query)]
File "/var/www/www.inkscape.org/pythonenv/lib/python3.6/site-packages/xapian_backend.py" in parse_query
846. return qp.parse_query(query_string, self.flags)
Exception Type: QueryParserError at /gallery/=artwork/json/
Exception Value: Syntax: <expression> AND <expression>
Request information:
USER: AnonymousUser
GET:
q = ' BLACK AND WHITE PATTERN'
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_ENCODING = 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_CONNECTION = 'keep-alive'
HTTP_HOST = 'inkscape.org'
HTTP_USER_AGENT = 'python-requests/2.31.0'
PATH_INFO = '/gallery/=artwork/json/'
QUERY_STRING = 'q=+BLACK+AND+WHITE+PATTERN'
REMOTE_ADDR = '197.184.173.198'
REMOTE_PORT = '2406'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/gallery/=artwork/json/?q=+BLACK+AND+WHITE+PATTERN'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
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 0x7fe939add600>
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 0x7fe95c564268>, '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', '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
1
0
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /zh-hant/~jabiertxof/resources/=artwork/
by webmaster@inkscape.org 28 Nov '23
by webmaster@inkscape.org 28 Nov '23
28 Nov '23
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=6&order…
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: 星期二, 28 十一月 2023 05:39:42 +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 = '6'
order = '-edited'
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,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_CONNECTION = 'Close'
HTTP_HOST = 'inkscape.org'
HTTP_USER_AGENT = 'Mozilla/5.0 (Linux; Android 9; MI 9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.2662.143 Mobile Safari/537.36'
PATH_INFO = '/zh-hant/~jabiertxof/resources/=artwork/'
QUERY_STRING = 'page=6&order=-edited'
REMOTE_ADDR = '223.72.15.223'
REMOTE_PORT = '54143'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/zh-hant/~jabiertxof/resources/=artwork/?page=6&order=-edited'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
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 0x7fb4bf09b660>
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 0x7fb4dddb0268>, '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', '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
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /zh-hans/~inkscape/galleries/contest-for-046/
by webmaster@inkscape.org 28 Nov '23
by webmaster@inkscape.org 28 Nov '23
28 Nov '23
Internal Server Error: /zh-hans/~inkscape/galleries/contest-for-046/
KeyError at /zh-hans/~inkscape/galleries/contest-for-046/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/zh-hans/~inkscape/galleries/contest-for-046/?page=2&li…
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: 星期二, 28 十一月 2023 03:35:02 +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
768. data = super().get_context_data(**kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /zh-hans/~inkscape/galleries/contest-for-046/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
page = '2'
license = 'PD'
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 = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_CONNECTION = 'Close'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/zh-hans/~inkscape/galleries/contest-for-046?page=1&lic…'
HTTP_USER_AGENT = 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/606.2.17 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1'
PATH_INFO = '/zh-hans/~inkscape/galleries/contest-for-046/'
QUERY_STRING = 'page=2&license=PD&order=downed'
REMOTE_ADDR = '1.192.241.48'
REMOTE_PORT = '38337'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/zh-hans/~inkscape/galleries/contest-for-046/?page=2&license=PD&order=downed'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
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 0x7fc95a0247f8>
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 0x7fc97ca0d268>, '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', '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
[InkscapeWeb] ERROR (EXTERNAL IP): Internal Server Error: /zh-hans/~inkscape/galleries/contest-for-048/
by webmaster@inkscape.org 28 Nov '23
by webmaster@inkscape.org 28 Nov '23
28 Nov '23
Internal Server Error: /zh-hans/~inkscape/galleries/contest-for-048/
KeyError at /zh-hans/~inkscape/galleries/contest-for-048/
'object_list'
Request Method: GET
Request URL: https://inkscape.org/zh-hans/~inkscape/galleries/contest-for-048/?page=2&li…
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: 星期二, 28 十一月 2023 03:34:02 +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
768. data = super().get_context_data(**kwargs)
File "./resources/views.py" in get_context_data
694. data['object_list'].instance = data['username']
Exception Type: KeyError at /zh-hans/~inkscape/galleries/contest-for-048/
Exception Value: 'object_list'
Request information:
USER: AnonymousUser
GET:
page = '2'
license = 'PD'
order = 'viewed'
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,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE = 'en'
HTTP_CONNECTION = 'Close'
HTTP_HOST = 'inkscape.org'
HTTP_REFERER = 'https://inkscape.org/zh-hans/~inkscape/galleries/contest-for-048?page=1&lic…'
HTTP_USER_AGENT = 'Mozilla/5.0 (Linux; Android 9; MI 9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.4454.133 Mobile Safari/537.36'
PATH_INFO = '/zh-hans/~inkscape/galleries/contest-for-048/'
QUERY_STRING = 'page=2&license=PD&order=viewed'
REMOTE_ADDR = '120.245.61.38'
REMOTE_PORT = '55935'
REQUEST_METHOD = 'GET'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/zh-hans/~inkscape/galleries/contest-for-048/?page=2&license=PD&order=viewed'
SCRIPT_NAME = ''
SERVER_NAME = 'inkscape.org'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/1.1'
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 0x7fc94f944c30>
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 0x7fc97ca0d268>, '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', '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