apt-clone crashed with AttributeError in __main__: 'Namespace' object has no attribute 'command'
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
ProcVersionSign
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
PackageArchitec
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/
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/
if args.command == "info":
AttributeError: 'Namespace' object has no attribute 'command'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
tags: | removed: need-duplicate-check |
Changed in apt-clone (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in apt-clone (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | New → Fix Committed |
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. e.test_ clone_upgrade_ regression; this is a e.test_ clone_upgrade_ synthetic perform a simulate_ restore_ state.
* Remove unused imports from tests.
* Use logging.warning rather than the deprecated logging.warn.
* Skip TestCloneUpgrad
regression test against a tarball created based on a specific (now
obsolete) version of Ubuntu, and will need considerable effort to
update.
* Make TestCloneUpgrad
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.
* 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