Installed solaar from the PPA on Kubuntu 18.04 and up until recently it has been working fine, but now the icon is greyed out and running solaar show:
Exception AttributeError: "'Receiver' object has no attribute '_devices'" in
solaar -V
solaar 1.0.1
Bus 006 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
If I run the version downloaded using git, it works fine.
diff -y bin/solaar /usr/bin/solaar
Edited /usr/bin/solaar to use python3 instead of python 2.7 and it works again.
Thanks for the report. Some recent versions of Solaar required python3 but did not completely enforce its use, which is what you experienced. The current packaging file used for the Ubuntu PPA is producing an error so the Ubuntu PPA is not being updated.
Help would be appreciated in fixing the packaging file packaging/debian/control
See also #696
A fix should be in the works.
@pfps
I fixed building in PPA, remove gnome3/unity integration and tested on Ubuntu 20.04 and Linux Mint 19.3 Cinnamon, it works without any errors/Issues.
Except, I noticed in a new Solaar version that is now listed old Logitech S 510 Cordless Keyboard.
Only it has battery status and instead of keyboard name it showing wireless network pid.
I don't now is this issue or is noramal
Today I removed the installed git-ppa version of solaar, which give errors. Next I installed the latest again from the git ppa (version 1.0.1+dfsg-3+git919-af26870-202003142132~ubuntu18.04.1). (just an upgrade was not working).
It works now for me without issues. Thanks for the improvements.
@Klap-in Thanks to @muzena from me as well.
@muzena Feel free to start a new issue for what you noticed in your previous comment. I don't have the hardware in question so I can't tell for sure whether there is a problem there without more information.
I'm closing this issue as resolved.
Most helpful comment
Today I removed the installed git-ppa version of solaar, which give errors. Next I installed the latest again from the git ppa (version 1.0.1+dfsg-3+git919-af26870-202003142132~ubuntu18.04.1). (just an upgrade was not working).
It works now for me without issues. Thanks for the improvements.