This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年08月19日 17:37 by ryantimwilson, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| add_empty_dirs_to_zipfile.patch | ryantimwilson, 2014年08月19日 17:37 | review | ||
| Messages (2) | |||
|---|---|---|---|
| msg225535 - (view) | Author: Ryan Wilson (ryantimwilson) * | Date: 2014年08月19日 17:37 | |
Running command: $ mkdir foo; python -mzipfile -c foo.zip foo; python -mzipfile -e foo.zip dest ls: cannot access dest: No such file or directory This is because 'foo.zip' is empty since running 'python -mzipfile -c foo.zip foo' does not zip empty directories. Running 'unzip foo.zip' also produces: Archive: foo.zip warning [foo.zip]: zipfile is empty The following posted patch fixes this issue. |
|||
| msg225536 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2014年08月19日 17:40 | |
This is a duplicate of issue22219. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:07 | admin | set | github: 66426 |
| 2014年08月19日 17:40:45 | serhiy.storchaka | set | status: open -> closed superseder: python -mzipfile fails to add empty folders to created zip nosy: + serhiy.storchaka messages: + msg225536 resolution: duplicate stage: resolved |
| 2014年08月19日 17:37:14 | ryantimwilson | create | |