bzr update via ftp: RETR: 'Connection refused'

Andreas Deininger adeininger at googlemail.com
Thu Apr 24 10:31:03 BST 2008


Hi all,

Using bazaar version 1.4rc1, I'm trying to update my local branch via ftp
from a Windows server which runs the Microsoft FTP Service that comes
bundled with IIS 6.0.
An initial contact can be established sucessfully, however afterwards I'm
running in trouble (see .bzr.log below).
Any idea what's going wrong here and how to overcome that problem?

Thanks for your attention

Regards
Andreas

---------
from .bzr.log:

0.125  encoding stdout as sys.stdout encoding 'cp437'
0.125  bzr arguments: [u'up']
0.125  looking for plugins in C:/Documents and
Settings/Andreas/Application Data/bazaar/2.0/plugins
0.125  looking for plugins in C:\Program
Files\Python25\lib\site-packages\bzrlib\plugins
0.125  Plugin name __init__ already loaded
0.125  Plugin name __init__ already loaded
0.218  encoding stdout as sys.stdout encoding 'cp437'
0.296  opening working tree 'E:/xampp-1.6.6/htdocs/Stiegele.eu'
0.312  FTP get: /BZR-Repo/Stiegele.eu/.bzr/branch-format
0.312  Constructing FTP instance against ('xxx.xxx.51.198', None,
'XXXUser', '********', False)
0.328  encoding stdout as sys.stdout encoding 'cp437'
3.978  FTP get: /BZR-Repo/Stiegele.eu/.bzr/branch/format
4.196  FTP stat: /BZR-Repo/Stiegele.eu/.bzr/branch
4.196  FTP get: /BZR-Repo/Stiegele.eu/.bzr/repository/format
4.196  FTP get: /BZR-Repo/.bzr/branch-format
4.414  FTP get: /BZR-Repo/.bzr/repository/format
4.633  FTP stat: /BZR-Repo/.bzr/repository
4.633  FTP get: /BZR-Repo/.bzr/repository/pack-names
4.851  FTP has check: shared-storage => /BZR-Repo/.bzr/repository/shared-storage
4.851  FTP has: /BZR-Repo/.bzr/repository/shared-storage
4.882  FTP get: /BZR-Repo/.bzr/repository/pack-names
5.054  FTP get: /BZR-Repo/Stiegele.eu/.bzr/branch/last-revision
5.226  FTP get: /BZR-Repo/Stiegele.eu/.bzr/branch-format
5.428  FTP get: /BZR-Repo/Stiegele.eu/.bzr/branch/format
5.616  FTP stat: /BZR-Repo/Stiegele.eu/.bzr/branch
5.631  FTP get: /BZR-Repo/Stiegele.eu/.bzr/repository/format
5.647  FTP get: /BZR-Repo/.bzr/branch-format
5.834  FTP get: /BZR-Repo/.bzr/repository/format
6.052  FTP stat: /BZR-Repo/.bzr/repository
6.052  FTP get: /BZR-Repo/.bzr/repository/pack-names
6.255  FTP has check: shared-storage => /BZR-Repo/.bzr/repository/shared-storage
6.255  FTP has: /BZR-Repo/.bzr/repository/shared-storage
6.255  FTP get: /BZR-Repo/.bzr/repository/pack-names
6.427  FTP get: /BZR-Repo/Stiegele.eu/.bzr/branch/last-revision
6.645  Using fetch logic to copy between
KnitPackRepository('ftp://SdsFtpUser@xxx.xxx.51.198/BZR-Repo/.bzr/repository/')(<RepositoryFormatKnitPack1>)
and KnitPackRepository('file:///E:/xampp-1.6.6/htdocs/Stiegele.eu/.bzr/repository/')(<RepositoryFormatKnitPack1>)
6.645  FTP get:
/BZR-Repo/.bzr/repository/indices/e4125d25f983028e59e24d8532e55bb2.rix
6.832  FTP get:
/BZR-Repo/.bzr/repository/indices/d7ac8e28d60353b1fe34cfc73e8ccedd.rix
7.035  FTP get:
/BZR-Repo/.bzr/repository/indices/d55a05c0f908cbbb471b002f014d0996.rix
7.253  FTP get:
/BZR-Repo/.bzr/repository/indices/bab30600a48fc0a388804b0f710e20a8.rix
7.472  FTP get:
/BZR-Repo/.bzr/repository/indices/b6c596e1a4dc37807ec168c4b856e7eb.rix
7.690  FTP get:
/BZR-Repo/.bzr/repository/indices/9e68df5eabc7c356748723815feef696.rix
7.909  FTP get:
/BZR-Repo/.bzr/repository/indices/8fe86827eeaf29b3e553378b5009ed34.rix
8.127  FTP get:
/BZR-Repo/.bzr/repository/indices/8599911d6f9029b55e17f760c584d0c2.rix
8.345  FTP get:
/BZR-Repo/.bzr/repository/indices/4d84825624ff71279e4f34d4da485e79.rix
8.564  FTP get:
/BZR-Repo/.bzr/repository/indices/2ba6e2e7e018b20bcfef3050fec0ca5c.rix
8.782  FTP get:
/BZR-Repo/.bzr/repository/indices/28f476a184c628c08cfb7bad00533a85.rix
9.000  FTP get:
/BZR-Repo/.bzr/repository/indices/0c8f9a7330416f4c52cf12b5a2caf17a.rix
9.219  not updating child fraction
9.219  not updating child fraction
9.219  FTP get:
/BZR-Repo/.bzr/repository/packs/d55a05c0f908cbbb471b002f014d0996.pack
9.437  not updating child fraction
9.437  FTP get:
/BZR-Repo/.bzr/repository/packs/9e68df5eabc7c356748723815feef696.pack
9.656  not updating child fraction
9.656  FTP get:
/BZR-Repo/.bzr/repository/packs/d7ac8e28d60353b1fe34cfc73e8ccedd.pack
9.874  not updating child fraction
9.874  FTP get:
/BZR-Repo/.bzr/repository/packs/8fe86827eeaf29b3e553378b5009ed34.pack
10.092  not updating child fraction
10.092  FTP get:
/BZR-Repo/.bzr/repository/packs/2ba6e2e7e018b20bcfef3050fec0ca5c.pack
10.311  not updating child fraction
10.311  FTP get:
/BZR-Repo/.bzr/repository/packs/8599911d6f9029b55e17f760c584d0c2.pack
10.529  not updating child fraction
10.529  FTP get:
/BZR-Repo/.bzr/repository/packs/28f476a184c628c08cfb7bad00533a85.pack
10.747  not updating child fraction
10.747  FTP get:
/BZR-Repo/.bzr/repository/packs/e4125d25f983028e59e24d8532e55bb2.pack
10.966  not updating child fraction
10.966  not updating child fraction
10.966  FTP get:
/BZR-Repo/.bzr/repository/indices/28f476a184c628c08cfb7bad00533a85.iix
11.184  FTP get:
/BZR-Repo/.bzr/repository/indices/d7ac8e28d60353b1fe34cfc73e8ccedd.iix
11.403  FTP get:
/BZR-Repo/.bzr/repository/indices/bab30600a48fc0a388804b0f710e20a8.iix
11.621  FTP get:
/BZR-Repo/.bzr/repository/indices/d55a05c0f908cbbb471b002f014d0996.iix
12.666  Traceback (most recent call last):
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\commands.py", line 846, in
run_bzr_catch_errors
    return run_bzr(argv)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\commands.py", line 802, in
run_bzr
    ret = run(*run_argv)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\commands.py", line 504, in
run_argv_aliases
    return self.run(**all_cmd_args)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\builtins.py", line 1107, in
run
    possible_transports=possible_transports)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\workingtree.py", line 2172, in
update
    old_tip = self.branch.update(possible_transports)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\decorators.py", line 165, in
write_locked
    return unbound(self, *args, **kwargs)
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\branch.py",
line 1853, in update
    self.pull(master, overwrite=True)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\decorators.py", line 165, in
write_locked
    return unbound(self, *args, **kwargs)
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\branch.py",
line 1765, in pull
    run_hooks=run_hooks)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\decorators.py", line 165, in
write_locked
    return unbound(self, *args, **kwargs)
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\branch.py",
line 1564, in pull
    self.update_revisions(source, stop_revision, overwrite=overwrite)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\decorators.py", line 165, in
write_locked
    return unbound(self, *args, **kwargs)
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\branch.py",
line 1516, in update_revisions
    self.fetch(other, stop_revision)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\decorators.py", line 165, in
write_locked
    return unbound(self, *args, **kwargs)
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\branch.py",
line 268, in fetch
    pb=nested_pb)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\repository.py", line 947, in
fetch
    return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\decorators.py", line 165, in
write_locked
    return unbound(self, *args, **kwargs)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\repository.py", line 2766, in
fetch
    revision_ids).pack()
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\repofmt\pack_repo.py", line
589, in pack
    return self._create_pack_from_packs()
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\repofmt\pack_repo.py", line
721, in _create_pack_from_packs
    self._copy_inventory_texts()
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\repofmt\pack_repo.py", line
644, in _copy_inventory_texts
    total_items, readv_group_iter = self._least_readv_node_readv(inv_nodes)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\repofmt\pack_repo.py", line
870, in _least_readv_node_readv
    nodes = sorted(nodes)
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\index.py",
line 1074, in iter_entries
    for node in index.iter_entries(keys):
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\index.py",
line 479, in iter_entries
    self._lookup_keys_via_location, self._size, keys))
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\bisect_multi.py", line 50, in
bisect_multi_bytes
    search_results = content_lookup(search_keys)
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\index.py",
line 621, in _lookup_keys_via_location
    self._read_and_parse(readv_ranges)
  File "C:\Program Files\Python25\Lib\site-packages\bzrlib\index.py",
line 956, in _read_and_parse
    self._size)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\transport\__init__.py", line
673, in readv
    return self._readv(relpath, offsets)
  File "C:\Program
Files\Python25\Lib\site-packages\bzrlib\transport\__init__.py", line
685, in _readv
    fp = self.get(relpath)
  File "C:\Program
Files\Python25\lib\site-packages\bzrlib\transport\ftp.py", line 249,
in get
    f.retrbinary('RETR '+self._remote_path(relpath), ret.write, 8192)
  File "C:\Program Files\Python25\lib\ftplib.py", line 390, in retrbinary
    conn = self.transfercmd(cmd, rest)
  File "C:\Program Files\Python25\lib\ftplib.py", line 356, in transfercmd
    return self.ntransfercmd(cmd, rest)[0]
  File "C:\Program Files\Python25\lib\ftplib.py", line 324, in ntransfercmd
    conn.connect(sa)
  File "<string>", line 1, in connect
error: (10061, 'Connection refused')

12.682  return code 4



More information about the bazaar mailing list