Tahoe, the Lovely Accessible File System

Comment 29 for bug 294709

Nikky (nick83ola) wrote :

This bug also affects me

bzr --version
Bazaar (bzr) 2.3b1
  Python interpreter: /usr/bin/python 2.6.5
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.32-25-generic-x86_64-with-Ubuntu-10.04-lucid
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib

The error that return the ftp server is 451
and the bzrlib ftp layer cannot detect it

the file attached is my .bzr-log (i removed ftp address and password and my home address for security....)

the relevant lines are

9.816 FTP stat: /htdocs/.bzr/repository
10.045 FTP get: /htdocs/.bzr/repository/pack-names
10.333 FTP rm: /htdocs/.bzr/repository/no-working-trees
10.393 FTP get: /htdocs/.bzr/repository/pack-names
10.693 Using fetch logic to copy between CHKInventoryRepository('file://~/www-data/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('ftp://ftp.ciccio.com/htdocs/.bzr/repository/')(RepositoryFormat2a())
10.695 FTP put: /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack
11.164 FTP has check: z1lkk39vtt2ohonyndb1.pack => /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack
11.221 FTP has: /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack
11.278 FTP appe to /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack
11.279 FTP appe (try 0) to /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack
[ 4808] 2010-10-12 06:33:27.985 WARNING: FTP temporary error: 451 /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack: Append/Restart not permitted, try again. Retrying.
11.452 Constructing FTP instance against ('ftp.ciccio.com', None, '++++++++', '********', False)
11.863 FTP appe (try 1) to /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack
[ 4808] 2010-10-12 06:33:28.569 WARNING: FTP temporary error: 451 /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack: Append/Restart not permitted, try again. Retrying.
12.036 Constructing FTP instance against ('ftp.ciccio.com', None, '++++++++', '********', False)
12.449 FTP appe (try 2) to /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack
[ 4808] 2010-10-12 06:33:29.156 WARNING: FTP temporary error: 451 /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack: Append/Restart not permitted, try again. Retrying.
12.623 Constructing FTP instance against ('ftp.ciccio.com', None, '++++++++', '********', False)
13.048 FTP appe (try 3) to /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack
13.339 Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 912, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 690, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1118, in run
    use_existing_dir=use_existing_dir)
  File "/usr/lib/python2.6/dist-packages/bzrlib/push.py", line 90, in _show_push_branch
    create_prefix=create_prefix, use_existing_dir=use_existing_dir)
  File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 1394, in create_clone_on_transport
    create_prefix=create_prefix, use_existing_dir=use_existing_dir)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 246, in clone_on_transport
    result_repo.fetch(local_repo, fetch_spec=fetch_spec)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 1741, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 3454, in fetch
    find_ghosts=find_ghosts)
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 73, in __init__
    self.__fetch()
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 99, in __fetch
    self._fetch_everything_for_search(search)
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 127, in _fetch_everything_for_search
    stream, from_format, [])
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4281, in insert_stream
    self.target_repo.start_write_group()
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 1817, in start_write_group
    self._start_write_group()
  File "/usr/lib/python2.6/dist-packages/bzrlib/repofmt/pack_repo.py", line 2310, in _start_write_group
    self._pack_collection._start_write_group()
  File "/usr/lib/python2.6/dist-packages/bzrlib/repofmt/pack_repo.py", line 2075, in _start_write_group
    file_mode=self.repo.bzrdir._get_file_mode())
  File "/usr/lib/python2.6/dist-packages/bzrlib/repofmt/groupcompress_repo.py", line 156, in __init__
    self._writer.begin()
  File "/usr/lib/python2.6/dist-packages/bzrlib/pack.py", line 129, in begin
    self.write_func(self._serialiser.begin())
  File "/usr/lib/python2.6/dist-packages/bzrlib/pack.py", line 132, in write_func
    self._write_func(bytes)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repofmt/groupcompress_repo.py", line 149, in _write_data
    _write(bytes)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 267, in write
    self.transport.append_bytes(self.relpath, bytes)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1014, in append_bytes
    return self.append_file(relpath, StringIO(bytes), mode=mode)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/ftp/__init__.py", line 427, in append_file
    self._try_append(relpath, text, mode)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/ftp/__init__.py", line 467, in _try_append
    self._try_append(relpath, text, mode, retries+1)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/ftp/__init__.py", line 467, in _try_append
    self._try_append(relpath, text, mode, retries+1)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/ftp/__init__.py", line 467, in _try_append
    self._try_append(relpath, text, mode, retries+1)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/ftp/__init__.py", line 463, in _try_append
    % abspath, orig_error=e)
TransportError: Transport error: FTP temporary error during APPEND /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack. Aborting. 451 /htdocs/.bzr/repository/upload/z1lkk39vtt2ohonyndb1.pack: Append/Restart not permitted, try again

13.340 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
13.340 return code 3