failed to import https://git.xiph.org/opus.git
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Git Plugin |
Triaged
|
Undecided
|
Unassigned | ||
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
Tried to create an lp branch to follow our upstream git repository today, but the import job failed. The repository in question is https:/
There's a backtrace in the log message http://
Reproduced here for clarity:
2012-09-26 05:34:14 INFO Starting job.
2012-09-26 05:34:14 INFO Getting exising bzr branch from central store.
2012-09-26 05:34:14 INFO [chan bzr SocketAsChannel
2012-09-26 05:34:14 INFO [chan bzr SocketAsChannel
2012-09-26 05:34:15 INFO 273 bytes transferred
Traceback (most recent call last):
File "/srv/importd.
sys.
File "/srv/importd.
return import_worker.run()
File "/srv/importd.
return self._doImport()
File "/srv/importd.
remote_
File "<string>", line 4, in last_revision_
File "/srv/importd.
return self.lookup_
File "/srv/importd.
self.mapping)
File "/srv/importd.
commit = self._git.
File "/srv/importd.
obj = self[sha]
File "/srv/importd.
type_num, uncomp = self.get_raw(sha)
File "/srv/importd.
for pack in self.packs:
File "/srv/importd.
self.
File "/srv/importd.
for name in self._pack_names():
File "/srv/importd.
return self.pack_
File "/srv/importd.
% (self))
bzrlib.
Import failed:
Traceback (most recent call last):
Failure: twisted.
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: code-import |
tags: | removed: git |
tags: | added: git |
affects: | bzr → bzr-git |
This fails with a different error when using bzr-git trunk.
bzr: ERROR: exceptions. AssertionError: Invalid object name 'ref: refs/heads/master'
Traceback (most recent call last): python2. 7/dist- packages/ bzrlib/ commands. py", line 930, in exception_ to_return_ code python2. 7/dist- packages/ bzrlib/ commands. py", line 1121, in run_bzr python2. 7/dist- packages/ bzrlib/ commands. py", line 673, in run_argv_aliases **all_cmd_ args) python2. 7/dist- packages/ bzrlib/ commands. py", line 697, in run .run_simple( *args, **kwargs) python2. 7/dist- packages/ bzrlib/ cleanup. py", line 136, in run_simple python2. 7/dist- packages/ bzrlib/ cleanup. py", line 166, in _do_with_cleanups jelmer/ .bazaar/ plugins/ git/commands. py", line 122, in run jelmer/ .bazaar/ plugins/ git/fetch. py", line 657, in fetch jelmer/ .bazaar/ plugins/ git/fetch. py", line 746, in fetch_objects wants(remote_ refs) jelmer/ .bazaar/ plugins/ git/fetch. py", line 599, in determine_wants_all has_shas( potential) ) jelmer/ .bazaar/ plugins/ git/fetch. py", line 584, in _target_has_shas lookup_ foreign_ revision_ id(sha) jelmer/ .bazaar/ plugins/ git/repository. py", line 430, in lookup_ foreign_ revision_ id object_ store.peel_ sha(foreign_ revid) python2. 7/dist- packages/ dulwich/ object_ store.py" , line 216, in peel_sha python2. 7/dist- packages/ dulwich/ object_ store.py" , line 112, in __getitem__ python2. 7/dist- packages/ dulwich/ object_ store.py" , line 306, in get_raw "Invalid object name %r" % name)
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/home/
refs = interrepo.fetch()
File "/home/
mapping)
File "/home/
wants = determine_
File "/home/
return list(potential - self._target_
File "/home/
revid = self.source.
File "/home/
commit = self._git.
File "/usr/lib/
obj = self[sha]
File "/usr/lib/
type_num, uncomp = self.get_raw(sha)
File "/usr/lib/
raise AssertionError(
AssertionError: Invalid object name 'ref: refs/heads/master'