bzr-svn pull crashes (StopIteration)

Bug #497421 reported by Ori Peleg
This bug report is a duplicate of:  Bug #480102: assert len(tview) == tview_len. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

Happened with versions 2.0.3, 2.1.0b3 and 2.1.0b4.
SVN server version is 1.4
Running on 64-bit Windows 7

Using saved parent location: http://user@svn/trunk
HTTP user@svn, Realm: 'Subversion Repository' password:
Upgrade server to svn 1.5 or higher for faster retrieving of revision properties.
bzr: ERROR: exceptions.StopIteration:

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 826, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1027, in run_bzr
  File "bzrlib\commands.pyo", line 638, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 1027, in run
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\workingtree.pyo", line 1614, in pull
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\branch.pyo", line 962, in pull
  File "C:/Program Files (x86)/Bazaar/plugins\svn\branch.py", line 731, in pull
  File "C:/Program Files (x86)/Bazaar/plugins\svn\branch.py", line 666, in update_revisions
  File "C:/Program Files (x86)/Bazaar/plugins\svn\fetch.py", line 1276, in fetch
  File "C:/Program Files (x86)/Bazaar/plugins\svn\fetch.py", line 1206, in _fetch_revisions
  File "C:/Program Files (x86)/Bazaar/plugins\svn\fetch.py", line 1151, in _fetch_revision_switch
  File "C:/Program Files (x86)/Bazaar/plugins\svn\errors.py", line 137, in convert
  File "C:/Program Files (x86)/Bazaar/plugins\svn\fetch.py", line 917, in report_inventory_contents
  File "C:/Program Files (x86)/Bazaar/plugins\svn\fetch.py", line 303, in open_directory
  File "C:/Program Files (x86)/Bazaar/plugins\svn\fetch.py", line 477, in _open_directory
  File "C:/Program Files (x86)/Bazaar/plugins\svn\fetch.py", line 780, in _get_old_id
StopIteration

bzr 2.1.0b4 on python 2.5.4 (Windows-Vista-6.1.7600)
arguments: ['bzr', 'pull']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bisect C:\Users\user\AppData\Roaming\bazaar\2.0\plugins\bisect [1.1.0.pre.0]
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.1.0b1]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [0.10.0]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.1.0b4]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_store [2.1.0b4]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.17.0]
  rebase C:\Program Files (x86)\Bazaar\plugins\rebase [0.5.5]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.0.1]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Program Files (x86)\Bazaar\plugins\xmloutput [0.8.5]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Ori Peleg (orip) wrote :

Debugging with pdb shows that it dies when trying to pull changes to subdir X which it doesn't know about.
There was a commit to svn that doesn't show in the logs. Starting a fresh bzr branch (in a fresh repository) of the svn trunk gives the same error, and misses the same commit.
Is it possible that the bzr properties in svn have been corrupted?

Revision history for this message
Ori Peleg (orip) wrote :

I guess this is a bzr-svn issue only

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.