Closed d-w-moore closed 1 year ago
On a simple ingest, using a trivial event handler:
ubuntu@machine$ python3 -m irods_capability_automated_ingest.irods_sync start ./src_dir /tempZone/home/rods/reg_coll --synchronous --progress --event_handler ./example.py
with any valid event handler class (even a trivial one) in example.py, for example:
example.py
from irods_capability_automated_ingest.core import Core class event_handler(Core): pass
will immediately exit without beginning an ingest.
The culprit is almost 100% certainly the inappropriately indented exit call at the end of check_event_handler function.
exit
check_event_handler
On a simple ingest, using a trivial event handler:
with any valid event handler class (even a trivial one) in
example.py
, for example:will immediately exit without beginning an ingest.
The culprit is almost 100% certainly the inappropriately indented
exit
call at the end ofcheck_event_handler
function.