Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26374
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <andrea.crotti.0@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.030 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'bug.': 0.07; 'explanation': 0.09; 'received:mail-lpp01m010-f46.google.com': 0.09; 'threads.': 0.09; 'cc:addr:python-list': 0.10; 'sense,': 0.16; 'subject:failed': 0.16; 'surprising': 0.16; 'threads': 0.16; 'fix': 0.17; 'code,': 0.18; 'trying': 0.21; 'cc:2**0': 0.23; "haven't": 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'guess': 0.27; 'forgot': 0.27; 'message-id:@mail.gmail.com': 0.27; 'objects': 0.29; 'probably': 0.29; "i'm": 0.29; 'related': 0.30; 'received:209.85.215.46': 0.30; 'file': 0.32; 'right?': 0.33; 'problem': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'open': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; "didn't": 0.36; 'detail': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'possible.': 0.38; 'sure': 0.38; 'subject:-': 0.40; 'header:Received:5': 0.40; 'help': 0.40; 'your': 0.60; 'solve': 0.62; 'between': 0.63; 'ever': 0.63; 'completely,': 0.84; 'nagy': 0.84; 'troubles': 0.84; 'lot,': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=C7oPUoUdet4FPc+Z3H0i6T9OzVDO+wnIHWTowmCzBMA=; b=q465gPc+dIdwQah4t0SHK0pq0S+Ut0dNcWKda5pYa2cxO0vu2i1pZrzbFJl/VZW+PO FZxKlGENuohEbxaE0pTX/FynlC5OH/AsvxPOiNdU+7/ddrPsXdfAeVFIPoHVFYWLnop5 1uMbJGwBMCfENWwKvUBIuDaTF1gVA08wNn3spKuAPxBgBu9JcszaVsoA/Waa4I6B19RW Lg+Gs35jw6OEzNHUkeTjnAX+FU1c3s0sO+F1kwWrcxrgyfd5LIkTaeRzYa+QxIwfis65 tOH3PfRuinlWBxRegjUXp8QZjih+nvJdy+5zEYrdhsD1A5L08asg6pVgrbCz1oRjllXQ eZzA== |
| MIME-Version | 1.0 |
| In-Reply-To | <501961C7.1050405@shopzeus.com> |
| References | <CAF_E5JahAZ4w3em_aqBbx63pxiTU-nqtRLZWb5_jRQr2yqhRWA@mail.gmail.com> <50190ED6.1040100@shopzeus.com> <mailman.2825.1343826107.4697.python-list@python.org> <501956a7$0$29978$c3e8da3$5496439d@news.astraweb.com> <CAF_E5JZ5=JkR3R=Y9VQ+sp_hCOODMaz2zHRwYVqbexNOCDNX0A@mail.gmail.com> <501961C7.1050405@shopzeus.com> |
| Date | Wed, 1 Aug 2012 18:17:56 +0100 |
| Subject | Re: CRC-checksum failed in gzip |
| From | andrea crotti <andrea.crotti.0@gmail.com> |
| To | Laszlo Nagy <gandalf@shopzeus.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.2843.1343841485.4697.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1343841485 news.xs4all.nl 6906 [2001:888:2000:d::a6]:52000 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26374 |
Show key headers only | View raw
2012/8/1 Laszlo Nagy <gandalf@shopzeus.com>:
>
>> Thanks a lot, that makes a lot of sense.. I haven't given this detail
>> before because I didn't write this code, and I forgot that there were
>> threads involved completely, I'm just trying to help to fix this bug.
>>
>> Your explanation makes a lot of sense, but it's still surprising that
>> even just reading files without ever writing them can cause troubles
>> using threads :/
>
> Make sure that file objects are not shared between threads. If that is
> possible. It will probably solve the problem (if that is related to
> threads).
Well I just have to create a lock I guess right?
with lock:
# open file
# read content
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: CRC-checksum failed in gzip andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-01 14:01 +0100
Re: CRC-checksum failed in gzip Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-08-01 16:17 +0000
Re: CRC-checksum failed in gzip andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-01 17:38 +0100
Re: CRC-checksum failed in gzip Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-01 19:05 +0200
Re: CRC-checksum failed in gzip andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-01 18:17 +0100
Re: CRC-checksum failed in gzip Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-01 19:57 +0200
Re: CRC-checksum failed in gzip Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-08-02 10:49 +0200
Re: CRC-checksum failed in gzip Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-02 12:14 +0200
Re: CRC-checksum failed in gzip andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-02 10:26 +0100
Re: CRC-checksum failed in gzip Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-02 12:21 +0200
Re: CRC-checksum failed in gzip andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-02 11:57 +0100
Re: CRC-checksum failed in gzip andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-02 11:59 +0100
csiph-web