group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #07063
[Bug 1579834] Re: update-apt-xapian-index-dbus fails because of wrong import
Hello Carlo, or anyone else affected,
Accepted into xenial-proposed. The package will build now and be
available in a few hours in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: apt-xapian-index (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1579834
Title:
update-apt-xapian-index-dbus fails because of wrong import
Status in apt-xapian-index package in Ubuntu:
Fix Released
Status in apt-xapian-index source package in Xenial:
Fix Released
Bug description:
[Test Case]
1) run /usr/share/apt-xapian-index/update-apt-xapian-index-dbus
2) Observe it terminate with an error and does not update the index
"Failed to import 'No module named 'glib'', can not use dbus"
With the version from proposed it should not exit with this error.
[Expected result]
1) sudo rm -rf /var/lib/apt-xapian-index/
2) make sure no other instance of update-apt-xapian-index-dbus is running
3) run sudo /usr/share/apt-xapian-index/update-apt-xapian-index-dbus
4) leave u-axi-dbus running, and run kcmshell5 kcm_driver_manager
5) u-axi-dbus produces no output (instead of the failure message), and after some time /var/lib/apt-xapian-index/ is created and populated again and the driver manager shows suggested packages instead of "collecting information" (see also bug #1530523)
[Regression Potential]
It doesn't work at all, so this'll be an improvement.
-----------------------------------------------------------------
Mai 09 15:42:10 bear dbus[1017]: [system] Activating service name='org.debian.AptXapianIndex' (using servicehelper)
Mai 09 15:42:10 bear org.debian.AptXapianIndex[1017]: Failed to import 'No module named 'glib'', can not use dbus
Mai 09 15:42:11 bear dbus[1017]: [system] Activated service 'org.debian.AptXapianIndex' failed: Launch helper exited with unknown return code 1
The correct import should be:
from gi.repository import GLib as glib
from gi.repository import GObject as gobject
ProblemType: BugDistroRelease: Ubuntu 16.04
Package: apt-xapian-index 0.47ubuntu8 [modified: usr/share/apt-xapian-index/update-apt-xapian-index-dbus]
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon May 9 17:52:17 2016
InstallationDate: Installed on 2015-05-04 (370 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
PackageArchitecture: allSourcePackage: apt-xapian-index
UpgradeStatus: Upgraded to xenial on 2016-05-04 (4 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions