apt-clone crashed with AttributeError in __main__: 'Namespace' object has no attribute 'command'

Bug #1111115 reported by asmodey
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-clone (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Crashes after install

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: apt-clone 0.3.1~ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-2.6-generic 3.8.0-rc4
Uname: Linux 3.8.0-2-generic x86_64
ApportVersion: 2.8-0ubuntu3
Architecture: amd64
Date: Wed Jan 30 23:40:55 2013
ExecutablePath: /usr/bin/apt-clone
InstallationDate: Installed on 2013-01-30 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130130)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/apt-clone
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/apt-clone']
SourcePackage: apt-clone
Title: apt-clone crashed with AttributeError in __main__: 'Namespace' object has no attribute 'command'
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/apt-clone", line 90, in <module>
     if args.command == "info":
 AttributeError: 'Namespace' object has no attribute 'command'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
asmodey (pavel-finkelshtein) wrote :
tags: removed: need-duplicate-check
Changed in apt-clone (Ubuntu):
importance: Undecided → Medium
Colin Watson (cjwatson)
information type: Private → Public
Colin Watson (cjwatson)
Changed in apt-clone (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-clone - 0.3.1~ubuntu4

---------------
apt-clone (0.3.1~ubuntu4) raring; urgency=low

  * Make better use of context managers, fixing various resource leaks.
  * Remove unused imports from tests.
  * Use logging.warning rather than the deprecated logging.warn.
  * Skip TestCloneUpgrade.test_clone_upgrade_regression; this is a
    regression test against a tarball created based on a specific (now
    obsolete) version of Ubuntu, and will need considerable effort to
    update.
  * Make TestCloneUpgrade.test_clone_upgrade_synthetic perform a
    clone-upgrade between the last two supported releases of Ubuntu, rather
    than hardcoding maverick and natty (LP: #1112472).
  * Don't leak a temporary directory from AptClone.simulate_restore_state.
  * Don't leak temporary directories from TestCloneUpgrade.
  * If no command is specified on the command line, fail cleanly with an
    error message rather than crashing (LP: #1111115).
 -- Colin Watson <email address hidden> Fri, 15 Feb 2013 22:45:32 +0000

Changed in apt-clone (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.