"WorkingTree.set_root_id with fileid=None" on update

Bug #598135 reported by Andrew Schulman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

bzr 2.2b3 throws an error on update:

$ bzr st
working tree is out of date, run 'bzr update'
unknown:
  test/
  www/

$ bzr up
bzr: ERROR: exceptions.ValueError: WorkingTree.set_root_id with fileid=None

Traceback (most recent call last):
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/commands.py", line 909, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/commands.py", line 1107, in run_bzr
    ret = run(*run_argv)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/commands.py", line 687, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/commands.py", line 702, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/cleanup.py", line 121, in run_simple
    return _do_with_cleanups(
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/builtins.py", line 1438, in run
    old_tip=old_tip)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/workingtree.py", line 2255, in update
    return self._update_tree(old_tip, change_reporter, revision)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/mutabletree.py", line 49, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/workingtree.py", line 2310, in _update_tree
    self.set_root_id(to_root_id)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/mutabletree.py", line 49, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/EPA/usr/stow/bzr/lib64/python2.4/site-packages/bzrlib/workingtree.py", line 2167, in set_root_id
    raise ValueError(
ValueError: WorkingTree.set_root_id with fileid=None

bzr 2.2b3 on python 2.4.3 (Linux-2.6.18-194.el5-s390x-with-redhat-5.5-Tikanga)
arguments: ['/EPA/usr/bin/bzr', 'up']
encoding: 'ISO-8859-1', fsenc: 'ISO-8859-1', lang: 'en_US'
plugins:
  bash_completion /EPA/usr/lib64/python2.4/site-packages/bzrlib/plugins/bash_completion [2.2b3]
  bzrtools /EPA/usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools [2.2.0]
  launchpad /EPA/usr/lib64/python2.4/site-packages/bzrlib/plugins/launchpad [2.2b3]
  netrc_credential_store /EPA/usr/lib64/python2.4/site-packages/bzrlib/plugins/netrc_credential_store [2.2b3]
  news_merge /EPA/usr/lib64/python2.4/site-packages/bzrlib/plugins/news_merge [2.2b3]
  pager /home/CEPApqk/.bazaar/plugins/pager [unknown]
  push_and_update /home/CEPApqk/.bazaar/plugins/push_and_update [0.2.0dev]
  xmloutput /EPA/usr/lib/python2.4/site-packages/bzrlib/plugins/xmloutput [0.8.6]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Robert Collins (lifeless) wrote :

Thats unusual. Can you please run
'bzr info -v'
it may give us some details to help.

Also how many revisions are missing?

Changed in bzr:
status: New → Incomplete
Revision history for this message
Andrew Schulman (andrex) wrote :

I'm sorry, but I'm afraid I obliterated the directory where this bug was occurring. So I can't give any more information about it :( I guess we should mark it invalid. Thanks for your time.

Changed in bzr:
status: Incomplete → Invalid
Revision history for this message
Julian Mehnle (jmehnle) wrote :
Download full text (3.3 KiB)

This just happened to me as well:

  ~/source/ami> bzr co /db/repo/ami/galileo/
  ~/source/ami> cd galileo
  ~/source/ami/galileo> bzr branch /db/repo/ami/trunk/ trunk/
  Branched 1410 revision(s).
  ~/source/ami/galileo> bzr stat
  unknown:
    trunk/
  ~/source/ami/galileo> bzr join trunk/
  renamed file:///data/home/julian/source/ami/galileo/trunk/.bzr to .bzr.retired.0
  ~/source/ami/galileo> rm -rf trunk/.bzr.retired.0/
  ~/source/ami/galileo> bzr stat
  working tree is out of date, run 'bzr update'
  renamed:
    / => trunk/
  ~/source/ami/galileo> bzr up
  bzr: ERROR: exceptions.ValueError: WorkingTree.set_root_id with fileid=None

  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 912, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 1112, in run_bzr
      ret = run(*run_argv)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 705, in run
      return self._operation.run_simple(*args, **kwargs)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
      self.cleanups, self.func, *args, **kwargs)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
      result = func(*args, **kwargs)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/builtins.py", line 1440, in run
      old_tip=old_tip)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/workingtree.py", line 2262, in update
      return self._update_tree(old_tip, change_reporter, revision)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/mutabletree.py", line 50, in tree_write_locked
      return unbound(self, *args, **kwargs)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/workingtree.py", line 2317, in _update_tree
      self.set_root_id(to_root_id)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/mutabletree.py", line 50, in tree_write_locked
      return unbound(self, *args, **kwargs)
    File "/usr/local/lib/python2.6/site-packages/bzrlib/workingtree.py", line 2175, in set_root_id
      'WorkingTree.set_root_id with fileid=None')
  ValueError: WorkingTree.set_root_id with fileid=None

  bzr 2.2.1 on python 2.6.6 (FreeBSD-6.3-STABLE-amd64-64bit-ELF)
  arguments: ['/usr/local/bin/bzr', 'up']
  encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
  plugins:
    bash_completion /usr/local/lib/python2.6/site-packages/bzrlib/plugins/bash_completion [2.2.1]
    launchpad /usr/local/lib/python2.6/site-packages/bzrlib/plugins/launchpad [2.2.1]
    netrc_credential_store /usr/local/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.2.1]
    news_merge /usr/local/lib/python2.6/site-packages/bzrlib/plugins/news_merge [2.2.1]

  *** Bazaar has encountered an internal error. This probably indicates a
      bug in Bazaar. You can help us fix it by filing a bug r...

Read more...

Changed in bzr:
status: Invalid → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.