Python cannot mmap an empty file

Describes the cause and action for error messages.


Error Message(English):
cannot mmap an empty file

Resolution


関連リンク


mmap file inquiry for a blank file in Python - Stack Overflow
https://stackoverflow.com/questions/29654513/mmap-file-inquiry-for-a-blank-file-in-python

python file.truncate Errno 13 permission denied - Stack Overflow
https://stackoverflow.com/questions/24529162/python-file-truncate-errno-13-permission-denied

`ValueError: cannot mmap an empty file` on head.log() ・ Issue #758 ...
https://github.com/gitpython-developers/GitPython/issues/758

file.search broken on python 2.6 with empty files ・ Issue #29344 ...
https://github.com/saltstack/salt/issues/29344

cpython/test_mmap.py at master ・ python/cpython ・ GitHub
https://github.com/python/cpython/blob/master/Lib/test/test_mmap.py

cpython/mmapmodule.c at master ・ python/cpython ・ GitHub
https://github.com/python/cpython/blob/master/Modules/mmapmodule.c

Message 335682 - Python tracker
https://bugs.python.org/msg335682

mmap.patch
https://bugs.python.org/file28446/mmap.patch

[Python-checkins] cpython (merge default -> default): Merge 3.5 ...
https://mail.python.org/pipermail/python-checkins/2015-March/135278.html

Conda: conda/core/subdir_data.py | Fossies
https://fossies.org/linux/conda/conda/core/subdir_data.py



Name:
Comment:



[return to Python エラーコード一覧]