Skip to content

Make alive_progress celery compatible, i.e. remove fileno from file_input_factory check #262

@HappyCthulhu

Description

@HappyCthulhu

Im wondering, can i get some logging, if alive_bar working inside of celery worker?

With this code:

import time

from alive_progress import alive_bar

for x in 1000, 1500, 700, 0:
    with alive_bar(x) as bar:
        for i in range(1000):
            time.sleep(0.005)
            bar()

Im getting this error:
image

If im trying to disable it in celery with arg disable=True, it doesnt work too. Can i do smth with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementIt does work, but there's this little thing

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions