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
Mayan-EDMS uncompresses ZipFile archives and then loads the files directly. This causes an UnsupportedOperation error when Django tries to calculate the file size using seek() and tell(). The ZipExtFile instance that is passed to Django has a seek() method, but calling it raises UnsupportedOperation.
We need to fallback to calculating size and reading the content without using seek().
The text was updated successfully, but these errors were encountered:
Mayan-EDMS uncompresses ZipFile archives and then loads the files directly. This causes an
UnsupportedOperation
error when Django tries to calculate the file size usingseek()
andtell()
. TheZipExtFile
instance that is passed to Django has aseek()
method, but calling it raisesUnsupportedOperation
.We need to fallback to calculating size and reading the content without using
seek()
.The text was updated successfully, but these errors were encountered: