ryanrudolfoba/SteamOS-Waydroid-Installer

ModuleNotFoundError: No module named 'dbus'

Closed this issue · 1 comments

Help.
I have already installed some stuff using the Konsole, if that helps.
`SteamOS Waydroid Installer Script by ryanrudolf
https://github.com/ryanrudolfoba/SteamOS-Waydroid-Installer
Script is running in Desktop Mode.
Checking if kernel is supported.
6.1.52-valve14-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!
[sudo] password for deck: 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 | 4.32 MiB/s, done.
Resolving deltas: 100% (437/437), done.
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-04-10
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!
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 8, in
import dbus.mainloop.glib
ModuleNotFoundError: No module named 'dbus'
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!
(deck@steamdeck steamos-waydroid-installer)$ ./steamos-waydroid-installer.sh
`

Based on the error message this is a broken python on your system.

Most probably you have 3rd party apps / scripts that is interfering with the built-in python that came with SteamOS.

Please check this similar issue reported by another member a few weeks ago and the fix -
#42 (comment)