[Bug 892622] Re: bzr selftest crashed with ImportError: cannot import name Feature

Matt Giuca 892622 at bugs.launchpad.net
Sun Nov 20 02:17:26 UTC 2011


Thanks Martin. I'm using bzr fastimport from the Natty packages, so that
would explain it (different versions). For now, I just ran apt-get
remove bzr-fastimport. Now the test suite works.

I'll leave this bug open so you can decide whether you want to address
it or just leave it (since presumably the new version of Bazaar and the
new version of bzr-fastimport are compatible).

-- 
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/892622

Title:
  bzr selftest crashed with ImportError: cannot import name Feature

Status in Bazaar Version Control System:
  In Progress
Status in “bzr” package in Ubuntu:
  Won't Fix

Bug description:
  Trying to run the bzr test suite from trunk. It no longer runs for me
  (on a fresh branch, after building), crashing with "cannot import name
  Feature".

  This was introduced in trunk r6043 (more specifically, r5967.12.1). If
  I run selftest on r6042 or r5967, it is fine. r6043 or r5967.12.1 both
  cause this error.

  To reproduce:
  $ bzr branch lp:bzr test-trunk
  $ cd test-trunk
  $ ./setup.py build
  $ ./bzr selftest

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: bzr 2.3.4-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-12.51-generic 2.6.38.8
  Uname: Linux 2.6.38-12-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  BzrDebugFlags: set()
  BzrVersion: 2.5.0dev1
  CommandLine: ['./bzr', 'selftest']
  CrashDb: bzr
  Date: Sun Nov 20 10:52:32 2011
  EcryptfsInUse: Yes
  ExecutablePath: /home/matt/src-pkg/bzr/oldtrunk/bzr
  FileSystemEncoding: UTF-8
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  InterpreterPath: /usr/bin/python2.7
  Locale: en_AU.UTF-8
  PackageArchitecture: all
  Platform: Linux-2.6.38-12-generic-i686-with-Ubuntu-11.04-natty
  ProcCmdline: python ./bzr selftest
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_AU.UTF-8
   LANGUAGE=en_AU:en
  PythonVersion: 2.7.1
  SourcePackage: bzr
  Title: bzr crashed with ImportError in /usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/tests/__init__.py: cannot import name Feature
  UpgradeStatus: Upgraded to natty on 2011-04-29 (204 days ago)
  UserEncoding: UTF-8
  UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare

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




More information about the foundations-bugs mailing list