Hi all,

I am very excited to read about this plugin to restore old pictures. I have
installed it in GIMP 2.6.4 under Fedora 9; the 'Restore' button appears in the
main menu and the dialogue comes up. However when I click OK, I get an error

IndexError: tuple index out of range

and this output:

Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 692, in response
    dialog.res = run_script(params)
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 353, in run_script
    return apply(function, params)
  File "/home/jan/.gimp-2.6/plug-ins/restore.py", line 112, in restore
    av=[(newc[R][i]+newc[G][i]+newc[B][i])/(3.0*255) for i in range(0,256)]
IndexError: tuple index out of range

What can I do to repair this?

By the way it was difficult to get Gimp 2.6.4 running under FC9. YUM would
not install it (only 2.4), and I had to collect the correct babl and gegl
versions from various places on the net, each with problematic dependencies of
their own. It took quite some time to figure it out; fortunately everything
could be found. 
Gimp-user mailing list

Reply via email to