Traceback (most recent call last):


 "/usr/bin/pyglossary", line 5, in <module>

with open(join(dirname(__file__), "main.py")) as fp:

NotFoundError: [Errno 2] No such file or directory: '/usr/bin/main.py'

Error: Traceback (most recent call last):


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/__main__.py", line 109, in main

cli()
# pylint: disable=no-value-for-parameter


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/click/core.py", line 829, in __call__

return self.main(*args, **kwargs)


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/click/core.py", line 782, in main

rv = self.invoke(ctx)


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/commands/__init__.py", line 44, in invoke

return super(PlatformioCLI, self).invoke(ctx)


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/click/core.py", line 1256, in invoke

Command.invoke(self, ctx)


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/click/core.py", line 1066, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/click/core.py", line 610, in invoke

return callback(*args, **kwargs)


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/__main__.py", line 63, in cli

maintenance.on_platformio_start(ctx, force, caller)


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/maintenance.py", line 45, in on_platformio_start

telemetry.on_command()


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/telemetry.py", line 292, in on_command

resend_backuped_reports()


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/telemetry.py", line 443, in resend_backuped_reports

tm = app.get_state_item("telemetry", {})


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/app.py", line 187, in get_state_item

with State() as state:


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/app.py", line 90, in __init__

self.path = join(get_project_core_dir(), "appstate.json")


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/project/helpers.py", line 51, in get_project_core_dir

join(get_project_dir(), "platformio.ini")


 "/home/pooya/.local/pipx/venvs/platformio/lib/python3.8/site-packages/platformio/project/helpers.py", line 29, in get_project_dir

return os.getcwd()

NotFoundError: [Errno 2] No such file or directory
