Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'signal' has no attribute 'SIGWINCH' on 2.4.2 #1924

Closed
thylinner opened this issue Nov 2, 2021 · 0 comments
Closed

module 'signal' has no attribute 'SIGWINCH' on 2.4.2 #1924

thylinner opened this issue Nov 2, 2021 · 0 comments
Labels

Comments

@thylinner
Copy link

Describe the bug

(windows only?)
pip install 2.4.2 >>> locust -f start.py --master >>>
signal.signal(signal.SIGWINCH, resize_handler)
AttributeError: module 'signal' has no attribute 'SIGWINCH'
pip install 2.4.1 >>> locust -f start.py --master >>> ok

"On Windows, signal() can only be called with SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV, or SIGTERM. A ValueError will be raised in any other case." --- find in baidu

Environment

  • OS:nt
  • Python version:3.9.5
  • Locust version: 2.4.2
  • Locust command line that you ran: locust -f start.py --master
  • Locust file contents (anonymized if necessary):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants