lp:parrot import problem

Asked by Ronald Blaschke

Import of lp:parrot fails with the following backtrace. Could someone please have a look?

Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/scripts/code-import-worker.py", line 82, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/scripts/code-import-worker.py", line 77, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/lib/lp/codehosting/codeimport/worker.py", line 452, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/lib/lp/codehosting/codeimport/worker.py", line 536, in _doImport
    self.importToBazaar(foreign_tree, bazaar_branch)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/lib/lp/codehosting/codeimport/worker.py", line 514, in importToBazaar
    foreign_directory, "-SC", "%s::" % last_commit, bzr_directory)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/lib/lp/codehosting/codeimport/worker.py", line 531, in _runToBaz
    totla.totla(config, self._logger, config.args, SCM.tree(source_dir))
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/lib/cscvs/cmds/totla.py", line 253, in totla
    take_action(apply, revision, target_tree, strict, logger)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/lib/cscvs/cmds/totla.py", line 286, in take_action
    revision, logger=logger, strict=strict, summarize=apply.summary)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/lib/cscvs/bzr.py", line 175, in commitWithAutomaticLog
    revprops=revprops)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/commit.py", line 286, in commit
    possible_master_transports=possible_master_transports)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/cleanup.py", line 131, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/commit.py", line 402, in _commit
    self.config, timestamp, timezone, committer, self.revprops, rev_id)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/branch.py", line 708, in get_commit_builder
    timestamp, timezone, committer, revprops, revision_id)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/repository.py", line 1765, in get_commit_builder
    timestamp, timezone, committer, revprops, revision_id)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/repofmt/pack_repo.py", line 117, in __init__
    revprops=revprops, revision_id=revision_id)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/repository.py", line 138, in __init__
    self._generate_revision_if_needed()
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/repository.py", line 258, in _generate_revision_if_needed
    self._new_revision_id = self._gen_revision_id()
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/repository.py", line 245, in _gen_revision_id
    return generate_ids.gen_revision_id(self._config.username(),
  File "/srv/importd.launchpad.net/production/launchpad-rev-9766/eggs/bzr-2.2.0-py2.6-linux-i686.egg/bzrlib/config.py", line 280, in username
    raise errors.NoWhoami()
bzrlib.errors.NoWhoami: Unable to determine your name.
Please, set your name with the 'whoami' command.
E.g. bzr whoami "Your Name <email address hidden>"
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Max Bowsher
Solved:
Last query:
Last reply:
Revision history for this message
Max Bowsher (maxb) said :
#1

The current failure case is NoWhoami, and this is something that needs fixing.

However, earlier errors appear to be a character set related problem in the guts of CSCVS. CSCVS is Launchpad's CVS importer and *legacy* Subversion importer. All new Subversion code imports are performed using bzr-svn, and CSCVS is mostly unmaintained. Therefore, it's likely that even after the NoWhoami issue is fixed, the likely resolution to the character set problem will be to import the branch using bzr-svn instead of CSCVS. With this in mind, I have created lp:~vcs-imports/parrot/trunk. A member of ~parrot-dev may well wish to rename or delete the old trunk, and reassign the project development focus to the new branch.

Revision history for this message
Ronald Blaschke (rblasch) said :
#2

Thank you, Max. Could you please give me permissions on lp:~vcs-imports/parrot/trunk, and I'll switch it over to ~parrot-dev/parrot/trunk.

Revision history for this message
Tom Haddon (mthaddon) said :
#3

This has been done.

Thanks, Tom

Revision history for this message
Best Max Bowsher (maxb) said :
#4
Revision history for this message
Ronald Blaschke (rblasch) said :
#5

Thanks Max Bowsher, that solved my question.