Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Description
I am using the ziprofs.py on Ubuntu. When I run this in Python-3.11.1 it works very well. With Python
3.12.0a4+ there are problems. In both cases, the same ziprofs.py and fuse.py files are used.
The only difference is the python version.
Unfortunately, I was unable to demonstrate problems using Linux
commands like wc, gzip, md5sum. Sofar, I only see this problem with proprietary closed source software.
It appears with different files.
When this EOFError occurs in
def read(self,path,size,offset,fh) of ziprofs.py
then the value of parameter "size" was 131072 and that of "offset" was 75755520.
The size of the file is 525537280 Bytes.
Strikingly, the low value of offset suggests, that the EOF is not yet riched.
Many thanks
C
File "/local/filesystem/git/ZipROFS/ziprofs.py", line 258, in readreturn f.read(size)^^^^^^^^^^^^ File"/local/python/2023_02_cpython-main/Lib/zipfile/__init__.py", line948, inread data=self._read1(n)^^^^^^^^^^^^^^ File"/local/python/2023_02_cpython-main/Lib/zipfile/__init__.py", line1018, in_read1 data=self._read2(n)^^^^^^^^^^^^^^ File"/local/python/2023_02_cpython-main/Lib/zipfile/__init__.py", line1052, in_read2raiseEOFErrorEOFErrorDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File"/local/filesystem/git/ZipROFS/fuse.py", line744, in_wrapperreturn func(*args,**kwargs)or0^^^^^^^^^^^^^^^^^^^^^ File"/local/filesystem/git/ZipROFS/fuse.py", line860, inread ret=self.operations('read',self._decode_optional_path(path), size, offset, fh)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/local/filesystem/git/ZipROFS/ziprofs.py", line127, in__call__returnsuper().__call__(op,self.root+ path,*args)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/local/filesystem/git/ZipROFS/fuse.py", line1097, in__call__returngetattr(self, op)(*args)^^^^^^^^^^^^^^^^^^^^^^^^ File"/local/filesystem/git/ZipROFS/ziprofs.py", line261, inreadexit(999) File"<frozen _sitebuiltins>", line26, in__call__SystemExit:999
Metadata
Metadata
Assignees
Labels
Projects
Status