From nobody@digitalkingdom.org Wed Apr 18 21:34:45 2007 Received: with ECARTIS (v1.0.0; list lojban-beginners); Wed, 18 Apr 2007 21:34:45 -0700 (PDT) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.63) (envelope-from ) id 1HeOLz-00033R-Lb for lojban-beginners-real@lojban.org; Wed, 18 Apr 2007 21:34:44 -0700 Received: from smtp1.isgenesis.com ([168.215.170.6] helo=isgenesis.com) by chain.digitalkingdom.org with esmtp (Exim 4.63) (envelope-from ) id 1HeOLt-00033G-30 for lojban-beginners@lojban.org; Wed, 18 Apr 2007 21:34:42 -0700 Received: from [168.215.170.1] (HELO [10.222.0.214]) by isgenesis.com (CommuniGate Pro SMTP 5.1.5) with ESMTPS id 2455314 for lojban-beginners@lojban.org; Wed, 18 Apr 2007 23:34:32 -0500 Message-ID: <4626F116.7040201@spamcop.net> Date: Wed, 18 Apr 2007 23:33:26 -0500 From: Charles Duffy User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: lojban-beginners@lojban.org Subject: [lojban-beginners] Re: BAD thing w/ Parallel (Was: Now what?) References: <702226df0704181521s2a4352d7h9109d0c4edbba67e@mail.gmail.com> In-Reply-To: <702226df0704181521s2a4352d7h9109d0c4edbba67e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 X-Spam-Score-Int: -3 X-Spam-Bar: / X-archive-position: 4303 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-beginners-bounce@lojban.org Errors-to: lojban-beginners-bounce@lojban.org X-original-sender: cduffy@spamcop.net Precedence: bulk Reply-to: lojban-beginners@lojban.org X-list: lojban-beginners 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? el is an empty (or length-1) string, such that there exists no el[1] (which refers to the second item; sequences in Python start at element 0). I'd need to inspect the program's state (or at least look at the source) to say more. For the former purpose, Python includes a debugger, pdb; as for the latter, I'll poke at it tomorrow afternoon if this issue hasn't been independently figured out before that point. Which version of Parallel is this? I did a port a while back intended to run unchanged on Windows or Linux with dependencies less onerous (to me) than the upstream one, but I don't even know where to download it now. If you could point me at what you're using, that'll improve my ability to help.