'bzr push' crashed: "No such file: '[...]/.bzr/repository/packs/X.pack' "

Bug #308229 reported by Sven Sandberg
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

I got this stack trace when running 'bzr push'. I don't know if it makes any difference, but after I started 'bzr push' and before it returned with error, I ran 'bzr missing --this' in a different terminal.

$ bzr push
Using saved push location: bzr+ssh://<email address hidden>/bzrroot/server/mysql-6.0-bugteam
bzr: ERROR: No such file: '/bzrroot/server/.bzr/repository/packs/259609514ca04d2fe440c7f6dc538bde.pack'

$ tail ~/.bzr.log

Mon 2008-12-15 17:56:24 +0100
0.014 bzr arguments: [u'push']
0.016 looking for plugins in /home/sven/.bazaar/plugins
0.111 looking for plugins in /usr/lib/python2.5/site-packages/bzrlib/plugins
0.112 Plugin name gtk already loaded
0.112 Plugin name bzrtools already loaded
0.120 encoding stdout as sys.stdout encoding 'UTF-8'
0.193 ssh implementation is OpenSSH
3.924 Using fetch logic to copy between KnitPackRepository('file:///home/sven/bzr/.bzr/repository/')(<RepositoryFormatKnitPack1>) and RemoteRepository(bzr+ssh://<email address hidden>/bzrroot/server/.bzr/)(<RemoteRepositoryFormat>)
25.542 Auto-packing repository <bzrlib.repofmt.pack_repo.RepositoryPackCollection object at 0x880776c>, which has 27 pack files, containing 70482 revisions. Packing 13 files into 1 affecting 21 revisions
260.444 Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 913, in run
    use_existing_dir=use_existing_dir)
  File "/usr/lib/python2.5/site-packages/bzrlib/push.py", line 162, in _show_push_branch
    stop_revision=revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1799, in push
    _override_hook_source_branch=_override_hook_source_branch)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 2508, in _run_with_write_locked_target
    result = callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1838, in _push_with_bound_branches
    result = self._basic_push(target, overwrite, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1861, in _basic_push
    graph=graph)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/remote.py", line 1768, in update_revisions
    self.fetch(other, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 286, in fetch
    pb=nested_pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/remote.py", line 838, in fetch
    return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 2880, in fetch
    return self._pack(self.source, self.target, revision_ids)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 2894, in _pack
    self._autopack()
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 3217, in _autopack
    self.target.autopack()
  File "/usr/lib/python2.5/site-packages/bzrlib/remote.py", line 1248, in autopack
    self._real_repository._pack_collection.autopack()
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1312, in autopack
    self._execute_pack_operations(pack_operations)
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1334, in _execute_pack_operations
    self._obsolete_packs(packs)
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1519, in _obsolete_packs
    '../obsolete_packs/' + pack.file_name())
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/remote.py", line 410, in rename
    self._remote_path(rel_to))
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/remote.py", line 167, in _call
    resp = self._call2(method, *args)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/remote.py", line 180, in _call2
    self._translate_error(err, **context)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/remote.py", line 425, in _translate_error
    remote._translate_error(err, path=relpath)
  File "/usr/lib/python2.5/site-packages/bzrlib/remote.py", line 1878, in _translate_error
    raise errors.NoSuchFile(path)
NoSuchFile: No such file: '/bzrroot/server/.bzr/repository/packs/259609514ca04d2fe440c7f6dc538bde.pack'

260.444 return code 3

$ bzr version
Bazaar (bzr) 1.10
  Python interpreter: /usr/bin/python 2.5.2
  Python standard library: /usr/lib/python2.5
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/sven/.bazaar
  Bazaar log file: /home/sven/.bzr.log

Copyright 2005, 2006, 2007, 2008 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

$ bzr plugins
bzrtools 1.10
    Various useful commands for working with bzr.

danny_plugins
    Danny's Plugins

difftools 0.91
    External diff tools plugin for Bazaar

extmerge
    external merge plugin for bzr

gtk 0.96.0.dev.1
    Graphical support for Bazaar using GTK.

launchpad
    Launchpad.net integration plugin for Bazaar.

mysql_merge 0.1
    A merge algorithm which behaves like MySQL expects.

mysql_plugins 0.4.1
    MySQL/Sun org workflow helpers

per_file_remerge
    Recompute a merge, using the per-file graph.

Tags: mysql
Revision history for this message
Martin Pool (mbp) wrote :

Hi,

This is probably a dupe of bug 495000 which is now fixed.

tags: added: mysql
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.