Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill hanging Tendermint process on Windows #346

Open
iasonrovis opened this issue Sep 12, 2024 · 1 comment
Open

Kill hanging Tendermint process on Windows #346

iasonrovis opened this issue Sep 12, 2024 · 1 comment

Comments

@iasonrovis
Copy link
Collaborator

iasonrovis commented Sep 12, 2024

Tendermint processes are sometimes left hanging when Pearl is closed by users on Windows. This causes conflicts when reloading Pearl and attempting to deploy services locally.

Originated from:
User cannot start the agent after updating to the latest release version rc127.

pearl_logs_2024-09-11-0.1.0-rc127.zip

Discord ticket

@truemiller
Copy link
Collaborator

Looks related the hanging tendermint processes sometimes experienced on Windows.

2024-09-11T19:14:28.056Z cli: [2024-09-11 21:14:28,053][ERROR] Error 13
Traceback (most recent call last):
  File "operate\cli.py", line 246, in _call
    return await f(request)
  File "operate\cli.py", line 545, in _create_services
    await run_in_executor(_fn)
  File "operate\cli.py", line 167, in run_in_executor
    res = await future
  File "concurrent\futures\thread.py", line 58, in run
  File "operate\cli.py", line 543, in _fn
    manager.deploy_service_locally(hash=service.hash)
  File "operate\services\manage.py", line 1366, in deploy_service_locally
    deployment.build(force=force)
  File "operate\services\service.py", line 600, in build
    return self._build_host(force=force, chain_id=chain_id)
  File "operate\services\service.py", line 507, in _build_host
    shutil.rmtree(build)
  File "shutil.py", line 750, in rmtree
  File "shutil.py", line 615, in _rmtree_unsafe
  File "shutil.py", line 615, in _rmtree_unsafe
  File "shutil.py", line 615, in _rmtree_unsafe
  File "shutil.py", line 620, in _rmtree_unsafe
  File "shutil.py", line 618, in _rmtree_unsafe

Temporary fix for now is to:

  1. Exit Pearl
  2. Open Task Manager
  3. Kill tendermint processes they are still running
  4. Restart Pearl

@iasonrovis, @solarw recommended this fix in Slack, it is agent related.

@iasonrovis iasonrovis changed the title User cannot start agent in latest version rc127 Kill hanging Tendermint process on Windows Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants