You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the read code on the newly generated ISO I get the error:
Traceback (most recent call last):
File "read.py", line 5, in <module>
iso.open(sys.argv[1])
File "/home/h4xhor/venv/lib/python3.8/site-packages/pycdlib/pycdlib.py", line 4143, in open
self._open_fp(fp)
File "/home/h4xhor/venv/lib/python3.8/site-packages/pycdlib/pycdlib.py", line 2337, in _open_fp
ic_level, lastbyte = self._walk_directories(self.pvd, extent_to_ptr,
File "/home/h4xhor/venv/lib/python3.8/site-packages/pycdlib/pycdlib.py", line 1043, in _walk_directories
raise pycdlibexception.PyCdlibInvalidISO('Invalid padding on ISO')
pycdlib.pycdlibexception.PyCdlibInvalidISO: Invalid padding on ISO
I also noticed that the DIR1 is not there when I mount the new ISO.
May you please tell me what I'm doing wrong?
The text was updated successfully, but these errors were encountered:
Hi clalancette,
Thanks for creating this project. It works great on Linux ISOs!
I am trying to use it to add files and directories on Windows ISOs using the examples. I tested on Windows Server 2019 evaluation ISO.
Here is the code for creating an ISO using an existing ISO (
argv[1]
is the original ISO name andargv[2]
is the output ISO name):Here is the code
read.py
to read the created ISO:When I run the read code on the newly generated ISO I get the error:
I also noticed that the
DIR1
is not there when I mount the new ISO.May you please tell me what I'm doing wrong?
The text was updated successfully, but these errors were encountered: