Sorry for the misinformation, looking at pyglet.image.codecs.pil it follows
that loading animations with pil is not supported (no
method  decode_animation in the decoder) so it should come from other
decoder.

In windows animations loads from codecs\gdiplus , i guess in linux loads
from codecs/gdkpixbuf2 ; you can confirm that by commenting out in
codecs.__init__ the block

    # Linux default: GdkPixbuf 2.0
    if compat_platform.startswith('linux'):
        try:
            from pyglet.image.codecs import gdkpixbuf2
            add_encoders(gdkpixbuf2)
            add_decoders(gdkpixbuf2)
        except ImportError:
            pass

and run your test in the machine where it was working; now it should not
work.

At least you can confirm if the problem comes from  gdkpixbuf2



On Sun, Dec 8, 2019 at 5:29 PM Volker Süß <versus...@gmail.com> wrote:

> on ubuntu 19.10 :
>
> python-pil:amd64
> 6.1.0-1                                amd64        Python Imaging Library
> (Pillow fork)
>
>
> on ubuntu 18.04:
>
> python-pil:amd64
> 5.1.0-1                                amd64        Python Imaging Library
> (Pillow fork)
>
> --
> 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/01af2a0c-58f2-482d-8603-df2f57190a7c%40googlegroups.com
> <https://groups.google.com/d/msgid/pyglet-users/01af2a0c-58f2-482d-8603-df2f57190a7c%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/CAP3BN9W9red%2BHFqbrtq_G9K4grxBBbD%2B_0CCgRX4pbqhnOf4Kg%40mail.gmail.com.

Reply via email to