[Django] #34186: SMTP.starttls() got an unexpected keyword argument 'keyfile'

1,464 views
Skip to first unread message

Django

unread,
Nov 26, 2022, 1:05:51 AM11/26/22
to django-...@googlegroups.com
#34186: SMTP.starttls() got an unexpected keyword argument 'keyfile'
-------------------------------------------+------------------------
Reporter: tontus | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Mail) | Version: 4.1
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
On python 3.12.0a2 send_mai() returns error `SMTP.starttls() got an
unexpected keyword argument 'keyfile'`


{{{
TypeError at /
SMTP.starttls() got an unexpected keyword argument 'keyfile'
Request Method: GET
Request URL:
Django Version: 4.1.3
Exception Type: TypeError
Exception Value:
SMTP.starttls() got an unexpected keyword argument 'keyfile'
Exception Location: /usr/local/lib/python3.12/site-
packages/django/core/mail/backends/smtp.py, line 87, in open
Raised during: mail.views.index
Python Executable: /usr/local/bin/python3
Python Version: 3.12.0
Python Path:
['/app',
'/usr/local/lib/python312.zip',
'/usr/local/lib/python3.12',
'/usr/local/lib/python3.12/lib-dynload',
'/usr/local/lib/python3.12/site-packages']

}}}

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

Django

unread,
Nov 26, 2022, 1:22:20 AM11/26/22
to django-...@googlegroups.com
#34186: SMTP.starttls() got an unexpected keyword argument 'keyfile'
---------------------------------+--------------------------------------
Reporter: tontus | Owner: nobody
Type: Bug | Status: new

Component: Core (Mail) | Version: 4.1
Severity: Release blocker | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by tontus):

* type: Uncategorized => Bug


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

Django

unread,
Nov 26, 2022, 6:39:30 AM11/26/22
to django-...@googlegroups.com
#34186: SMTP.starttls() got an unexpected keyword argument 'keyfile'
---------------------------------+--------------------------------------
Reporter: Shaleh Tonmoy | Owner: nobody
Type: Bug | Status: closed

Component: Core (Mail) | Version: 4.1
Severity: Release blocker | Resolution: duplicate

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Claude Paroz):

* status: new => closed
* resolution: => duplicate


Comment:

Thanks for the report. Already fixed in [2848e5d0ce5cf3c3] as part of
#34118.

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

Reply all
Reply to author
Forward
0 new messages