Comment 0 for bug 393349

Revision history for this message
Roman Erzhukov (romaerzhuk) wrote : exceptions.AttributeError: 'AbsentContentFactory' object has no attribute 'get_bytes_as'

> bzr pull ../my.patch

bzr: ERROR: exceptions.AttributeError: 'AbsentContentFactory' object has no attribute 'get_bytes_as'

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 729, in exception_to_return_code
  File "bzrlib\commands.pyo", line 924, in run_bzr
  File "bzrlib\commands.pyo", line 560, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 940, in run
  File "bzrlib\merge_directive.pyo", line 607, in get_merge_request
  File "bzrlib\merge_directive.pyo", line 612, in _maybe_verify
  File "bzrlib\merge_directive.pyo", line 593, in _verify_patch
  File "bzrlib\merge_directive.pyo", line 190, in _generate_diff
  File "bzrlib\diff.pyo", line 427, in show_diff_trees
  File "bzrlib\diff.pyo", line 834, in show_diff
  File "bzrlib\diff.pyo", line 857, in _show_diff
  File "bzrlib\revisiontree.pyo", line 248, in iter_changes
  File "bzrlib\inventory.pyo", line 1815, in iter_changes
  File "bzrlib\chk_map.pyo", line 245, in iter_changes
  File "bzrlib\chk_map.pyo", line 126, in _ensure_root
  File "bzrlib\chk_map.pyo", line 139, in _get_node
  File "bzrlib\chk_map.pyo", line 150, in _read_bytes
AttributeError: 'AbsentContentFactory' object has no attribute 'get_bytes_as'

bzr 1.16.1 on python 2.5.2 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'pull', '../my.patch']
encoding: 'cp1251', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [1.16]
  docdiff C:\Program Files\Bazaar\plugins\docdiff [1.0dev]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [1.16.1]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [1.16.1]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.11]
  rebase C:\Program Files\Bazaar\plugins\rebase [0.5.1]
  svn C:\Program Files\Bazaar\plugins\svn [0.6.2]
*** 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.