dgtlmoon / dgtlmoon/changedetection.io

macOS native: Python error on macOS: AttributeError: '_UnixSelectorEventLoop' object has no attribute '_signal_handlers'

Open
#995 6 comments 0 reactions 1 assignee Claimed by @dgtlmoon View on GitHub
mac-os-unsupported-issues triage
Dominant language
Python
Stars
34.1k
Forks
2k
Avg merge
10h
Merged PRs (30d)
61

Description

**Describe the bug**
On macOS, python reports an error any time a notification is triggered / tested:

```
Exception ignored in:
Traceback (most recent call last):
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 683, in __del__
self.close()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/unix_events.py", line 60, in close
for sig in list(self._signal_handlers):
AttributeError: '_UnixSelectorEventLoop' object has no attribute '_signal_handlers'
```

**Version**
v0.39.19.1

**To Reproduce**

Steps to reproduce the behavior:
1. Install changedetection.io: `pip install changedetection.io`
2. Edit a rule
3. Click the Notifications tab
4. Enter any valid notification, such as `macosx://`

**Expected behavior**
Notification works

**Desktop (please complete the following information):**
- OS: macOS Monterey 12.6
- Python 3.9.6 (built in to OS) and also Python 3.9.13 (installed via macports)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.