OverflowError: can't convert negative value to unsigned long

Bug #880360 reported by Alan Wehmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Using Cygwin bzr on a laptop running Windows XP Home, following instructions from Uday Reddy on creating a private branch of VM 8.1.x on Launchpad

Sun 2011-10-23 08:22:59 -0500
0.265 bazaar version: 2.4.0
0.265 bzr arguments: [u'push', u'--remember', u'lp:~alan-wehmann/vm/8.1.x']
0.406 looking for plugins in /home/.bazaar/plugins
0.406 looking for plugins in /usr/lib/python2.6/site-packages/bzrlib/plugins
0.500 encoding stdout as osutils.get_user_encoding() 'ANSI_X3.4-1968'
0.687 opening working tree '/cygdrive/c/Documents/vm_releases/8.1.x'
0.750 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/builtins.py", line 1170, in run
    more_warning='Uncommitted changes will not be pushed.')
  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/mutabletree.py", line 266, in check_changed_or_out_of_date
    if (self.has_changes()):
  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/mutabletree.py", line 236, in has_changes
    change = changes.next()
  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

Revision history for this message
Martin Packman (gz) wrote :

Thanks for the bug report! This problem should be fixed in the latest 2.5 beta and in 2.4.2 which is scheduled to be released this week and should be picked up by cygwin shortly afterwards. See the related existing bug for more information, or this mailing list thread:

<https://lists.ubuntu.com/archives/bazaar/2011q3/073590.html>

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.