bzr rspush error with bzrtools 1.10

Joseph Wakeling joseph.wakeling at webdrake.net
Tue Jan 13 15:41:16 GMT 2009


Hello all,

I'm running bzr (and bzrtools) 1.10, both installed from the PPA, on
Intrepid Ibex.

When attempting rspush to a remote machine I get an error with the
following traceback:

----------------------------------------------------------------------
bzr: ERROR: bzrlib.plugins.bzrtools.bzrtools.RsyncStreamIO: Error in
rsync protocol data stream.


Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893,
in run_bzr_catch_errors

    return run_bzr(argv)

  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839,
in run_bzr

    ret = run(*run_argv)

  File
"/usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools/command.py",
line 13, in run_argv_aliases

    commands.Command.run_argv_aliases(self, argv, alias_argv)

  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539,
in run_argv_aliases
    return self.run(**all_cmd_args)
  File
"/usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools/command_classes.py",
line 572, in run
    working_tree=not no_tree)
  File
"/usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools/bzrtools.py",line
326, in rspush
    if not empty_or_absent(push_location):
  File
"/usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools/bzrtools.py",line
266, in empty_or_absent
    files = rsync_ls(location)
  File
"/usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools/bzrtools.py",line
168, in rsync_ls
    raise RsyncStreamIO()
RsyncStreamIO: Error in rsync protocol data stream.

bzr 1.10 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'rspush', 'username at my.server.com:~/prog/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools
/usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.10]
  launchpad
/usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  qbzr
/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr [0.9.5]
  rebase
/usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3]
  svn
/usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.16]
----------------------------------------------------------------------

I can't find a corresponding bug on Launchpad but would like to check
here before filing a report.  Any ideas what's wrong?

Beyond this error, the wider problem is that I'm trying to push a copy
of the code, _with working tree_, to a server that does not have bzr
installed -- I want to get my code from my laptop to my university's
computing cluster, and run it there.  Is there an alternative to rspush?

I've tried,

   bzr checkout . sftp://username@my.server.com/~/prog/

but this stops with an error before the working tree can be populated:

   bzr: ERROR: sftp://username@my.server.com/%7E/prog/.bzr/ is not a
   local path.

Anything else I can do?

Thanks & best wishes,

    -- Joe



More information about the bazaar mailing list