KeyError when aborting pack repo write group

Bug #191572 reported by Adrian Wilkins
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

D:\bzr\mim>bzr pull svn+http://commsg1lds/svn/mim/trunk
bzr: ERROR: exceptions.KeyError: u'file:///D:/bzr/mim/.bzr/repository/upload/js49ppxas9s7n47290uk.pack'

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\bzrlib\commands.py", line 806, in run_bzr_catch_errors
    return run_bzr(argv)
  File "C:\Python25\Lib\site-packages\bzrlib\commands.py", line 762, in run_bzr
    ret = run(*run_argv)
  File "C:\Python25\Lib\site-packages\bzrlib\commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "C:\Python25\Lib\site-packages\bzrlib\builtins.py", line 646, in run
    possible_transports=possible_transports)
  File "C:\Python25\Lib\site-packages\bzrlib\decorators.py", line 167, in write_locked
    self.unlock()
  File "C:\Python25\Lib\site-packages\bzrlib\workingtree_4.py", line 1134, in unlock
    self.branch.unlock()
  File "C:\Python25\Lib\site-packages\bzrlib\branch.py", line 1366, in unlock
    self.repository.unlock()
  File "C:\Python25\Lib\site-packages\bzrlib\repofmt\pack_repo.py", line 2005, in unlock
    self.abort_write_group()
  File "C:\Python25\Lib\site-packages\bzrlib\repository.py", line 482, in abort_write_group
    self._abort_write_group()
  File "C:\Python25\Lib\site-packages\bzrlib\repofmt\pack_repo.py", line 1847, in _abort_write_group
    self._pack_collection._abort_write_group()
  File "C:\Python25\Lib\site-packages\bzrlib\repofmt\pack_repo.py", line 1651, in _abort_write_group
    self._new_pack.abort()
  File "C:\Python25\Lib\site-packages\bzrlib\repofmt\pack_repo.py", line 318, in abort
    self.write_stream.close()
  File "C:\Python25\Lib\site-packages\bzrlib\transport\__init__.py", line 281, in close
    del _file_streams[self.transport.abspath(self.relpath)]
KeyError: u'file:///D:/bzr/mim/.bzr/repository/upload/js49ppxas9s7n47290uk.pack'

bzr 1.1.0 on python 2.5.1.final.0 (win32)
arguments: ['C:\\Python25\\Scripts\\bzr', 'pull', 'svn+http://commsg1lds/svn/mim/trunk']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  difftools d:\Documents and Settings\adwi2\Application Data\bazaar\2.0\plugins\difftools [0.91.0]
  gtk d:\Documents and Settings\adwi2\Application Data\bazaar\2.0\plugins\gtk [0.94.0dev0]
  launchpad C:\Python25\lib\site-packages\bzrlib\plugins\launchpad [unknown]
  multiparent C:\Python25\lib\site-packages\bzrlib\plugins\multiparent.pyc [unknown]
  svn d:\Documents and Settings\adwi2\Application Data\bazaar\2.0\plugins\svn [0.4.7]
  xml d:\Documents and Settings\adwi2\Application Data\bazaar\2.0\plugins\xml [0.4.1]
*** 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.

Tags: packs
Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :
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.