[CentOS] Logitech unifying receiver (pairing)

Wed Aug 20 08:33:26 UTC 2014
Elias Persson <delreich at takeit.se>

On 2014-08-19 14:25, Toralf Lund wrote:
> Hi,
>
> Is anyone here using a Logitech wireless mouse our keyboard or whatever
> using a "unifying receiver". Any luck with pairing new devices with the
> unit?
>
> I've tried various different programs from the net that's supposed to be
> able to do this, [...]  and solaar (installed via the
> EPEL Testing repo) fails in the following manner:
>
> Traceback (most recent call last):
>     File "/usr/bin/solaar-cli", line 42, in <module>
>       solaar.cli.main()
>     File "/usr/lib/python2.6/site-packages/solaar/cli.py", line 429, in main
>       args = _parse_arguments()
>     File "/usr/lib/python2.6/site-packages/solaar/cli.py", line 421, in
> _parse_arguments
>       logging.root.addHandler(logging.NullHandler())
> AttributeError: 'module' object has no attribute 'NullHandler'
>
>
> This is on a CentOS 6 x86_64 system with all updates installed.
>
>
> Any other ideas?

`logging.NullHandler` was added in python 2.7, so you could perhaps
try getting that (python) from SCL [1]. Getting solaar's dependencies
for the 2.7 installation might have to be done manually though.

With things installed:
   scl enable python27 "python2.7 /usr/bin/solaar-cli"

A bug report to wherever it belongs would likely be appreciated, if
you haven't already done that.


[1] http://wiki.centos.org/AdditionalResources/Repositories/SCL