Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43945
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <davea@davea.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.018 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'python.': 0.02; 'example:': 0.03; 'subject:file': 0.07; 'python': 0.11; 'suggest': 0.14; 'algorithm.': 0.16; 'compression': 0.16; 'words.': 0.16; 'files.': 0.16; 'wrote:': 0.18; 'module': 0.19; 'example': 0.22; 'header:User-Agent:1': 0.23; 'header': 0.24; 'file.': 0.24; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'getting': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'file': 0.32; 'text': 0.33; 'guess': 0.33; 'plain': 0.33; 'could': 0.34; 'but': 0.35; 'similar': 0.36; 'checks': 0.38; 'to:addr:python-list': 0.38; 'fact': 0.38; 'pm,': 0.38; 'does': 0.39; 'success.': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'skip:u 10': 0.60; 'simple': 0.61; 'zip': 0.64; 'more': 0.64; 'here': 0.66; 'received:74.208': 0.68; 'fails,': 0.84; 'received:74.208.4.194': 0.84 |
| Date | Fri, 19 Apr 2013 21:50:49 -0400 |
| From | Dave Angel <davea@davea.name> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: unzipping a zipx file |
| References | <mailman.834.1366394500.3114.python-list@python.org> <5171e036$0$29977$c3e8da3$5496439d@news.astraweb.com> |
| In-Reply-To | <5171e036$0$29977$c3e8da3$5496439d@news.astraweb.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Provags-ID | V02:K0:OG8SwmCVMAKYWqHV+ISw8tdk6ig9Ae7svB88UCAh6w3 qWSFGyxiSOirtvVlSxOu9LFZfcuv+qh8xJKgncRyPatUsiDPnG Bxoy/1ZG2sgZdUHAqSZhXGeeTcdqI8gNx8L7dh1UQ6dqvk54T3 x/XeH/6I25RKhVw0OGiAjmhVVJlESoS1Q0ina0NOp4W3GzDrmt uoBcTreyosNVm/4tSg7a0j89JnNE23vRRnC1qRzsPq8PbtGNkg 5GsN75NZ8rgN8yWc4j1i/vyaM/n/AwOZ9pTB7RsvtZjEN6HPKP 7thVKQwCU/QRoPExvXDHRXH61vyOXadzwor3AIRteRAPr7y0g= = |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.845.1366422671.3114.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366422671 news.xs4all.nl 2219 [2001:888:2000:d::a6]:54332 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43945 |
Show key headers only | View raw
On 04/19/2013 08:24 PM, Steven D'Aprano wrote:
>
>
<SNIP>
>
> You are missing that zipx is not the same as zip, and Python very likely
> does not support the zipx compression algorithm.
>
> http://kb.winzip.com/kb/entry/7/
>
> My guess is that the zipx header is similar enough to zip that Python can
> retrieve the file names, but it cannot decompress the files.
> Unfortunately, instead of getting a nice error, it is fooled into
> thinking that it decompressed when in fact you just got junk.
>
The zip header includes a 32bit CRC for each file. Do you know whether
the zip module checks that CRC ?
>
> I suggest that you start with a simple example: create a plain text file
> with just a few words. Compress this single file to .zipx, then try to
> decompress it using Python. If it still fails, you will have a simple
> example that you could post here and see if others have more success.
>
>
>
--
DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
unzipping a zipx file "b_erickson1" <brian@dashley.net> - 2013-04-19 17:59 +0000
Re: unzipping a zipx file John Gordon <gordon@panix.com> - 2013-04-19 18:33 +0000
Re: unzipping a zipx file John Gordon <gordon@panix.com> - 2013-04-19 18:56 +0000
Re: unzipping a zipx file Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-20 00:24 +0000
Re: unzipping a zipx file Dave Angel <davea@davea.name> - 2013-04-19 21:50 -0400
csiph-web