pyglet has some included decoders, but it can use PIL / pillow to decode more formats or to load faster. Maybe the one functioning has pillow installed and the other not?
Also, in my pyglet copy which is somewhat recent I don't found the line " raise ImageDecodeException('This decoder cannot decode animations.')". Are you sure your script is importing the correct (newer) pyglet version? On Sun, Dec 8, 2019 at 5:42 AM Volker Süß <versus...@gmail.com> wrote: > It seems that in ubuntu 19.10 something was changed. In ubuntu 18.04 I > have no problem to load the animated gif - in 19.10 I got the error. > > I have attached the example files to test this. > > Anone an idea?? > > Am Samstag, 7. Dezember 2019 13:19:00 UTC+1 schrieb Volker Süß: >> >> Further investigations have shown that pyglet is not the causer. It looks >> like gdkpixbuf2 is the problem.. But I'm not sure at this time. >> >> Am Samstag, 7. Dezember 2019 10:58:56 UTC+1 schrieb Volker Süß: >>> >>> Hello! >>> >>> I installed my little slide_show script on an new computer and found >>> that it is broken for >>> >>> animation = pyglet.image.load_animation(fn) >>> >>> I got an execption: >>> >>> raise ImageDecodeException('This decoder cannot decode animations.') >>> pyglet.image.codecs.ImageDecodeException: This decoder cannot decode >>> animations. >>> >>> I the 1.4.0b1 I have no problems with this. >>> >>> Where is the change?? >>> >> -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pyglet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyglet-users/0ee23a03-3820-422b-b4e3-6e7c70c04e69%40googlegroups.com > <https://groups.google.com/d/msgid/pyglet-users/0ee23a03-3820-422b-b4e3-6e7c70c04e69%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyglet-users/CAP3BN9UoOzzFy%2BYEoT-mnf%3DYp3s%2BOQ3cU0oK-A_FNis%3D5e-7mQ%40mail.gmail.com.