[Bug 257895] Re: bzr: ERROR: not well-formed (invalid token)

Jelmer Vernooij 257895 at bugs.launchpad.net
Mon Dec 12 20:51:49 UTC 2011


** Tags added: knits

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/257895

Title:
  bzr:  ERROR: not well-formed (invalid token)

Status in Bazaar Version Control System:
  Incomplete
Status in “bzr” package in Ubuntu:
  Confirmed

Bug description:
  I started getting this error a couple of days ago with bzr. I have
  tried everything to fix it, but it is still broken. Currently, I was
  using bzr in a centralized repository fashion, with the repository at
  home and I was accessing from work.

  I am now using both server and client with the following
  characteristics, although in the beginning I was receiving the error
  with the version 1.3.1 that is current in the Hardy repositories.

    Bazaar (bzr) 1.6rc2
    Python interpreter: /usr/bin/python 2.5.2
    Python standard library: /usr/lib/python2.5
    bzrlib: /usr/lib/python2.5/site-packages/bzrlib
    Bazaar configuration: /home/sam/.bazaar
    Bazaar log file: /home/sam/.bzr.log

  Essentially when I run any operation that requires getting a file
  listing from the repository I receive the following error:

  ~/Scripts> bzr update
  bzr: ERROR: not well-formed (invalid token): line 136, column 59

  Looking at the error I decided to drive down a little more with the
  "-Derror" option. When I did I received the following error.

  
  stdin: is not a tty
  bzr: ERROR: bzrlib.errors.UnexpectedInventoryFormat: not well-formed (invalid token): line 136, column 59

  Traceback (most recent call last):
    File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors
      return run_bzr(argv)
    File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1026, in run
      possible_transports=possible_transports)
    File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 2127, in update
      return self._update_tree(old_tip, change_reporter)
    File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 52, in tree_write_locked
      return unbound(self, *args, **kwargs)
    File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 2158, in _update_tree
      to_tree = self.branch.basis_tree()
    File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1707, in basis_tree
      return self.repository.revision_tree(self.last_revision())
    File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1663, in revision_tree
      inv = self.get_revision_inventory(revision_id)
    File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1627, in get_revision_inventory
      return self.get_inventory(revision_id)
    File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1520, in get_inventory
      return self.iter_inventories([revision_id]).next()
    File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1539, in _iter_inventories
      yield self.deserialise_inventory(revision_id, text)
    File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1559, in deserialise_inventory
      result = self._serializer.read_inventory_from_string(xml, revision_id)
    File "/usr/lib/python2.5/site-packages/bzrlib/xml_serializer.py", line 77, in read_inventory_from_string
      raise errors.UnexpectedInventoryFormat(e)
  UnexpectedInventoryFormat: not well-formed (invalid token): line 136, column 59

  
  Any advice on how to repair this problem short of completely recreating the repository would be greatly appreciated.

  Good Luck

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/257895/+subscriptions




More information about the foundations-bugs mailing list