Python tarfile not a gzip file

Describes the cause and action for error messages.


Error Message(English):
tarfile not a gzip file

Resolution


関連リンク


open .tar.gz archives in python - Stack Overflow
https://stackoverflow.com/questions/20176361/open-tar-gz-archives-in-python

tarfile doesn't work for .gz files
https://stackoverflow.com/questions/44874943/tarfile-doesnt-work-for-gz-files

Python3 tarfile not working with gzipped tarballs
https://stackoverflow.com/questions/12464213/python3-tarfile-not-working-with-gzipped-tarballs

Python tarfile not creating valid .tar.gz file
https://stackoverflow.com/questions/27512635/python-tarfile-not-creating-valid-tar-gz-file

How can files be added to a tarfile with Python, without ...
https://stackoverflow.com/questions/2239655/how-can-files-be-added-to-a-tarfile-with-python-without-・・・

13.6. tarfile ? tar アーカイブファイルの読み書き ? Python 3.6.5 ドキュメント
https://docs.python.jp/3/library/tarfile.html

12.5. tarfile ? Read and write tar archive files ? Python 2.7.16rc1 ...
https://docs.python.org/2/library/tarfile.html

"not a gzip file" error ・ Issue #48 ・ misja/python-boilerpipe ・ GitHub
https://github.com/misja/python-boilerpipe/issues/48

Python-2.7.3/tarfile.py at master ・ enthought/Python-2.7.3 ・ GitHub
https://github.com/enthought/Python-2.7.3/blob/master/Lib/tarfile.py

Python/Snippet/ファイル ? アクセンスのおまけ
http://omake.accense.com/wiki/Python/Snippet/%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB



Name:
Comment:



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