OverflowError calling fp.read on large repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Unassigned |
Bug Description
Trying to branch or checkout a my image repository, I got the following error. Yes, it's big, but no, it's not huge (namely, 20Gb total).
$ bzr branch file://
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
hardlink=
File "/usr/lib/
revision_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
dest_
File "/usr/lib/
return inter.fetch(
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
revision_
File "/usr/lib/
return self._create_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
write_index, output_lines, pb, readv_group_iter, total_items):
File "/usr/lib/
izip(
File "/usr/lib/
for record in self._iter_
File "/usr/lib/
record_kind = self.reader_func(1)
File "/usr/lib/
return self._source.
File "/usr/lib/
self._next()
File "/usr/lib/
length, data = self.readv_
File "/usr/lib/
data = fp.read(
OverflowError: long int too large to convert to int
bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'file:/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Changed in bzr: | |
status: | Incomplete → Confirmed |
Can you please try upgrading to a later version of bzr, as this bug may already have been fixed. See http:// bazaar- vcs.org/ Download