local variable 'found' referenced before assignment

Issue #4 resolved
Former user created an issue

D:\rescene\CALL.OF.DUTY.2-DEViANCE>C:\Python27\python.exe C:\pyrescene\bin\srr C ALL.OF.DUTY.2-DEViANCE.srr -z C:\pyrescene\bin\rars -t temp SRR file created with pyReScene Auto 0.4. Recreating stored file: deviance.nfo Recreating stored file: dev-cod2.sfv Re-creating RAR file: dev-cod2.rar Trying to rebuild compressed file. Trying 2006-03-29 3.60. 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 295, in init self.good_rar = self.search_matching_rar_executable(first_block, blocks) File "C:\pyrescene\rescene\comprrar.py", line 440, in search_matching_rar_exec utable if found: UnboundLocalError: local variable 'found' referenced before assignment Unexpected Error: local variable 'found' referenced before assignment

Comments (3)

  1. Log in to comment