It seems that PYTHONHOME is set.
PYTHONHOME: C:\Users\xxx\AppData\Local\Programs\Python\Python312-32
Could not find platform independent libraries <prefix>
Need to reread sector: 13183LBA: 13183, C2 error count; 0
Need to reread sector: 13201Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13201, C2 error count; 0
Need to reread sector: 13211Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13211, C2 error count; 0
Need to reread sector: 13220LBA: 13220, C2 error count; 0
Need to reread sector: 13229Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13229, C2 error count; 0
Need to reread sector: 13257Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13257, C2 error count; 0
Need to reread sector: 13266LBA: 13266, C2 error count; 0
Need to reread sector: 13267Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13267, C2 error count; 0
Need to reread sector: 13276Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13276, C2 error count; 0
Need to reread sector: 13285Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13285, C2 error count; 0
Need to reread sector: 13294LBA: 13294, C2 error count; 0
Need to reread sector: 13295Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13295, C2 error count; 0
Need to reread sector: 13313Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 13313, C2 error count; 0
Need to reread sector: 99785LBA: 99785, C2 error count; 0
Need to reread sector: 99786Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 99786, C2 error count; 0
Need to reread sector: 99880Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 99880, C2 error count; 0
Need to reread sector: 99892LBA: 99892, C2 error count; 0
Need to reread sector: 99893Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 99893, C2 error count; 0
Need to reread sector: 99933Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 99933, C2 error count; 0
Need to reread sector: 100108LBA: 100108, C2 error count; 0
Need to reread sector: 100162Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 100162, C2 error count; 0
Need to reread sector: 100163Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 100163, C2 error count; 0
Need to reread sector: 100175LBA: 100175, C2 error count; 0
Need to reread sector: 100176Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 100176, C2 error count; 0
Need to reread sector: 100189Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 100189, C2 error count; 0
Need to reread sector: 100203LBA: 100203, C2 error count; 0
Need to reread sector: 100215Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 100215, C2 error count; 0
Need to reread sector: 100216Exception ignored in garbage collection:
Traceback (most recent call last):
File "E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py", line 984, in decode
total_chunks = int(math.ceil(float(len(data)) / float(chunk_size))) # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'int'> returned a result with an exception set
LBA: 100216, C2 error count; 0
reentrant wrote: I have also added testing script which invokes functions from reedsolo.py directly.
Here.
E:\MyDownloadedApp\RippingTools\redump.org\reentrant>C:\Users\xxx\AppData\Local\Programs\Python\Python312-32\python.exe c2.py
P
0
[2, 0, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 167, 233]
bytearray(b'\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
bytearray(b'\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa7\xe9')
bytearray(b'\x00')
Q
0
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 239, 8, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 184, 152]
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x89\xef\x08N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x89\xef\x08N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb8\x98')
bytearray(b'')
Btw, python312.dll and boost_python312-vc143-mt-x32-1_87.dll also need to call using LoadLibrary?