Crash when connection times out

Bug #491257 reported by Andrew Fenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr Upload plugin
New
Undecided
Unassigned

Bug Description

I experienced this crash when in the middle of using bzr upload..

Uploading c5/concrete/blocks/survey/auto.js
bzr: ERROR: socket.error: (110, 'Connection timed out')

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/afenn/.bazaar/plugins/upload/__init__.py", line 618, in run
    uploader.upload_tree()
  File "/home/afenn/.bazaar/plugins/upload/__init__.py", line 441, in upload_tree
    self.upload_full_tree()
  File "/home/afenn/.bazaar/plugins/upload/__init__.py", line 423, in upload_full_tree
    self.upload_file_robustly(relpath, ie.file_id)
  File "/home/afenn/.bazaar/plugins/upload/__init__.py", line 321, in upload_file_robustly
    self.upload_file(relpath, id, mode)
  File "/home/afenn/.bazaar/plugins/upload/__init__.py", line 300, in upload_file
    self.to_transport.put_bytes(relpath, self.tree.get_file_text(id), mode)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 874, in put_bytes
    return self.put_file(relpath, StringIO(bytes), mode=mode)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/ftp/__init__.py", line 315, in put_file
    f.storbinary('STOR '+tmp_abspath, fp)
  File "/usr/lib/python2.5/ftplib.py", line 426, in storbinary
    conn = self.transfercmd(cmd)
  File "/usr/lib/python2.5/ftplib.py", line 356, in transfercmd
    return self.ntransfercmd(cmd, rest)[0]
  File "/usr/lib/python2.5/ftplib.py", line 324, in ntransfercmd
    conn.connect(sa)
  File "<string>", line 1, in connect
error: (110, 'Connection timed out')

bzr 2.0.2 on python 2.5.2 (Linux-2.6.24-19-server-i686-with-debian-lenny-sid)
arguments: ['/usr/bin/bzr', 'upload', 'ftp://LRbeta:l4ndau@85.118.6.198/sandbox']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [2.0.2]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.0.2]
  pushandup /home/afenn/.bazaar/plugins/pushandup [0.2.0dev]
  upload /home/afenn/.bazaar/plugins/upload [1.0.0dev]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Andrew Fenn (andrewfenn) wrote :

Here is my bzr version..

Bazaar (bzr) 2.0.2
  Python interpreter: /usr/bin/python 2.5.2
  Python standard library: /usr/lib/python2.5
  Platform: Linux-2.6.24-19-server-i686-with-debian-lenny-sid
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/afenn/.bazaar
  Bazaar log file: /home/afenn/.bzr.log

Here is my bzr plugins..

launchpad 2.0.2
    Launchpad.net integration plugin for Bazaar.

netrc_credential_store 2.0.2
    Use ~/.netrc as a credential store for authentication.conf.

pushandup 0.2.0dev
    A plugin for pushing and updating a remote repository.

upload 1.0.0dev
    Upload a working tree, incrementally.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.