Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706016 - net-wireless/blueberry-1.2.9 - blueberry: ModuleNotFoundError: No module named 'gi'
Summary: net-wireless/blueberry-1.2.9 - blueberry: ModuleNotFoundError: No module name...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: laurantino
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-01-21 17:44 UTC by darkstalker
Modified: 2020-01-30 06:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info blueberry (emerge-info.txt,7.05 KB, text/plain)
2020-01-21 17:44 UTC, darkstalker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darkstalker 2020-01-21 17:44:44 UTC
Created attachment 603866 [details]
emerge --info blueberry

After today's update, blueberry stopped working and crashes on startup. Reinstalling didn't solve the issue. Stack trace:

$ blueberry
Traceback (most recent call last):
  File "/usr/lib/blueberry/blueberry.py", line 5, in <module>
    import rfkillMagic
  File "/usr/lib/blueberry/rfkillMagic.py", line 5, in <module>
    from gi.repository import GLib
ModuleNotFoundError: No module named 'gi'

packages recently updated:

# qlop -v -d today   
2020-01-21T13:44:56 *** gentoo: 1′50″
2020-01-21T14:01:11 >>> sys-apps/portage-2.3.84-r1: 20s
2020-01-21T14:05:01 >>> virtual/linux-sources-3-r4: 7s
2020-01-21T14:05:08 >>> media-libs/alsa-lib-1.2.1.2: 41s
2020-01-21T14:05:49 >>> media-sound/alsa-utils-1.2.1: 16s
2020-01-21T14:06:05 >>> sys-fs/btrfs-progs-5.4.1: 17s
2020-01-21T14:06:22 >>> app-shells/zsh-5.7.1-r1: 1′11″
2020-01-21T14:07:33 >>> dev-libs/libical-3.0.7: 18s
2020-01-21T14:07:51 >>> dev-lang/python-3.7.5-r1: 1′41″
2020-01-21T14:09:32 >>> x11-themes/adwaita-qt-1.1.1: 23s
2020-01-21T14:09:55 >>> media-libs/openal-1.20.0: 25s
2020-01-21T14:10:20 >>> media-plugins/alsa-plugins-1.2.1: 22s
2020-01-21T14:17:45 >>> net-wireless/blueberry-1.2.9: 10s
Comment 1 laurantino 2020-01-26 08:51:50 UTC
The problem occurs when we have several version of python3 installed on the system and if the default python3 interpreter is not the same than the one used by the package. It happens because the blueberry scripts only refer to python3 without specific version (3.6 or 3.7 for instance)
Here I guess blueberry has been built with python 3.6 while the default system python interpreter is python 3.7.
It should not happen of course and I will fix the ebuild to correct the python shebang of the different scripts. I will probably upgrade the ebuild to the latest upstream version at the same time.
Comment 2 Larry the Git Cow gentoo-dev 2020-01-30 06:33:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a3266b449476cf1fa67213c8126b5710c10cc0

commit 02a3266b449476cf1fa67213c8126b5710c10cc0
Author:     Olivier Laurantin <olivier.laurantin@laposte.net>
AuthorDate: 2020-01-28 21:26:20 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-01-30 06:33:07 +0000

    net-wireless/blueberry: version bump
    
    Update to the latest upstream version
    
    Closes: https://bugs.gentoo.org/706016
    Signed-off-by: Olivier Laurantin <olivier.laurantin@laposte.net>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-wireless/blueberry/Manifest               |  1 +
 net-wireless/blueberry/blueberry-1.3.4.ebuild | 63 +++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)