Stacktrace when checking out from svn

Bug #349877 reported by Reuben Firmin
This bug report is a duplicate of:  Bug #480102: assert len(tview) == tview_len. Edit Remove
4
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Incomplete
Undecided
Jelmer Vernooij

Bug Description

bzr: ERROR: exceptions.AssertionError:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 896, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 842, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 542, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1132, in run
    accelerator_tree, hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/branch.py", line 257, in create_checkout
    hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/branch.py", line 202, in _create_heavyweight_checkout
    checkout_branch.pull(self, stop_revision=revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 2128, in pull
    _override_hook_target=_override_hook_target)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1928, in pull
    graph=graph)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 689, in update_revisions
    self.fetch(other, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 450, in fetch
    pb=nested_pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1118, in fetch
    find_ghosts=find_ghosts)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fetch.py", line 1066, in fetch
    self._fetch_revisions(needed, pb, use_replay=use_replay)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fetch.py", line 1003, in _fetch_revisions
    parent_revmeta)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fetch.py", line 959, in _fetch_revision_switch
    report_inventory_contents(reporter, parent_revnum, start_empty)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fetch.py", line 797, in report_inventory_contents
    reporter.finish()
  File "/usr/lib/python2.5/site-packages/subvertpy/delta.py", line 35, in apply_window
    assert len(tview) == tview_len
AssertionError

bzr 1.12 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'checkout', 'svn+https://subversion.XXX.org/svn/YYY/trunk', 'YYY']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.12]
  extmerge /home/reubenf/.bazaar/plugins/extmerge [unknown]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.5]
  xmloutput /home/reubenf/.bazaar/plugins/xmloutput [0.8.3]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Reuben Firmin (reubenf)
description: updated
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is fixed in newer versions of bzr-svn.

Changed in bzr:
assignee: nobody → jelmer
Changed in bzr-svn:
status: New → Fix Released
Revision history for this message
Reuben Firmin (reubenf) wrote :

Thanks, will this hit the ubuntu repositories anytime soon? If not, how do I get the latest stable plugin?

Revision history for this message
Reuben Firmin (reubenf) wrote :

Can you please supply info on where I can obtain the fix from so as to confirm? Thanks

Changed in bzr-svn:
status: Fix Released → Incomplete
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

You can install the plugin from the bzr branch at http://people.samba.org/bzr/jelmer/bzr-svn/0.5

Revision history for this message
Reuben Firmin (reubenf) wrote :

Thanks. After doing that I get

bzr: ERROR: The API for "<module 'bzrlib' from '/usr/lib/python2.5/site-packages/bzrlib/__init__.py'>" is not compatible with "(1, 13, 0)". It supports versions "(1, 11, 0)" to "(1, 12, 0)".

Do I need to fully upgrade to ubuntu 9.04?

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 349877] Re: Stacktrace when checking out from svn

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reuben Firmin wrote:
> Thanks. After doing that I get
>
> bzr: ERROR: The API for "<module 'bzrlib' from '/usr/lib/python2.5/site-
> packages/bzrlib/__init__.py'>" is not compatible with "(1, 13, 0)". It
> supports versions "(1, 11, 0)" to "(1, 12, 0)".
>
> Do I need to fully upgrade to ubuntu 9.04?
>
You'll need bzr 1.13, which is packaged in Ubuntu Jaunty but also in the
bzr PPA.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iJwEAQECAAYFAknOvacACgkQDLQl4QYPZuUVAQP9FRv6tDq0m1c+P6mCW4Sdvshe
wxkakwDN5SI7er6cd/KeUCi5fRa74fxhi1SRXnA76GdfwPDkNmkoy2/fBLSPYTxx
apj2+NoR7U/udsz12qZnb17hPtFTmvACHvIVFinO3w1kXz9xB0aDXBS9gn5ZDn3c
OCAAOkVEO+pQcHnKOyI=
=9oBc
-----END PGP SIGNATURE-----

Revision history for this message
Reuben Firmin (reubenf) wrote :

Meh, it's "keeping back" 1.13 because of a python dependency. I'll upgrade to Jaunty when I get a chance.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Any chance you can try this again now that jaunty is out?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Or karmic for that matter, now that it's out ? :-)

Revision history for this message
Reuben Firmin (reubenf) wrote :

I think this is because of a broken branch in svn. I ended up deleting the branch altogether, so I can't reproduce this issue anymore. Checkout works fine, but that's not to say this is a triage. :P

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.