2009-04-02 18:56:04 |
Jean-Francois Roy |
bug |
|
|
added bug |
2009-04-03 00:57:12 |
Andrew Bennetts |
tags |
|
hpss |
|
2009-04-03 01:00:48 |
Andrew Bennetts |
bzr: importance |
Undecided |
High |
|
2009-04-03 01:00:48 |
Andrew Bennetts |
bzr: status |
New |
Confirmed |
|
2009-04-03 01:00:48 |
Andrew Bennetts |
bzr: assignee |
|
spiv |
|
2009-04-03 01:00:48 |
Andrew Bennetts |
bzr: milestone |
|
1.14rc1 |
|
2009-04-03 06:45:33 |
Andrew Bennetts |
bzr: importance |
High |
Critical |
|
2009-04-14 23:18:48 |
Martin Pool |
bug task added |
|
bzr (Ubuntu) |
|
2009-04-14 23:19:09 |
Martin Pool |
nominated for series |
|
Ubuntu Jaunty |
|
2009-04-14 23:20:10 |
Martin Pool |
bzr (Ubuntu): status |
New |
Confirmed |
|
2009-04-14 23:29:00 |
Andrew Bennetts |
description |
The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred. |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
|
|
2009-04-17 14:21:49 |
Andrew Bennetts |
description |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
|
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
A workaround is to use non-smart URLs, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
bzr.dev has been fixed to push up complete branches always, and a fix for the server to make unfixed clients send the missing records has been sent to the list for review. |
|
2009-04-18 08:13:54 |
Andrew Bennetts |
bzr: status |
Confirmed |
Fix Committed |
|
2009-04-18 08:13:54 |
Andrew Bennetts |
bzr: milestone |
1.14rc1 |
1.14rc2 |
|
2009-04-21 10:13:10 |
Martin Pool |
bzr: status |
Fix Committed |
Confirmed |
|
2009-04-21 14:17:28 |
Andrew Bennetts |
bzr: status |
Confirmed |
Incomplete |
|
2009-04-22 00:11:29 |
Andrew Bennetts |
description |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
A workaround is to use non-smart URLs, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
bzr.dev has been fixed to push up complete branches always, and a fix for the server to make unfixed clients send the missing records has been sent to the list for review. |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
A workaround is to use non-smart URLs, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
To fix an affected branch, delete it and push it again with a fixed client (1.14rc2 or newer). (Andrew will write a script to push just the missing data to an existing branch, but for now this is the only way to fix an affected branch.)
bzr.devand 1.14rc2 have been fixed to push up complete branches always, and a fix for the server to make unfixed clients send the missing records has been sent to the list for review. |
|
2009-04-22 00:16:00 |
Andrew Bennetts |
bzr: status |
Incomplete |
Fix Released |
|
2009-04-22 01:24:09 |
Robert Collins |
attachment added |
|
foo.py http://launchpadlibrarian.net/25841405/foo.py |
|
2009-04-22 12:54:41 |
Martin Pool |
bug task added |
|
bzr/1.13 |
|
2009-04-22 12:58:29 |
Martin Pool |
bzr/1.13: importance |
Undecided |
High |
|
2009-04-22 12:58:29 |
Martin Pool |
bzr/1.13: status |
New |
Confirmed |
|
2009-04-22 12:58:29 |
Martin Pool |
bzr/1.13: milestone |
|
1.13.2 |
|
2009-04-23 22:54:09 |
Robert Collins |
attachment added |
|
foo.py http://launchpadlibrarian.net/25904342/foo.py |
|
2009-04-27 09:10:12 |
Andrew Bennetts |
description |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
A workaround is to use non-smart URLs, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
To fix an affected branch, delete it and push it again with a fixed client (1.14rc2 or newer). (Andrew will write a script to push just the missing data to an existing branch, but for now this is the only way to fix an affected branch.)
bzr.devand 1.14rc2 have been fixed to push up complete branches always, and a fix for the server to make unfixed clients send the missing records has been sent to the list for review. |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
bzr.dev and 1.14rc2 have been fixed to push up complete branches always, and a fix for the server to make unfixed clients send the missing records has been sent to the list for review.
Workarounds
----------------
There are multiple workarounds. In rough order of preference:
- Use the 'foo.py' script Robert has attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository)
- Delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
|
|
2009-04-27 21:36:20 |
Bob Tanner |
bzr/1.13: status |
Confirmed |
Fix Committed |
|
2009-04-27 21:36:20 |
Bob Tanner |
None: assignee |
|
tanner |
|
2009-04-28 04:19:00 |
Andrew Bennetts |
description |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
bzr.dev and 1.14rc2 have been fixed to push up complete branches always, and a fix for the server to make unfixed clients send the missing records has been sent to the list for review.
Workarounds
----------------
There are multiple workarounds. In rough order of preference:
- Use the 'foo.py' script Robert has attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository)
- Delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
|
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
bzr.dev and 1.14rc2 have been fixed to push up complete branches always, and bzr.dev has a fix for the server to make unfixed clients send the missing records.
So upgrading clients to 1.14rc2 or newer fixes this bug. Alternatively upgrading the server to bzr.dev r4307 and using 1.13 or newer clients to push via HPSS fixes this too.
Workarounds
----------------
There are multiple workarounds for dealing with an affected branch. In rough order of preference:
- Use the 'foo.py' script Robert has attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository)
- Delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
|
|
2009-04-29 02:17:31 |
Bob Tanner |
bzr/1.13: status |
Fix Committed |
Fix Released |
|
2009-04-30 04:10:26 |
Robert Collins |
bug task added |
|
launchpad-code |
|
2009-04-30 05:14:03 |
Andrew Bennetts |
description |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
bzr.dev and 1.14rc2 have been fixed to push up complete branches always, and bzr.dev has a fix for the server to make unfixed clients send the missing records.
So upgrading clients to 1.14rc2 or newer fixes this bug. Alternatively upgrading the server to bzr.dev r4307 and using 1.13 or newer clients to push via HPSS fixes this too.
Workarounds
----------------
There are multiple workarounds for dealing with an affected branch. In rough order of preference:
- Use the 'foo.py' script Robert has attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository)
- Delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
|
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
bzr.dev and 1.14rc2 have been fixed to push up complete branches always, and bzr.dev has a fix for the server to make unfixed clients that use the Repository.insert_stream* HPSS verbs send the missing records. (See also bug 368418 about the server fix in bzr.dev)
So upgrading clients to 1.14rc2 or newer fixes this bug. Alternatively upgrading the server to bzr.dev r4307 and using 1.13 or newer clients to push via HPSS fixes this too.
Workarounds
----------------
There are multiple workarounds for dealing with an affected branch. In rough order of preference:
- Use the 'foo.py' script Robert has attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository)
- Delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
Symptom
-------
When pulling affected branches, you get a traceback like this:
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
|
|
2009-04-30 05:15:55 |
Andrew Bennetts |
description |
When bzr 1.13.1 and earlier push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
bzr.dev and 1.14rc2 have been fixed to push up complete branches always, and bzr.dev has a fix for the server to make unfixed clients that use the Repository.insert_stream* HPSS verbs send the missing records. (See also bug 368418 about the server fix in bzr.dev)
So upgrading clients to 1.14rc2 or newer fixes this bug. Alternatively upgrading the server to bzr.dev r4307 and using 1.13 or newer clients to push via HPSS fixes this too.
Workarounds
----------------
There are multiple workarounds for dealing with an affected branch. In rough order of preference:
- Use the 'foo.py' script Robert has attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository)
- Delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
Symptom
-------
When pulling affected branches, you get a traceback like this:
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
|
When bzr < 1.13.2 (and bzr 1.14rc1) push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
bzr.dev and 1.14rc2 have been fixed to push up complete branches always, and bzr.dev has a fix for the server to make unfixed clients that use the Repository.insert_stream* HPSS verbs send the missing records. (See also bug 368418 about the server fix in bzr.dev)
So upgrading clients to 1.14rc2 or newer fixes this bug. Alternatively upgrading the server to bzr.dev r4307 and using 1.13 or newer clients to push via HPSS fixes this too.
Workarounds
----------------
There are multiple workarounds for dealing with an affected branch. In rough order of preference:
- Use the 'foo.py' script Robert has attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository)
- Delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
Symptom
-------
When pulling affected branches, you get a traceback like this:
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
|
|
2009-04-30 05:19:25 |
Robert Collins |
attachment added |
|
latest fixer http://launchpadlibrarian.net/26166834/fix-branch.py |
|
2009-04-30 05:19:54 |
Robert Collins |
attachment removed |
foo.py http://launchpadlibrarian.net/25841405/foo.py |
|
|
2009-04-30 05:20:21 |
Robert Collins |
attachment removed |
foo.py http://launchpadlibrarian.net/25904342/foo.py |
|
|
2009-05-06 02:28:18 |
Robert Collins |
tags |
hpss |
hpss lp-cherrypick-candidate |
|
2009-05-06 02:34:56 |
Robert Collins |
tags |
hpss lp-cherrypick-candidate |
hpss lp-cp |
|
2009-05-07 00:09:08 |
Robert Collins |
description |
When bzr < 1.13.2 (and bzr 1.14rc1) push a stacked branch they do not take care to push all the parent inventories for the transferred revisions. This means that a smart server serving that branch often cannot calculate inventory deltas for the branch (because smart server does not/cannot open fallback repositories). Prior to 1.13 the server did not have a verb to stream revisions out of a repository, so that's why this bug has appeared now.
bzr.dev and 1.14rc2 have been fixed to push up complete branches always, and bzr.dev has a fix for the server to make unfixed clients that use the Repository.insert_stream* HPSS verbs send the missing records. (See also bug 368418 about the server fix in bzr.dev)
So upgrading clients to 1.14rc2 or newer fixes this bug. Alternatively upgrading the server to bzr.dev r4307 and using 1.13 or newer clients to push via HPSS fixes this too.
Workarounds
----------------
There are multiple workarounds for dealing with an affected branch. In rough order of preference:
- Use the 'foo.py' script Robert has attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository)
- Delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there.
Symptom
-------
When pulling affected branches, you get a traceback like this:
This manifests as exceptions from the server involving 'AbsentContentFactory'.
e.g. The exception below occurred while pulling lp:~rivenx/rivenx/domes using bzr.dev r4237.
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 922, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1103, in run
source_branch=br_from)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1139, in sprout
result_repo.fetch(source_repository, revision_id=revision_id)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 1465, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
bzr 1.14dev on python 2.6.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~rivenx/rivenx/domes']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [1.13]
keychain_credential_store /Volumes/Crossroads/bahamut/.bazaar/plugins/keychain_credential_store [0.1dev]
launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [unknown]
netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
svn /Volumes/Crossroads/bahamut/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
|
Workarounds
----------------
If you can write to the branch:
- Use the fixer script attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository). Run it as 'fix-branch.py bzr+ssh://bazaar.launchpad.net/~user/project/branch'. You must have write access to the branch to do this.
- Alternatively just delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
If you cannot write to the branch:
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there, but will be slower as it disables streaming fetch.
Details
-------
When bzr introduced stacking the data pushed to a stacking branch was too minimal. This lack was discovered when streaming fetch from stacked branches was enabled. The server needs to be able to generate a delta of the data in its graph to decide what to send the client, and the ACF record sent to the client is an indicator that it was failing to do this correctly.
Resolution
----------
Use bzr.dev newer than r4037 (or bzr 1.15 or newer) on the server and bzr 1.13 or newer as clients with bzr+ssh or bzr+http urls. If the server cannot run 1.15, use bzr 1.13.2 or 1.14rc2 or newer on the client. Do not use older bzr versions.
bzr.dev and 1.14rc2 have been fixed on the client side to always include enough data, and bzr.dev (and thus bzr 1.15) include a fix for the server to make bzr 1.13 clients that use the Repository.insert_stream* HPSS verbs send the missing records. (See also bug 368418 about the server fix in bzr.dev)
Symptom
-------
When pulling affected branches, you get a traceback like this:
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
...
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'") |
|
2009-05-07 00:09:08 |
Robert Collins |
tags |
hpss lp-cp |
hpss lp-needs |
|
2009-05-07 02:17:04 |
Robert Collins |
description |
Workarounds
----------------
If you can write to the branch:
- Use the fixer script attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository). Run it as 'fix-branch.py bzr+ssh://bazaar.launchpad.net/~user/project/branch'. You must have write access to the branch to do this.
- Alternatively just delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
If you cannot write to the branch:
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there, but will be slower as it disables streaming fetch.
Details
-------
When bzr introduced stacking the data pushed to a stacking branch was too minimal. This lack was discovered when streaming fetch from stacked branches was enabled. The server needs to be able to generate a delta of the data in its graph to decide what to send the client, and the ACF record sent to the client is an indicator that it was failing to do this correctly.
Resolution
----------
Use bzr.dev newer than r4037 (or bzr 1.15 or newer) on the server and bzr 1.13 or newer as clients with bzr+ssh or bzr+http urls. If the server cannot run 1.15, use bzr 1.13.2 or 1.14rc2 or newer on the client. Do not use older bzr versions.
bzr.dev and 1.14rc2 have been fixed on the client side to always include enough data, and bzr.dev (and thus bzr 1.15) include a fix for the server to make bzr 1.13 clients that use the Repository.insert_stream* HPSS verbs send the missing records. (See also bug 368418 about the server fix in bzr.dev)
Symptom
-------
When pulling affected branches, you get a traceback like this:
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
...
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'") |
Workarounds
----------------
If you can write to the branch:
- Use the fixer script attached to this bug to repair the affected branch (by fetching the missing parts from the stacked-on repository). Run it as 'fix-branch.py bzr+ssh://bazaar.launchpad.net/~user/project/branch'. You must have write access to the branch to do this.
- Alternatively just delete the affected branch and repush it with a fixed client (1.14rc2 or newer)
If you cannot write to the branch:
- Use non-smart URLs to access an affected branch, e.g. sftp:// or nosmart+bzr+ssh://. This works because the client can access the stacked-on repository, and the missing data is present there, but will be slower as it disables streaming fetch.
Details
-------
When bzr introduced stacking the data pushed to a stacking branch was too minimal. This lack was discovered when streaming fetch from stacked branches was enabled. The server needs to be able to generate a delta of the data in its graph to decide what to send the client, and the ACF record sent to the client is an indicator that it was failing to do this correctly.
Resolution
----------
Use bzr.dev newer than r4307 (or bzr 1.15 or newer) on the server and bzr 1.13 or newer as clients with bzr+ssh or bzr+http urls. If the server cannot run 1.15, use bzr 1.13.2 or 1.14rc2 or newer on the client. Do not use older bzr versions.
bzr.dev and 1.14rc2 have been fixed on the client side to always include enough data, and bzr.dev (and thus bzr 1.15) include a fix for the server to make bzr 1.13 clients that use the Repository.insert_stream* HPSS verbs send the missing records. (See also bug 368418 about the server fix in bzr.dev)
Symptom
-------
When pulling affected branches, you get a traceback like this:
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")
Traceback (most recent call last):
...
File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
result = unbound(self, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 2991, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 84, in __init__
self.__fetch()
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 110, in __fetch
self._fetch_everything_for_search(search)
File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 138, in _fetch_everything_for_search
stream, from_format, [])
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3791, in insert_stream
return self._locked_insert_stream(stream, src_format)
File "/Library/Python/2.6/site-packages/bzrlib/repository.py", line 3819, in _locked_insert_stream
for substream_type, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 1709, in missing_parents_chain
for kind, substream in stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 447, in record_stream
for bytes in byte_stream:
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 336, in read_streamed_body
_translate_error(self._body_error_args)
File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 355, in _translate_error
raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'") |
|
2009-05-08 22:58:17 |
Michael Hudson-Doyle |
launchpad-code: status |
New |
Fix Committed |
|
2009-08-31 10:23:56 |
Andrew Bennetts |
summary |
ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad |
ErrorFromSmartServer - AbsentContentFactory (unfixable by users) error when pulling a branch from the mirrored area |
|
2010-02-17 00:57:11 |
Tim Penhey |
launchpad-code: status |
Fix Committed |
Fix Released |
|
2010-08-06 22:49:15 |
Jelmer Vernooij |
bzr (Ubuntu): status |
Confirmed |
Fix Released |
|