You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can run it on any platform, it works normally and outputs text every 1 second。
But I got this error in Docker
Hello, world!
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.12/threading.py", line 1431, in run
self.function(*self.args, **self.kwargs)
File "/home/hxl/python-agent/test2.py", line 8, in print_text
timer.start()
File "/usr/local/lib/python3.12/threading.py", line 992, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't create new thread at interpreter shutdown
root@d15684d1c27b:/home/hxl/python-agent#
Bug report
Bug description:
This is my code
I can run it on any platform, it works normally and outputs text every 1 second。
But I got this error in Docker
This is my platform information
os:
docker:
Python version in Docker
CPython versions tested on:
3.12
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: