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


Groups > comp.lang.python > #3572

3.2 test failures on Centos 5.6 (was Re: Noob Question)

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'bug': 0.02; 'example:': 0.03; 'newbie': 0.03; 'python.': 0.05; 'subject:test': 0.05; '3.2': 0.07; 'installed.': 0.07; 'terry': 0.07; 'tests,': 0.07; 'unexpected': 0.07; 'python': 0.07; '*you*': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'output': 0.12; 'am,': 0.14; 'binary': 0.14; 'wrote:': 0.14; "'make": 0.16; 'centos': 0.16; 'except:': 0.16; 'latter,': 0.16; 'provide,': 0.16; 'reedy': 0.16; 'skipped': 0.16; 'skips': 0.16; 'tcl/tk': 0.16; 'test_ssl': 0.16; 'subject:Question': 0.16; 'subject:was': 0.16; 'ignore': 0.16; 'suggest': 0.19; 'appropriate': 0.21; 'jan': 0.22; 'header:In-Reply-To:1': 0.22; 'do,': 0.22; 'trying': 0.23; 'tests.': 0.23; 'tests': 0.26; "i'm": 0.26; 'changed': 0.27; 'fixed': 0.27; 'installed': 0.29; 'error': 0.29; 'concern': 0.29; 'mode': 0.29; 'least': 0.30; 'modules,': 0.31; 'start.': 0.31; 'threads': 0.31; 'to:addr:python-list': 0.32; 'source': 0.32; 'things': 0.33; 'someone': 0.33; 'generally': 0.33; 'several': 0.33; 'test': 0.33; 'header:X-Complaints-To:1': 0.34; 'post': 0.34; 'there': 0.35; 'file': 0.35; 'open': 0.35; 'finding': 0.35; 'header:User-Agent:1': 0.35; '(my': 0.35; 'apologies': 0.35; 'slow': 0.35; 'visible': 0.35; 'list.': 0.35; 'running': 0.36; 'appreciated.': 0.36; 'problem.': 0.36; 'else': 0.37; 'some': 0.37; 'either': 0.37; 'run': 0.37; 'depend': 0.38; 'install': 0.38; 'but': 0.38; 'pretty': 0.38; 'so,': 0.38; 'used': 0.38; 'received:org': 0.38; 'built': 0.39; 'help': 0.39; 'end': 0.39; 'to:addr:python.org': 0.39; 'subject: (': 0.39; 'header:Mime- Version:1': 0.39; 'happened': 0.40; 'would': 0.40; 'header:Received:5': 0.40; 'messages': 0.40; 'might': 0.40; 'subject': 0.61; 'give': 0.61; 'further': 0.62; 'day': 0.66; 'relevant': 0.66; 'receive': 0.68; 'attention': 0.69; 'states': 0.69; 'failure': 0.71; 'below,': 0.71; '***': 0.73; 'informative': 0.73; 'below:': 0.83; 'informed': 0.84; '10:55': 0.84; 'either,': 0.84; 'failed:': 0.84; 'procedure,': 0.84; 'failures': 0.91; 'good,': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject 3.2 test failures on Centos 5.6 (was Re: Noob Question)
Date Tue, 19 Apr 2011 12:58:56 -0400
References <9e2b46b9-a29d-4164-83b4-8ba6dc10342a@motornostixusa.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host rain.gmane.org
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
In-Reply-To <9e2b46b9-a29d-4164-83b4-8ba6dc10342a@motornostixusa.com>
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.571.1303232356.9059.python-list@python.org> (permalink)
Lines 64
NNTP-Posting-Host 82.94.164.166
X-Trace 1303232357 news.xs4all.nl 81478 [::ffff:82.94.164.166]:50086
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3572

Show key headers only | View raw


On 4/19/2011 10:55 AM, Rob McGillivray wrote:

> I'm new to Python, and trying to get python 3.2 installed on Centos
> 5.6. When I run 'make test', I receive several errors.

Welcome to Python.

Newbie lesson 1: write an informative subject line that will catch the 
attention of people who can answer. (I just happened to open this 
because it is a slow day so far ;-).) Example:
   3.2 test failures on Centos 5.6
If you do not get any better answer than I can provide, I suggest 
reposting with that subject (my changed line will not be visible to some 
who have threads collapsed).

Lesson 2: provide all relevant info needed to answer. You did pretty 
good, except: What are you trying to install? A public binary built by 
someone else for Centos? Or one *you* compiled? If the latter, did you 
use the official 3.2 source from the site or the latest 3.2.x source 
from the hg repository? (If either, I suggest trying the other.)

 > The readme
> states that you can generally ignore messages about skipped tests,
> but as you can see below, some of the tests failed and a number were
> 'unexpected skips', so I'm not sure if I can go ahead with the
> install or need to perform further troubleshooting.

I have never built Python or used it on *nix, but I will give some 
informed guesses ;-).

> The output of 'make test' is shown below:
>
> 5 tests failed: test_argparse test_distutils
> test_httpservers test_import test_zipfile

You need to run each of these in verbose mode to see who severe the 
failure is. Test_import would be of most concern to me.

 > 11 skips
> unexpected on linux2: test_bz2 test_dbm_gnu test_dbm_ndbm test_gzip
> test_readline test_ssl test_tcl test_tk test_ttk_guionly
> test_ttk_textonly test_zlib

These look like things with 3rd party dependencies. tcl/tk/ttk tests 
depend on finding tcl/tk installed. If you do not want to use the 
modules, no problem. If you do,

 > sys:1: ResourceWarning: unclosed
> file<_io.TextIOWrapper name='/dev/null' mode='a' encoding='UTF-8'>
> make: *** [test] Error 1

This is a bug either in some test or in the Python shutdown procedure, 
at least after running the tests. There were other things like this 
fixed near the end of 3.2 development and it may be fixed now.

> Any help would be appreciated. Apologies if this post is to the wrong
> group. If so, please advise the appropriate group.

Right place to start. If there are Centos specific issues, you might 
want to look for a Centos list.

-- 
Terry Jan Reedy

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


Thread

3.2 test failures on Centos 5.6 (was Re: Noob Question) Terry Reedy <tjreedy@udel.edu> - 2011-04-19 12:58 -0400

csiph-web