[Bug 1071905] Re: ERROR: The launchpadlib Python module is not installed.

Martin Pitt martin.pitt at ubuntu.com
Thu Jul 18 04:15:20 UTC 2013


It's rather that our Python maintainers/foundations team don't want
python2 dependencies on the default install. As we install apport by
default, it can only depend on python3 stuff, so Barry asked me to make
the python2 bits optional. And indeed launchpadlib is not needed for
most apport operations (its main purpose is to file bugs), only if you
invoke it as apport-collect. So the default install with python3 is
still mostly fine.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-launchpadlib in Ubuntu.
https://bugs.launchpad.net/bugs/1071905

Title:
  ERROR: The launchpadlib Python module is not installed.

Status in Apport crash detection/reporting:
  In Progress
Status in “apport” package in Ubuntu:
  Triaged
Status in “python-launchpadlib” package in Ubuntu:
  Invalid

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu 12.10
  Release:	12.10

  2) apt-cache policy python-launchpadlib
  python-launchpadlib:
    Installed: 1.9.12-2
    Candidate: 1.9.12-2
    Version table:
   *** 1.9.12-2 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
          100 /var/lib/dpkg/status

  apt-cache policy apport
  apport:
    Installed: 2.6.1-0ubuntu6
    Candidate: 2.6.1-0ubuntu6
    Version table:
   *** 2.6.1-0ubuntu6 0
          900 http://archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
          100 /var/lib/dpkg/status
       2.6.1-0ubuntu3 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages

  apt-cache policy python-launchpad-integration
  python-launchpad-integration:
    Installed: 0.1.56.2
    Candidate: 0.1.56.2
    Version table:
   *** 0.1.56.2 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
          100 /var/lib/dpkg/status

  apt-cache policy python-launchpadlib-toolkit
  python-launchpadlib-toolkit:
    Installed: 2.2
    Candidate: 2.2
    Version table:
   *** 2.2 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
          100 /var/lib/dpkg/status

  apt-cache policy python-apport
  python-apport:
    Installed: 2.6.1-0ubuntu6
    Candidate: 2.6.1-0ubuntu6
    Version table:
   *** 2.6.1-0ubuntu6 0
          900 http://archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
          100 /var/lib/dpkg/status
       2.6.1-0ubuntu3 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages

  apt-cache policy apport-retrace
  apport-retrace:
    Installed: 2.6.1-0ubuntu6
    Candidate: 2.6.1-0ubuntu6
    Version table:
   *** 2.6.1-0ubuntu6 0
          900 http://archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
          100 /var/lib/dpkg/status
       2.6.1-0ubuntu3 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/main i386 Packages

  3) What is expected to happen via a terminal:
  cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1071905/+attachment/3414934/+files/libreoffice.apport && ubuntu-bug -c libreoffice.apport -u 1071059

  and an apport collection is attached to bug 1071059.

  4) What happens instead is one gets in a terminal:
  ubuntu-bug -c libreoffice.apport -u 1071059
  ERROR: The launchpadlib Python module is not installed. This functionality is not available.

  This is despite how what seems to be the appropriate packages noted
  above are already installed.

  $ ubuntu-bug -c bug.apport -u 1071059
  ERROR: The launchpadlib Python module is not installed. This functionality is not available.
  $ dpkg -l python-launchpadlib
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                Version        Architecture   Description
  +++-===================-==============-==============-============================================
  ii  python-launchpadlib 1.9.12-2       all            Launchpad web services client library

  ubuntu-bug wants the launchpadlib Python module, but python-
  launchpadlib is installed.

  PS: ubuntu-bug should tell the user how to fix the error. For example
  add: "Please install python-launchpadlib."

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: apport 2.6.1-0ubuntu6
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Fri Oct 26 23:05:06 2012
  InstallationDate: Installed on 2012-04-24 (184 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120421)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: Upgraded to quantal on 2012-10-22 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1071905/+subscriptions




More information about the foundations-bugs mailing list