Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Too early EOFError #101911

Open
Open
Assignees
gpshead
Labels
3.12only security fixesstdlibPython modules in the Lib dirtopic-IOtype-bugAn unexpected behavior, bug, or error
@christophgil

Description

@christophgil

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

3.12only security fixesstdlibPython modules in the Lib dirtopic-IOtype-bugAn unexpected behavior, bug, or error

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp