Skip to content

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

@Mike-Nahmias

Description

@Mike-Nahmias

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 <module>
    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 <module>
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions