Skip to content

Command '['waydroid', 'container', 'stop']' returned non-zero exit status 0. #277

Description

@Naderart

While trying to install libhoudini using the command:
sudo venv/bin/python3 main.py install libhoudini

I got this error below:

ERROR: [20:05:35] Stopping container

Traceback (most recent call last):
File "/opt/waydroid-script/main.py", line 357, in
main()
~~~~^^
File "/opt/waydroid-script/main.py", line 350, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/opt/waydroid-script/main.py", line 95, in install_app
container.stop()
~~~~~~~~~~~~~~^^
File "/opt/waydroid-script/tools/container.py", line 46, in stop
run(["waydroid", "container", "stop"])
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/waydroid-script/tools/helper.py", line 48, in run
raise subprocess.CalledProcessError(
...<3 lines>...
)
subprocess.CalledProcessError: Command '['waydroid', 'container', 'stop']' returned non-zero exit status 0.

I'm using waydroid Android 13 on Arch

Luckily I tried to tweak the code and it worked out, if you want to include the fix or if anyone has the same problem

the tweak is in waydroid-script/tools/container.py
line 46
run(["waydroid", "container", "stop"] )
change it to:
run(["sudo", "systemctl", "stop", "waydroid-container.service"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions