"Could not understand response from smart server" when diffing lightweight checkout of smart server branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
John A Meinel | ||
OpenPetra.org |
New
|
Undecided
|
Bug Description
In an existing lightweight checkout of a branch from Launchpad with a local change, running diff generates an error:
$ bzr -Dhpss -Dhpssdetail --no-plugins diff
=== modified file 'sourcedeps.conf'
bzr: ERROR: Could not understand response from smart server: ['x\x9c\
HPSS calls: 7 (0 vfs) SmartSSHClientM
From ~/.bzr.log:
Wed 2012-09-05 12:16:12 +0100
0.040 bazaar version: 2.6.0dev3
0.040 bzr arguments: [u'-Dhpss', u'-Dhpssdetail', u'--no-plugins', u'diff']
0.045 encoding stdout as sys.stdout encoding 'UTF-8'
0.071 hpss: Built a new medium: SmartSSHClientM
0.072 hpss call: 'BzrDir.open_2.1', '~canonical-
0.072 (to bzr+ssh:
0.095 ssh implementation is OpenSSH
3.137 result: ('yes', 'no')
3.138 hpss call: 'BzrDir.
3.138 (to bzr+ssh:
3.239 result: ('branch', 'Bazaar Branch Format 7 (needs bzr 1.6)\n')
3.240 hpss call: 'BzrDir.
3.240 (to bzr+ssh:
3.341 result: ('ok', '', 'yes', 'no', 'yes', 'Bazaar repository format 2a (needs bzr 1.16 or later)\n')
3.346 hpss call: 'Branch.
3.346 (to bzr+ssh:
3.445 result: ('NotStacked',)
3.446 opening working tree '/home/
3.453 hpss call: 'Branch.
3.453 (to bzr+ssh:
3.548 result: ('ok',)
3.548 0 body bytes read
3.555 hpss call w/body: 'Repository.
3.555 58 bytes
3.651 result: ('ok', '10')
3.652 291 byte part read
3.655 hpss call w/body: 'Repository.
3.655 108 bytes
3.751 result: ('ok',)
3.751 5 byte part read
3.752 2 byte part read
3.752 198 byte part read
3.752 Transferred: 2kB (0.7kB/s r:1kB w:1kB)
3.767 Traceback (most recent call last):
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 "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
format_
File "/usr/lib/
return differ.
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
new_kind)
File "/usr/lib/
old_path, new_path)
File "/usr/lib/
from_text = _get_text(
File "/usr/lib/
return tree.get_
File "/usr/lib/
return osutils.
File "/usr/lib/
_, content = list(self.
File "/usr/lib/
desired_files, absent):
File "/usr/lib/
raise errors.
UnexpectedSmart
3.767 return code 3
[22797] 2012-09-05 12:16:16.161 INFO: HPSS calls: 7 (0 vfs) SmartSSHClientM
Related branches
- Richard Wilbur: Approve
-
Diff: 596 lines (+189/-76)14 files modifiedbzrlib/remote.py (+15/-6)
bzrlib/smart/repository.py (+12/-9)
bzrlib/tests/per_tree/__init__.py (+18/-4)
bzrlib/tests/per_workingtree/__init__.py (+39/-6)
bzrlib/tests/per_workingtree/test_commit.py (+3/-2)
bzrlib/tests/per_workingtree/test_executable.py (+1/-2)
bzrlib/tests/per_workingtree/test_parents.py (+5/-3)
bzrlib/tests/per_workingtree/test_remove.py (+1/-1)
bzrlib/tests/per_workingtree/test_smart_add.py (+3/-0)
bzrlib/tests/per_workingtree/test_views.py (+2/-2)
bzrlib/tests/per_workingtree/test_workingtree.py (+24/-29)
bzrlib/tests/test_selftest.py (+39/-9)
bzrlib/workingtree_4.py (+19/-3)
doc/en/release-notes/bzr-2.5.txt (+8/-0)
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: bzr diff |
Changed in bzr: | |
assignee: | nobody → John A Meinel (jameinel) |
milestone: | none → 2.5.2 |
Changed in bzr: | |
status: | Confirmed → Fix Released |
summary: |
"Could not understand response from smart server" when diffing - lightweight checkout of LP branch + lightweight checkout of smart server branch |
no longer affects: | launchpad |
When I tried to work-around by branching, making the change again, then pushing, I had to break a write lock taken out by me on the Launchpad branch.