This was a deliberate decision from the foundations team. python-
launchpadlib is not yet available for python 3, so apport-collect has to
use python 2 still. But as apport-collect is not required for core
desktop operations, only for the rather advanced task (from the
perspective of a user of a stable release) of following up to Launchpad
bug reports, we just added the error message which points out that you
need to install it manually. See the changelog:

apport (2.2.1-0ubuntu1) quantal; urgency=low
[...]
  * Move to Python 3, except for the parts that need python-launchpadlib
    (which is not yet available for Python 3):
    - debian/control: Add python3-problem-report and python3-apport packages.
    - debian/control: Switch build and binary dependencies to Python 3
      equivalents, except for apport-retrace.
    - debian/rules: Override dh_auto_* to also handle python3-* packages (see
      Debian #597105).
    - debian/rules: Run test suite with Python 3.
    - debian/rules: Switch hashbang line of apport-retrace back to Python 2.
    - Move /etc/apport/crashdb.conf from python-apport to apport, and
      recommend apport from both python{,3}-apport.
  * bin/apport-bug: Force running with python 2 when being invoked as
    apport-collect, and add a check/error message that you need to install
    python-apport to use this.
[...]

** Changed in: apport (Ubuntu)
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1023964

Title:
  apport-collect has missing dependence: launchpadlib Python

Status in “apport” package in Ubuntu:
  Won't Fix

Bug description:
  On running apport-collect xxx from terminal I get:

  apport-collect 972232
  ERROR: The launchpadlib Python module is not installed. This functionality is 
not available.

  
  I have seen this problem also by other users on bug triaging.

  They could not provide additional information with apport-collect from
  Quantal.

   So, it is wide spread.

  
  -------------------------------------------------------
  Investigation:

  A look with synaptics package manager shows that all packages of

  liblaunchpad-integration*

  are missing(should be 3 of them in a default installation).

  
  Also 

  python-launchpadlib

  should be installed as far as I know(it is not by default Quantal
  installation).

  So, this here is properly a problem with the package of apport itself.

  -------------------------------------------------

  Steps to reproduce:

  1.Install Quantal alpha 2 
  2.Upgrade to actual proposed
  3.looke for a nice ubuntu launchopad bug you want to add information
  4.open terminal
  5.try to run 

  apport-collect <BUGNUMBER>

  6. See the message on terminal:

  ERROR: The launchpadlib Python module is not installed. This
  functionality is not available.

  
  --------------------------------------------------

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: apport 2.3-0ubuntu4
  ProcVersionSignature: Ubuntu 3.5.0-4.4-generic 3.5.0-rc6
  Uname: Linux 3.5.0-4-generic x86_64
  ApportVersion: 2.3-0ubuntu4
  Architecture: amd64
  Date: Thu Jul 12 17:43:51 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64+mac (20120627)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no username)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to