From nobody@digitalkingdom.org Thu Apr 19 02:40:56 2007 Received: with ECARTIS (v1.0.0; list lojban-beginners); Thu, 19 Apr 2007 02:41:03 -0700 (PDT) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.63) (envelope-from ) id 1HeT8D-0006jq-Db for lojban-beginners-real@lojban.org; Thu, 19 Apr 2007 02:40:51 -0700 Received: from anchor-post-31.mail.demon.net ([194.217.242.89]) by chain.digitalkingdom.org with esmtp (Exim 4.63) (envelope-from ) id 1HeT7t-0006jP-Vn for lojban-beginners@lojban.org; Thu, 19 Apr 2007 02:40:36 -0700 Received: from mailgate.denbridgemarine.com ([83.104.25.50]) by anchor-post-31.mail.demon.net with esmtp (Exim 4.42) id 1HeT5O-00052F-6M for lojban-beginners@lojban.org; Thu, 19 Apr 2007 09:38:16 +0000 Received: from strontium.elements (support.denbridgemarine.com [83.104.25.51]) (using SSLv3 with cipher EXP1024-RC4-SHA (56/128 bits)) (Client did not present a certificate) by mailgate.denbridgemarine.com (Postfix) with ESMTP id C485250836 for ; Thu, 19 Apr 2007 10:37:27 +0100 (BST) From: Colin Wright Organization: Denbridge Marine Ltd To: lojban-beginners@lojban.org Subject: [lojban-beginners] Re: BAD thing w/ Parallel (Was: Now what?) Date: Thu, 19 Apr 2007 10:37:26 +0100 User-Agent: KMail/1.9.1 References: <702226df0704181521s2a4352d7h9109d0c4edbba67e@mail.gmail.com> In-Reply-To: <702226df0704181521s2a4352d7h9109d0c4edbba67e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704191037.26599.colin.wright@denbridgemarine.com> X-Spam-Score: -2.5 X-Spam-Score-Int: -24 X-Spam-Bar: -- X-archive-position: 4308 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-beginners-bounce@lojban.org Errors-to: lojban-beginners-bounce@lojban.org X-original-sender: colin.wright@denbridgemarine.com Precedence: bulk Reply-to: lojban-beginners@lojban.org X-list: lojban-beginners On Wednesday 18 April 2007 23:21, Jon "Top Hat" Jones wrote: > I can fix the problem with playing the sounds easily, the problem I'm > having that I can't figure out is why it gets a fatal error when it tries > to read in the 'Lojban Pronunciation.txt' file. > > That's what this error is all about: > > Traceback (most recent call last): > File "parallel03.py", line 373, in ? > main() > File " parallel03.py", line 269, in main > storage,level=store() > File "parallel03.py", line 231, in store > if el[1]=="+": > IndexError: string index out of range > > Anyone with python knowledge help me out? Speaking with knowledge only of Python, and not of the program you're using, the error that you get is saying that the variable "el", which appears to be a string, does not have a character at location 1. Since the numbering of sequence objects starts at 0, that means that the contents of the variable "el" is of length 0 or 1. Hope that helps. -- Dr C.D.Wright, Director of Innovation and Engineering Denbridge Marine Limited, Cammell Lairds Waterfront Park, Campbeltown Road, Birkenhead, Wirral, Merseyside, CH41 9HP. Tel: +44 (0)151 649 4080 Fax: +44 (0)870 051 8953 Mob: +44 (0)7980 57 22 96