GNU bug report logs - #32739
Fix python-pyudev and solaar.

Previous Next

Package: guix-patches;

Reported by: Roel Janssen <roel <at> gnu.org>

Date: Sat, 15 Sep 2018 09:06:01 UTC

Severity: normal

Done: Roel Janssen <roel <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: guix-patches <at> gnu.org
Subject: Fix python-pyudev and solaar.
Date: Sat, 15 Sep 2018 11:05:25 +0200
[Message part 1 (text/plain, inline)]
Dear Guix,

When installing solaar:

$ guix package -i solaar

And then running it, I get:

$ solaar
missing required package 'python-pyudev'

Now, 'python-pyudev' is already a dependency of that package, but when
loading pyudev in python, we get:

$ python3
Python 3.6.5 (default, Jan  1 1970, 00:00:01) 
[GCC 5.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyudev
...
ModuleNotFoundError: No module named 'six'

Therefore, I think 'python-pyudev' is missing a dependency for
'python-six'.

In the following patch I added this dependency to python-pyudev, after
which “import pyudev” works, and solaar starts.

Kind regards,
Roel Janssen

[0001-admin-python-pyudev-Add-dependency-on-python-six.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.