Closed weaver9651 closed 1 year ago
What error occurs?
Traceback (most recent call last):
File "tmp.py", line 7, in <module>
with alive_bar(total_len) as bar:
File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/home/user/.virtualenvs/tmp/lib/python3.8/site-packages/alive_progress/core/progress.py", line 328, in __alive_bar
start_monitoring()
File "/home/user/.virtualenvs/tmp/lib/python3.8/site-packages/alive_progress/core/progress.py", line 190, in start_monitoring
hook_manager.install()
File "/home/user/.virtualenvs/tmp/lib/python3.8/site-packages/alive_progress/core/hook_manager.py", line 88, in install
before_handlers.update({h: h.setStream(get_hook_for(h)) for h in handlers})
File "/home/user/.virtualenvs/tmp/lib/python3.8/site-packages/alive_progress/core/hook_manager.py", line 88, in <dictcomp>
before_handlers.update({h: h.setStream(get_hook_for(h)) for h in handlers})
File "/usr/lib/python3.8/logging/__init__.py", line 1110, in setStream
self.stream = stream
AttributeError: can't set attribute
Oh boy, dill
's author has used a protected logging
class, which is Python's last resort internal processing... 🤦♂️
But ok, I think I can ignore errors in there...
Release 3.0.1 fixes this.
Hello. When I use
alive-progress
withdill
package, an error occurs. Here's the code that I tried.Please let me know if I missed something. Thank you.