Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'exception': 0.03; 'that?': 0.05; 'raises': 0.07; 'index': 0.13; 'ignore': 0.13; 'dec': 0.15; 'subject:CSV': 0.16; 'wrote:': 0.17; 'bit': 0.21; 'back.': 0.22; 'trace': 0.22; 'example': 0.23; 'seems': 0.23; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'small,': 0.27; 'actual': 0.28; '+0100,': 0.29; 'arrays': 0.29; 'array': 0.29; 'code': 0.31; 'problem': 0.33; 'to:addr:python- list': 0.33; 'same.': 0.35; 'there': 0.35; 'but': 0.36; 'wanted': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'received:10': 0.38; 'there,': 0.38; 'to:addr:python.org': 0.39; 'content- disposition:inline': 0.60; 'thomas': 0.62; 'provide': 0.62; 'more': 0.63; 'received:10.94': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-mainz.de; i=@uni-mainz.de; q=dns/txt; s=ironport; t=1354620675; x=1386156675; h=date:from:to:subject:message-id:references:mime-version: content-transfer-encoding:in-reply-to; bh=NTWK1rl5W9yOnyCZxu6AGt7hlyeHHlWu9GmlUkpUcPg=; b=Jx4weE0PR5q+2vtM056SuOU45Oj30Ofm78OtVVrQeQdjK+mysN5dXAUR 3Gx69Wf1FKv0vhVgy3tXm1MEPjcw2C+EePOs61PHXYx/S5vzEiSWNSWzO oNS0QQsWuvYGsyMxbiPJBQiYHbHK8Bio6U/qG9549VjiUOZQBesnplfhU I=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8EAKrevVAKXgZQ/2dsb2JhbABEhiy4HHOCHgEBBAEjDwFLCwsYAgImAgIUKQoWiB0Grh+CP5BagSKLHoEaghQyYQOWAQGQR4JzgiA Date: Tue, 4 Dec 2012 12:31:03 +0100 From: Thomas Bach To: Subject: Re: CSV out of range References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [146.60.14.25] 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1354620676 news.xs4all.nl 6859 [2001:888:2000:d::a6]:48412 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34216 Hi there, Please be a bit more precise… On Tue, Dec 04, 2012 at 12:00:05PM +0100, Anatoli Hristov wrote: > > The problem comes when I try to index the SKU array and the field is > empty Can you provide an example for that? > and it seems that there I have empty array, I wanted to ignore the > empty arrays using if statement, but it does the same. Please provide a small, runable example with the actual code you tried that raises the exception and the complete trace back. Regards, Thomas Bach.