|
2014-01-13
, 21:44
|
Posts: 215 |
Thanked: 348 times |
Joined on May 2011
|
#162
|
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.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
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?
Opening the normal way wouldn't work as the new and improved 'filehandling' layout prevents reaching the OK button. :D
|
2014-01-13
, 22:50
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#163
|
Could not locate executable g77 Found executable /usr/bin/f77 gnu: no Fortran 90 compiler found
The Following User Says Thank You to anthonie For This Useful Post: | ||
|
2014-01-14
, 19:00
|
Posts: 291 |
Thanked: 435 times |
Joined on Apr 2011
@ RO
|
#164
|
|
2014-01-18
, 14:17
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#165
|
you have to click on thumbnail to open a file or outside the dialog to cancel.
here is the updated version that will work for save as swf, flv.
I don't know why save as avi did not.
ffmpeg and imagemagick must be installed to work.
I think imagemagick could be avoided with some changes.
edit:
in version 2
you can change the fps
saves xsheet animation file not just ora.
still have saving problems
merging cells,layers problems
The Following User Says Thank You to anthonie For This Useful Post: | ||
|
2014-01-18
, 18:47
|
Posts: 291 |
Thanked: 435 times |
Joined on Apr 2011
@ RO
|
#166
|
The merging of cells and layers. I hadn't noticed cells could be merged, but could you share what the problems are, that you bump into?
The Following User Says Thank You to SHARP66 For This Useful Post: | ||
|
2014-01-21
, 12:56
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#167
|
in the layers window if you merge a cel to a layer or delete a cel you can not edit anymore the animation window.
you can not draw a background. for your animation because the layer wont be saved.
You can have background for your animation only if you first draw the background and than duplicate in all frames and than draw the moving things.
The Following User Says Thank You to anthonie For This Useful Post: | ||
|
2014-01-21
, 14:14
|
Posts: 291 |
Thanked: 435 times |
Joined on Apr 2011
@ RO
|
#168
|
The Following User Says Thank You to SHARP66 For This Useful Post: | ||
|
2014-01-22
, 12:26
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#169
|
in the original XSHEET-MYPAINT this xterminal commands are used to save animation as avi
png-s to jpg-s and than jpg-s to avi
convert -resize 800 -quality 100 -background white -flatten png_file_in jpg_file_out
ffmpeg -r str(vid_fps) -b 1800 -y -i jpgs_in out_filename
Saving as swf, flv works great
What is wrong with this code? Somebody can write a good code for saving multiple jpgs to avi or whatever video format.
ffmpeg -i %d.jpg -s 1024x768 output.mp4
The Following User Says Thank You to anthonie For This Useful Post: | ||
|
2014-01-22
, 13:16
|
Posts: 291 |
Thanked: 435 times |
Joined on Apr 2011
@ RO
|
#170
|
1. Is there a typo in the code for saving the .flv files? It saves mine as flw which does not seem to be the same as flv.
2. I managed to export the animation to swf, but there is no background. I have the same problem with the ffmpeg method by the way.
What's the method to keep a background visible all the time and only use animation cells for the movable parts?
The Following User Says Thank You to SHARP66 For This Useful Post: | ||
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?
download free linux books
online linux guides
download n900: service manual level 1-4
Last edited by anthonie; 2014-01-13 at 20:29.