Pull failed

Bug #885963 reported by Hibou57 (Yannick Duchêne)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Bzr returned an error on pull on the GCC bzr repository on launchpad. I wanted to Update, but erroneously hitted the Pull button. It failed (and should have not I believe). Later, I hitted Update, which went fine.

Platform version: Ubuntu Maverick

Bzr-explorer version: Version 1.2.1

Bzr version:
>>>
Bazaar (bzr) 2.4.1
  Python interpreter: /usr/bin/python 2.6.6
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.31-10-rt-i686-with-Ubuntu-10.10-maverick
  bzrlib: /usr/lib/pymodules/python2.6/bzrlib
  Bazaar configuration: /home/yannick/.bazaar
  Bazaar log file: /home/yannick/.bzr.log
<<<

Error message:
>>>
Run command: bzr pull
Using saved parent location: http://bazaar.launchpad.net/~vcs-imports/gcc/trunk/
bzr: failed to report crash using apport:
     OSError(13, 'Permission non accord\xc3\xa9e')
bzr: ERROR: exceptions.ValueError: math domain error

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/commands.py", line 821, in run
    return run_subprocess_command(cmd, bencoded)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/subprocess.py", line 888, in run_subprocess_command
    return commands.run_bzr(argv)
  File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/builtins.py", line 1076, in run
    show_base=show_base)
  File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/workingtree.py", line 1017, in pull
    local=local)
  File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 1109, in pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 3376, in pull
    merge_tags_to_master=not source_is_master)
  File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 3506, in _pull
    graph=graph)
  File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 3337, in _update_revisions
    self.target.set_last_revision_info(stop_revno, stop_revision)
  File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 217, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 2521, in set_last_revision_info
    self._run_post_change_branch_tip_hooks(old_revno, old_revid)
  File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 1221, in _run_post_change_branch_tip_hooks
    hook(params)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/__init__.py", line 59, in auto_index_branch
    search_index.index_branch(result.branch, result.new_revid)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/index.py", line 321, in index_branch
    self.index_revisions(branch, revs_to_index)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/index.py", line 336, in index_revisions
    outer_bar)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/index.py", line 384, in _index_revisions
    self._add_index(builder)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/index.py", line 440, in _add_index
    max_components = int(math.ceil(math.log(total_revisions, 2)))
ValueError: math domain error

bzr 2.4.1 on python 2.6.6 (Linux-2.6.31-10-rt-i686-with-Ubuntu-10.10-maverick)
arguments: ['/usr/bin/bzr', 'qsubprocess', '--bencode', 'l4:pulle']
plugins: bash_completion[2.4.1], builddeb[2.7.0dev], builder[unknown],
    bzrtools[2.4.0], changelog_merge[2.4.1], explorer[1.2.1], git[0.6.2],
    grep[0.4.0], gtk[0.100.0], launchpad[2.4.1],
    netrc_credential_store[2.4.1], news_merge[2.4.1], qbzr[0.21.1],
    search[1.7.0dev], stats[0.1.0], svn[1.1.0], weave_fmt[2.4.1]
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8'

*** 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.
>>>

Tags: bzr pull
Revision history for this message
Hibou57 (Yannick Duchêne) (yannick-duchene) wrote :
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 885963] Re: Pull failed

  duplicate 627702

upgrading bzr-search should fix this for you

Revision history for this message
John A Meinel (jameinel) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/04/2011 01:44 PM, Martin Packman wrote:
> *** This bug is a duplicate of bug 627202 ***
> https://bugs.launchpad.net/bugs/627202
>
> ** This bug is no longer a duplicate of bug 627702 Allen County
> subcollections ** This bug has been marked a duplicate of bug
> 627202 bzr crashed with ValueError in _add_index()
>

The specific bug indicates we did log(0). I'm not particularly sure
why that would happen.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk60AQkACgkQJdeBCYSNAAPqzACcCaXOrmooePfXzmq+hdfFD4YY
GTIAn3XKZuwo/2JTFBS4t1QeMLjSshEG
=m2m9
-----END PGP SIGNATURE-----

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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