i have some trouble with bazaar

Asked by Yura Tolstik

maybe we can help me. (Ubuntu 8.04.1, bzr 1.3.1)
after all bzr commands i can see that:

bzr revert .
bzr: ERROR: exceptions.AssertionError: Bad parse, we expected to end on \n, not: 1 d: (('abe.by/vendor/rails/actionpack/lib', 'action_pack', 'action_pack-20080619221935-odkxxqf4s5ca80jl-68'), [('d', '', 0L, 0, 'AAAQAEha2XJIWtlyAAAIBAAJgTIAAEHt'), ('d', '', 0L, 0, 'yura@localhost-20080619223051-sv63unhrbbrskpz080619221935-odkxxqf4s5ca80jl-68')])

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 3179, in run
    self._revert_tree_to_revision(tree, revision, file_list, no_backup)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 3193, in _revert_tree_to_revision
    not no_backup, pb, report_changes=True)
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 51, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 2021, in revert
    report_changes)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1838, in revert
    tt = TreeTransform(working_tree, pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1170, in __init__
    tree.case_sensitive)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 124, in __init__
    self._new_root = self.trans_id_tree_file_id(tree.get_root_id())
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 452, in get_root_id
    return self._get_entry(path='')[0][2]
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 391, in _get_entry
    return state._get_entry(0, fileid_utf8=file_id, path_utf8=path)
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1737, in _get_entry
    self._read_dirblocks_if_needed()
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1960, in _read_dirblocks_if_needed
    _read_dirblocks(self)
  File "_dirstate_helpers_c.pyx", line 694, in _dirstate_helpers_c._read_dirblocks_c
  File "_dirstate_helpers_c.pyx", line 661, in _dirstate_helpers_c.Reader._parse_dirblocks
  File "_dirstate_helpers_c.pyx", line 624, in _dirstate_helpers_c.Reader._get_entry
AssertionError: Bad parse, we expected to end on \n, not: 1 d: (('abe.by/vendor/rails/actionpack/lib', 'action_pack', 'action_pack-20080619221935-odkxxqf4s5ca80jl-68'), [('d', '', 0L, 0, 'AAAQAEha2XJIWtlyAAAIBAAJgTIAAEHt'), ('d', '', 0L, 0, 'yura@localhost-20080619223051-sv63unhrbbrskpz080619221935-odkxxqf4s5ca80jl-68')])

bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'revert', '.']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.92.0dev0]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.3.0]
  email /usr/lib/python2.5/site-packages/bzrlib/plugins/email [unknown]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  pqm /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.0.0dev0]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.9]
*** 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.
/usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:110: UserWarning: file group LockableFiles(<bzrlib.transport.local.LocalTransport url=file:///home/yura/Projects/.bzr/checkout/>) was not explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
/usr/lib/python2.5/site-packages/bzrlib/lock.py:79: UserWarning: lock on <open file u'/home/yura/Projects/.bzr/checkout/dirstate', mode 'rb+' at 0x8610770> not released
  warn("lock on %r not released" % self.f)
/usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:110: UserWarning: file group LockableFiles(<bzrlib.transport.local.LocalTransport url=file:///home/yura/Projects/.bzr/repository/>) was not explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
/usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:110: UserWarning: file group LockableFiles(<bzrlib.transport.local.LocalTransport url=file:///home/yura/Projects/.bzr/branch/>) was not explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Martin Pool (mbp) said :
#1

This has been converted to bug 245961.

Can you help with this problem?

Provide an answer of your own, or ask Yura Tolstik for more information if necessary.

To post a message you must log in.