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.