bzr upgrade failure

Josh Matthews mrlachatte at gmail.com
Tue Apr 3 02:49:51 BST 2007


I grabbed 0.15final for my Windows 2000 SP4 machine, and tried to 
upgrade a branch:

$ bzr upgrade
starting upgrade of file:///C:/dev/poke/pokepoke-guichan/
making backup of tree history
file:///C:/dev/poke/pokepoke-guichan/.bzr has been backed up to 
file:///C:/dev/poke/pokepoke-guichan/.bzr.backup
if conversion fails, you can move this directory back to .bzr
if it succeeds, you can remove this directory if you wish
bzr: ERROR: exceptions.NotImplementedError: We must have one of fcntl, 
pywin32, or ctypes available to support OS locking.

Traceback (most recent call last):
   File "c:\python24\Lib\site-packages\bzrlib\commands.py", line 650, in 
run_bzr_catch_errors
     return run_bzr(argv)
   File "c:\python24\Lib\site-packages\bzrlib\commands.py", line 612, in 
run_bzr
     ret = run(*run_argv)
   File "c:\python24\Lib\site-packages\bzrlib\commands.py", line 304, in 
run_argv_aliases
     return self.run(**all_cmd_args)
   File "c:\python24\Lib\site-packages\bzrlib\builtins.py", line 2178, 
in run
     upgrade(url, format)
   File "c:\python24\Lib\site-packages\bzrlib\upgrade.py", line 80, in 
upgrade
     Convert(url, format)
   File "c:\python24\Lib\site-packages\bzrlib\upgrade.py", line 38, in 
__init__
     self.convert()
   File "c:\python24\Lib\site-packages\bzrlib\upgrade.py", line 66, in 
convert
     self.bzrdir = converter.convert(self.bzrdir, self.pb)
   File "c:\python24\Lib\site-packages\bzrlib\bzrdir.py", line 2192, in 
convert
     workingtree_4.Converter3to4().convert(tree)
   File "c:\python24\Lib\site-packages\bzrlib\workingtree_4.py", line 
2369, in convert
     self.create_dirstate_data(tree)
   File "c:\python24\Lib\site-packages\bzrlib\workingtree_4.py", line 
2379, in create_dirstate_data
     state = dirstate.DirState.from_tree(tree, local_path)
   File "c:\python24\Lib\site-packages\bzrlib\lazy_import.py", line 96, 
in __getattribute__
     obj = _replace()
   File "c:\python24\Lib\site-packages\bzrlib\lazy_import.py", line 83, 
in _replace
     obj = factory(self, scope, name)
   File "c:\python24\Lib\site-packages\bzrlib\lazy_import.py", line 174, 
in _import
     module = __import__(module_python_path, scope, scope, [member])
   File "c:\python24\Lib\site-packages\bzrlib\dirstate.py", line 213, in ?
     from bzrlib import (
   File "c:\python24\Lib\site-packages\bzrlib\lock.py", line 456, in ?
     raise NotImplementedError(
NotImplementedError: We must have one of fcntl, pywin32, or ctypes 
available to support OS locking.

bzr 0.15.0 on python 2.4.3.final.0 (win32)
arguments: ['c:/python24/scripts/bzr', 'upgrade'] 



-- 
Cheers,
Josh



More information about the bazaar mailing list