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


Groups > comp.lang.python > #16509

Re: platform issues?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news-transit.tcx.org.uk!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <adrianp@bringtechnology.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'server:': 0.07; 'tests,': 0.07; 'python': 0.08; '[],': 0.09; 'dev': 0.09; 'fix.': 0.09; 'interpreter.': 0.09; 'ssh': 0.09; 'sure,': 0.09; 'message-----': 0.12; 'distributed,': 0.16; 'dns.': 0.16; 'lookup': 0.16; 'subject:issues': 0.16; 'this:': 0.16; '>>>': 0.18; 'trying': 0.21; '(but': 0.21; 'cc:2**0': 0.24; 'tests': 0.25; "i'm": 0.26; 'skip:[ 10': 0.27; 'tried': 0.27; 'url:mailman': 0.28; 'right.': 0.28; 'date:': 0.29; 'problem': 0.29; 'server': 0.30; 'confident': 0.30; 'twitter.': 0.30; 'least': 0.30; 'subject:?': 0.31; 'thanks': 0.31; 'anyone': 0.31; 'skip:( 20': 0.31; 'version': 0.32; 'url:listinfo': 0.32; 'actually': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'subject:': 0.34; 'causing': 0.34; "we're": 0.34; 'running': 0.35; 'google': 0.35; 'test': 0.35; 'url:python': 0.36; 'but': 0.37; 'run': 0.37; 'machine': 0.37; "there's": 0.37; 'think': 0.37; 'some': 0.38; 'relatively': 0.39; 'ways': 0.39; "i'd": 0.39; 'from:': 0.39; 'url:org': 0.39; 'why': 0.39; "it's": 0.40; 'setup': 0.40; 'to:addr:python.org': 0.40; 'might': 0.40; 'received:208': 0.60; 'huge': 0.61; 'more': 0.61; 'results': 0.63; 'our': 0.64; 'received:10.200': 0.84; 'received:bluetie.com': 0.84; 'received:208.89': 0.91
X-CMAE-OUT-Analysis v=2.0 cv=KK/Y/S5o c=1 sm=1 a=7hyHpxntrC0A:10 a=IkcTkHD0fZMA:10 a=1XWaLZrsAAAA:8 a=ppa5IZbrAAAA:8 a=JqEG_dyiAAAA:8 a=2GYlCkyLAAAA:8 a=8AHkEIZyAAAA:8 a=A3pLFswRUwVQNQRBI-IA:9 a=sVIRnD3lHOnVNuA7GyMA:7 a=QEXdDO2ut3YA:10 a=bZv6pCzqenoA:10 a=VhVvL8HfBcoA:10 a=/JjmqX1UcUuSpPXcp9ITbA==:117
X-CMAE-OUT-Score 0.00
X-HTTP-Received from adrianp.rcomykccru4303 [173.212.138.1] by web001.roc2.bluetie.com (BlueTie WebMail ); Thu, 01 Dec 2011 13:43:38 -0500
X-Mailer BlueTie MTA
Date Thu, 01 Dec 2011 13:43:38 -0500
Cc
To python-list@python.org
From "Adrian Powell" <adrianp@bringtechnology.com>
Importance normal
Subject Re: platform issues?
Content-transfer-encoding quoted-printable
Content-Type text/plain; charset=UTF-8
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.3206.1322765028.27778.python-list@python.org> (permalink)
Lines 55
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1322765028 news.xs4all.nl 6978 [2001:888:2000:d::a6]:50518
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16509

Show key headers only | View raw


to run the tests, I sit at my dev machine and SSH to the server where I can copy & paste the test case directly into the python interpreter. If there's a typo, it's going to both of them equally.

I am concerned about the name lookup since our servers have had some network glitches in the past and I'm not confident in our DNS. We can browse the net on the server without a problem but to be sure, I tried this:

On the server:

>>> socket.gethostbyaddr(socket.gethostbyname('www.google.com'))
('yyz06s07-in-f20.1e100.net', [], ['74.125.226.84'])
>>> socket.gethostbyaddr(socket.gethostbyname('www.twitter.com'))
('www2.twitter.com', [], ['199.59.149.198'])

On the dev environment:

>>> socket.gethostbyaddr(socket.gethostbyname('www.google.com'))
('sea09s02-in-f16.1e100.net', [], ['173.194.33.48'])
>>> socket.gethostbyaddr(socket.gethostbyname('www.twitter.com'))
('www4.twitter.com', [], ['199.59.149.230'])


Since I'm actually trying to write a twitter client, I was more focused on the results from twitter. Since google and twitter are so huge and so distributed, I'd bet neither are good tests for this, but they look approximately right.

Are there better ways to test if our network setup is good? At least that would be a relatively easy thing to fix.

Adrian.


-----Original Message-----
From: "Redcat" [redcat@catfolks.net]
Date: 12/01/2011 01:05 PM
To: python-list@python.org
Subject: Re: platform issues?

> Our servers have the same version of python and we're running the same
> OS (Fedora 14). Can anyone think of what might be causing this problem,
> or why it works on most (but not all) machines?
> 
> Thanks

Is the server able to resolve www.google.com properly? If so, are you 
POSITIVE that the "url = " line on the server has no typos?
-- 
http://mail.python.org/mailman/listinfo/python-list

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


Thread

Re: platform issues? "Adrian Powell" <adrianp@bringtechnology.com> - 2011-12-01 13:43 -0500
  Re: platform issues? Redcat <redcat@catfolks.net> - 2011-12-01 19:03 +0000

csiph-web