I'm sorry, but an uncaught exception occurred.

While parsing /home/tom/ab/renpy/renpy/common/_errorhandling.rpym.
IndexError: string index out of range

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "/home/tom/ab/renpy/renpy/bootstrap.py", line 286, in bootstrap
    renpy.main.main()
  File "/home/tom/ab/renpy/renpy/main.py", line 223, in main
    renpy.exports.load_module("_errorhandling")
  File "/home/tom/ab/renpy/renpy/exports.py", line 1726, in load_module
    initcode = renpy.game.script.load_module(name)
  File "/home/tom/ab/renpy/renpy/script.py", line 201, in load_module
    self.load_appropriate_file(".rpymc", ".rpym", dir, fn, initcode)
  File "/home/tom/ab/renpy/renpy/script.py", line 441, in load_appropriate_file
    if not self.load_file(dir, fn + source, initcode):
  File "/home/tom/ab/renpy/renpy/script.py", line 310, in load_file
    data, stmts = self.load_file_core(dir, fn)
  File "/home/tom/ab/renpy/renpy/script.py", line 250, in load_file_core
    stmts = renpy.parser.parse(fullfn)
  File "/home/tom/ab/renpy/renpy/parser.py", line 2178, in parse
    rv = parse_block(l)
  File "/home/tom/ab/renpy/renpy/parser.py", line 2143, in parse_block
    stmt = parse_statement(l)
  File "/home/tom/ab/renpy/renpy/parser.py", line 2126, in parse_statement
    return pf(l, loc)
  File "/home/tom/ab/renpy/renpy/parser.py", line 2028, in style_statment
    while parse_clause(ll):
  File "/home/tom/ab/renpy/renpy/parser.py", line 2008, in parse_clause
    rv.properties[propname] = l.require(l.simple_expression)
  File "/home/tom/ab/renpy/renpy/parser.py", line 946, in require
    rv = thing()
  File "/home/tom/ab/renpy/renpy/parser.py", line 877, in simple_expression
    self.parenthesised_python()):
  File "/home/tom/ab/renpy/renpy/parser.py", line 834, in parenthesised_python
    c = self.text[self.pos]
IndexError: string index out of range

Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
Ren'Py 6.17.0.43
 
