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
>
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: AssertionError: _remember_ remote_ is_before( (2, 1)) called, but _remember_ remote_ is_before( (1, 6)) was called previously. /bugs.launchpad .net/bugs/ 528041 python2. 6/dist- packages/ bzrlib/ commands. py", line 853, in exception_ to_return_ code python2. 6/dist- packages/ bzrlib/ commands. py", line 1055, in run_bzr python2. 6/dist- packages/ bzrlib/ commands. py", line 661, in run_argv_aliases direct( **all_cmd_ args) python2. 6/dist- packages/ bzrlib/ commands. py", line 665, in run_direct .run_simple( *args, **kwargs) python2. 6/dist- packages/ bzrlib/ cleanup. py", line 122, in run_simple python2. 6/dist- packages/ bzrlib/ cleanup. py", line 156, in _do_with_cleanups python2. 6/dist- packages/ bzrlib/ builtins. py", line 1146, in run dir=use_ existing_ dir) python2. 6/dist- packages/ bzrlib/ push.py" , line 83, in _show_push_branch BzrDir. open_from_ transport( to_transport) python2. 6/dist- packages/ bzrlib/ bzrdir. py", line 878, in open_from_transport open(transport, _found=True) python2. 6/dist- packages/ bzrlib/ bzrdir. py", line 2088, in open transport) python2. 6/dist- packages/ bzrlib/ bzrdir. py", line 3327, in _open RemoteBzrDir( transport, self) python2. 6/dist- packages/ bzrlib/ remote. py", line 115, in __init__ bzrdir( ) python2. 6/dist- packages/ bzrlib/ remote. py", line 130, in _probe_bzrdir _remember_ remote_ is_before( (2, 1)) python2. 6/dist- packages/ bzrlib/ smart/medium. py", line 615, in _remember_ remote_ is_before version_ is_before) ) remote_ is_before( (2, 1)) called, but _remember_ remote_ is_before( (1, 6)) was called previously. /bugs.launchpad .net/bzr/ +bug/528041/ +subscribe
> 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.
> https:/
> 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/
> return the_callable(*args, **kwargs)
> File "/usr/lib/
> ret = run(*run_argv)
> File "/usr/lib/
> return self.run_
> File "/usr/lib/
> return self._operation
> File "/usr/lib/
> self.cleanups, self.func, *args, **kwargs)
> File "/usr/lib/
> result = func(*args, **kwargs)
> File "/usr/lib/
> use_existing_
> File "/usr/lib/
> dir_to = bzrdir.
> File "/usr/lib/
> return format.
> File "/usr/lib/
> return self._open(
> File "/usr/lib/
> return remote.
> File "/usr/lib/
> self._probe_
> File "/usr/lib/
> medium.
> File "/usr/lib/
> % (version_tuple, self._remote_
> AssertionError: _remember_
>
> To unsubscribe from this bug, go to:
> https:/
>