bzrlib.errors.DuplicateKey when importing upstream

Bug #249535 reported by James Westby on 2008-07-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Distributed Development

Bug Description

Traceback (most recent call last):
  File "/srv/", line 956, in <module>
  File "/srv/", line 886, in main
    import_package(temp_dir, importp, revid_db, bstore, possible_transports=possible_transports)
  File "/srv/", line 600, in import_package
  File "/srv/", line 1271, in import_package
  File "/srv/", line 1163, in _do_import_package
    timestamp=timestamp, file_ids_from=file_ids_from)
  File "/srv/", line 1028, in import_debian
    file_ids_from=parent_trees + debian_trees)
  File "/srv/", line 198, in import_dir
    import_archive(tree, dir_file, file_ids_from=file_ids_from)
  File "/srv/", line 296, in import_archive
    for conflict in cook_conflicts(resolve_conflicts(tt), tt):
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 2742, in resolve_conflicts
    new_conflicts.update(pass_func(tt, conflicts))
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 2820, in conflict_pass
    tt.version_file(file_id, conflict[1])
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 351, in version_file
    unique_add(self._r_new_id, file_id, trans_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 67, in unique_add
    raise DuplicateKey(key=key)
bzrlib.errors.DuplicateKey: Key tree_root-20100222115343-r49kjlha713i84rj-3 is already present in map

very similar to bug 248459, and probably a duplicate

James Westby (james-w) on 2010-04-22
description: updated
tags: added: bzr
description: updated
summary: - Fails to import blueproximity
+ bzrlib.errors.DuplicateKey when importing upstream
Changed in udd:
status: New → Confirmed
importance: Undecided → Medium
James Westby (james-w) on 2010-10-02
description: updated
tags: added: main package-import
James Westby (james-w) on 2010-10-02
description: updated
Logan Rosen (logan) on 2012-11-20
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers