traceback when importing svn tree: 'NoneType' object has no attribute 'splitlines'

Bug #177383 reported by David Cournapeau
4
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

When importing a svn repository, I get the following traceback:

bzr arguments: [u'svn-import', u'--prefix=branches', u'http://svn.scipy.org/svn/numpy', u'numpyrep/']
looking for plugins in /home/david/.bazaar/plugins
looking for plugins in /usr/lib/python2.5/site-packages/bzrlib/plugins
Plugin name __init__ already loaded
Plugin name __init__ already loaded
encoding stdout as sys.stdout encoding 'UTF-8'
original part changed for 'bzr:revision-id:v3-trunk0' between branches/numpy.scons:4531 -> branches/numpy.scons:4532
original part changed for 'bzr:revision-id:v3-trunk0' between branches/numpy.scons:4531 -> branches/numpy.scons:4532
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 768, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/david/.bazaar/plugins/svn/__init__.py", line 211, in run
    trees, all, filter_branch=filter_branch)
  File "/home/david/.bazaar/plugins/svn/convert.py", line 147, in convert_repository
    inter.fetch(branches=[source_repos.generate_revision_id(revnum, branch, str(source_repos.get_scheme())) for (branch, revnum) in existing_branches])
  File "/home/david/.bazaar/plugins/svn/fetch.py", line 689, in fetch
    self._fetch_switch(needed, pb, lhs_parent)
  File "/home/david/.bazaar/plugins/svn/fetch.py", line 646, in _fetch_switch
    reporter.finish_report(pool)
  File "/home/david/.bazaar/plugins/svn/errors.py", line 97, in convert
    return unbound(*args, **kwargs)
  File "/home/david/.bazaar/plugins/svn/transport.py", line 259, in finish_report
    self._baton, pool)
  File "/var/lib/python-support/python2.5/libsvn/ra.py", line 740, in svn_ra_reporter2_invoke_finish_report
    return apply(_ra.svn_ra_reporter2_invoke_finish_report, args)
  File "/home/david/.bazaar/plugins/svn/fetch.py", line 265, in change_dir_prop
    self._bzr_merges = parse_merge_property(value.splitlines()[-1])
AttributeError: 'NoneType' object has no attribute 'splitlines'

With bzr 1.0.0 and last bzr-svn (rev 803 from launchpad, main branch). The error appears when importing numpy repository (http://svn.scipy.org/svn/numpy), but pretty late (after sucessfully importing the trunk).

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

Somebody removed the bzr properties on a Subversion branch in the repository in revision 4532:

------------------------------------------------------------------------
r4532 | cdavid | 2007-12-04 05:04:46 +0100 (Di, 04 Dez 2007) | 1 line
Geänderte Pfade:
   M /branches/numpy.scons

removed junk svn properties related to bzr
------------------------------------------------------------------------

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.