Internal check failed: Newly created pack file has delta references to items not in its repository

Bug #328904 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Triaged
High
Unassigned

Bug Description

Hi,

I just tried this with 1.12rc1:

U:\>

U:\>mkdir johan

U:\>cd johan

U:\johan>bzr log -r -1.. bzr://johanlaptop/Mainline
------------------------------------------------------------
revno: 36
svn revno: 34304 (on /Products/Development/branches/nautilus)
committer: Viden
timestamp: Tue 2009-02-03 07:27:10 +0000
message:
 Incorrect path to test files.

U:\johan>bzr clone bzr://johanlaptop/Mainline
bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Newly
created pack file <bzrlib.repofmt.pack_repo.NewPack object at 0x02CAA6F0>
has de
lta references to items not in its repository:
{'texts':
[('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk
:GFL%2FTest%2FOrthoCalculatorTest.cpp',
           '<email address hidden>'),

('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk:
GFL%2FTest%2FTest%20-%20VC9.vcproj',
           '<email address hidden>'),

('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk:
Geo%2FSrc%2FGComm%2FGComm%20-%20VC9.vcproj',
           '<email address hidden>'),

('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk:
Geo%2FSrc%2FGDoc%2FGDoc%20-%20VC9.vcproj',
           '<email address hidden>'),

('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk:
Geo%2FSrc%2FRegressionTest%2Ftests%2FSlopingStrategyTest.cpp',
           '<email address hidden>'),
          ('bzrignore-20090114084703-s28b7zzruenjhkhh-1',
           '<email address hidden>')]}

Traceback (most recent call last):
 File "bzrlib\commands.pyo", line 893, in run_bzr_catch_errors
 File "bzrlib\commands.pyo", line 839, in run_bzr
 File "bzrlib\commands.pyo", line 539, in run_argv_aliases
 File "bzrlib\builtins.pyo", line 1045, in run
 File "bzrlib\bzrdir.pyo", line 1116, in sprout
 File "bzrlib\repository.pyo", line 1118, in fetch
 File "bzrlib\repository.pyo", line 3379, in fetch
 File "bzrlib\decorators.pyo", line 192, in write_locked
 File "bzrlib\repository.pyo", line 2985, in fetch
 File "bzrlib\repository.pyo", line 2992, in _pack
 File "bzrlib\repofmt\pack_repo.pyo", line 655, in pack
 File "bzrlib\repofmt\pack_repo.pyo", line 825, in _create_pack_from_packs
 File "bzrlib\repofmt\pack_repo.pyo", line 348, in _check_references
BzrCheckError: Internal check failed: Newly created pack file
<bzrlib.repofmt.pack_repo.NewPack object at 0x02CAA6F0> has delta references
to items no
t in its repository:
{'texts':
[('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk
:GFL%2FTest%2FOrthoCalculatorTest.cpp',
           '<email address hidden>'),

('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk:
GFL%2FTest%2FTest%20-%20VC9.vcproj',
           '<email address hidden>'),

('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk:
Geo%2FSrc%2FGComm%2FGComm%20-%20VC9.vcproj',
           '<email address hidden>'),

('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk:
Geo%2FSrc%2FGDoc%2FGDoc%20-%20VC9.vcproj',
           '<email address hidden>'),

('34110@449023bb-9bb3-8b44-b149-6f0cff02150d:Products%2FDevelopment%2Ftrunk:
Geo%2FSrc%2FRegressionTest%2Ftests%2FSlopingStrategyTest.cpp',
           '<email address hidden>'),
          ('bzrignore-20090114084703-s28b7zzruenjhkhh-1',
           '<email address hidden>')]}

bzr 1.12rc1 on python 2.5.2 (win32)
arguments: ['bzr', 'clone', 'bzr://johanlaptop/Mainline']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
 bzrtools C:\Program Files\Bazaar\plugins\bzrtools [1.12]
 launchpad C:\Program Files\Bazaar\plugins\launchpad [unknown]
 netrc_credential_store C:\Program
Files\Bazaar\plugins\netrc_credential_store [unknown]
 qbzr C:\Program Files\Bazaar\plugins\qbzr [0.9.7]
 svn C:\Program Files\Bazaar\plugins\svn [0.5]
*** Bazaar has encountered an internal error.
   Please report a bug at https://bugs.launchpad.net/bzr/+filebug
   including this traceback, and a description of what you
   were doing when the error occurred.

Do you more information from me?

Revision history for this message
Martin Pool (mbp) wrote : Re: [1.12rc1] bzr clone from a friends laptop fails

Hi Daniel,

Thankyou for the report and sorry for the inconvenience.

I filed a new bug <https://bugs.edge.launchpad.net/bzr/+bug/328904> to
track this.

Can you please run 'bzr info' on your local machine and also "bzr info
bzr://johanlaptop/Mainline? Does cloning from the repository on your
friend's laptop work ok?

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is caused by texts that are part of the current repository but were itself introduced by ghost revisions.

Changed in bzr:
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.