Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'python,': 0.01; 'completeness': 0.05; 'attribute': 0.07; 'version?': 0.07; 'python': 0.08; 'library': 0.13; 'to:name:python-list@python.org': 0.15; '"import': 0.16; '712': 0.16; 'currencies': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'firewall.': 0.16; 'from:addr:jpmorgan.com': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:159.53.110': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'traceback.': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'looked': 0.16; '2.x': 0.18; 'header:In-Reply-To:1': 0.22; 'traceback': 0.24; 'messages.': 0.25; 'noticed': 0.26; 'code': 0.26; 'import': 0.27; 'received:169': 0.28; 'received:169.254': 0.28; 'anyway.': 0.29; 'subject:skip:u 10': 0.29; 'problem': 0.29; 'received:155': 0.30; 'received:159': 0.30; 'error': 0.30; 'source': 0.32; 'accuracy': 0.32; 'pure': 0.32; 'object': 0.33; 'file': 0.34; 'function.': 0.34; 'to:addr:python-list': 0.35; 'phone:': 0.35; 'charset:us-ascii': 0.37; 'using': 0.37; 'several': 0.38; 'getting': 0.38; 'should': 0.38; 'missing': 0.40; 'to:addr:python.org': 0.40; 'your': 0.61; 'subject': 0.61; 'offers': 0.62; 'exact': 0.68; 'information,': 0.69; 'legal': 0.72; 'url:email': 0.72; 'bank': 0.75; 'sale': 0.75; 'investment': 0.77; 'purchase': 0.78; 'received:169.254.8': 0.84 X-DKIM: OpenDKIM Filter v2.1.3 sj1.jpmchase.com q2MFPExe010960 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jpmorgan.com; s=smtpout; t=1332429915; bh=XtWPlGDKXKN0IhKnZOTgaJzXKz7GUhNZCjZKIxbH72c=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=Gavt+gAxTjF4h+e0N8celGj7gvZl/6mTMCKnd19q0E14bqfo8nmX9fFc+skAqhmL5 KUwht7GPhwTEZ6YWC8Yk1iTtic7H0+KwKbEYA4KzvSQ1UQ9tMIle/ow/S214AL73z7 tlmqSE6Tsi8HR6rfkOE+Q/dmx0mquQMzwyz8GWv0= From: "Prasad, Ramit" To: "python-list@python.org" Subject: RE: urllib.urlretrieve never returns??? Thread-Topic: urllib.urlretrieve never returns??? Thread-Index: AQHNBtXOjTMrLvbWA0uhAh24rmbgNZZzoKaQgAAO9JCAAUS6AIABeQ3g Date: Thu, 22 Mar 2012 15:25:04 +0000 References: <4F649BFC.1080601@shopzeus.com> <4F66E687.2050008@shopzeus.com> <4f67c09b$0$29981$c3e8da3$5496439d@news.astraweb.com> <4F682CDC.5000703@shopzeus.com> <4F68E49C.2060000@shopzeus.com> <5B80DD153D7D744689F57F4FB69AF474026C4BD8@SCACMX008.exchad.jpmchase.net> <5B80DD153D7D744689F57F4FB69AF474026C4C97@SCACMX008.exchad.jpmchase.net> <4F69CBB2.6060801@shopzeus.com> In-Reply-To: <4F69CBB2.6060801@shopzeus.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.79.38] Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes Content-Type: text/plain; charset="us-ascii" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1332429924 news.xs4all.nl 6914 [2001:888:2000:d::a6]:37748 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22028 > > I just looked at your source file on ActiveState and noticed that=0D=0A= > > you do not import traceback=2E That is why you are getting the=0D=0A> >= AttributeError=2E Now you should be getting a much better error=0D=0A> > o= nce you import it:)=0D=0A> Nope=2E That would result in a NameError=2E Afte= r adding "import traceback",=0D=0A> I still get several AttributeError mess= ages=2E The traceback should=0D=0A> contain the exact line number, and a de= scription about what object is=0D=0A> missing what attribute anyway=2E My c= ode is pure Python, and under no=0D=0A> circumstances should it be able to = start a blocked call for a system=0D=0A> library function=2E=0D=0A=0D=0AYou= r code works for me, so the problem should be your system =0D=0Aand/or netw= ork=2E Try a different Python version? I tested using 2=2E6=2E6=2E=0D=0AAls= o, check your proxy or firewall=2E If you are using Python 2=2Ex =0D=0Atry = using urllib2=2E =0D=0A=0D=0ARamit=0D=0A=0D=0A=0D=0ARamit Prasad | JPMorgan= Chase Investment Bank | Currencies Technology=0D=0A712 Main Street | Houst= on, TX 77002=0D=0Awork phone: 713 - 216 - 5423=0D=0A=0D=0AThis email is con= fidential and subject to important disclaimers and=0D=0Aconditions includin= g on offers for the purchase or sale of=0D=0Asecurities, accuracy and compl= eteness of information, viruses,=0D=0Aconfidentiality, legal privilege, and= legal entity disclaimers,=0D=0Aavailable at http://www=2Ejpmorgan=2Ecom/pa= ges/disclosures/email=2E