On Tue, 20 Sep 2011 10:50:39 -0400, Ken Brown wrote:
On 9/5/2011 7:43 AM, Ronald Blaschke wrote:
I recently upgraded the bzr package to this version:
Bazaar (bzr) 2.4.0
Python interpreter: /usr/bin/python 2.6.5
Python standard library: /usr/lib/python2.6
Platform: CYGWIN_NT-6.1-WOW64-1.7.9-0.237-5-3-i686-32bit
Now I receive the following error message during bzr status on a
branch.
bzr: ERROR: exceptions.OverflowError: can't convert negative value
to
unsigned long
Traceback (most recent call last):
[snip]
File /usr/lib/python2.6/site-packages/bzrlib/delta.py, line
127, in
_compare_trees
want_unversioned=want_unversioned):
File _dirstate_helpers_pyx.pyx, line 1459, in
bzrlib._dirstate_helpers_pyx.ProcessEntryC.__next__
(bzrlib/_dirstate_helpers_pyx.c:12147)
File _dirstate_helpers_pyx.pyx, line 1732, in
bzrlib._dirstate_helpers_pyx.ProcessEntryC._iter_next
(bzrlib/_dirstate_helpers_pyx.c:14909)
File _dirstate_helpers_pyx.pyx, line 1831, in
bzrlib._dirstate_helpers_pyx.ProcessEntryC._loop_one_block
(bzrlib/_dirstate_helpers_pyx.c:15778)
File _dirstate_helpers_pyx.pyx, line 1156, in
bzrlib._dirstate_helpers_pyx.ProcessEntryC._process_entry
(bzrlib/_dirstate_helpers_pyx.c:8261)
File _dirstate_helpers_pyx.pyx, line 873, in
bzrlib._dirstate_helpers_pyx._update_entry
(bzrlib/_dirstate_helpers_pyx.c:5835)
File _dirstate_helpers_pyx.pyx, line 827, in
bzrlib._dirstate_helpers_pyx._pack_stat
(bzrlib/_dirstate_helpers_pyx.c:5547)
OverflowError: can't convert negative value to unsigned long
There is no issue with bzr 2.3.1-1. Also, I have checked out the
bzr
2.4.0 source and built it myself (make extensions), and this works
just fine as well.
I'm seeing the same error in my bzr repositories (I have several).
Jari? Ping?
Ping. I am seeing the same thing, it is rather crippling:
`-- bzr status
bzr: ERROR: exceptions.OverflowError: can't convert negative value to
unsigned long
Traceback (most recent call last):
File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line 946,
in exception_to_return_code
return the_callable(*args, **kwargs)
File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line
1150, in run_bzr
ret = run(*run_argv)
File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line 699,
in run_argv_aliases
return self.run(**all_cmd_args)
File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line 721,
in run
return self._operation.run_simple(*args, **kwargs)
File /usr/lib/python2.6/site-packages/bzrlib/cleanup.py, line 135,
in run_simple
self.cleanups, self.func, *args, **kwargs)
File /usr/lib/python2.6/site-packages/bzrlib/cleanup.py, line 165,
in _do_with_cleanups
result = func(*args, **kwargs)
File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line
1165, in ignore_pipe
result = func(*args, **kwargs)
File /usr/lib/python2.6/site-packages/bzrlib/builtins.py, line 308,
in run
classify=not no_classify)
File /usr/lib/python2.6/site-packages/bzrlib/status.py, line 173,
in show_tree_status
classify=classify)
File /usr/lib/python2.6/site-packages/bzrlib/status.py, line 73, in
report_changes
want_unversioned=want_unversioned)
File /usr/lib/python2.6/site-packages/bzrlib/tree.py, line 92, in
changes_from
want_unversioned=want_unversioned,
File /usr/lib/python2.6/site-packages/bzrlib/decorators.py, line
154, in read_locked
result = unbound(self, *args, **kwargs)
File /usr/lib/python2.6/site-packages/bzrlib/tree.py, line 1020, in
compare
want_unversioned=want_unversioned)
File /usr/lib/python2.6/site-packages/bzrlib/delta.py, line 127, in
_compare_trees
want_unversioned=want_unversioned):
File _dirstate_helpers_pyx.pyx, line 1459, in
bzrlib._dirstate_helpers_pyx.ProcessEntryC.__next__
(bzrlib/_dirstate_helpers_pyx.c:12147)
File _dirstate_helpers_pyx.pyx, line 1732, in
bzrlib._dirstate_helpers_pyx.ProcessEntryC._iter_next
(bzrlib/_dirstate_helpers_pyx.c:14909)
File _dirstate_helpers_pyx.pyx, line 1831, in
bzrlib._dirstate_helpers_pyx.ProcessEntryC._loop_one_block
(bzrlib/_dirstate_helpers_pyx.c:15778)
File _dirstate_helpers_pyx.pyx, line 1156, in
bzrlib._dirstate_helpers_pyx.ProcessEntryC._process_entry
(bzrlib/_dirstate_helpers_pyx.c:8261)
File _dirstate_helpers_pyx.pyx, line 873, in
bzrlib._dirstate_helpers_pyx._update_entry
(bzrlib/_dirstate_helpers_pyx.c:5835)
File _dirstate_helpers_pyx.pyx, line 827, in
bzrlib._dirstate_helpers_pyx._pack_stat
(bzrlib/_dirstate_helpers_pyx.c:5547)
OverflowError: can't convert negative value to unsigned long
bzr 2.4.0 on python 2.6.5 (CYGWIN_NT-5.1-1.7.10s-0.251-5-3-i686-32bit)
arguments: ['/usr/bin/bzr', 'status']
plugins: bash_completion[2.4.0], changelog_merge[2.4.0],
launchpad[2.4.0],
netrc_credential_store[2.4.0], news_merge[2.4.0], weave_fmt[2.4.0]
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** Bazaar has encountered an internal error. This