Skip to content

OverflowError: value too large to convert to int #326

@tgharold

Description

@tgharold

Attic 0.16 (Python 3.4)

This occurred during "attic check" (0.16 on both ends).

This particular backup has 172 archives, 174GB, original size for all of the archives is stated as 18.14TB.

Traceback (most recent call last):
  File "/root/build/prefix/lib/python3.4/site-packages/attic/remote.py", line 301, in get_many
  File "attic/hashindex.pyx", line 96, in attic.hashindex.NSIndex.__getitem__ (attic/hashindex.c:2171)
KeyError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/build/prefix/lib/python3.4/site-packages/cx_Freeze/initscripts/Console.py", line 27, in <module>
  File "prefix/bin/attic", line 3, in <module>
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 730, in main
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 720, in run
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 85, in do_check
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archive.py", line 547, in check
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archive.py", line 696, in rebuild_refcounts
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archive.py", line 673, in robust_iterator
  File "/root/build/prefix/lib/python3.4/site-packages/attic/remote.py", line 305, in get_many
  File "/root/build/prefix/lib/python3.4/site-packages/attic/remote.py", line 291, in store_object
  File "attic/hashindex.pyx", line 102, in attic.hashindex.NSIndex.__setitem__ (attic/hashindex.c:2280)
OverflowError: value too large to convert to int

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions