MichalW/gnome-bluetooth-battery-indicator

Missing bluetooth_battery Python module

yochananmarqos opened this issue · 6 comments

The bluetooth-battery Python module needs to be installed. The bluetooth_battery.py script you dumped into the extension folder will not work by itself. It looks for it's module and can't find it.

Did you install this package by https://extensions.gnome.org?
If you have cloned git repo then you need to do: git submodule update --init

I tried both and did init the submodule.

I just realized I was wrong and what was actually missing was pybluez as it's a dependency of bluetooth_battery.

Do you have an Ubuntu?
Please try instruction from the Readme:

sudo apt install bluez libbluetooth-dev python3-dev

I'm using Manjaro GNOME. I already installed python-pybluez and it's working fine. What I meant was the dependency is missing from your README.

Would you like to add instructions for Manjaro GNOME to readme?
I would be very grateful if you could add PR with that

I was thinking of adding it to the AUR, I'll make a PR if I do.

You seem to be missing what I'm trying to tell you. bluetooth-battery depends on pybluez no matter what distro one is using as they're Python packages. I'm wondering if you've already installed pybluez with Pip or APT. That's also the name of the Debian / Ubuntu package.