Quantcast
Channel: ReScene - new forum threads
Viewing all articles
Browse latest Browse all 182

Call.of.Duty.Black.Ops.III.Zombie.Chronicles.German-0x0007

$
0
0

This release is 108 GiB
python 2.7 RAR 5.40 64-bit windows 7 mt 8

The method is_rar only allows up to .v99, sometimes this is not enough, it should at least go up to .z99 (possibly more).
I had an archive fail with .|## because of the invalid filename but I don't recall the release name now.

Changing the regex to ".*\.(rar|[r-z]\d{2}|\d{3})$" gets around this

 Creating archive K:\tmp\pyReScene\SRR-yeykqu\pyReScene_compressed.y58 ... de-codbo3zomchro.iso OK Calculating the checksum Traceback (most recent call last): File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\srr.py", line 602, in main parser.exit(manage_srr(options, infolder, infiles, working_dir)) File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\srr.py", line 316, in manage_srr options.volume is None, options.volume, rar_mt) File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\main.py", line 1318, in reconstruct in_folder, hints, auto_locate_renamed) File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\main.py", line 1707, in get_rar_data_object auto_locate_renamed)) File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\main.py", line 2019, in compressed_rar_file_factory nblock, followup_src, solid=False) File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\main.py", line 2202, in __init__ self.rarstream = RarStream(out, compressed=True) File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\rarstream.py", line 8 2, in __init__ rar_file = utility.next_archive(rar_file, is_old) File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\utility.py", line 265 , in next_archive raise AttributeError("The extension must be one form a RAR archive.") AttributeError: The extension must be one form a RAR archive. Unexpected Error: The extension must be one form a RAR archive. 

But then this happens

 Re-creating RAR file: de-codbo3zomchro.u10 Traceback (most recent call last): File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\srr.py", line 602, in main File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\srr.py", line 316, in manage_srr File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\main.py", line 1342, in reconstruct File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\main.py", line 1503, in _repack File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\main.py", line 2546, in read File "D:\pyReScene-HG\Gfy-pyrescene-4d4bcce5ed8a\rescene\rarstream.py", line 2 32, in read IOError: [Errno 24] Too many open files: u'K:\\tmp\\pyReScene\\SRR-b1nxpz\\pyReS cene_compressed.w07' Unexpected Error: [Errno 24] Too many open files: u'K:\\tmp\\pyReScene\\SRR-b1nx pz\\pyReScene_compressed.w07' 

After installing win32file and adding this at the beginning of main.py it finally worked.
Linux needs a different way to handle this, more info > stackoverflow_com/questions/6774724/why-python-has-limit-for-count-of-file-handles
While this may work it would be better to just close the files which are no longer needed.

 # allow more open files if win32file is installed try: import win32file win32file._setmaxstdio(2048) except ImportError: pass 

Viewing all articles
Browse latest Browse all 182

Trending Articles