Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31160 - [bluez] ImportError: No module named gi.repository

Attached to Project: Arch Linux
Opened by david cheung (scruffidog) - Thursday, 16 August 2012, 19:13 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 13 November 2012, 13:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

trying to attach a magicmouse to the system and the bluez-simple-agent seems to the showstopper. either something is not referenced correctly or it is missing dependencies when invoked:

$ bluez-simple-agent
Traceback (most recent call last):
File "/usr/bin/bluez-simple-agent", line 5, in <module>
from gi.repository import GObject
ImportError: No module named gi.repository

Additional info:
* package version(s)

bluez 4.101-1
python2-dbus 1.1.1-1
python-dbus-common 1.1.1-1
pygobject2-devel-2.28.6-6
python2-gobject2-2.28.6-6

* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Tom Gundersen (tomegun)
Tuesday, 13 November 2012, 13:11 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Thursday, 16 August 2012, 20:28 GMT
you need python2-gobject
Comment by david cheung (scruffidog) - Thursday, 16 August 2012, 22:12 GMT
hmmm...for whatever reason when I went to install pygobject, it installed pygobject2. After explicitly installing python2-gobject, it worked.

thanks!
Comment by Ionut Biru (wonder) - Thursday, 16 August 2012, 22:54 GMT
pygobject is the old and deprecated version. python2-gobject is the new one that includes all the goodies.

Loading...