Path: csiph.com!usenet.pasdenom.info!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'wiki': 0.03; '(all': 0.07; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'python': 0.11; 'jan': 0.12; 'complicated,': 0.16; 'debugging,': 0.16; 'naming': 0.16; 'readable': 0.16; 'subject:post': 0.16; 'uppercase': 0.16; 'url:openerp': 0.16; 'wiki?': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'bit': 0.19; 'normally': 0.19; 'written': 0.21; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'fairly': 0.24; 'cc:2**0': 0.24; 'possibly': 0.26; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'quickly': 0.29; 'thus': 0.29; 'wonder': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'lines': 0.31; 'posting': 0.31; 'too.': 0.31; 'usually': 0.31; '"please': 0.31; 'post.': 0.31; 'figure': 0.32; 'fri,': 0.33; 'could': 0.34; 'problem': 0.35; 'subject: (': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'possible': 0.36; 'level': 0.37; 'being': 0.38; 'pm,': 0.38; 'sure': 0.39; 'even': 0.60; 'read': 0.60; 'simple': 0.61; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'url:help': 0.67; 'skill': 0.68; 'proves': 0.84; 'subject:Value': 0.84; 'subject:read': 0.84; '"how': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=9OW6SHEBRSRzV3B+n7RNgEon9bs+9cgODgZ4sWrOy3w=; b=JqAbfmJckhgEFoCSa3gbMeiDuyGOy4BpTpF/BHkLr7NH5r1QuRsldu+4Eh/1BqhfQv rVUokgJgleeoBHlS5+gAGNrrJFYpD7hRtmUFiKcZ0/6XXJdvRf+RapqRKvPU0WzAcnU7 GoYGnRek9eb1F51wOjfEYId59ME7ypri/SmQ2EfuxjND6GFr85AK3pgTNz6iBGm5euMi uGp+Z9OKePd/NWI5jhO4AthCO8hPsg3KtW2lKFJ67YJr/vq5MkizUeLyiDsp9VYg8QYd eoskTRW/8raKgFWyTBH9NTWSCDTP025dgwPEySKoEjTKUUtJigFkJNVpYyrTkxLrd5gs Av1Q== X-Received: by 10.67.14.231 with SMTP id fj7mr91121310pad.115.1388726211175; Thu, 02 Jan 2014 21:16:51 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Rustom Mody Date: Fri, 3 Jan 2014 10:46:30 +0530 Subject: Re: How to read and post tracebacks (was Registry Key Value Help) To: Chris Angelico Content-Type: text/plain; charset=ISO-8859-1 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388726215 news.xs4all.nl 2940 [2001:888:2000:d::a6]:60726 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63037 On Fri, Jan 3, 2014 at 9:33 AM, Chris Angelico wrote: > On Fri, Jan 3, 2014 at 2:58 PM, Rustom Mody wrote: >> Why not write up a few lines on "How to read and post python tracebacks" >> and post it on the wiki? > > You mean "copy and paste the whole output"? I'm not sure what more > needs to be said about posting them. > > Reading them is a bit more complicated, but possibly _too_ complicated > for a simple wiki post. Being able to quickly eyeball a traceback and > know which level to look for the problem at is part of the skill of > debugging, and it usually requires that you know the codebase fairly > well too. Though even with unfamiliar code, it's possible to figure a > lot out by naming conventions, which is why they're so important (all > uppercase meaning "constant" and normally a scalar - so useful). Something like this is what I had in mind http://help.openerp.com/question/9704/how-to-read-and-understand-errors-from-tracebacks/ Obviously it can be written much better (and thought you could make a start :D) [I wonder if the "please make it readable thus not thus" at end proves or disproves Roy's point??]