Rene, thanks that did the trick for me. Rod Webster *1300 896 832* +61 435 765 611 Vehicle Modifications Network www.vehiclemods.net.au
On Tue, 3 Aug 2021 at 09:18, Dewey Garrett <[email protected]> wrote: > Some test info for debian: stretch,buster,bullseye > using example code from lib/python/glnav.py: > > $ cat /share/tst.py > import array, itertools > import cairo > a = array.array('b', itertools.repeat(0, 256*256)) > surface = cairo.ImageSurface.create_for_data(a, cairo.FORMAT_A8, 256, 256) > context = cairo.Context(surface) > > #stretch---------------------------------------------- > lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 9.13 (stretch) > Release: 9.13 > Codename: stretch > $ uname -a > Linux stretch64 4.9.0-3-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.30-2+deb9u2 > (2017-06-26) x86_64 GNU/Linux > $ dpkg -l python3-gi-cairo > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version Architecture Description > > +++-======================-================-================-================================================== > ii python3-gi-cairo 3.22.0-2 amd64 Python 3 > Cairo bindings for the GObject library > > $ python3 --version > Python 3.5.3 > > $ python3 < /share/tst.py > Traceback (most recent call last): > File "<stdin>", line 4, in <module> > NotImplementedError: Surface.create_for_data: Not Implemented yet. > # (e.g., it Fails) > > #buster---------------------------------------------- > $ lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 10 (buster) > Release: 10 > Codename: buster > $ uname -a > Linux dvm 4.19.0-17-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.194-2 > (2021-06-21) x86_64 GNU/Linux > $ dpkg -l python3-gi-cairo > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version Architecture Description > > +++-================-============-============-================================= > ii python3-gi-cairo 3.30.4-1 amd64 Python 3 Cairo bindings for > the G > lines 1-6/6 (END) > > $ python3 --version > Python 3.7.3 > > $ python3</share/tst.py > # nada -- it works with 3.30.4-1 > > #bullseye---------------------------------------------- > $ lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 11 (bullseye) > Release: 11 > Codename: bullseye > $ uname -a > Linux beye 5.10.0-8-amd64 #1 SMP Debian 5.10.46-2 (2021-07-20) x86_64 > GNU/Linux > $ dpkg -l python3-gi-cairo > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version Architecture Description > > +++-================-============-============-=============================================== > ii python3-gi-cairo 3.38.0-2 amd64 Python 3 Cairo bindings for > the GObject library > > $ python3 --version > Python 3.9.2 > > $ python3</share/tst.py > # nada -- it works with python3-gi-cairo 3.38.0-2 > > > -- > Dewey Garrett > > > > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
