Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101350
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Glenn Linderman <v+python@g.nevcal.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: EOFError: marshal data too short -- causes? |
| Date | Thu, 7 Jan 2016 10:55:38 -0800 |
| Lines | 51 |
| Message-ID | <mailman.53.1452193351.2305.python-list@python.org> (permalink) |
| References | <56822D4F.8070309@g.nevcal.com> <n5tc6o$dgl$1@ger.gmane.org> <56823DBC.9010205@g.nevcal.com> <n5usb4$de1$1@ger.gmane.org> <568441DA.9000107@g.nevcal.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de 1Na/j71M3edej4IdvobKFgivHHTNcKlXiUDpxR1SJ2PQ== |
| Return-Path | <v+python@g.nevcal.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'root': 0.04; 'modified': 0.05; 'problem?': 0.07; 'eof,': 0.09; 'patches': 0.09; 'rebuild': 0.09; 'timestamps': 0.09; 'python': 0.10; 'files.': 0.13; 'importing': 0.15; '__pycache__': 0.16; 'compileall': 0.16; 'install.': 0.16; 'install...': 0.16; 'modified.': 0.16; 'need,': 0.16; 'received:10.0.90': 0.16; 'received:10.0.90.82': 0.16; 'received:69.195': 0.16; 'received:69.195.124': 0.16; 'received:io': 0.16; 'received:mail.unifiedlayer.com': 0.16; 'received:psf.io': 0.16; 'received:unifiedlayer.com': 0.16; 'reedy': 0.16; 'subject:too': 0.16; 'there...': 0.16; 'wake': 0.16; 'wrote:': 0.16; 'runs': 0.18; 'windows': 0.20; 'permission': 0.20; 'install,': 0.22; 'trying': 0.22; 'second': 0.24; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'header:User- Agent:1': 0.26; "doesn't": 0.26; 'appear': 0.26; 'not.': 0.27; 'skip:t 40': 0.27; 'said,': 0.27; 'subject: -- ': 0.27; 'tech': 0.27; 'host': 0.28; 'asks': 0.29; 'follows': 0.29; 'talked': 0.29; "i'm": 0.30; 'another': 0.32; 'morning': 0.32; 'though,': 0.32; 'maybe': 0.33; 'problem': 0.33; 'source': 0.33; 'done,': 0.33; 'weeks': 0.34; 'file': 0.34; 'received:10.0': 0.34; 'could': 0.35; 'happened': 0.35; 'question,': 0.35; 'something': 0.35; "isn't": 0.35; 'but': 0.36; 'there': 0.36; '(and': 0.36; 'to:addr:python- list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'really': 0.37; 'itself': 0.38; 'several': 0.38; 'files': 0.38; 'why': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'ever': 0.60; 'caused': 0.61; 'policy': 0.63; 'hours': 0.65; 'policy,': 0.66; 'received:50': 0.66; 'touch': 0.66; 'user,': 0.67; 'sound': 0.72; '1:00': 0.84; '3.5.1': 0.84; 'attempt,': 0.84; 'fresh.': 0.84; 'glenn': 0.84; 'level1': 0.84; 'speculation': 0.84; 'touched': 0.84; 'universally': 0.84; 'suspicious': 0.91 |
| X-Authority-Analysis | v=2.1 cv=Zc6OaKlA c=1 sm=1 tr=0 a=bHMQH+OLnPEWGwbUEerQzQ==:117 a=bHMQH+OLnPEWGwbUEerQzQ==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=9HSTQGAzAAAA:8 a=7j9GTTBHwvYA:10 a=4_cv9ilZGwcA:10 a=7aQ_Q-yQQ-AA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=si8L3KibryJlMZwd7hYA:9 a=QEXdDO2ut3YA:10 a=K_BO3pRzcxKcS7VMa48A:9 a=-H1Wnm4zlulYv904:21 a=_W_S_7VecoQA:10 |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
| In-Reply-To | <568441DA.9000107@g.nevcal.com> |
| X-Identified-User | {1756:box1033.bluehost.com:areliabl:nevcal.com} {sentby:smtp auth 50.37.17.232 authed with test@nevcal.com} |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.20+ |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:101350 |
Show key headers only | View raw
On 12/30/2015 12:43 PM, Glenn Linderman wrote: > On 12/29/2015 1:00 PM, Terry Reedy wrote: >> I updated to 2.7.11, 3.4.4, and 3.5.1 a couple of weeks ago, so the >> timestamps are all fresh. So I don't know what happened with 3.4.3 >> timestamps from last April and whether Windows itself touches the >> files. I just tried importing a few and Python did not. > > I'm a Windows user, too, generally, but the web host runs Linux. > > I suppose, since the install does the compileall, that I could set all > the __pycache__ files to read-only, even for "owner". Like you said, > those files _can't_ be updated without Admin/root permission when it > is a root install... so there would be no need, once compileall has > been done, for the files to be updated until patches would be > applied. This isn't a root install, though, but a "user" install. > > Level1 support at the web host claims they never touch user files > unless the user calls and asks them to help with something that > requires it. And maybe Level1 support religiously follows that policy, > but other files have changed, so that policy doesn't appear to be > universally applied for all personnel there... so the answer isn't > really responsive to the question, but the tech I talked to was as > much a parrot as a tech... > > Glenn So this morning the problem happens again. 48 files or directories modified at 5:47am, while I'm sound asleep so the web site is down for over 3 hours until I wake up and notice (both because my bootup process always checks, and because I had several emails about it). 2 of the files had the suspicious 4096 EOF, and deleting the first caused it to be rebuilt and the second to be noticed, and deleting the second caused it to be rebuilt and cured the site. But all the touched files are .pyc files (and the directories __pycache__ directories). None of the source files were modified. So why would any .pyc files ever be updated if the source files are not? Are there _any_ Python-specific reasons? My only speculation is a problem accessing the .pyc file on first attempt, which would be a file system problem, not a Python problem? Are there other speculative reasons? And then why would a short file be built? Conflict with multiple processes trying to rebuild it at the same time? Or another file system problem? Or??? This-could-be-annoying-if-it-keeps-happening-ly yours, Glenn
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: EOFError: marshal data too short -- causes? Glenn Linderman <v+python@g.nevcal.com> - 2016-01-07 10:55 -0800
csiph-web