Branching a stacked branch from Launchpad gives ErrorFromSmartServer: Error received from smart server: ('NoSuchRevision',)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Triaged
|
Critical
|
Unassigned |
Bug Description
On branching an existing stacked branch from LP, I got ErrorFromSmartS
I renamed the branch to -broken, and repushed the branch from my laptop to Launchpad. This created a new stacked branch. The laptop has bzr 1.15+4300+107 installed from the nightly PPA. The desktop has bzr 1.15+4303+107 from the nightly PPA. The desktop gives the following error trying to branch from Launchpad:
tim@mini:~/src/lp$ bzr cbranch lp:~thumper/launchpad/revision-cache-db-patch-2
/home/tim/
SPEC_
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
commands.
File "/usr/lib/
return self.run(
File "/usr/lib/
hardlink=
File "/usr/lib/
accelerator
File "/usr/lib/
result_
File "/usr/lib/
find_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=pb, find_ghosts=
File "/usr/lib/
self.__fetch()
File "/usr/lib/
self.
File "/usr/lib/
stream, from_format, [])
File "/usr/lib/
return self._locked_
File "/usr/lib/
for substream_type, substream in stream:
File "/usr/lib/
stream = self._get_
File "/usr/lib/
(path, self.to_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
_translate_
File "/usr/lib/
raise NoSuchRevision(
File "/usr/lib/
raise err
ErrorFromSmartS
bzr 1.15dev on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'cbranch', 'lp:~thumper/launchpad/revision-cache-db-patch-2']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_NZ.UTF-8'
plugins:
bzrtools /usr/lib/
gtk /home/tim/
launchpad /usr/lib/
loom /home/tim/
lpreview /home/tim/
netrc_
qbzr /home/tim/
stats /home/tim/
xmloutput /home/tim/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
After updating my local branches, I now get:
/home/tim/ .bazaar/ plugins/ loom/revspec. py:64: DeprecationWarning: Modifying SPEC_TYPES was deprecated in version 1.12. TYPES.append( RevisionSpecThr ead) errors. ErrorFromSmartS erver: Error received from smart server: ('error', "'AbsentContent Factory' object has no attribute 'get_bytes_as'")
SPEC_
bzr: ERROR: bzrlib.
Traceback (most recent call last): python2. 6/dist- packages/ bzrlib/ commands. py", line 727, in exception_ to_return_ code python2. 6/dist- packages/ bzrlib/ commands. py", line 922, in run_bzr python2. 6/dist- packages/ bzrlib/ plugins/ bzrtools/ command. py", line 13, in run_argv_aliases Command. run_argv_ aliases( self, argv, alias_argv) python2. 6/dist- packages/ bzrlib/ commands. py", line 559, in run_argv_aliases **all_cmd_ args) python2. 6/dist- packages/ bzrlib/ plugins/ bzrtools/ command_ classes. py", line 417, in run hardlink) python2. 6/dist- packages/ bzrlib/ plugins/ bzrtools/ cbranch. py", line 55, in cbranch _tree=accelerat or_tree) .open_branch( ) python2. 6/dist- packages/ bzrlib/ bzrdir. py", line 1144, in sprout repo.fetch( source_ repository, revision_ id=revision_ id) python2. 6/dist- packages/ bzrlib/ repository. py", line 1493, in fetch ghosts= find_ghosts, fetch_spec= fetch_spec) python2. 6/dist- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 6/dist- packages/ bzrlib/ repository. py", line 3057, in fetch find_ghosts) python2. 6/dist- packages/ bzrlib/ fetch.py" , line 84, in __init__ python2. 6/dist- packages/ bzrlib/ fetch.py" , line 110, in __fetch _fetch_ everything_ for_search( search) python2. 6/dist- packages/ bzrlib/ fetch.py" , line 138, in _fetch_ everything_ for_search python2. 6/dist- packages/ bzrlib/ repository. py", line 3945, in insert_stream insert_ stream( stream, src_format) python2. 6/dist- packages/ bzrlib/ repository. py", line 3973, in _l...
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
commands.
File "/usr/lib/
return self.run(
File "/usr/lib/
hardlink=
File "/usr/lib/
accelerator
File "/usr/lib/
result_
File "/usr/lib/
find_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=pb, find_ghosts=
File "/usr/lib/
self.__fetch()
File "/usr/lib/
self.
File "/usr/lib/
stream, from_format, [])
File "/usr/lib/
return self._locked_
File "/usr/lib/