[Bug 809048] Re: bzr crashed with AttributeError in stopTest(): '_TypeEqualityDict' object has no attribute 'clear'

Andrew Bennetts andrew.bennetts at canonical.com
Mon Jul 11 23:21:59 UTC 2011


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).

** Also affects: bzr
   Importance: Undecided
       Status: New

** Changed in: bzr
   Importance: Undecided => High

** Changed in: bzr
       Status: New => Confirmed

** Changed in: bzr
     Assignee: (unassigned) => canonical-bazaar (canonical-bazaar)

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

Title:
  bzr crashed with AttributeError in stopTest(): '_TypeEqualityDict'
  object has no attribute 'clear'

Status in Bazaar Version Control System:
  Confirmed
Status in “bzr” package in Ubuntu:
  New

Bug description:
  Getting this error when trying to compile cia-clients

  https://bugs.launchpad.net/bugs/808749

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: bzr 2.4.0~beta4-4ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-4.5-generic 3.0.0-rc6
  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
  PackageArchitecture: all
  Platform: Linux-3.0.0-4-generic-x86_64-with-Ubuntu-11.10-oneiric
  ProcCmdline: /usr/bin/python /usr/bin/bzr selftest -v -s bp.cia
  ProcEnviron:
   SHELL=/bin/bash
   LC_MESSAGES=nl_BE.utf8
   LANG=nl_BE.UTF-8
   LANGUAGE=nl_BE:nl:en_GB:en
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/809048/+subscriptions




More information about the foundations-bugs mailing list