Failed code import: Invalid name entry

Bug #524280 reported by David Paleino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

Hello,
I tried to import bash-completion's code from git, and it miserably failed:

Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/scripts/code-import-worker.py", line 66, in <module>
    script.main()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/scripts/code-import-worker.py", line 61, in main
    import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/lib/lp/codehosting/codeimport/worker.py", line 393, in run
    self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/lib/lp/codehosting/codeimport/worker.py", line 506, in _doImport
    bazaar_tree.branch.pull(foreign_branch, overwrite=True)
  File "<string>", line 4, in pull_write_locked
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/branch.py", line 962, in pull
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/branch.py", line 421, in pull
    graph=graph)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/branch.py", line 384, in update_revisions
    interrepo.fetch_objects(determine_wants, self.source.mapping)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/fetch.py", line 513, in fetch_objects
    objects_iter, store, recorded_wants, pb)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/fetch.py", line 403, in import_git_objects
    parent_invs_cache)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/fetch.py", line 316, in import_git_commit
    allow_submodules=getattr(repo._format, "supports_tree_reference", False))
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/fetch.py", line 256, in import_git_tree
    allow_submodules=allow_submodules)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/fetch.py", line 256, in import_git_tree
    allow_submodules=allow_submodules)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/fetch.py", line 256, in import_git_tree
    allow_submodules=allow_submodules)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/fetch.py", line 256, in import_git_tree
    allow_submodules=allow_submodules)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/optionalbzrplugins/git/fetch.py", line 218, in import_git_tree
    parent_id)
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/inventory.py", line 460, in __init__
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/inventory.py", line 216, in __init__
bzrlib.errors.InvalidEntryName: Invalid entry name: a\b

(you can see the logs at https://code.launchpad.net/~dpaleino/bash-completion/master ).

This is because, at some point in time, we've had some oddly named files/directories in the repository (like "a\b"). Now we still have such files (a$b, a&b, a'b and a"b for instance, all directories). Is there any solution to fix this? (those directories are named like this to make DejaGNU testsuite work)

Thank you,
David

Tags: lp-code
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.