Hi a new guy here!
The first time I runned a new function I got the messages bellow.
What shall I do? Shall I create a bug report? How to do it?
Thanks.
J.A.R.Militão
2026-06-12 11:50:10.351 INFO (MainThread) [custom_components.pyscript.decorators.service] Service callback: get_next_track
2026-06-12 11:50:10.360 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/config/www/musics/local_radio_list.txt', 'r') inside the event loop by custom integration 'pyscript' at custom_components/pyscript/eval.py, line 1914: return func(*args, **kwargs) (offender: /config/pyscript/new_players.py, line 475: with open(text_file_path, "r") as f:), please create a bug report at https://github.com/custom-components/pyscript/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 229, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 215, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.14/asyncio/base_events.py", line 677, in run_forever
self._run_once()
File "/usr/local/lib/python3.14/asyncio/base_events.py", line 2046, in _run_once
handle._run()
File "/usr/local/lib/python3.14/asyncio/events.py", line 94, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/pyscript/function.py", line 442, in run_coro
result = await coro
File "/config/custom_components/pyscript/decorators/service.py", line 109, in do_service_call
return await func.call(ast_ctx, **data)
File "/config/custom_components/pyscript/eval.py", line 798, in call
val = await ast_ctx.aeval(arg1)
File "/config/custom_components/pyscript/eval.py", line 934, in aeval
val = await getattr(self, name, self.ast_not_implemented)(arg)
File "/config/custom_components/pyscript/eval.py", line 1426, in ast_assign
rhs = await self.aeval(arg.value)
File "/config/custom_components/pyscript/eval.py", line 934, in aeval
val = await getattr(self, name, self.ast_not_implemented)(arg)
File "/config/custom_components/pyscript/eval.py", line 1881, in ast_call
return await self.call_func(func, func_name, *args, **kwargs)
File "/config/custom_components/pyscript/eval.py", line 1914, in call_func
return func(*args, **kwargs)