Waydroid - missing module gbinder

Hello,
try to install Waydroid but there is a dependency error with python modul: gbinder

sudo pacman -Syu
sudo pacman -S waydroid-image
sudo waydroid init -f

[root@manjaro-arm ~]# waydroid init -f
Traceback (most recent call last):
  File "/usr/bin/waydroid", line 6, in <module>
    import tools
  File "/usr/lib/waydroid/tools/__init__.py", line 9, in <module>
    from . import actions
  File "/usr/lib/waydroid/tools/actions/__init__.py", line 3, in <module>
    from tools.actions.initializer import init
  File "/usr/lib/waydroid/tools/actions/initializer.py", line 5, in <module>
    from tools import helpers
  File "/usr/lib/waydroid/tools/helpers/__init__.py", line 5, in <module>
    import tools.helpers.props
  File "/usr/lib/waydroid/tools/helpers/props.py", line 7, in <module>
    from tools.interfaces import IPlatform
  File "/usr/lib/waydroid/tools/interfaces/IPlatform.py", line 1, in <module>
    import gbinder
ModuleNotFoundError: No module named 'gbinder'


[root@manjaro-arm ~]# pacman -Ss gbinder
community/libgbinder 1.1.14-1 [installed]
    GLib-style interface to binder
community/libgbinder-radio 72.6a9a0b7-1
    
community/python-gbinder 1.0.0-1 [installed]
    Python bindings for libgbinder

How to fix it ?

Packages meeed to been compiled for the right python version…

@philm

what can I do ?

I guess Python was updated to 3.10 recently, so this probably means that you installed waydroid recently (so it’s using python 3.10) but you python-gbinder was not updated and is still using 3.9.
Just do a full system upgrade with sudo pacman -Suy.

If it still does not work after the update and a restart (unlikely), then it could be a problem with waydroid packaging for manjaro.

AFAIK Waydroid works only on a Wayland session

I´m having this issue too. I tried sudo pacman -Suy but no luck.
My issue is when I try to install waydroid. Any help?

SteamOS Waydroid Installer Script by ryanrudolf

Script is running in Desktop Mode.
Checking if kernel is supported.
6.1.52-valve16-1-neptune-61 is supported. Proceed to next step.
Please enter current sudo password:
Checking if the sudo password is correct.
Sudo password is good!
Cloning into ‘/home/deck/AUR/waydroid/waydroid_script’…
remote: Enumerating objects: 717, done.
remote: Counting objects: 100% (327/327), done.
remote: Compressing objects: 100% (128/128), done.
remote: Total 717 (delta 259), reused 238 (delta 199), pack-reused 390
Receiving objects: 100% (717/717), 21.74 MiB | 14.57 MiB/s, done.
Resolving deltas: 100% (437/437), done.
Casualsnek repo has been successfully cloned!
Warning: The rootfs is already read-write!
Nothing is performed.
==> Appending keys from archlinux.gpg…
==> Appending keys from holo.gpg…
==> Updating trust database…
gpg: next trustdb check due at 2024-06-29
pacman keyring has been initialized!
binder kernel module has been installed!
loading packages…
resolving dependencies…
looking for conflicting packages…

Packages (7) dnsmasq-2.89-1 libgbinder-1.1.35-1 libglibutil-1.0.74-1 lxc-1:5.0.2-1
python-gbinder-1.1.2-1 waydroid-1.4.2-1 wlroots-0.16.2-1

Total Installed Size: 31.91 MiB

:: Proceed with installation? [Y/n]
(7/7) checking keys in keyring [############################] 100%
(7/7) checking package integrity [############################] 100%
(7/7) loading package files [############################] 100%
(7/7) checking for file conflicts [############################] 100%
(7/7) checking available disk space [############################] 100%
:: Processing package changes…
(1/7) installing wlroots [############################] 100%
Optional dependencies for wlroots
xorg-xwayland: Xwayland support [installed]
(2/7) installing dnsmasq [############################] 100%
(3/7) installing lxc [############################] 100%
Optional dependencies for lxc
dnsmasq: lxc-net.service [installed]
lua [installed]
lua-filesystem: lxc-top
lua-alt-getopt: lxc-top
(4/7) installing libglibutil [############################] 100%
(5/7) installing libgbinder [############################] 100%
(6/7) installing python-gbinder [############################] 100%
(7/7) installing waydroid [############################] 100%
Optional dependencies for waydroid
python-pyclip: share clipboard with container
:: Running post-transaction hooks…
(1/7) Creating system user accounts…
(2/7) Reloading system manager configuration…
(3/7) Creating temporary files…
/usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path “/root”, ignoring.
/usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path “/var/empty”, ignoring.
/usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path “/var/tmp”, ignoring.
/usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path “/var/cache”, ignoring.
(4/7) Arming ConditionNeedsUpdate…
(5/7) Reloading system bus configuration…
(6/7) Updating icon theme caches…
(7/7) Updating the desktop file MIME type cache…
waydroid and cage has been installed!
ln: failed to create symbolic link ‘/home/deck/Desktop/Waydroid-Toolbox’: File exists
Config file missing. Lets configure waydroid.
Traceback (most recent call last):
File “/usr/bin/waydroid”, line 6, in
import tools
File “/usr/lib/waydroid/tools/init.py”, line 12, in
from . import actions
File “/usr/lib/waydroid/tools/actions/init.py”, line 3, in
from tools.actions.initializer import init, wait_for_init, remote_init_client
File “/usr/lib/waydroid/tools/actions/initializer.py”, line 5, in
from tools import helpers
File “/usr/lib/waydroid/tools/helpers/init.py”, line 5, in
import tools.helpers.props
File “/usr/lib/waydroid/tools/helpers/props.py”, line 8, in
from tools.interfaces import IPlatform
File “/usr/lib/waydroid/tools/interfaces/IPlatform.py”, line 1, in
import gbinder
ModuleNotFoundError: No module named ‘gbinder’
Waydroid did not initialize correctly. Performing cleanup!
checking dependencies…
:: networkmanager optionally requires dnsmasq: connection sharing

Packages (7) dnsmasq-2.89-1 libgbinder-1.1.35-1 libglibutil-1.0.74-1 lxc-1:5.0.2-1
python-gbinder-1.1.2-1 waydroid-1.4.2-1 wlroots-0.16.2-1

Total Removed Size: 31.91 MiB

:: Do you want to remove these packages? [Y/n]
:: Processing package changes…
(1/7) removing wlroots [############################] 100%
(2/7) removing waydroid [############################] 100%
(3/7) removing lxc [############################] 100%
(4/7) removing dnsmasq [############################] 100%
(5/7) removing python-gbinder [############################] 100%
(6/7) removing libgbinder [############################] 100%
(7/7) removing libglibutil [############################] 100%
:: Running post-transaction hooks…
(1/5) Reloading system manager configuration…
(2/5) Arming ConditionNeedsUpdate…
(3/5) Reloading system bus configuration…
(4/5) Updating icon theme caches…
(5/5) Updating the desktop file MIME type cache…
Cleanup completed! Try running the install script again! Goodbye!