bzr crashed with AttributeError in stopTest(): '_TypeEqualityDict' object has no attribute 'clear' - breaks bzr selftest on oneiric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Jelmer Vernooij | ||
Python |
Fix Released
|
Unknown
|
|||
bzr (Ubuntu) |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
Getting this error when trying to compile cia-clients
https:/
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: bzr 2.4.0~beta4-
ProcVersionSign
Uname: Linux 3.0.0-4-generic x86_64
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.4b4
CommandLine: ['/usr/bin/bzr', 'selftest', '-v', '-s', 'bp.cia']
CrashDb: bzr
Date: Tue Jul 12 00:29:07 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110119)
InterpreterPath: /usr/bin/python2.7
Locale: nl_BE.UTF-8
PackageArchitec
Platform: Linux-3.
ProcCmdline: /usr/bin/python /usr/bin/bzr selftest -v -s bp.cia
ProcEnviron:
SHELL=/bin/bash
LC_MESSAGES=
LANG=nl_BE.UTF-8
LANGUAGE=
PythonVersion: 2.7.2
SourcePackage: bzr
Title: bzr crashed with AttributeError in stopTest(): '_TypeEqualityDict' object has no attribute 'clear'
UpgradeStatus: Upgraded to oneiric on 2011-06-18 (23 days ago)
UserEncoding: UTF-8
UserGroups: adm admin audio cdrom dialout fuse libvirtd lpadmin netdev plugdev sambashare sbuild video
Related branches
Changed in bzr (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | removed: need-duplicate-check |
Changed in python: | |
status: | Unknown → Fix Released |
Changed in bzr (Ubuntu): | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
summary: |
bzr crashed with AttributeError in stopTest(): '_TypeEqualityDict' - object has no attribute 'clear' + object has no attribute 'clear' - breaks bzr selftest on oneiric |
Changed in bzr: | |
assignee: | canonical-bazaar (canonical-bazaar) → Jelmer Vernooij (jelmer) |
status: | Confirmed → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
oneiric's Python 2.7 is using an (unreleased) version of unittest which changes the behaviour of TestCase. _type_equality_ funcs a little. That's fine, in that it's supposed to be a private variable, but bzr is poking at it to try stop used TestCase instances from wasting memory.
bzr needs to become a little more careful in how it pokes at the private variable, and also be adjusted to poke it slightly differently so it will work with Python 2.7.3 (and oneiric's patched 2.7.2).