Python int too large to convert to C long

Issue #3 resolved
Former user created an issue

I'm not much of a software dev, but it looks like file sizes for larger releases might be causing issues when converting between variable types python->C? Sorry for the stupid word wrapping, shells in Windows are bad and I forgot to resize it.

D:\rescene\BioShock_2-Razor1911>C:\Python27\python.exe C:\pyrescene\bin\srr BioS hock_2-Razor1911.srr -z C:\pyrescene\bin\rars -t temp SRR file created with pyReScene Auto 0.4. Recreating stored file: rzr-bio2.nfo Recreating stored file: rzr-bio2.sfv Re-creating RAR file: rzr-bio2.001 Trying to rebuild compressed file. Trying 2010-02-10 3.92. a -m1 -mdG -s- -mt1 -vn -o+ temp\pyReScene_compressed.rar temp\pyReScene_data_pi ece.bin Good RAR version detected: 2010-02-10 3.92 Compressing rzr-bio2.iso...

RAR 3.92 Copyright (c) 1993-2010 Alexander Roshal 10 Feb 2010 Shareware version Type RAR -? for help

Evaluation copy. Please register.

Creating archive temp\pyReScene_compressed.rar

Adding D:\rescene\BioShock_2-Razor1911\rzr-bio2.iso OK Done Traceback (most recent call last): File "C:\pyrescene\rescene\srr.py", line 418, in main parser.exit(manage_srr(options, infolder, infiles, working_dir)) File "C:\pyrescene\rescene\srr.py", line 210, in manage_srr options.rar_executable_dir, options.temp_dir) File "C:\pyrescene\rescene\main.py", line 1127, in reconstruct srcfs = get_rar_data_object(block, blocks, src) File "C:\pyrescene\rescene\comprrar.py", line 73, in get_rar_data_object compressed_rar_file_factory(block, blocks, src)) File "C:\pyrescene\rescene\comprrar.py", line 235, in compressed_rar_file_fact ory return CompressedRarFile(block, blocks, src) File "C:\pyrescene\rescene\comprrar.py", line 320, in init self.rarstream = RarStream(out, compressed=True) File "C:\pyrescene\rescene\rarstream.py", line 76, in init if not middle and not _check(first_rar): File "C:\pyrescene\rescene\rarstream.py", line 45, in _check blocks = rar_reader.read_all() File "C:\pyrescene\rescene\rar.py", line 1505, in read_all for block in self: File "C:\pyrescene\rescene\rar.py", line 1552, in next return self.next() File "C:\pyrescene\rescene\rar.py", line 1541, in next block = self._read() File "C:\pyrescene\rescene\rar.py", line 1480, in _read block_buffer += self._rarstream.read(add_size) OverflowError: Python int too large to convert to C long Unexpected Error: Python int too large to convert to C long

Comments (4)

  1. Log in to comment