Uncaught exception in dump.py KeyError: ''

Bug #608874 reported by Hakan Erduman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
svn2bzr
New
Undecided
Unassigned

Bug Description

Gives the following output:

herd@xps:~/Projects/3rdParty/svn2bzr$ ./svn2bzr.py --scheme=trunk dump ../../xfce4-squeezebox-plugin-bzr
/home/herd/Projects/3rdParty/svn2bzr/branchcreator.py:23: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  from sha import sha
/home/herd/Projects/3rdParty/svn2bzr/branchcreator.py:24: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  from md5 import md5
Revision 0 read
Revision 1 read
Revision 2 read
Revision 3 read
[removed some revisions, up to 173 exist]
Revision 113 read
Revision 114 read
Revision 115 read
Traceback (most recent call last):
  File "./svn2bzr.py", line 194, in <module>
    main()
  File "./svn2bzr.py", line 187, in main
    log=log)
  File "./svn2bzr.py", line 78, in svn2bzr
    dump = Dump(dump_file, log=log) # read through the whole dump file
  File "/home/herd/Projects/3rdParty/svn2bzr/dump.py", line 111, in __init__
    self._read()
  File "/home/herd/Projects/3rdParty/svn2bzr/dump.py", line 448, in _read
    building=True)
  File "/home/herd/Projects/3rdParty/svn2bzr/dump.py", line 268, in _change_tree
    entry.copy_from = self._dump[copy_tree[path_id[copy_path]]]
KeyError: ''

The dump file needing conversion is available at http://erduman.de/downloads/dump.gz (3.6MB download, gunzipped 18MB)

Hakan Erduman (aquaherd)
description: updated
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.