[Django] #32087: Error code when I try to stage my gitpod code.

38 views
Skip to first unread message

Django

unread,
Oct 8, 2020, 7:08:48 AM10/8/20
to django-...@googlegroups.com
#32087: Error code when I try to stage my gitpod code.
-------------------------------------------+------------------------
Reporter: andershup | Owner: (none)
Type: Bug | Status: new
Component: Error reporting | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
Hi there. I am fairly new to this but already loving using django and
learning so much from your brilliant documentation.
I have had a problem on two occasions where I got the error code attached
below and simply could not progress beyond it.
I has caused me a real nightmare.
I emailed dpaste.com and got the following response:
Hello! It appears you have encountered an error on a website running
Django, and have ended up at dpaste.com after pressing the “Share this
traceback on a public website” button.

The error you are seeking help with is happening on the site where you saw
the yellow error page. Please contact them directly.

So that is what I am doing here.
I also found this:
[https://code.djangoproject.com/ticket/19000#no2]

Anders Olesen

--
Ticket URL: <https://code.djangoproject.com/ticket/32087>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 8, 2020, 7:44:13 AM10/8/20
to django-...@googlegroups.com
#32087: Sharing traceback in technical 500 debug page should use HTTPS.
--------------------------------------+------------------------------------
Reporter: andershup | Owner: (none)
Type: Cleanup/optimization | Status: new

Component: Error reporting | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by felixxm):

* type: Bug => Cleanup/optimization
* easy: 0 => 1
* stage: Unreviewed => Accepted


Comment:

Thanks, using `https` should fix this issue:
{{{
diff --git a/django/views/templates/technical_500.html
b/django/views/templates/technical_500.html
index 57d07eb933..f0cadf03bd 100644
--- a/django/views/templates/technical_500.html
+++ b/django/views/templates/technical_500.html
@@ -278,7 +278,7 @@
{% endfor %}
</ul>
</div>
- <form action="http://dpaste.com/" name="pasteform" id="pasteform"
method="post">
+ <form action="https://dpaste.com/" name="pasteform" id="pasteform"
method="post">
{% if not is_email %}
<div id="pastebinTraceback" class="pastebin">
<input type="hidden" name="language" value="PythonConsole">
}}}

Would you like to prepare a patch?

--
Ticket URL: <https://code.djangoproject.com/ticket/32087#comment:1>

Django

unread,
Oct 8, 2020, 11:31:20 AM10/8/20
to django-...@googlegroups.com
#32087: Sharing traceback in technical 500 debug page should use HTTPS.
--------------------------------------+------------------------------------
Reporter: andershup | Owner: (none)
Type: Cleanup/optimization | Status: new

Component: Error reporting | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by nik258heda):

Replying to [comment:1 felixxm]:


> Thanks, using `https` should fix this issue:
> {{{
> diff --git a/django/views/templates/technical_500.html
b/django/views/templates/technical_500.html
> index 57d07eb933..f0cadf03bd 100644
> --- a/django/views/templates/technical_500.html
> +++ b/django/views/templates/technical_500.html
> @@ -278,7 +278,7 @@
> {% endfor %}
> </ul>
> </div>
> - <form action="http://dpaste.com/" name="pasteform" id="pasteform"
method="post">
> + <form action="https://dpaste.com/" name="pasteform" id="pasteform"
method="post">
> {% if not is_email %}
> <div id="pastebinTraceback" class="pastebin">
> <input type="hidden" name="language" value="PythonConsole">
> }}}
>
> Would you like to prepare a patch?

I am a first time contributor, this ticket has easy pickings tag on it,
Can I work on this?? And would need some help.

--
Ticket URL: <https://code.djangoproject.com/ticket/32087#comment:2>

Django

unread,
Oct 8, 2020, 2:18:18 PM10/8/20
to django-...@googlegroups.com
#32087: Sharing traceback in technical 500 debug page should use HTTPS.
--------------------------------------+------------------------------------
Reporter: andershup | Owner: (none)
Type: Cleanup/optimization | Status: new

Component: Error reporting | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by felixxm):

Replying to [comment:2 Nikunj Heda]:
> Hello,I am a first time contributor, this ticket has easy pickings tag


on it, Can I work on this?? And would need some help.

Sure, there is no need to ask.

--
Ticket URL: <https://code.djangoproject.com/ticket/32087#comment:3>

Django

unread,
Oct 8, 2020, 5:59:09 PM10/8/20
to django-...@googlegroups.com
#32087: Sharing traceback in technical 500 debug page should use HTTPS.
--------------------------------------+------------------------------------
Reporter: andershup | Owner: (none)
Type: Cleanup/optimization | Status: new

Component: Error reporting | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Nikunj Heda):

Replying to [comment:3 felixxm]:


> Replying to [comment:2 Nikunj Heda]:
> > Hello,I am a first time contributor, this ticket has easy pickings tag
on it, Can I work on this?? And would need some help.
>
> Sure, there is no need to ask.

Thanks, I can prepare the patch and then I have to approve. Right??

--
Ticket URL: <https://code.djangoproject.com/ticket/32087#comment:4>

Django

unread,
Oct 9, 2020, 8:38:58 AM10/9/20
to django-...@googlegroups.com
#32087: Sharing traceback in technical 500 debug page should use HTTPS.
--------------------------------------+------------------------------------
Reporter: andershup | Owner: (none)
Type: Cleanup/optimization | Status: new

Component: Error reporting | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Nikunj Heda):

Replying to [comment:3 felixxm]:
> Replying to [comment:2 Nikunj Heda]:
> > Hello,I am a first time contributor, this ticket has easy pickings tag
on it, Can I work on this?? And would need some help.
>
> Sure, there is no need to ask.

I have made this pull request
https://github.com/django/django/pull/13518[https://github.com/django/django/pull/13518]
, Can you please verify.

--
Ticket URL: <https://code.djangoproject.com/ticket/32087#comment:5>

Django

unread,
Oct 11, 2020, 8:08:52 AM10/11/20
to django-...@googlegroups.com
#32087: Sharing traceback in technical 500 debug page should use HTTPS.
-------------------------------------+-------------------------------------
Reporter: andershup | Owner: Nikunj
Type: | Heda
Cleanup/optimization | Status: assigned

Component: Error reporting | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Nikunj Heda):

Replying to [comment:8 felixxm]:
> Replying to [comment:7 Nikunj Heda]:
> > Is this good?? If you approve I will push.
>
> Looks good at first glance. Please send updates via PR, you don't need
to ask for approval in the ticket. Updates can be discussed in PR.
Ok Got it

--
Ticket URL: <https://code.djangoproject.com/ticket/32087#comment:9>

Django

unread,
Oct 12, 2020, 12:37:55 AM10/12/20
to django-...@googlegroups.com
#32087: Sharing traceback in technical 500 debug page should use HTTPS.
-------------------------------------+-------------------------------------
Reporter: andershup | Owner: Nikunj
Type: | Heda
Cleanup/optimization | Status: assigned
Component: Error reporting | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/32087#comment:10>

Django

unread,
Oct 12, 2020, 1:03:02 AM10/12/20
to django-...@googlegroups.com
#32087: Sharing traceback in technical 500 debug page should use HTTPS.
-------------------------------------+-------------------------------------
Reporter: andershup | Owner: Nikunj
Type: | Heda
Cleanup/optimization | Status: closed

Component: Error reporting | Version: 3.1
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"079deba53038054361eb32afdd06ce9df1040bc7" 079deba5]:
{{{
#!CommitTicketReference repository=""
revision="079deba53038054361eb32afdd06ce9df1040bc7"
Fixed #32087 -- Made technical 500 debug page use HTTPS for sharing
traceback.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32087#comment:11>

Reply all
Reply to author
Forward
0 new messages