github / github/cost-center-automation

AttributeError: module 'signal' has no attribute 'SIGPIPE'

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
37
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Thank you guys for putting this tool together!

I'm assuming this error is because I'm on Windows?

```
C:\dev\code\github\cost-center-automation > python main.py --show-config
Traceback (most recent call last):
File "C:\dev\code\github\cost-center-automation\main.py", line 828, in
main()
~~~~^^
File "C:\dev\code\github\cost-center-automation\main.py", line 412, in main
setup_signal_handlers()
~~~~~~~~~~~~~~~~~~~~~^^
File "C:\dev\code\github\cost-center-automation\main.py", line 47, in setup_signal_handlers
signal.signal(signal.SIGPIPE, handle_broken_pipe)
^^^^^^^^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGPIPE'. Did you mean: 'SIGFPE'?

C:\dev\code\github\cost-center-automation > python main.py --assign-cost-centers --mode plan
Traceback (most recent call last):
File "C:\dev\code\github\cost-center-automation\main.py", line 828, in
main()
~~~~^^
File "C:\dev\code\github\cost-center-automation\main.py", line 412, in main
setup_signal_handlers()
~~~~~~~~~~~~~~~~~~~~~^^
File "C:\dev\code\github\cost-center-automation\main.py", line 47, in setup_signal_handlers
signal.signal(signal.SIGPIPE, handle_broken_pipe)
^^^^^^^^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGPIPE'. Did you mean: 'SIGFPE'?
```

I'm running Python 3.14.0 on Windows 11

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.