[touch] apport hook crashes with: from xdg.BaseDirectory import xdg_cache_home ImportError: No module named 'xdg'

Bug #1233138 reported by Jean-Baptiste Lallement on 2013-09-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-network (Ubuntu)
Medium
Unassigned

Bug Description

mako 20130929

TEST CASE:
1. From aterminal run the command:
  $ ubuntu-bug indicator-network

EXPECTED RESULT:
It collects system information required by the hook

ACTUAL RESULT:
Reporting proceeds but the hook fails with

ERROR: hook /usr/share/apport/package-hooks/source_indicator-network.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 195, in _run_hook
    exec(compile(fd.read(), hook, 'exec'), symb)
  File "/usr/share/apport/package-hooks/source_indicator-network.py", line 3, in <module>
    from xdg.BaseDirectory import xdg_cache_home
ImportError: No module named 'xdg'

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: indicator-network 0.5.0+13.10.20130918-0ubuntu1
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.5-0ubuntu1
Architecture: armhf
Date: Mon Sep 30 12:33:05 2013
InstallationDate: Installed on 2013-09-29 (1 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20130929)
MarkForUpload: True
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SourcePackage: indicator-network
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Jean-Baptiste Lallement (jibel) wrote :
Changed in indicator-network (Ubuntu):
importance: Undecided → Medium
tags: added: rls-s-incoming
Changed in indicator-network (Ubuntu):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-network - 0.5.1+13.10.20131004-0ubuntu1

---------------
indicator-network (0.5.1+13.10.20131004-0ubuntu1) saucy; urgency=low

  [ Pete Woods ]
  * Add network manager secret agent.
    * Interfaces with unity8's extended snap decisions.

  [ Charles Kerr ]
  * One-liner to set GETTEXT_PACKAGE explicitly because dh_translations
    can't handle ${CMAKE_PROJECT_NAME}. (LP: #1233679)

  [ Ted Gould ]
  * Drop Airplane Mode for Phone 1.0. (LP: #1232832)
  * Update settings URL to settings:///system. (LP: #1231444)
  * Remove icons that have made it into the theme.
  * Depend on XDG Python lib for the Apport hook. (LP: #1233138)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 291
 -- Ubuntu daily release <email address hidden> Fri, 04 Oct 2013 02:29:39 +0000

Changed in indicator-network (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers