aptdcon crashed with KeyError in _on_progress_details(): 'total'

Bug #1436725 reported by Sami Haahtinen on 2015-03-26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Brian Murray

Bug Description

Errors Bucket

aptdcon shows traces when ever any kind of an estimation of completion is required. The actions get completed even with the traces.

I have a few third party sources, but even with third party sources disabled, the problem persists. Also, I haven't been able to reproduce the problem on other computers. It wouldn't be a big deal to reinstall the computer, but figuring out the root cause would be preferrable.

ProblemType: CrashDistroRelease: Ubuntu 15.04
Package: aptdaemon 1.1.1+bzr981-0ubuntu2
ProcVersionSignature: Ubuntu 3.19.0-10.10-generic 3.19.2
Uname: Linux 3.19.0-10-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.16.2-0ubuntu4
Architecture: amd64
Date: Wed Mar 25 08:48:45 2015
ExecutablePath: /usr/bin/aptdcon
InstallationDate: Installed on 2013-11-16 (494 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/aptdcon -c
PythonArgs: ['/usr/bin/aptdcon', '-c']SourcePackage: aptdaemon

Title: aptdcon crashed with KeyError in _on_progress_details(): 'total'
 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/aptdaemon/console.py", line 257, in _on_progress_details
     'rate': client.get_size_string(bytes_total)})
 KeyError: 'total'
UpgradeStatus: Upgraded to vivid on 2015-03-18 (8 days ago)

Related branches

Sami Haahtinen (ressu) wrote :
tags: removed: need-duplicate-check
Changed in aptdaemon (Ubuntu):
importance: Undecided → Medium
Brian Murray (brian-murray) wrote :

I encountered this bug when performing the following operation:

sudo aptdcon --install "libxfixes3 libxfixes3:i386"

information type: Private → Public
tags: added: utopic
Brian Murray (brian-murray) wrote :

It crashes in utopic too.

description: updated
Changed in aptdaemon (Ubuntu):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aptdaemon - 1.1.1+bzr982-0ubuntu1

aptdaemon (1.1.1+bzr982-0ubuntu1) vivid; urgency=low

  * fix crash in _on_progress_details() (LP: #1436725)
 -- Michael Vogt <email address hidden> Tue, 07 Apr 2015 11:34:02 +0200

Changed in aptdaemon (Ubuntu):
status: In Progress → Fix Released
Sami Haahtinen (ressu) wrote :

Just to confirm, I installed the latest version and the error is gone.


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers