View Single Post
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#161
Code:
Traceback (most recent call last):
  File "/opt/mypaint/share/mypaint/gui/application.py", line 99, at_application_start(*trash=())
                    else:
                        self.filehandler.open_file(fn)
  variables: {'fn': ('local', u'/home/user/MyDocs/MyPaint/Stick-figure.ora'), 'self.filehandler.open_file': ('local', <bound method FileHandler.wrapper of <gui.filehandling.FileHandler object at 0x429630d0>>)}
  File "/opt/mypaint/share/mypaint/gui/drawwindow.py", line 40, wrapper(self=<gui.filehandling.FileHandler object at 0x429630d0>, *args=(u'/home/user/MyDocs/MyPaint/Stick-figure.ora',), **kwargs={})
            try:
                func(self, *args, **kwargs)
                # gtk main loop may be called in here...
  variables: {'self': ('local', <gui.filehandling.FileHandler object at 0x429630d0>), 'args': ('local', (u'/home/user/MyDocs/MyPaint/Stick-figure.ora',)), 'func': ('local', <function open_file at 0x428b1bf0>), 'kwargs': ('local', {})}
  File "/opt/mypaint/share/mypaint/gui/filehandling.py", line 236, open_file(self=<gui.filehandling.FileHandler object at 0x429630d0>, filename=u'/home/user/MyDocs/MyPaint/Stick-figure.ora')
            try:
                self.doc.model.load(filename, feedback_cb=self.gtk_main_tick)
            except document.SaveLoadError, e:
  variables: {'self.doc.model.load': ('local', <bound method Document.load of <lib.document.Document instance at 0x42933cb0>>), 'feedback_cb': (None, []), 'self.gtk_main_tick': ('local', <function gtk_main_tick at 0x428b1bb0>), 'filename': ('local', u'/home/user/MyDocs/MyPaint/Stick-figure.ora')}
  File "/opt/mypaint/share/mypaint/lib/document.py", line 358, load(self=<lib.document.Document instance at 0x42933cb0>, filename=u'/home/user/MyDocs/MyPaint/Stick-figure.ora', **kwargs={'feedback_cb': <function gtk_main_tick at 0x428b1bb0>})
            try:
                load(filename, **kwargs)
            except gobject.GError, e:
  variables: {'load': ('local', <bound method Document.load_ora of <lib.document.Document instance at 0x42933cb0>>), 'kwargs': ('local', {'feedback_cb': <function gtk_main_tick at 0x428b1bb0>}), 'filename': ('local', u'/home/user/MyDocs/MyPaint/Stick-figure.ora')}
  File "/opt/mypaint/share/mypaint/lib/document.py", line 676, load_ora(self=<lib.document.Document instance at 0x42933cb0>, filename=u'/home/user/MyDocs/MyPaint/Stick-figure.ora', feedback_cb=<function gtk_main_tick at 0x428b1bb0>)
                ani_data = z.read('animation.xsheet')
                self.ani.str_to_xsheet(ani_data)
            except KeyError: #ani
  variables: {'self.ani.str_to_xsheet': ('local', <bound method Animation.str_to_xsheet of <lib.animation.Animation object at 0x42980ef0>>), 'ani_data': ('local', '[\n    [\n        false, \n        "", \n        4\n    ], \n    [\n        false, \n        "", \n        4\n    ], \n    [\n        false, \n        "", \n        5\n    ], \n    [\n        false, \n        "", \n        6\n    ], \n    [\n        false, \n        "", \n        7\n    ], \n    [\n        false, \n        "", \n        8\n    ], \n    [\n        false, \n        "", \n        9\n    ], \n    [\n        false, \n        "", \n        10\n    ], \n    [\n        false, \n        "", \n        11\n    ], \n    [\n        false, \n        "", \n        12\n    ], \n    [\n        false, \n        "", \n        13\n    ], \n    [\n        false, \n        "", \n        14\n    ], \n    [\n        false, \n        "", \n        15\n    ], \n    [\n        false, \n        "", \n        16\n    ], \n    [\n        false, \n        "", \n        17\n    ], \n    [\n        false, \n        "", \n        18\n    ], \n    [\n        false, \n        "", \n        19\n    ], \n    [\n        false, \n        "", \n        20\n    ], \n    [\n        false, \n        "", \n        21\n    ], \n    [\n        false, \n        "", \n        22\n    ], \n    [\n        false, \n        "", \n        23\n    ], \n    [\n        false, \n        "", \n        24\n    ], \n    [\n        false, \n        "", \n        25\n    ], \n    [\n        false, \n        "", \n        26\n    ]\n]')}
  File "/opt/mypaint/share/mypaint/lib/animation.py", line 94, str_to_xsheet(self=<lib.animation.Animation object at 0x42980ef0>, ani_data='[\n    [\n        false, \n        "", \n        4\n ...[\n        false, \n        "", \n        26\n    ]\n]')
                if layer_idx is not None:
                    cel = self.doc.layers[layer_idx]
                else:
  variables: {'layer_idx': ('local', 26), 'cel': ('local', <lib.layer.Layer instance at 0x42b9cfa8>), 'self.doc.layers': ('local', [<lib.layer.Layer instance at 0x42bbd9b8>, <lib.layer.Layer instance at 0x42bba580>, <lib.layer.Layer instance at 0x42bb72d8>, <lib.layer.Layer instance at 0x42bb7058>, <lib.layer.Layer instance at 0x42ba57b0>, <lib.layer.Layer instance at 0x42bb4288>, <lib.layer.Layer instance at 0x42bac080>, <lib.layer.Layer instance at 0x42bac828>, <lib.layer.Layer instance at 0x42bac698>, <lib.layer.Layer instance at 0x42bac530>, <lib.layer.Layer instance at 0x42bac3a0>, <lib.layer.Layer instance at 0x42bac210>, <lib.layer.Layer instance at 0x42bac850>, <lib.layer.Layer instance at 0x42b9cf58>, <lib.layer.Layer instance at 0x42ba5b48>, <lib.layer.Layer instance at 0x42bac3c8>, <lib.layer.Layer instance at 0x42bac238>, <lib.layer.Layer instance at 0x42ba52d8>, <lib.layer.Layer instance at 0x42ba50d0>, <lib.layer.Layer instance at 0x42ba5080>, <lib.layer.Layer instance at 0x42ba5be8>, <lib.layer.Layer instance at 0x42ba5918>, <lib.layer.Layer instance at 0x42ba5648>, <lib.layer.Layer instance at 0x42ba5378>, <lib.layer.Layer instance at 0x42ba5030>, <lib.layer.Layer instance at 0x42b9cfa8>])}
IndexError: list index out of range
Every single animation file I save refused to load with the above error message. I tried both "Recent files" as well as starting the file from the terminal. Opening the normal way wouldn't work as the new and improved 'filehandling' layout prevents reaching the OK button.

First I thought it was because I added and removed frames, but it also happens when I leave the original setup of 24 frames as is.

Thanks nevertheless. Would be amazing to get this to work.

Edit: Just a thought. I believe I remember reading somewhere that xsheet required python2.6. Not newer, not older. If that's true, could our python2.5 be the cullprit?

Last edited by anthonie; 2014-01-13 at 20:29.