exceptions.OverflowError: can't convert negative value to unsigned long

Bug #714883 reported by Siggi Bjarnason
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

When trying to do an initial commit for an existing project (never been version controlled before) on a Windows Server 2008 R2 I get this error:
E:\Programing\VBScript>bzr commit -m "initial add"
Committing to: E:/Programing/VBScript/
aborting commit write group: OverflowError("can't convert negative value to unsigned long"
,)
bzr: ERROR: exceptions.OverflowError: can't convert negative value to unsigned long

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1112, in run_bzr
  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
  File "bzrlib\commands.pyo", line 705, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 3200, in run
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\workingtree_4.pyo", line 197, in commit
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\mutabletree.pyo", line 201, in commit
  File "bzrlib\commit.pyo", line 286, in commit
  File "bzrlib\cleanup.pyo", line 131, in run
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\commit.pyo", line 417, in _commit
  File "bzrlib\commit.pyo", line 661, in _update_builder_with_changes
  File "bzrlib\repository.pyo", line 654, in record_iter_changes
  File "bzrlib\commit.pyo", line 682, in _filter_iter_changes
  File "_dirstate_helpers_pyx.pyx", line 1410, in bzrlib._dirstate_helpers_pyx.ProcessEntr
yC.__next__ (bzrlib\_dirstate_helpers_pyx.c:11953)
  File "_dirstate_helpers_pyx.pyx", line 1683, in bzrlib._dirstate_helpers_pyx.ProcessEntr
yC._iter_next (bzrlib\_dirstate_helpers_pyx.c:14740)
  File "_dirstate_helpers_pyx.pyx", line 1782, in bzrlib._dirstate_helpers_pyx.ProcessEntr
yC._loop_one_block (bzrlib\_dirstate_helpers_pyx.c:15630)
  File "_dirstate_helpers_pyx.pyx", line 1107, in bzrlib._dirstate_helpers_pyx.ProcessEntr
yC._process_entry (bzrlib\_dirstate_helpers_pyx.c:8056)
  File "_dirstate_helpers_pyx.pyx", line 843, in bzrlib._dirstate_helpers_pyx._update_entr
y (bzrlib\_dirstate_helpers_pyx.c:5746)
  File "_dirstate_helpers_pyx.pyx", line 796, in bzrlib._dirstate_helpers_pyx._pack_stat (
bzrlib\_dirstate_helpers_pyx.c:5423)
OverflowError: can't convert negative value to unsigned long

bzr 2.2.2 on python 2.6.4 (Windows-post2008Server-6.1.7600)
arguments: ['bzr', 'commit', '-m', 'initial add']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.2.0]
  colo C:\Program Files (x86)\Bazaar\plugins\colo [0.1.0]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [1.1.1]
  fastimport C:\Program Files (x86)\Bazaar\plugins\fastimport [0.9.0dev]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.2.2]
  loom C:\Program Files (x86)\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_store [2.2
.2]
  news_merge C:\Program Files (x86)\Bazaar\plugins\news_merge [2.2.2]
  pipeline C:\Program Files (x86)\Bazaar\plugins\pipeline [unknown]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.19.2]
  rewrite C:\Program Files (x86)\Bazaar\plugins\rewrite [0.6.1]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.0.4]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Program Files (x86)\Bazaar\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.

E:\Programing\VBScript>

On Windows 7 Enterprise when trying to version control the same project

Mon 2011-02-07 14:33:13 -0800
0.160 bazaar version: 2.2.3
0.160 bzr arguments: [u'init']
0.170 looking for plugins in C:/Users/sbjarnason/AppData/Roaming/bazaar/2.0/plugins
0.170 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
1.003 encoding stdout as sys.stdout encoding 'cp437'
1.273 creating repository in file:///C:/VBScript/.bzr/.
1.306 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x02F669B0> in file:///C:/VBScript/
1.382 opening working tree 'C:/VBScript'
1.400 opening working tree 'C:/VBScript'
1.457 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
1.457 return code 0

Mon 2011-02-07 14:33:19 -0800
0.071 bazaar version: 2.2.3
0.071 bzr arguments: [u'add']
0.081 looking for plugins in C:/Users/sbjarnason/AppData/Roaming/bazaar/2.0/plugins
0.081 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.228 encoding stdout as sys.stdout encoding 'cp437'
0.251 opening working tree 'C:/VBScript'
0.381 skip control directory '.bzr'
1.181 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
1.181 return code 0

Mon 2011-02-07 14:33:53 -0800
0.057 bazaar version: 2.2.3
0.057 bzr arguments: [u'rm', u'--keep', u'_gsdata_']
0.066 looking for plugins in C:/Users/sbjarnason/AppData/Roaming/bazaar/2.0/plugins
0.067 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.227 encoding stdout as sys.stdout encoding 'cp437'
0.251 opening working tree 'C:/VBScript'
[ 1164] 2011-02-07 14:33:53.969 INFO: removed _gsdata_/_file_state._gs
[ 1164] 2011-02-07 14:33:53.970 INFO: removed _gsdata_/_cleanup.gss
[ 1164] 2011-02-07 14:33:53.971 INFO: removed _gsdata_/2011-0125-180900-WST51018436-VBScript.log
[ 1164] 2011-02-07 14:33:53.973 INFO: removed _gsdata_
0.313 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.313 return code 0

Mon 2011-02-07 14:34:02 -0800
0.051 bazaar version: 2.2.3
0.052 bzr arguments: [u'ignore', u'_gsdata_']
0.064 looking for plugins in C:/Users/sbjarnason/AppData/Roaming/bazaar/2.0/plugins
0.064 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.222 encoding stdout as sys.stdout encoding 'cp437'
0.246 opening working tree 'C:/VBScript'
0.334 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.334 return code 0

Mon 2011-02-07 14:34:10 -0800
0.059 bazaar version: 2.2.3
0.059 bzr arguments: [u'status']
0.070 looking for plugins in C:/Users/sbjarnason/AppData/Roaming/bazaar/2.0/plugins
0.070 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.236 encoding stdout as sys.stdout encoding 'cp437'
0.260 opening working tree 'C:/VBScript'
0.266 check paths: None
0.313 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1112, in run_bzr
  File "C:/Program Files (x86)/Bazaar/plugins\loom\commands.py", line 203, in run_argv_aliases
  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
  File "bzrlib\commands.pyo", line 705, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\commands.pyo", line 1127, in ignore_pipe
  File "bzrlib\builtins.pyo", line 339, in run
  File "bzrlib\status.pyo", line 163, in show_tree_status
  File "bzrlib\status.pyo", line 71, in report_changes
  File "bzrlib\tree.pyo", line 94, in changes_from
  File "bzrlib\decorators.pyo", line 140, in read_locked
  File "bzrlib\tree.pyo", line 1002, in compare
  File "bzrlib\delta.pyo", line 126, in _compare_trees
  File "_dirstate_helpers_pyx.pyx", line 1410, in bzrlib._dirstate_helpers_pyx.ProcessEntryC.__next__ (bzrlib\_dirstate_helpers_pyx.c:11953)
  File "_dirstate_helpers_pyx.pyx", line 1683, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._iter_next (bzrlib\_dirstate_helpers_pyx.c:14740)
  File "_dirstate_helpers_pyx.pyx", line 1782, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._loop_one_block (bzrlib\_dirstate_helpers_pyx.c:15630)
  File "_dirstate_helpers_pyx.pyx", line 1107, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._process_entry (bzrlib\_dirstate_helpers_pyx.c:8056)
  File "_dirstate_helpers_pyx.pyx", line 843, in bzrlib._dirstate_helpers_pyx._update_entry (bzrlib\_dirstate_helpers_pyx.c:5746)
  File "_dirstate_helpers_pyx.pyx", line 796, in bzrlib._dirstate_helpers_pyx._pack_stat (bzrlib\_dirstate_helpers_pyx.c:5423)
OverflowError: can't convert negative value to unsigned long

0.335 couldn't find apport bug-reporting library: No module named apport
0.419 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.419 return code 4

Mon 2011-02-07 14:34:56 -0800
0.055 bazaar version: 2.2.3
0.055 bzr arguments: [u'--version']
0.066 looking for plugins in C:/Users/sbjarnason/AppData/Roaming/bazaar/2.0/plugins
0.066 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.233 encoding stdout as sys.stdout encoding 'cp437'
0.286 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.287 return code 0
3598.203 opening working tree 'C:/WebRoot/NetInv'
[ 7944] 2011-02-07 14:35:26.164 INFO: added path to watch 'C:\WebRoot\NetInv' - now watching 1 locations
3598.904 opening working tree 'C:/VBScript'
[ 7944] 2011-02-07 14:35:26.862 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
[ 7944] 2011-02-07 14:35:26.877 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
3598.966 opening working tree 'C:/WebRoot/BookInv'
[ 7944] 2011-02-07 14:35:26.924 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
3599.148 opening working tree 'C:/WebRoot/DVDInv'
[ 7944] 2011-02-07 14:35:27.105 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
3599.330 opening working tree 'C:/WebRoot/esplanade'
[ 7944] 2011-02-07 14:35:27.289 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
3599.400 opening working tree 'C:/WebRoot/ServerTech'
[ 7944] 2011-02-07 14:35:27.358 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
3599.486 opening working tree 'C:/WebRoot/sgb'
[ 7944] 2011-02-07 14:35:27.444 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
3599.570 opening working tree 'C:/WebRoot/smb'
[ 7944] 2011-02-07 14:35:27.528 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
[ 7944] 2011-02-07 14:35:27.542 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
[ 7944] 2011-02-07 14:35:27.546 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
[ 7944] 2011-02-07 14:35:27.983 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
[ 7944] 2011-02-07 14:35:27.996 WARNING: Status check for C:\VBScript failed. (can't convert negative value to unsigned long)
[ 7944] 2011-02-07 14:35:28.082 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations
[ 7944] 2011-02-07 14:35:28.150 INFO: added path to watch 'C:\Users\sbjarnason\AppData\Local\Google\Chrome\Application\9.0.597.84' - now watching 1 locations

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.