bzr crashed with NoSuchRevision in _iter_inventories(): CHKInventoryRepository('file:///home/username/dspace/repo/.bzr/repository/') has no revision ('<email address hidden>',)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Incomplete
|
Undecided
|
Unassigned | ||
bzr (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
It happens when running 'bzr check' on a branch that seems to be corrupted after a power cut (I think) in the middle of a commit or soon thereafter.
I was trying to solve a problem with Bazaar Explorer which was showing this error:
bzr: ERROR: bzrlib.
[...]
Also from command line:
$ bzr update
bzr: ERROR: Revisions have no common ancestor: <email address hidden> <email address hidden>
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: bzr 2.4.2-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-15-
ApportVersion: 1.23-0ubuntu4
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.4.2
CommandLine: ['/usr/bin/bzr', 'check']
CrashDb: bzr
Date: Thu Jan 19 13:11:45 2012
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
InterpreterPath: /usr/bin/python2.7
Locale: ca_ES.UTF-8
PackageArchitec
Platform: Linux-3.
ProcCmdline: /usr/bin/python /usr/bin/bzr check
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=ca_ES.UTF-8
LANGUAGE=
PythonVersion: 2.7.2
SourcePackage: bzr
Title: bzr crashed with NoSuchRevision in _iter_inventori
UpgradeStatus: Upgraded to oneiric on 2011-11-04 (76 days ago)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
tags: | removed: need-duplicate-check |
Changed in bzr (Ubuntu): | |
importance: | Undecided → Medium |
I've just noticed what may be the cause of the problem. It says:
[...] CHKInventoryRep ository( 'file:/ //home/ username/ dspace/ repo/.bzr/ repository/ ') [...]
Instead of '/home/username', it should say '/home/alexm'.