Serhiy Storchaka added the comment:
Interesting, but all extra after the Extended Timestamp field is a UTF-8
encoded text:
b"\n\x00
Serhiy Storchaka added the comment:
Opened issue24693 about exception type.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24686
___
___
Ronald Oussoren added the comment:
The actual exception you're getting is IMHO a bug, it should have been a
zipfile.BadZipfile exception.
That said, it might be useful to teach zipfile to optionally be a little more
forgiving about errors like this when reading a zipfile. I'm at best -0 on
Serhiy Storchaka added the comment:
zipinfo -v emits an error:
Central directory entry #48:
---
com/pixelmed/apps/DoseUtility$OurSourceDatabaseTreeBrowser$1.class
offset of local header from start of archive: 2892
Serhiy Storchaka added the comment:
The extra fields data is bUT\x05\x00\x07\xa3\xaa#\n\x00
\x00\x00\x00\x00\x00\x01\x00\x18\x00\x00\xeb\x93\x91'\xef\xbf\xbd\xef\xbf\xbd\x01\x00\xde\xa8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\x01\x00\xde\xa8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\x01.
It contains
New submission from Devin Fisher:
Not sure if this is a bug. The attached jar file is malformed. Unzip (6.00)
says the following about the malformedness of the jar file:
unzip -tqq bad.jar
com/pixelmed/apps/DoseUtility$OurSourceDatabaseTreeBrowser$1.class bad
extra-field entry:
EF