[2.8.0dev1] git-import plugin fails with dulwich InvalidWants error

Bug #1836425 reported by Peter J. Mello
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Unassigned
Breezy
Fix Released
High
Jelmer Vernooij

Bug Description

Command invocation:
$ bzr git-import https://gitlab.gnome.org/GNOME/perl-gnome2-vte.git

Output produced:
bzr: ERROR: dulwich.client.InvalidWants: requested wants not in server provided refs: set(['e7e9d92476cf7cd4de93056968dc7ed1d4ae7f05', '67f5fc998cbb583be810213a6b06950e396e379f', '6450b50980e6dffd878b2b40c8587fabad559281'])

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/commands.py", line 122, in run
refs = interrepo.fetch()
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/fetch.py", line 658, in fetch
mapping)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/fetch.py", line 715, in fetch_objects
progress=lambda text: report_git_progress(pb, text))
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 461, in fetch_objects
lambda x: os.write(fd, x), progress)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 451, in fetch_pack
pack_data, progress)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 270, in fetch_pack
graph_walker, pack_data, progress)
File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 1655, in fetch_pack
check_wants(wants, refs)
File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 680, in check_wants
raise InvalidWants(missing)

InvalidWants: requested wants not in server provided refs: set(['e7e9d92476cf7cd4de93056968dc7ed1d4ae7f05', '67f5fc998cbb583be810213a6b06950e396e379f', '6450b50980e6dffd878b2b40c8587fabad559281'])

bzr 2.8.0dev1 on python 2.7.16 (Linux-5.0.0-21-generic-x86_64-with-
Ubuntu-19.04-disco)

arguments: ['/usr/bin/bzr', 'git-import', 'https://gitlab.gnome.org/GNOME
/perl-gnome2-vte.git']

plugins: bash_completion[2.8.0dev1], builddeb[2.8.6], builder[0.7.3],
bzrtools[2.6.0], changelog_merge[2.8.0dev1], etckeeper[unknown],
explorer[1.3.0], fastimport[0.14.0dev], git[0.6.12], grep[2.8.0dev1],
launchpad[2.8.0dev1], netrc_credential_store[2.8.0dev1],
news_merge[2.8.0dev1], po_merge[2.8.0dev1], qbzr[0.23.2],
search[1.7.0dev], stats[0.2.0dev], weave_fmt[2.8.0dev1]

encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'

Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is fixed in newer versions of Dulwich.

Changed in brz:
status: Triaged → Fix Released
Changed in bzr:
status: New → Fix Released
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.