bzr v0.90 socket.error raised

Reg. Charney charney at charneyday.com
Mon Sep 3 03:42:06 BST 2007


I am very new to bzr. I am running Fedora Core 6. The following code 
generates a major failure.

$ bzr version
[reg at regmac-fc6 ~]$ bzr version
Bazaar (bzr) 0.90.0
  Python interpreter: /usr/bin/python 2.4.4.final.0
  Python standard library: /usr/lib/python2.4
  bzrlib: /usr/lib/python2.4/site-packages/bzrlib
  Bazaar configuration: /home/reg/.bazaar
  Bazaar log file: /home/reg/.bzr.log
...
$ mkdir junk, junk2  # two empty subdirectories
$ bzr init junk
$ bzr init junk2
$ cd junk
$ bzr push ftp:///~/junk2

At this point, I got the following dump:

[reg at regmac-fc6 junk]$ ls -al
total 16
drwxrwxr-x  3 reg reg 4096 Sep  2 22:38 .
drwx------ 99 reg reg 4096 Sep  2 22:32 ..
drwxrwxr-x  6 reg reg 4096 Sep  2 22:33 .bzr
[reg at regmac-fc6 junk]$ ls -al ../junk2
total 16
drwxrwxr-x  3 reg reg 4096 Sep  2 22:33 .
drwx------ 99 reg reg 4096 Sep  2 22:32 ..
drwxrwxr-x  6 reg reg 4096 Sep  2 22:33 .bzr
[reg at regmac-fc6 junk]$ bzr push ftp:///~/junk2
bzr: ERROR: socket.gaierror: (-2, 'Name or service not known')

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 817, 
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 779, 
in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 477, 
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 718, 
in run
    dir_to = bzrdir.BzrDir.open_from_transport(to_transport)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 568, in 
open_from_transport
    redirected)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/__init__.py", 
line 1505, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 544, in 
find_format
    return transport, BzrDirFormat.find_format(
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 1249, 
in find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 1259, 
in probe_transport
    format_string = transport.get(".bzr/branch-format").read()
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/ftp.py", line 
236, in get
    f = self._get_FTP()
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/ftp.py", line 
104, in _get_FTP
    connection, credentials = self._create_connection()
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/ftp.py", line 
129, in _create_connection
    connection.connect(host=self._host, port=self._port)
  File "/usr/lib/python2.4/ftplib.py", line 117, in connect
    for res in socket.getaddrinfo(self.host, self.port, 0, 
socket.SOCK_STREAM):
gaierror: (-2, 'Name or service not known')

bzr 0.90.0 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'push', 'ftp:///~/junk2']

Reg. Charney

-- 
The messages and documents transmitted with this notice contain confidential information belonging to the sender. If you are not the intended recipient of this information, you are hereby notified that any disclosure, copying, distribution, or use of the information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately.




More information about the bazaar mailing list