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


Groups > comp.lang.python > #22208

RE: help needed to understand an error message.

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ramit.prasad@jpmorgan.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'completeness': 0.07; 'interpreter': 0.07; 'python': 0.11; 'print': 0.15; 'backwards': 0.16; 'currencies': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'hint': 0.16; 'indicates': 0.16; 'received:155.180': 0.16; 'received:155.180.234': 0.16; 'received:155.180.234.122': 0.16; 'received:159': 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:se3.svr.bankone.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'to:name:python list': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'subject:help': 0.17; 'accuracy': 0.18; 'received:169.254': 0.20; 'indicated': 0.22; 'header:In-Reply- To:1': 0.22; 'code.': 0.24; 'error': 0.25; 'received:169': 0.27; 'says': 0.28; 'received:155': 0.29; 'phone:': 0.31; 'earlier': 0.32; 'found.': 0.33; 'problem': 0.34; 'too': 0.35; 'two': 0.35; 'should': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.39; 'to:addr:python.org': 0.40; 'however': 0.62; 'information,': 0.65; 'purchase': 0.67; 'capital': 0.69; 'subject': 0.70; 'investment': 0.71; 'legal': 0.73; 'bank': 0.74; 'sale': 0.75; '712': 0.84; 'houston,': 0.84; 'received:169.254.8': 0.84; 'subject:message.': 0.84; 'anyway,': 0.93
X-DKIM OpenDKIM Filter v2.1.3 sj1.jpmchase.com q2QJCpDW011251
DKIM-Signature v=1; a=rsa-sha256; c=simple/simple; d=jpmorgan.com; s=smtpout; t=1332789171; bh=AxCID+m8gcDZ0Q8FbGTy9Pj2RfscRWXaab+hUJRZWP4=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=frK9VuZLtpl8aU5PPqlUmH+hXrIHdjw3n5kh4ymFWZlIff8KsboiwVa85lnmsR3tQ FUFv6+IEf1q9Uq1I9kEFGpmhnfq3rZg2f70OOjrW5RZMMv79G0gH4UgowiLXiti7W2 GhZAt++9gzY0wKcbE+BPwZF8wUJc2HBZBypnA9L4=
From "Prasad, Ramit" <ramit.prasad@jpmorgan.com>
To Python List <python-list@python.org>
Subject RE: help needed to understand an error message.
Thread-Topic help needed to understand an error message.
Thread-Index AQHNC09XyM2jZbfYdk2c/ABFz4El/ZZ81IMAgAActvA=
Date Mon, 26 Mar 2012 19:12:32 +0000
References <CABWU=Q=vTsjb=DU7kcB71QQ4miSnyapt+_ExeE0Qx094mdK_7w@mail.gmail.com> <CABWU=QkG9riG9-1Cfhe2xoC0jjsw-Xp9S8QUCLBmRN482g2nwA@mail.gmail.com> <4F706E80.7090809@sequans.com>
In-Reply-To <4F706E80.7090809@sequans.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 <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.1017.1332789174.3037.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1332789174 news.xs4all.nl 6908 [2001:888:2000:d::a6]:56107
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22208

Show key headers only | View raw


>> I feel the error is in Capital P in print .
>> However the error indicated with "*^*" 
>> hints at quote at the end of the line.
> 
> Anyway, the hint indicates the last quote because this is the location
> where the python interpreter realizes it won't be able to execute the
> code. You should not worry about that too much.

Often when I see errors the problem can be earlier in 
the line or a line or two before. Just look backwards 
from where the error says the problem was found.

Ramit


Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423

--
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

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


Thread

RE: help needed to understand an error message. "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-26 19:12 +0000

csiph-web