Skip to content

Control + C Fails to cleanly stop sherlock #2756

@nixietab

Description

@nixietab

Installation method

PyPI (via pip)

Package version

Sherlock v0.16.0

Description

When executing the account scanning process and attempting to terminate it by pressing Control + C (SIGINT), but sherlock does not exit cleanly.

This is the error

^C^CException ignored on threading shutdown:
Traceback (most recent call last):
  File "/usr/lib64/python3.13/threading.py", line 1536, in _shutdown
    atexit_call()
  File "/usr/lib64/python3.13/threading.py", line 1507, in <lambda>
    _threading_atexits.append(lambda: func(*arg, **kwargs))
  File "/usr/lib64/python3.13/concurrent/futures/thread.py", line 31, in _python_exit
    t.join()
  File "/usr/lib64/python3.13/threading.py", line 1094, in join
    self._handle.join(timeout)
  File "/home/th/venv/lib64/python3.13/site-packages/sherlock_project/sherlock.py", line 535, in handler
    sys.exit(0)
SystemExit: 0

Steps to reproduce

  1. Start Scanning for a username
  2. Pressed Control + C

Additional information

Executing on openSUSE Tumbleweed 20251108

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions