Magisk install error #271

Open
opened 2026-05-02 04:42:29 -04:00 by Wanderer4040 · 1 comment
Wanderer4040 commented 2026-05-02 04:42:29 -04:00 (Migrated from github.com)

Android 13

ERROR: [20:39:51] Stopping container

Traceback (most recent call last):
File "/home/myname/waydroid_script/main.py", line 357, in
main()
~~~~^^
File "/home/myname/waydroid_script/main.py", line 353, in main
interact()
~~~~~~~~^^
File "/home/myname/waydroid_script/main.py", line 255, in interact
install_app(args)
~~~~~~~~~~~^^^^^^
File "/home/myname/waydroid_script/main.py", line 95, in install_app
container.stop()
~~~~~~~~~~~~~~^^
File "/home/myname/waydroid_script/tools/container.py", line 46, in stop
run(["waydroid", "container", "stop"])
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/myname/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.

Android 13 ERROR: [20:39:51] Stopping container Traceback (most recent call last): File "/home/myname/waydroid_script/main.py", line 357, in <module> main() ~~~~^^ File "/home/myname/waydroid_script/main.py", line 353, in main interact() ~~~~~~~~^^ File "/home/myname/waydroid_script/main.py", line 255, in interact install_app(args) ~~~~~~~~~~~^^^^^^ File "/home/myname/waydroid_script/main.py", line 95, in install_app container.stop() ~~~~~~~~~~~~~~^^ File "/home/myname/waydroid_script/tools/container.py", line 46, in stop run(["waydroid", "container", "stop"]) ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/myname/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.
HaThanhNek commented 2026-06-30 12:40:36 -04:00 (Migrated from github.com)

I encountered this problem before and I know how to workaround it

  1. Go to tools/container.py, find "def stop()" and comment it (Also comment the "run(["waydroid", "container", "stop"])")
  2. Go to main.py and comment all the lines that has "container.stop()"

Now before installing something. You should do waydroid session stop and waydroid container stop
Hope that works for you

I encountered this problem before and I know how to workaround it 1. Go to tools/container.py, find "def stop()" and comment it (Also comment the "run(["waydroid", "container", "stop"])") 2. Go to main.py and comment all the lines that has "container.stop()" Now before installing something. You should do `waydroid session stop` and `waydroid container stop` Hope that works for you
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wbruno/waydroid_script#271