internal error on a svn checkout

Bug #314345 reported by Luis Parravicini
4
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Undecided
Jelmer Vernooij

Bug Description

When doing a 'bzr up' on a directory with a subversion checkout bazaar crashes. May be because of the \xc3 in the filename?

Initialising Subversion metadata cache in /home/lparravicini/.bazaar/svn-cache/f92dde8e-63ee-4bc8-91f3-3d2a4095a679
bzr: ERROR: exceptions.KeyError: 'Analisis/autom\xc3\xa1ticas.EAP'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1005, in run
    tree = WorkingTree.open_containing(dir)[0]
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 327, in open_containing
    return control.open_workingtree(), relpath
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/workingtree.py", line 812, in open_workingtree
    return SvnWorkingTree(self, self.local_path, self.open_branch())
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/workingtree.py", line 98, in __init__
    self.base_tree = SvnBasisTree(self)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/tree.py", line 231, in __init__
    workingtree.branch.mapping)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/repository.py", line 399, in get_fileid_map
    return self.fileid_map.get_map(self.uuid, revnum, path, mapping)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fileids.py", line 294, in get_map
    self.actual.update_map(map, revid, idmap, changes)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fileids.py", line 191, in update_map
    delta[p] = map[p][0]
KeyError: 'Analisis/autom\xc3\xa1ticas.EAP'

bzr 1.6.1 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'up']
encoding: 'ISO-8859-1', fsenc: 'ISO-8859-1', lang: 'en_US.ISO-8859-1'
plugins:
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.6.0]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.95.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.13]
*** 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.

Revision history for this message
Luis Parravicini (lparravi) wrote :

It's something related with the charset, theres is no 'Analisis/autom\xc3\xa1ticas.EAP' key in map, but a 'Analisis/autom\xe1ticas.EAP', and the file was committed on a windows machine.

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

This should be fixed in the 0.5 branch.

Changed in bzr:
assignee: nobody → jelmer
Changed in bzr-svn:
milestone: none → 0.5.0
status: New → Fix Released
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.