Problem pushing my repository

HyperQuantum hyperquantum at gmail.com
Wed Dec 19 13:54:40 GMT 2007


On Dec 19, 2007 4:44 AM, Alexander Belchenko <bialix at ukr.net> wrote:

> HyperQuantum пишет:
>
> > I am reusing this thread as I tried to use FTP again, this time with a
> > different ISP. But it seems that it still doesn't work:
> >
> > $ bzr push --remember --create-prefix
> > 'ftp://hyperquantum@users.edpnet.be/www/hyper/bzr/hyper-main'
> > FTP hyperquantum at users.edpnet.be password:
> > bzr: ERROR: Cannot lock
> > LockDir(ftp://hyperquantum@users.edpnet.be/www/hyper/bzr/hyper-main/.bzr/branch-lock):
> > Generic path error:
> > '/www/hyper/bzr/hyper-main/.bzr/branch-lock/do03oyputx.tmp/info': :
> > unable to rename to
> > u'/www/hyper/bzr/hyper-main/.bzr/branch-lock/do03oyputx.tmp/tmp.info.1197818844.412997961.29050.b9sxrdz6oh':
> > 550 RNFR command failed.)
> >
> > Bzr version is 1.0.0. I found a bug that looks related but it should
> > be already fixed: https://bugs.launchpad.net/bzr/+bug/129786
> > Am I doing something wrong here or is FTP really unusable with bzr?
>
> May be it's just regression. Can you show relevant part of .bzr.log? There should be full python
> traceback that points to the place in the code where generic path error raised.

bzr arguments: [u'push', u'--remember', u'--create-prefix',
u'ftp://hyperquantum@users.edpnet.be/www/hyper/bzr/hyper-main']
looking for plugins in /home/kevin/.bazaar/plugins
looking for plugins in /usr/lib/python2.4/site-packages/bzrlib/plugins
Plugin name __init__ already loaded
Plugin name __init__ already loaded
encoding stdout as sys.stdout encoding 'UTF-8'
FTP get: /www/hyper/bzr/hyper-main/.bzr/branch-format
Constructing FTP instance against ('users.edpnet.be', None,
'hyperquantum', '********', False)
encoding stdout as sys.stdout encoding 'UTF-8'
FTP mkd: /www/hyper/bzr/hyper-main
FTP mkd: /www/hyper/bzr/hyper-main
unable to understand error for path: /www/hyper/bzr/hyper-main: 550
Create directory operation failed.
FTP stat: /www/hyper/bzr/hyper-main
FTP mkd: /www/hyper/bzr/hyper-main/.bzr
created control directory in
ftp://hyperquantum@users.edpnet.be/www/hyper/bzr/hyper-main/
FTP stat: /www/hyper/bzr/hyper-main/.bzr
FTP mkd: /www/hyper/bzr/hyper-main/.bzr/branch-lock
FTP mkd: /www/hyper/bzr/hyper-main/.bzr/branch-lock/do03oyputx.tmp
FTP put: /www/hyper/bzr/hyper-main/.bzr/branch-lock/do03oyputx.tmp/info
unable to understand error for path:
/www/hyper/bzr/hyper-main/.bzr/branch-lock/do03oyputx.tmp/info: 550
RNFR command failed.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line
802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line
758, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line
492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 783, in run
    revision_id=br_from.last_revision())
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 183,
in clone_on_transport
    result = self._format.initialize_on_transport(transport)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 1387,
in initialize_on_transport
    control_files.lock_write()
  File "/usr/lib/python2.4/site-packages/bzrlib/lockable_files.py",
line 230, in lock_write
    token_from_lock = self._lock.lock_write(token=token)
  File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 563,
in lock_write
    return self.wait_lock()
  File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 492,
in wait_lock
    return self.attempt_lock()
  File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 458,
in attempt_lock
    return self._attempt_lock()
  File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 225,
in _attempt_lock
    raise LockFailed(self, e)
LockFailed: Cannot lock
LockDir(ftp://hyperquantum@users.edpnet.be/www/hyper/bzr/hyper-main/.bzr/branch-lock):
Generic path error:
'/www/hyper/bzr/hyper-main/.bzr/branch-lock/do03oyputx.tmp/info': :
unable to rename to
u'/www/hyper/bzr/hyper-main/.bzr/branch-lock/do03oyputx.tmp/tmp.info.1197818844.412997961.29050.b9sxrdz6oh':
550 RNFR command failed.)

return code 3


More information about the bazaar mailing list