sotoki icon indicating copy to clipboard operation
sotoki copied to clipboard

Callback when added a ZIM entry for an image is not working

Open benoit74 opened this issue 1 month ago • 1 comments

In https://github.com/openzim/sotoki/pull/367, I failed to make the call to once_done in src/sotoki/utils/imager.py be handled by the expected callback in add_item_for. I called it "manually" directly after add_item_for, which is not 100% accurate.

It looked like the callback was never called, despite the item being added to the ZIM and the same kind of call succeeding in other situations.

I failed so far to nail the issue down.

benoit74 avatar Dec 11 '25 10:12 benoit74

Postponing, I really do not achieve to reproduce conditions which lead to callback not being called.

benoit74 avatar Dec 11 '25 13:12 benoit74