exceptions.OverflowError: long int too large to convert

Bug #831044 reported by Lars Vierbergen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

The error bzr: ERROR: exceptions.OverflowError: long int too large to convert occured when I was trying to open a branch from a virtual repository. It is branched from another local branch and has a lot of file changes that are not yet commited.
Running bzr 2.3.4 on python 2.6.6 on windows 7

Traceback (most recent call last):
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 1481, in callable_with_cleanup
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 1649, in _open_location_task
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\location_viewer.py", line 161, in add_location
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\location.py", line 178, in view
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\view_workingtree.py", line 72, in ui
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\html_report_view.py", line 51, in ui
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\html_report_view.py", line 55, in refresh_view
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\view_workingtree.py", line 97, in report_text
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\status_report.py", line 195, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\status_report.py", line 212, in _collect_data
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\status_data.py", line 43, in get_status_info
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\status_data.py", line 61, in changes_between_trees
  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 127, in _compare_trees
  File "_dirstate_helpers_pyx.pyx", line 1439, in bzrlib._dirstate_helpers_pyx.ProcessEntryC.__next__ (bzrlib\_dirstate_helpers_pyx.c:12204)
  File "_dirstate_helpers_pyx.pyx", line 1712, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._iter_next (bzrlib\_dirstate_helpers_pyx.c:14918)
  File "_dirstate_helpers_pyx.pyx", line 1811, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._loop_one_block (bzrlib\_dirstate_helpers_pyx.c:15813)
  File "_dirstate_helpers_pyx.pyx", line 1136, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._process_entry (bzrlib\_dirstate_helpers_pyx.c:8372)
  File "_dirstate_helpers_pyx.pyx", line 872, in bzrlib._dirstate_helpers_pyx._update_entry (bzrlib\_dirstate_helpers_pyx.c:6037)
  File "_dirstate_helpers_pyx.pyx", line 825, in bzrlib._dirstate_helpers_pyx._pack_stat (bzrlib\_dirstate_helpers_pyx.c:5693)
OverflowError: long int too large to convert

bzr 2.3.4 on python 2.6.6 (win32)
arguments: ['C:\\Program Files (x86)\\Bazaar\\bzrw.exe', 'explorer']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.3.1]
  colo C:\Program Files (x86)\Bazaar\plugins\colo [0.2.1]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [1.1.4]
  fastimport C:\Program Files (x86)\Bazaar\plugins\fastimport [0.10.0]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.3.4]
  loom C:\Program Files (x86)\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_store [2.3.4]
  news_merge C:\Program Files (x86)\Bazaar\plugins\news_merge [2.3.4]
  pipeline C:\Program Files (x86)\Bazaar\plugins\pipeline [1.1.0]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.20.1]
  rewrite C:\Program Files (x86)\Bazaar\plugins\rewrite [0.6.2dev]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.0.5dev]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0]
  xmloutput C:\Program Files (x86)\Bazaar\plugins\xmloutput [0.8.7.dev]

Revision history for this message
Lars Vierbergen (vierbergenlars) wrote :
affects: bzr-explorer → bzr
Revision history for this message
Lars Vierbergen (vierbergenlars) wrote :

This is not an issue on ubuntu 11.04. Maybe it is important to say that my windows is 64 bit (bzr is running 32 bit virtualisation)

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

This can be worked around if you find the problem file, which will either be >4GB in size, or have a timestamp in the far past or future.

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.