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

Christopher M. Penalver christopher.m.penalver at gmail.com
Fri Jul 19 10:52:49 UTC 2013


Martin Pitt, thanks for checking in on this report. We could take this discussion off report as it seems unrelated, but as per the apport-cli manpage:
 -c report, --crash-file=report
              Upload a previously processed stored report in an arbitrary file
              location.   This  is  useful  for  copying  a  crash report to a
              machine with internet connection and reporting  it  from  there.
              Files must end in .crash or .apport.

-u report-number, --update-report report-number
              Run apport information collection on an already existing problem
              report. The  affected  package  is  taken  from  the  report  by
              default,  but  you  can explicitly specify one with --package to
              collect information for a different package (this is  useful  if
              the report is assigned to the wrong package).

Hence, apport-cli -c *.crash -u 12345 is valid syntax. Are your advising
this feature is intending to no longer be supported, is broken,
something else?

Thank you for your time and consideration in this matter, and I look
forward to your response.

-- 
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:
  Fix Released
Status in “apport” package in Ubuntu:
  Fix Committed
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