Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100943

EOFError: marshal data too short -- causes?

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 EOFError: marshal data too short -- causes?
Date Mon, 28 Dec 2015 22:50:55 -0800
Lines 41
Message-ID <mailman.47.1451372295.11925.python-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de w6HbjDDriKLFLkKbRLXEgQxy/CK8LrxgEbQNbvzn3exA==
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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'anyway.': 0.04; '1200,': 0.09; 'cleaned': 0.09; 'complaining': 0.09; 'permission,': 0.09; 'server:': 0.09; 'python': 0.10; 'stack': 0.13; 'file,': 0.15; '24,': 0.16; '54,': 0.16; 'file?': 0.16; 'help...': 0.16; 'morning,': 0.16; 'now.\xc2\xa0': 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; 'reproduce': 0.16; 'subject:too': 0.16; 'skip:" 30': 0.20; '"",': 0.22; 'trace': 0.22; 'seems': 0.23; 'import': 0.24; 'header:User-Agent:1': 0.26; 'command': 0.26; 'skip:" 20': 0.26; 'skip:_ 20': 0.26; 'subject: -- ': 0.27; 'inspect': 0.29; "i'm": 0.30; 'skip:_ 10': 0.32; 'related': 0.32; 'reported': 0.32; 'maybe': 0.33; 'run': 0.33; 'changed': 0.33; 'file': 0.34; 'worked': 0.34; 'received:10.0': 0.34; 'server': 0.34; 'could': 0.35; 'files,': 0.35; 'problem.': 0.35; 'but': 0.36; 'too': 0.36; 'there': 0.36; "wasn't": 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'really': 0.37; 'creation': 0.38; 'log': 0.38; 'files': 0.38; 'skip:o 20': 0.38; 'google': 0.39; 'data': 0.39; 'sure': 0.39; 'does': 0.39; "didn't": 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'some': 0.40; 'high': 0.60; 'determine': 0.61; 'show': 0.62; 'received:50': 0.66; 'ever- growing': 0.84
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=9HSTQGAzAAAA:8 a=7j9GTTBHwvYA:10 a=N6WQd6rrCSYA:10 a=wUQvQvOEmiQA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=pOYdnhjC120dO2pdWFUA:9 a=QEXdDO2ut3YA:10 a=Grpf43Q3TnSDPoPoGrYA:9 a=5fMbHGFVyoaIqoFF: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
X-Identified-User {1756:box1033.bluehost.com:areliabl:nevcal.com} {sentby:smtp auth 50.37.25.228 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:100943

Show key headers only | View raw


Here's a sanatized stack trace off my web server:

   File ".../cgihelpers.py", line 10, in
     import cgitb
   File ".../py34/lib/python3.4/cgitb.py", line 24, in
     import inspect
   File ".../py34/lib/python3.4/inspect.py", line 54, in
     from dis import COMPILER_FLAG_NAMES as _flag_names
   File "", line 2237, in _find_and_load
   File "", line 2226, in _find_and_load_unlocked
   File "", line 1200, in _load_unlocked
   File "", line 1129, in _exec
   File "", line 1467, in exec_module
   File "", line 1570, in get_code
   File "", line 656, in _compile_bytecode
EOFError: marshal data too short


It worked this morning, and does this now.  I hadn't changed anything.

The only reference I find on Google seems to be related to 
out-of-disk-space, so I cleaned up some files, but I'm not sure of how 
the web server mounts things; df didn't show particularly high usage in 
any of the disks it reported on.

The files I cleaned up are ever-growing log files that I need to clean 
up now and then manually, but cleaning them up didn't help... and df 
wasn't complaining anyway. So maybe out-of-disk-space is a red herring, 
or only one cause of this symptom.

When I log in to the web server with Putty, I can run Python at the 
command prompt, and "import dis" suffices to reproduce the problem.

Are there other causes of this symptom than out-of-disk-space?  If it is 
out-of-disk-space, how could one determine which disk?

Maybe if not really out of space, it is a bad permission, disallowing 
creation of a temporary file?  But how could one determine which 
temporary file, and where it would be written?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

EOFError: marshal data too short -- causes? Glenn Linderman <v+python@g.nevcal.com> - 2015-12-28 22:50 -0800

csiph-web