RuntimeError after upgrading from 1.2.2
See original GitHub issueAfter upgrading from version 1.2.2 to 1.2.4 we receive the following error when trying to start the controller:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/site-packages/aiosmtpd/controller.py", line 165, in start
raise RuntimeError("Unknown Error, failed to init SMTP server")
RuntimeError: Unknown Error, failed to init SMTP server
This error can even be triggered by running the sample code from the documentation:
import asyncio
class ExampleHandler:
async def handle_RCPT(self, server, session, envelope, address, rcpt_options):
return '250 OK'
from aiosmtpd.controller import Controller
controller = Controller(ExampleHandler())
controller.start()
After executing “controller.start()” the RuntimeError from above appears.
Python version is 3.6.8 OS is Red Hat 7.9 aiosmtpd was installed with pip3. After downgrading via “sudo pip3 install aiosmtpd=1.2.2” everything works again and aiosmtpd receives and processes emails without problems.
Issue Analytics
- State:
- Created 3 years ago
- Comments:32
Top Results From Across the Web
Newest 'python-poetry' Questions
I am trying to update my version of Poetry to 1.2.*, but when running poetry self update I get the error Could not...
Read more >InfluxDB 1.8 release notes
After upgrading, customers have experienced an excessively large output additional lines due to a Println statement introduced in this release.
Read more >Source code for canopen.network
BusABC` instance which is set after #: :meth:`canopen. ... to be transmitted """ if not self.bus: raise RuntimeError("Not connected to CAN bus") msg...
Read more >Changes to CVXPY — CVXPY 1.2 documentation
When NumPy 1.20 was released many users encountered errors in installing or importing CVXPY. Users would see errors like RuntimeError: module compiled ......
Read more >Troubleshooting - DepthAI documentation - Luxonis
If you are seeing the following error after installing DepthAI for Windows: (venv) C:\Users\Context\depthai>python depthai_demo.py Traceback (most recent ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, sure. I was thinking it can be similar one 😃 New one opened.
This has fixed the issue for me, thank you so much for the quick debugging and fix, @pepoluan!