Skip to content

can't break enrichment processing back to shell with ctrl-c #60

@HongPong

Description

@HongPong

during enrichment ctrl-c (pressing a few times) gives

Enriching facility NORTH LAKE CORRECTIONAL FACILITY...
^CEnriching facility NORTHEAST OHIO CORRECTIONAL CENTER...
Enriching facility NORTHERN REGIONAL JAIL...
Enriching facility NORTHWEST STATE CORRECTIONAL CENTER...
^CEnriching facility OLDHAM COUNTY DETENTION CENTER...
^CProcess ForkProcess-2:
Process ForkProcess-3:
Traceback (most recent call last):
Traceback (most recent call last):
  File "/installs/python/3.13.3/lib/python3.13/multiprocessing/process.py", line 313, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "/installs/python/3.13.3/lib/python3.13/multiprocessing/process.py", line 313, in _bootstrap
    self.run()
    ~~~~~~~~^^

/installs/python/3.13.3/lib/python3.13/multiprocessing/connection.py", line 395, in _recv
    chunk = read(handle, remaining)
KeyboardInterrupt
KeyboardInterrupt
^C
^C^C^C^C^C

etc and the shell is not reset back to normal. i think it would be best if we could break out.

process such as

/share/mise/installs/python/3.13.3/bin/uv run python main.py --scrape --enrich

can be halted by kill and the process number as normal.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions