error (bad message) when committing

Martin Pool mbp at canonical.com
Thu Nov 25 03:47:34 GMT 2010


On 25 November 2010 08:51, Matt Funk <mafunk at nmsu.edu> wrote:
> Hi,
>
> i am using bazaar on a windows to windows system as a checkout.
> I installed a freesshd server on windows system 1 and checked out and
> developed on windows system 2.
> Now i would like to commit the changes back to windows system 1.
>
> I do: bzr commit -m "my message" -Derror
> i get a prompt from the ssh server and type my password. After that bzr
> gives me the following:
>
> Authentication (password) successful!
> Secsh channel 1 opened.
> [chan 1] Opened sftp connection (server version 3)
> bzr: ERROR: exceptions.IOError: Bad message
>
> Traceback (most recent call last):
>  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
>  File "bzrlib\commands.pyo", line 1112, in run_bzr
>  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
>  File "bzrlib\commands.pyo", line 705, in run
>  File "bzrlib\cleanup.pyo", line 135, in run_simple
>  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
>  File "bzrlib\builtins.pyo", line 3200, in run
>  File "bzrlib\decorators.pyo", line 194, in write_locked
>  File "bzrlib\workingtree_4.pyo", line 197, in commit
>  File "bzrlib\decorators.pyo", line 194, in write_locked
>  File "bzrlib\mutabletree.pyo", line 201, in commit
>  File "bzrlib\commit.pyo", line 286, in commit
>  File "bzrlib\cleanup.pyo", line 131, in run
>  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
>  File "bzrlib\commit.pyo", line 360, in _commit
>  File "bzrlib\commit.pyo", line 529, in _check_bound_branch
>  File "bzrlib\branch.pyo", line 2452, in lock_write
>  File "bzrlib\lockable_files.pyo", line 187, in lock_write
>  File "bzrlib\lockdir.pyo", line 648, in lock_write
>  File "bzrlib\lockdir.pyo", line 563, in wait_lock
>  File "bzrlib\lockdir.pyo", line 524, in attempt_lock
>  File "bzrlib\lockdir.pyo", line 230, in _attempt_lock
>  File "bzrlib\transport\sftp.pyo", line 746, in rename
>  File "bzrlib\transport\sftp.pyo", line 721, in _translate_io_exception
> IOError: Bad message
>
>
> Does anyone know what is going on? Is this a user error?
> Any help would be appreciated.

It seems to mean we got a message from the sftp server that we
couldn't understand.  It could be a bug in bzr, in paramiko (the
client sftp library we use) or your server.  Can you please file a bug
in <https://bugs.edge.launchpad.net/bzr/+filebug>.  Running bzr over
ssh rather using sftp may avoid the problem.

-- 
Martin



More information about the bazaar mailing list