[Bug 781874] Re: <type 'exceptions.TypeError'>: __init__() takes exactly 2 arguments (1 given)

Launchpad Bug Tracker 781874 at bugs.launchpad.net
Mon Nov 7 05:32:40 UTC 2011


This bug was fixed in the package aptdaemon - 0.41+bzr661-0ubuntu0.1

---------------
aptdaemon (0.41+bzr661-0ubuntu0.1) natty-proposed; urgency=low

  [ Michael Vogt ]
  * new bzr bugfix snapshot from the upstream branch
  * drop debian/patches/fix_lp_781874.patch,
    drop debian/patches/01_fix_locking.patch
    drop debian/patches/03_do_not_close_invalid_fd.patch
    drop/debian/patches/04_check_if_apport_enabled.patch:
    - this is included in the upstream bzr branch now
  * debian/patches/02_fix_crash_on_dpkg_disappear.patch:
    - use empty string when dpkg notices a disappearing package,
      this avoids string break

  [ Sebastian Heinlein ]
  * fix bug when canceling a transaction (LP: #781874)
  * fix FD leak (LP: #742935)
  * fix crash when dbus exceptions have unicode messages (LP: #761386)
  * add (empty) mapping the apt progress message that is triggered
    when a empty package disappears

  [ Gabor Kelemen ]
  * Add missing files to POTFILES.in, fixes LP: #786500

  [ Brian Murray ]
  * aptdaemon/crash.py:
    - title attachments Traceback to be consistent with apport
  * aptdaemon/crash.py:
    - only create crash reports if apport is enabled
 -- Michael Vogt <mvo at ubuntu.com>   Tue, 19 Apr 2011 08:52:09 +0200

** Changed in: aptdaemon (Ubuntu Natty)
       Status: Fix Committed => Fix Released

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

Title:
  <type 'exceptions.TypeError'>: __init__() takes exactly 2 arguments (1
  given)

Status in “aptdaemon” package in Ubuntu:
  Fix Released
Status in “aptdaemon” source package in Natty:
  Fix Released

Bug description:
  TEST CASE:
  1. select a big package (like wine) for install
  2. navigate to the "in progress" page and click on the small red "cancel" in the listview
  3. verify that this causes a error on the terminal and a apport prompt
  4. install aptdaemon from natty-propsoed
  5. restart software-center,aptdaemon (reboot is easiest) and repeat 1,2
  6. verify that no error happens this time

  Binary package hint: aptdaemon

  download cancelled in software center, causing error
  natty 11.04.02 upgraded from 10.10

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: aptdaemon 0.41+bzr657-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
  Uname: Linux 2.6.38-9-generic i686
  NonfreeKernelModules: nvidia
  Annotation: Applying software changes failed
  Architecture: i386
  Date: Thu May 12 13:53:44 2011
  DesktopFile: /usr/share/aptdaemon/aptdaemon.desktop
  ExecutablePath: /usr/sbin/aptd
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  PackageArchitecture: all
  SourcePackage: aptdaemon
  Title: <type 'exceptions.TypeError'>: __init__() takes exactly 2 arguments (1 given)
  TransactionDepends: [['java-common=0.40ubuntu1', 'libaccess-bridge-java-jni=1.26.2-5', 'libaccess-bridge-java=1.26.2-5', 'icedtea-6-jre-cacao=6b22-1.10.1-0ubuntu1', 'default-jre=1:1.6-40ubuntu1', 'openjdk-6-jre-headless=6b22-1.10.1-0ubuntu1', 'tzdata-java=2011g-0ubuntu0.11.04', 'openjdk-6-jre=6b22-1.10.1-0ubuntu1', 'icedtea-netx=1.1~20110420-0ubuntu1', 'icedtea-6-jre-jamvm=6b22-1.10.1-0ubuntu1', 'openjdk-6-jre-lib=6b22-1.10.1-0ubuntu1', 'libreoffice-java-common=1:3.3.2-1ubuntu5', 'default-jre-headless=1:1.6-40ubuntu1', 'ca-certificates-java=20100412'], [], [], [], [], [], []]
  TransactionErrorCode: error-unknown
  TransactionKwargs: {}
  TransactionLocale: en_US.UTF8
  TransactionOutput:

  TransactionPackages: [[dbus.String(u'libreoffice-filter-mobiledev')], [], [], [], [], []]
  TransactionRole: role-commit-packages
  UpgradeStatus: Upgraded to natty on 2011-05-11 (1 days ago)

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




More information about the foundations-bugs mailing list