Comment 6 for bug 528041

Revision history for this message
Daniel Schwartz-Narbonne (dstwo) wrote : Re: [Bug 528041] Re: bzr: ERROR: exceptions.AssertionError: _remember_remote_is_before((2, 1)) called, but _remember_remote_is_before((1, 6)) was called previously.

I worked around this by switching to sftp instead of ssh+bzr.

Daniel

On Tue, Mar 16, 2010 at 10:48 AM, Greg Grossmeier <email address hidden> wrote:
> Just curious, can this bug be worked around by upgrading the remote's
> version of bzr to something newer (currently 1.5-1.1 [lenny]) ? Or do I
> have to wait for a fix for this specific issue?
>
> --
> bzr: ERROR: exceptions.AssertionError: _remember_remote_is_before((2, 1)) called, but _remember_remote_is_before((1, 6)) was called previously.
> https://bugs.launchpad.net/bugs/528041
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in Bazaar Version Control System: Confirmed
>
> Bug description:
> I was pushing a branch to a remote location and encountered this exception.
>
> local bzr: 2.1.0-1 (lucid)
> remote bzr: 1.5-1.1 (lenny)
>
> [note: I tried to have apport submit the .crash file, but it gave me a "This problem report applies to a program which is not installed any more." error, obviously wrong]
>
> Traceback:
>  Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
>     return the_callable(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
>     ret = run(*run_argv)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
>     return self.run_direct(**all_cmd_args)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
>     return self._operation.run_simple(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
>     self.cleanups, self.func, *args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
>     result = func(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1146, in run
>     use_existing_dir=use_existing_dir)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/push.py", line 83, in _show_push_branch
>     dir_to = bzrdir.BzrDir.open_from_transport(to_transport)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 878, in open_from_transport
>     return format.open(transport, _found=True)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 2088, in open
>     return self._open(transport)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 3327, in _open
>     return remote.RemoteBzrDir(transport, self)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/remote.py", line 115, in __init__
>     self._probe_bzrdir()
>   File "/usr/lib/python2.6/dist-packages/bzrlib/remote.py", line 130, in _probe_bzrdir
>     medium._remember_remote_is_before((2, 1))
>   File "/usr/lib/python2.6/dist-packages/bzrlib/smart/medium.py", line 615, in _remember_remote_is_before
>     % (version_tuple, self._remote_version_is_before))
>  AssertionError: _remember_remote_is_before((2, 1)) called, but _remember_remote_is_before((1, 6)) was called previously.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/bzr/+bug/528041/+subscribe
>