I: pbuilder: network access will be disabled during build I: Current time: Fri Sep 17 17:07:17 +14 2021 I: pbuilder-time-stamp: 1631848037 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [wxpython4.0_4.0.4+dfsg-2.dsc] I: copying [./wxpython4.0_4.0.4+dfsg.orig.tar.xz] I: copying [./wxpython4.0_4.0.4+dfsg-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Wed Apr 3 12:09:47 2019 +14 gpgv: using RSA key 6E7434F5897D43B17FCD57B753D5BC64B52378A2 gpgv: issuer "swt@techie.net" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./wxpython4.0_4.0.4+dfsg-2.dsc dpkg-source: info: extracting wxpython4.0 in wxpython4.0-4.0.4+dfsg dpkg-source: info: unpacking wxpython4.0_4.0.4+dfsg.orig.tar.xz dpkg-source: info: unpacking wxpython4.0_4.0.4+dfsg-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying unbundle-sip.patch dpkg-source: info: applying lib-copy-destination.patch dpkg-source: info: applying fix-joystick-stubs.patch dpkg-source: info: applying fix-vlbox-test.patch dpkg-source: info: applying fix-access-test.patch dpkg-source: info: applying fix-build-sip-4.19.14-1.patch dpkg-source: info: applying fix-build-sip-4.19.14-2.patch dpkg-source: info: applying fix-build-sip-4.19.14-3.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/24411/tmp/hooks/D01_modify_environment starting debug: Running on codethink-sled11-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/24411/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/24411/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=24411 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.nByIuq7LLC/pbuilderrc_GY2F --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.nByIuq7LLC/b2 --logfile b2/build.log wxpython4.0_4.0.4+dfsg-2.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 35576 Mar 1 2019 cat -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash -rwxr-xr-x 1 root root 97136 Mar 1 2019 date -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd -rwxr-xr-x 1 root root 93752 Mar 1 2019 df -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir -rwxr-xr-x 1 root root 75984 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 27256 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 23 2020 fusermount -rwxr-xr-x 1 root root 174304 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 6 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln -rwxr-xr-x 1 root root 52544 Jul 27 2018 login -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 10 2019 more -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 138736 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Sep 17 17:07 sh -> bash lrwxrwxrwx 1 root root 4 Sep 16 04:48 sh.distrib -> dash -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty -rwsr-xr-x 1 root root 59424 Jan 10 2019 su -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch -rwxr-xr-x 1 root root 27256 Mar 1 2019 true -rwxr-xr-x 1 root root 14264 Apr 23 2020 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/24411/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), dh-python, doxygen, libgtk-3-dev, libwxgtk3.0-gtk3-dev, libwxgtk-media3.0-gtk3-dev, libwxgtk-webview3.0-gtk3-dev, python-all, python-all-dev, python-numpy, python-pil, python-pypdf2, python-pytest, python-pytest-timeout, python-pytest-xdist, python-requests, python-setuptools, python-sip-dev, python3-all, python3-all-dev, python3-numpy, python3-pil, python3-pypdf2, python3-pytest, python3-pytest-timeout, python3-pytest-xdist, python3-requests, python3-setuptools, python3-sip-dev, xauth, xvfb dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on doxygen; however: Package doxygen is not installed. pbuilder-satisfydepends-dummy depends on libgtk-3-dev; however: Package libgtk-3-dev is not installed. pbuilder-satisfydepends-dummy depends on libwxgtk3.0-gtk3-dev; however: Package libwxgtk3.0-gtk3-dev is not installed. pbuilder-satisfydepends-dummy depends on libwxgtk-media3.0-gtk3-dev; however: Package libwxgtk-media3.0-gtk3-dev is not installed. pbuilder-satisfydepends-dummy depends on libwxgtk-webview3.0-gtk3-dev; however: Package libwxgtk-webview3.0-gtk3-dev is not installed. pbuilder-satisfydepends-dummy depends on python-all; however: Package python-all is not installed. pbuilder-satisfydepends-dummy depends on python-all-dev; however: Package python-all-dev is not installed. pbuilder-satisfydepends-dummy depends on python-numpy; however: Package python-numpy is not installed. pbuilder-satisfydepends-dummy depends on python-pil; however: Package python-pil is not installed. pbuilder-satisfydepends-dummy depends on python-pypdf2; however: Package python-pypdf2 is not installed. pbuilder-satisfydepends-dummy depends on python-pytest; however: Package python-pytest is not installed. pbuilder-satisfydepends-dummy depends on python-pytest-timeout; however: Package python-pytest-timeout is not installed. pbuilder-satisfydepends-dummy depends on python-pytest-xdist; however: Package python-pytest-xdist is not installed. pbuilder-satisfydepends-dummy depends on python-requests; however: Package python-requests is not installed. pbuilder-satisfydepends-dummy depends on python-setuptools; however: Package python-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python-sip-dev; however: Package python-sip-dev is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-all-dev; however: Package python3-all-dev is not installed. pbuilder-satisfydepends-dummy depends on python3-numpy; however: Package python3-numpy is not installed. pbuilder-satisfydepends-dummy depends on python3-pil; however: Package python3-pil is not installed. pbuilder-satisfydepends-dummy depends on python3-pypdf2; however: Package python3-pypdf2 is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-timeout; however: Package python3-pytest-timeout is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-xdist; however: Package python3-pytest-xdist is not installed. pbuilder-satisfydepends-dummy depends on python3-requests; however: Package python3-requests is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-sip-dev; however: Package python3-sip-dev is not installed. pbuilder-satisfydepends-dummy depends on xauth; however: Package xauth is not installed. pbuilder-satisfydepends-dummy depends on xvfb; however: Package xvfb is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: adwaita-icon-theme{a} aspell{a} aspell-en{a} autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} bubblewrap{a} ca-certificates{a} dbus{a} dbus-user-session{a} dconf-gsettings-backend{a} dconf-service{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dictionaries-common{a} dmsetup{a} doxygen{a} dwz{a} emacsen-common{a} file{a} fontconfig{a} fontconfig-config{a} fonts-dejavu-core{a} gettext{a} gettext-base{a} gir1.2-atk-1.0{a} gir1.2-atspi-2.0{a} gir1.2-freedesktop{a} gir1.2-gdkpixbuf-2.0{a} gir1.2-glib-2.0{a} gir1.2-gtk-3.0{a} gir1.2-harfbuzz-0.0{a} gir1.2-pango-1.0{a} glib-networking{a} glib-networking-common{a} glib-networking-services{a} groff-base{a} gsettings-desktop-schemas{a} gstreamer1.0-plugins-base{a} gstreamer1.0-plugins-good{a} gstreamer1.0-x{a} gtk-update-icon-cache{a} hicolor-icon-theme{a} icu-devtools{a} intltool-debian{a} iso-codes{a} libaa1{a} libapparmor1{a} libarchive-zip-perl{a} libargon2-1{a} libaspell15{a} libatk-bridge2.0-0{a} libatk-bridge2.0-dev{a} libatk1.0-0{a} libatk1.0-data{a} libatk1.0-dev{a} libatspi2.0-0{a} libatspi2.0-dev{a} libavahi-client3{a} libavahi-common-data{a} libavahi-common3{a} libavc1394-0{a} libblas3{a} libblkid-dev{a} libbrotli1{a} libbsd0{a} libcaca0{a} libcairo-gobject2{a} libcairo-script-interpreter2{a} libcairo2{a} libcairo2-dev{a} libcap2{a} libcap2-bin{a} libcdparanoia0{a} libclang1-6.0{a} libcolord2{a} libcroco3{a} libcryptsetup12{a} libcups2{a} libdatrie1{a} libdbus-1-3{a} libdbus-1-dev{a} libdconf1{a} libdevmapper1.02.1{a} libdrm-amdgpu1{a} libdrm-common{a} libdrm-dev{a} libdrm-etnaviv1{a} libdrm-freedreno1{a} libdrm-nouveau2{a} libdrm-radeon1{a} libdrm-tegra0{a} libdrm2{a} libdv4{a} libedit2{a} libegl-mesa0{a} libegl1{a} libegl1-mesa-dev{a} libelf1{a} libenchant1c2a{a} libepoxy-dev{a} libepoxy0{a} libexpat1{a} libexpat1-dev{a} libffi-dev{a} libfile-stripnondeterminism-perl{a} libflac8{a} libfontconfig1{a} libfontconfig1-dev{a} libfontenc1{a} libfreetype6{a} libfreetype6-dev{a} libfribidi-dev{a} libfribidi0{a} libgbm1{a} libgdk-pixbuf2.0-0{a} libgdk-pixbuf2.0-bin{a} libgdk-pixbuf2.0-common{a} libgdk-pixbuf2.0-dev{a} libgfortran5{a} libgirepository-1.0-1{a} libgl1{a} libgl1-mesa-dev{a} libgl1-mesa-dri{a} libglapi-mesa{a} libgles1{a} libgles2{a} libglib2.0-0{a} libglib2.0-bin{a} libglib2.0-data{a} libglib2.0-dev{a} libglib2.0-dev-bin{a} libglu1-mesa{a} libglu1-mesa-dev{a} libglvnd-core-dev{a} libglvnd-dev{a} libglvnd0{a} libglx-mesa0{a} libglx0{a} libgpm2{a} libgraphite2-3{a} libgraphite2-dev{a} libgssapi-krb5-2{a} libgstreamer-gl1.0-0{a} libgstreamer-plugins-base1.0-0{a} libgstreamer1.0-0{a} libgtk-3-0{a} libgtk-3-common{a} libgtk-3-dev{a} libgudev-1.0-0{a} libharfbuzz-dev{a} libharfbuzz-gobject0{a} libharfbuzz-icu0{a} libharfbuzz0b{a} libhunspell-1.7-0{a} libhyphen0{a} libice-dev{a} libice6{a} libicu-dev{a} libicu63{a} libidn11{a} libiec61883-0{a} libimagequant0{a} libip4tc0{a} libjack-jackd2-0{a} libjavascriptcoregtk-4.0-18{a} libjbig0{a} libjpeg62-turbo{a} libjson-c3{a} libjson-glib-1.0-0{a} libjson-glib-1.0-common{a} libk5crypto3{a} libkeyutils1{a} libkmod2{a} libkrb5-3{a} libkrb5support0{a} liblapack3{a} liblcms2-2{a} libllvm6.0{a} libllvm7{a} liblzo2-2{a} libmagic-mgc{a} libmagic1{a} libmount-dev{a} libmp3lame0{a} libmpdec2{a} libmpg123-0{a} libncurses6{a} libnotify4{a} libogg0{a} libopengl0{a} libopenjp2-7{a} libopus0{a} liborc-0.4-0{a} libpam-systemd{a} libpango-1.0-0{a} libpango1.0-dev{a} libpangocairo-1.0-0{a} libpangoft2-1.0-0{a} libpangoxft-1.0-0{a} libpcre16-3{a} libpcre3-dev{a} libpcre32-3{a} libpcrecpp0v5{a} libpipeline1{a} libpixman-1-0{a} libpixman-1-dev{a} libpng-dev{a} libpng16-16{a} libproxy1v5{a} libpsl5{a} libpthread-stubs0-dev{a} libpython-all-dev{a} libpython-dev{a} libpython-stdlib{a} libpython2-dev{a} libpython2-stdlib{a} libpython2.7{a} libpython2.7-dev{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-all-dev{a} libpython3-dev{a} libpython3-stdlib{a} libpython3.7{a} libpython3.7-dev{a} libpython3.7-minimal{a} libpython3.7-stdlib{a} libraw1394-11{a} libreadline7{a} librest-0.7-0{a} librsvg2-2{a} librsvg2-common{a} libsamplerate0{a} libsecret-1-0{a} libsecret-common{a} libselinux1-dev{a} libsensors-config{a} libsensors5{a} libsepol1-dev{a} libshout3{a} libsigsegv2{a} libslang2{a} libsm-dev{a} libsm6{a} libsoup-gnome2.4-1{a} libsoup2.4-1{a} libspeex1{a} libssl1.1{a} libtag1v5{a} libtag1v5-vanilla{a} libtext-iconv-perl{a} libthai-data{a} libthai0{a} libtheora0{a} libtiff5{a} libtool{a} libtwolame0{a} libuchardet0{a} libunwind8{a} libv4l-0{a} libv4lconvert0{a} libvisual-0.4-0{a} libvorbis0a{a} libvorbisenc2{a} libvpx5{a} libwavpack1{a} libwayland-bin{a} libwayland-client0{a} libwayland-cursor0{a} libwayland-dev{a} libwayland-egl1{a} libwayland-server0{a} libwebkit2gtk-4.0-37{a} libwebp6{a} libwebpdemux2{a} libwebpmux3{a} libwoff1{a} libwxbase3.0-0v5{a} libwxbase3.0-dev{a} libwxgtk-media3.0-gtk3-0v5{a} libwxgtk-media3.0-gtk3-dev{a} libwxgtk-webview3.0-gtk3-0v5{a} libwxgtk-webview3.0-gtk3-dev{a} libwxgtk3.0-gtk3-0v5{a} libwxgtk3.0-gtk3-dev{a} libx11-6{a} libx11-data{a} libx11-dev{a} libx11-xcb-dev{a} libx11-xcb1{a} libxau-dev{a} libxau6{a} libxaw7{a} libxcb-dri2-0{a} libxcb-dri2-0-dev{a} libxcb-dri3-0{a} libxcb-dri3-dev{a} libxcb-glx0{a} libxcb-glx0-dev{a} libxcb-present-dev{a} libxcb-present0{a} libxcb-randr0{a} libxcb-randr0-dev{a} libxcb-render0{a} libxcb-render0-dev{a} libxcb-shape0{a} libxcb-shape0-dev{a} libxcb-shm0{a} libxcb-shm0-dev{a} libxcb-sync-dev{a} libxcb-sync1{a} libxcb-xfixes0{a} libxcb-xfixes0-dev{a} libxcb1{a} libxcb1-dev{a} libxcomposite-dev{a} libxcomposite1{a} libxcursor-dev{a} libxcursor1{a} libxdamage-dev{a} libxdamage1{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxfixes-dev{a} libxfixes3{a} libxfont2{a} libxft-dev{a} libxft2{a} libxi-dev{a} libxi6{a} libxinerama-dev{a} libxinerama1{a} libxkbcommon-dev{a} libxkbcommon0{a} libxkbfile1{a} libxml2{a} libxmu6{a} libxmuu1{a} libxpm4{a} libxrandr-dev{a} libxrandr2{a} libxrender-dev{a} libxrender1{a} libxshmfence-dev{a} libxshmfence1{a} libxslt1.1{a} libxt6{a} libxtst-dev{a} libxtst6{a} libxv1{a} libxxf86vm-dev{a} libxxf86vm1{a} lsb-base{a} m4{a} man-db{a} mesa-common-dev{a} mime-support{a} openssl{a} pango1.0-tools{a} pkg-config{a} po-debconf{a} python{a} python-all{a} python-all-dev{a} python-apipkg{a} python-atomicwrites{a} python-attr{a} python-certifi{a} python-chardet{a} python-dev{a} python-enum34{a} python-execnet{a} python-funcsigs{a} python-idna{a} python-minimal{a} python-more-itertools{a} python-numpy{a} python-pathlib2{a} python-pil{a} python-pkg-resources{a} python-pluggy{a} python-py{a} python-pypdf2{a} python-pytest{a} python-pytest-forked{a} python-pytest-timeout{a} python-pytest-xdist{a} python-requests{a} python-scandir{a} python-setuptools{a} python-sip{a} python-sip-dev{a} python-six{a} python-urllib3{a} python2{a} python2-dev{a} python2-minimal{a} python2.7{a} python2.7-dev{a} python2.7-minimal{a} python3{a} python3-all{a} python3-all-dev{a} python3-apipkg{a} python3-atomicwrites{a} python3-attr{a} python3-certifi{a} python3-chardet{a} python3-dev{a} python3-distutils{a} python3-execnet{a} python3-idna{a} python3-lib2to3{a} python3-minimal{a} python3-more-itertools{a} python3-numpy{a} python3-pil{a} python3-pkg-resources{a} python3-pluggy{a} python3-py{a} python3-pypdf2{a} python3-pytest{a} python3-pytest-forked{a} python3-pytest-timeout{a} python3-pytest-xdist{a} python3-requests{a} python3-setuptools{a} python3-sip{a} python3-sip-dev{a} python3-six{a} python3-urllib3{a} python3.7{a} python3.7-dev{a} python3.7-minimal{a} readline-common{a} sensible-utils{a} shared-mime-info{a} sip-dev{a} systemd{a} systemd-sysv{a} ucf{a} uuid-dev{a} wayland-protocols{a} wx-common{a} wx3.0-headers{a} x11-common{a} x11-xkb-utils{a} x11proto-composite-dev{a} x11proto-core-dev{a} x11proto-damage-dev{a} x11proto-dev{a} x11proto-fixes-dev{a} x11proto-input-dev{a} x11proto-randr-dev{a} x11proto-record-dev{a} x11proto-xext-dev{a} x11proto-xf86vidmode-dev{a} x11proto-xinerama-dev{a} xauth{a} xdg-dbus-proxy{a} xkb-data{a} xorg-sgml-doctools{a} xserver-common{a} xtrans-dev{a} xvfb{a} zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: at-spi2-core awesome cinnamon curl dunst enchant gnome-flashback gnome-shell gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-libav gstreamer1.0-pulseaudio hunspell-af hunspell-an hunspell-ar hunspell-be hunspell-bg hunspell-bn hunspell-bo hunspell-br hunspell-bs hunspell-ca hunspell-cs hunspell-da hunspell-de-at hunspell-de-at-frami hunspell-de-ch hunspell-de-ch-frami hunspell-de-de hunspell-de-de-frami hunspell-dz hunspell-el hunspell-en-au hunspell-en-ca hunspell-en-gb hunspell-en-us hunspell-en-za hunspell-es hunspell-eu hunspell-fr-classical hunspell-fr-comprehensive hunspell-fr-modern hunspell-fr-revised hunspell-gd hunspell-gl hunspell-gu hunspell-gug hunspell-he hunspell-hi hunspell-hr hunspell-hu hunspell-id hunspell-is hunspell-it hunspell-kk hunspell-kmr hunspell-ko hunspell-lo hunspell-lt hunspell-lv hunspell-ne hunspell-nl hunspell-no hunspell-oc hunspell-pl hunspell-pt-br hunspell-pt-pt hunspell-ro hunspell-ru hunspell-se hunspell-si hunspell-sk hunspell-sl hunspell-sr hunspell-sv hunspell-sw hunspell-te hunspell-th hunspell-tr hunspell-uk hunspell-uz hunspell-vi krb5-locales libarchive-cpio-perl libgtk-3-bin libltdl-dev libmail-sendmail-perl libnss-systemd libpam-cap libpng-tools lxqt-notificationd lynx mate-notification-daemon myspell-cs myspell-da myspell-de-de-1901 myspell-en-au myspell-eo myspell-es myspell-et myspell-fa myspell-fo myspell-fr myspell-fr-gut myspell-ga myspell-gd myspell-gv myspell-he myspell-hu myspell-hy myspell-nb myspell-nn myspell-sk myspell-sq myspell-tl myspell-uk notification-daemon notify-osd plasma-workspace publicsuffix python-cryptography python-ipaddress python-jarabe python-olefile python-openssl python3-olefile wget xdg-user-dirs xfce4-notifyd xfonts-base zip 0 packages upgraded, 473 newly installed, 0 to remove and 0 not upgraded. Need to get 237 MB of archives. After unpacking 1034 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libapparmor1 arm64 2.13.2-10 [93.8 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 libcap2 arm64 1:2.25-2 [17.5 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libargon2-1 arm64 0~20171227-0.2 [18.9 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 dmsetup arm64 2:1.02.155-3 [83.9 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libdevmapper1.02.1 arm64 2:1.02.155-3 [124 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 libjson-c3 arm64 0.12.1+ds-2 [26.5 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 libssl1.1 arm64 1.1.1d-0+deb10u3 [1382 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 libcryptsetup12 arm64 2:2.1.0-5+deb10u2 [181 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 libidn11 arm64 1.33-2.2 [113 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 libip4tc0 arm64 1.8.2-4 [69.6 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 libkmod2 arm64 26-1 [49.4 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 systemd arm64 241-7~deb10u4 [3256 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 systemd-sysv arm64 241-7~deb10u4 [99.9 kB] Get: 14 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3 [869 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 libpython2.7-minimal arm64 2.7.16-2+deb10u1 [395 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 python2.7-minimal arm64 2.7.16-2+deb10u1 [1292 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 python2-minimal arm64 2.7.16-1 [41.4 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 python-minimal arm64 2.7.16-1 [21.0 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 mime-support all 3.62 [37.2 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 libexpat1 arm64 2.2.6-2+deb10u1 [85.4 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 readline-common all 7.0-5 [70.6 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 libreadline7 arm64 7.0-5 [134 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 libpython2.7-stdlib arm64 2.7.16-2+deb10u1 [1890 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 python2.7 arm64 2.7.16-2+deb10u1 [305 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 libpython2-stdlib arm64 2.7.16-1 [20.8 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 libpython-stdlib arm64 2.7.16-1 [20.8 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 python2 arm64 2.7.16-1 [41.6 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 python arm64 2.7.16-1 [22.8 kB] Get: 34 http://deb.debian.org/debian buster/main arm64 libpython3.7-minimal arm64 3.7.3-2+deb10u2 [588 kB] Get: 35 http://deb.debian.org/debian buster/main arm64 python3.7-minimal arm64 3.7.3-2+deb10u2 [1404 kB] Get: 36 http://deb.debian.org/debian buster/main arm64 python3-minimal arm64 3.7.3-1 [36.6 kB] Get: 37 http://deb.debian.org/debian buster/main arm64 libmpdec2 arm64 2.4.2-2 [77.7 kB] Get: 38 http://deb.debian.org/debian buster/main arm64 libpython3.7-stdlib arm64 3.7.3-2+deb10u2 [1641 kB] Get: 39 http://deb.debian.org/debian buster/main arm64 python3.7 arm64 3.7.3-2+deb10u2 [330 kB] Get: 40 http://deb.debian.org/debian buster/main arm64 libpython3-stdlib arm64 3.7.3-1 [20.0 kB] Get: 41 http://deb.debian.org/debian buster/main arm64 python3 arm64 3.7.3-1 [61.5 kB] Get: 42 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 43 http://deb.debian.org/debian buster/main arm64 libdbus-1-3 arm64 1.12.20-0+deb10u1 [206 kB] Get: 44 http://deb.debian.org/debian buster/main arm64 dbus arm64 1.12.20-0+deb10u1 [227 kB] Get: 45 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB] Get: 46 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB] Get: 47 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB] Get: 48 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 49 http://deb.debian.org/debian buster/main arm64 libpam-systemd arm64 241-7~deb10u4 [200 kB] Get: 50 http://deb.debian.org/debian buster/main arm64 ucf all 3.0038+nmu1 [69.0 kB] Get: 51 http://deb.debian.org/debian buster/main arm64 hicolor-icon-theme all 0.17-2 [11.4 kB] Get: 52 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u2 [1185 kB] Get: 53 http://deb.debian.org/debian buster/main arm64 libjpeg62-turbo arm64 1:1.5.2-2+b1 [115 kB] Get: 54 http://deb.debian.org/debian buster/main arm64 libpng16-16 arm64 1.6.36-6 [287 kB] Get: 55 http://deb.debian.org/debian buster/main arm64 libjbig0 arm64 2.1-3.1+b2 [27.8 kB] Get: 56 http://deb.debian.org/debian buster/main arm64 libwebp6 arm64 0.6.1-2 [233 kB] Get: 57 http://deb.debian.org/debian buster/main arm64 libtiff5 arm64 4.1.0+git191117-2~deb10u1 [259 kB] Get: 58 http://deb.debian.org/debian buster/main arm64 libxau6 arm64 1:1.0.8-1+b2 [19.3 kB] Get: 59 http://deb.debian.org/debian buster/main arm64 libxdmcp6 arm64 1:1.1.2-3 [25.4 kB] Get: 60 http://deb.debian.org/debian buster/main arm64 libxcb1 arm64 1.13.1-2 [135 kB] Get: 61 http://deb.debian.org/debian buster/main arm64 libx11-data all 2:1.6.7-1 [298 kB] Get: 62 http://deb.debian.org/debian buster/main arm64 libx11-6 arm64 2:1.6.7-1 [735 kB] Get: 63 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 64 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+b3 [623 kB] Get: 65 http://deb.debian.org/debian buster/main arm64 shared-mime-info arm64 1.10-1 [764 kB] Get: 66 http://deb.debian.org/debian buster/main arm64 libgdk-pixbuf2.0-common all 2.38.1+dfsg-1 [316 kB] Get: 67 http://deb.debian.org/debian buster/main arm64 libgdk-pixbuf2.0-0 arm64 2.38.1+dfsg-1 [166 kB] Get: 68 http://deb.debian.org/debian buster/main arm64 gtk-update-icon-cache arm64 3.24.5-1 [81.0 kB] Get: 69 http://deb.debian.org/debian buster/main arm64 libfreetype6 arm64 2.9.1-3+deb10u1 [355 kB] Get: 70 http://deb.debian.org/debian buster/main arm64 fonts-dejavu-core all 2.37-1 [1068 kB] Get: 71 http://deb.debian.org/debian buster/main arm64 fontconfig-config all 2.13.1-2 [280 kB] Get: 72 http://deb.debian.org/debian buster/main arm64 libfontconfig1 arm64 2.13.1-2 [343 kB] Get: 73 http://deb.debian.org/debian buster/main arm64 libpixman-1-0 arm64 0.36.0-1 [436 kB] Get: 74 http://deb.debian.org/debian buster/main arm64 libxcb-render0 arm64 1.13.1-2 [108 kB] Get: 75 http://deb.debian.org/debian buster/main arm64 libxcb-shm0 arm64 1.13.1-2 [99.3 kB] Get: 76 http://deb.debian.org/debian buster/main arm64 libxext6 arm64 2:1.3.3-1+b2 [48.6 kB] Get: 77 http://deb.debian.org/debian buster/main arm64 libxrender1 arm64 1:0.9.10-1 [30.4 kB] Get: 78 http://deb.debian.org/debian buster/main arm64 libcairo2 arm64 1.16.0-4 [644 kB] Get: 79 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 80 http://deb.debian.org/debian buster/main arm64 fontconfig arm64 2.13.1-2 [405 kB] Get: 81 http://deb.debian.org/debian buster/main arm64 libfribidi0 arm64 1.0.5-3.1+deb10u1 [63.6 kB] Get: 82 http://deb.debian.org/debian buster/main arm64 libthai-data all 0.1.28-2 [170 kB] Get: 83 http://deb.debian.org/debian buster/main arm64 libdatrie1 arm64 0.2.12-2 [38.6 kB] Get: 84 http://deb.debian.org/debian buster/main arm64 libthai0 arm64 0.1.28-2 [52.8 kB] Get: 85 http://deb.debian.org/debian buster/main arm64 libpango-1.0-0 arm64 1.42.4-8~deb10u1 [179 kB] Get: 86 http://deb.debian.org/debian buster/main arm64 libgraphite2-3 arm64 1.3.13-7 [75.8 kB] Get: 87 http://deb.debian.org/debian buster/main arm64 libharfbuzz0b arm64 2.3.1-1 [1155 kB] Get: 88 http://deb.debian.org/debian buster/main arm64 libpangoft2-1.0-0 arm64 1.42.4-8~deb10u1 [65.7 kB] Get: 89 http://deb.debian.org/debian buster/main arm64 libpangocairo-1.0-0 arm64 1.42.4-8~deb10u1 [54.0 kB] Get: 90 http://deb.debian.org/debian buster/main arm64 librsvg2-2 arm64 2.44.10-2.1 [1048 kB] Get: 91 http://deb.debian.org/debian buster/main arm64 librsvg2-common arm64 2.44.10-2.1 [23.3 kB] Get: 92 http://deb.debian.org/debian buster/main arm64 adwaita-icon-theme all 3.30.1-1 [11.7 MB] Get: 93 http://deb.debian.org/debian buster/main arm64 libaspell15 arm64 0.60.7~20110707-6 [299 kB] Get: 94 http://deb.debian.org/debian buster/main arm64 libtext-iconv-perl arm64 1.7-5+b6 [15.3 kB] Get: 95 http://deb.debian.org/debian buster/main arm64 emacsen-common all 3.0.4 [19.3 kB] Get: 96 http://deb.debian.org/debian buster/main arm64 dictionaries-common all 1.28.1 [239 kB] Get: 97 http://deb.debian.org/debian buster/main arm64 aspell arm64 0.60.7~20110707-6 [221 kB] Get: 98 http://deb.debian.org/debian buster/main arm64 aspell-en all 2018.04.16-0-1 [301 kB] Get: 99 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 100 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 101 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 102 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 103 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 104 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 105 http://deb.debian.org/debian buster/main arm64 bubblewrap arm64 0.3.1-4 [34.8 kB] Get: 106 http://deb.debian.org/debian buster/main arm64 openssl arm64 1.1.1d-0+deb10u3 [823 kB] Get: 107 http://deb.debian.org/debian buster/main arm64 ca-certificates all 20190110 [157 kB] Get: 108 http://deb.debian.org/debian buster/main arm64 dbus-user-session arm64 1.12.20-0+deb10u1 [94.5 kB] Get: 109 http://deb.debian.org/debian buster/main arm64 libdconf1 arm64 0.30.1-2 [39.3 kB] Get: 110 http://deb.debian.org/debian buster/main arm64 dconf-service arm64 0.30.1-2 [34.9 kB] Get: 111 http://deb.debian.org/debian buster/main arm64 dconf-gsettings-backend arm64 0.30.1-2 [27.5 kB] Get: 112 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 113 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 114 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 115 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 116 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 117 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 118 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 119 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 120 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 121 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 122 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 123 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Get: 124 http://deb.debian.org/debian buster/main arm64 python3-lib2to3 all 3.7.3-1 [76.7 kB] Get: 125 http://deb.debian.org/debian buster/main arm64 python3-distutils all 3.7.3-1 [142 kB] Get: 126 http://deb.debian.org/debian buster/main arm64 dh-python all 3.20190308 [99.3 kB] Get: 127 http://deb.debian.org/debian buster/main arm64 libedit2 arm64 3.1-20181209-1 [91.2 kB] Get: 128 http://deb.debian.org/debian buster/main arm64 libllvm6.0 arm64 1:6.0.1-10 [13.1 MB] Get: 129 http://deb.debian.org/debian buster/main arm64 libclang1-6.0 arm64 1:6.0.1-10 [6190 kB] Get: 130 http://deb.debian.org/debian buster/main arm64 doxygen arm64 1.8.13-10 [3701 kB] Get: 131 http://deb.debian.org/debian buster/main arm64 libgirepository-1.0-1 arm64 1.58.3-2 [85.1 kB] Get: 132 http://deb.debian.org/debian buster/main arm64 gir1.2-glib-2.0 arm64 1.58.3-2 [143 kB] Get: 133 http://deb.debian.org/debian buster/main arm64 libatk1.0-data all 2.30.0-2 [145 kB] Get: 134 http://deb.debian.org/debian buster/main arm64 libatk1.0-0 arm64 2.30.0-2 [48.3 kB] Get: 135 http://deb.debian.org/debian buster/main arm64 gir1.2-atk-1.0 arm64 2.30.0-2 [25.3 kB] Get: 136 http://deb.debian.org/debian buster/main arm64 libcairo-gobject2 arm64 1.16.0-4 [124 kB] Get: 137 http://deb.debian.org/debian buster/main arm64 gir1.2-freedesktop arm64 1.58.3-2 [20.3 kB] Get: 138 http://deb.debian.org/debian buster/main arm64 libatspi2.0-0 arm64 2.30.0-7 [61.7 kB] Get: 139 http://deb.debian.org/debian buster/main arm64 gir1.2-atspi-2.0 arm64 2.30.0-7 [20.5 kB] Get: 140 http://deb.debian.org/debian buster/main arm64 gir1.2-gdkpixbuf-2.0 arm64 2.38.1+dfsg-1 [18.3 kB] Get: 141 http://deb.debian.org/debian buster/main arm64 libxft2 arm64 2.3.2-2 [51.3 kB] Get: 142 http://deb.debian.org/debian buster/main arm64 libpangoxft-1.0-0 arm64 1.42.4-8~deb10u1 [49.1 kB] Get: 143 http://deb.debian.org/debian buster/main arm64 gir1.2-pango-1.0 arm64 1.42.4-8~deb10u1 [55.8 kB] Get: 144 http://deb.debian.org/debian buster/main arm64 libatk-bridge2.0-0 arm64 2.30.0-5 [58.3 kB] Get: 145 http://deb.debian.org/debian buster/main arm64 liblcms2-2 arm64 2.9-3 [137 kB] Get: 146 http://deb.debian.org/debian buster/main arm64 libcolord2 arm64 1.4.3-4 [131 kB] Get: 147 http://deb.debian.org/debian buster/main arm64 libavahi-common-data arm64 0.7-4+b1 [122 kB] Get: 148 http://deb.debian.org/debian buster/main arm64 libavahi-common3 arm64 0.7-4+b1 [53.5 kB] Get: 149 http://deb.debian.org/debian buster/main arm64 libavahi-client3 arm64 0.7-4+b1 [56.8 kB] Get: 150 http://deb.debian.org/debian buster/main arm64 libkeyutils1 arm64 1.6-6 [14.9 kB] Get: 151 http://deb.debian.org/debian buster/main arm64 libkrb5support0 arm64 1.17-3 [64.7 kB] Get: 152 http://deb.debian.org/debian buster/main arm64 libk5crypto3 arm64 1.17-3 [122 kB] Get: 153 http://deb.debian.org/debian buster/main arm64 libkrb5-3 arm64 1.17-3 [353 kB] Get: 154 http://deb.debian.org/debian buster/main arm64 libgssapi-krb5-2 arm64 1.17-3 [150 kB] Get: 155 http://deb.debian.org/debian buster/main arm64 libcups2 arm64 2.2.10-6+deb10u3 [310 kB] Get: 156 http://deb.debian.org/debian buster/main arm64 libepoxy0 arm64 1.5.3-0.1 [197 kB] Get: 157 http://deb.debian.org/debian buster/main arm64 libjson-glib-1.0-common all 1.4.4-2 [52.3 kB] Get: 158 http://deb.debian.org/debian buster/main arm64 libjson-glib-1.0-0 arm64 1.4.4-2 [56.0 kB] Get: 159 http://deb.debian.org/debian buster/main arm64 libpsl5 arm64 0.20.2-2 [53.6 kB] Get: 160 http://deb.debian.org/debian buster/main arm64 libproxy1v5 arm64 0.4.15-5 [53.3 kB] Get: 161 http://deb.debian.org/debian buster/main arm64 glib-networking-common all 2.58.0-2+deb10u2 [59.5 kB] Get: 162 http://deb.debian.org/debian buster/main arm64 glib-networking-services arm64 2.58.0-2+deb10u2 [13.6 kB] Get: 163 http://deb.debian.org/debian buster/main arm64 gsettings-desktop-schemas all 3.28.1-1 [529 kB] Get: 164 http://deb.debian.org/debian buster/main arm64 glib-networking arm64 2.58.0-2+deb10u2 [52.3 kB] Get: 165 http://deb.debian.org/debian buster/main arm64 libsoup2.4-1 arm64 2.64.2-2 [239 kB] Get: 166 http://deb.debian.org/debian buster/main arm64 libsoup-gnome2.4-1 arm64 2.64.2-2 [17.8 kB] Get: 167 http://deb.debian.org/debian buster/main arm64 librest-0.7-0 arm64 0.8.1-1 [31.6 kB] Get: 168 http://deb.debian.org/debian buster/main arm64 libwayland-client0 arm64 1.16.0-1 [25.9 kB] Get: 169 http://deb.debian.org/debian buster/main arm64 libwayland-cursor0 arm64 1.16.0-1 [14.1 kB] Get: 170 http://deb.debian.org/debian buster/main arm64 libwayland-egl1 arm64 1.16.0-1 [8188 B] Get: 171 http://deb.debian.org/debian buster/main arm64 libxcomposite1 arm64 1:0.4.4-2 [16.1 kB] Get: 172 http://deb.debian.org/debian buster/main arm64 libxfixes3 arm64 1:5.0.3-1 [21.0 kB] Get: 173 http://deb.debian.org/debian buster/main arm64 libxcursor1 arm64 1:1.1.15-2 [36.0 kB] Get: 174 http://deb.debian.org/debian buster/main arm64 libxdamage1 arm64 1:1.1.4-3+b3 [14.8 kB] Get: 175 http://deb.debian.org/debian buster/main arm64 libxi6 arm64 2:1.7.9-1 [79.0 kB] Get: 176 http://deb.debian.org/debian buster/main arm64 libxinerama1 arm64 2:1.1.4-2 [17.7 kB] Get: 177 http://deb.debian.org/debian buster/main arm64 xkb-data all 2.26-2 [681 kB] Get: 178 http://deb.debian.org/debian buster/main arm64 libxkbcommon0 arm64 0.8.2-1 [118 kB] Get: 179 http://deb.debian.org/debian buster/main arm64 libxrandr2 arm64 2:1.5.1-1 [35.3 kB] Get: 180 http://deb.debian.org/debian buster/main arm64 libgtk-3-common all 3.24.5-1 [3678 kB] Get: 181 http://deb.debian.org/debian buster/main arm64 libgtk-3-0 arm64 3.24.5-1 [2398 kB] Get: 182 http://deb.debian.org/debian buster/main arm64 gir1.2-gtk-3.0 arm64 3.24.5-1 [252 kB] Get: 183 http://deb.debian.org/debian buster/main arm64 libharfbuzz-gobject0 arm64 2.3.1-1 [847 kB] Get: 184 http://deb.debian.org/debian buster/main arm64 gir1.2-harfbuzz-0.0 arm64 2.3.1-1 [853 kB] Get: 185 http://deb.debian.org/debian buster/main arm64 libcdparanoia0 arm64 3.10.2+debian-13 [42.4 kB] Get: 186 http://deb.debian.org/debian buster/main arm64 libcap2-bin arm64 1:2.25-2 [28.5 kB] Get: 187 http://deb.debian.org/debian buster/main arm64 libgstreamer1.0-0 arm64 1.14.4-1 [2015 kB] Get: 188 http://deb.debian.org/debian buster/main arm64 liborc-0.4-0 arm64 1:0.4.28-3.1 [129 kB] Get: 189 http://deb.debian.org/debian buster/main arm64 iso-codes all 4.2-1 [2713 kB] Get: 190 http://deb.debian.org/debian buster/main arm64 libgstreamer-plugins-base1.0-0 arm64 1.14.4-2 [1867 kB] Get: 191 http://deb.debian.org/debian buster/main arm64 libogg0 arm64 1.3.2-1+b1 [18.4 kB] Get: 192 http://deb.debian.org/debian buster/main arm64 libopus0 arm64 1.3-1 [171 kB] Get: 193 http://deb.debian.org/debian buster/main arm64 libtheora0 arm64 1.1.1+dfsg.1-15 [161 kB] Get: 194 http://deb.debian.org/debian buster/main arm64 libvisual-0.4-0 arm64 0.4.0-15 [125 kB] Get: 195 http://deb.debian.org/debian buster/main arm64 libvorbis0a arm64 1.3.6-2 [86.9 kB] Get: 196 http://deb.debian.org/debian buster/main arm64 libvorbisenc2 arm64 1.3.6-2 [80.0 kB] Get: 197 http://deb.debian.org/debian buster/main arm64 gstreamer1.0-plugins-base arm64 1.14.4-2 [1723 kB] Get: 198 http://deb.debian.org/debian buster/main arm64 libgpm2 arm64 1.20.7-5 [34.5 kB] Get: 199 http://deb.debian.org/debian buster/main arm64 libslang2 arm64 2.3.2-2 [475 kB] Get: 200 http://deb.debian.org/debian buster/main arm64 libaa1 arm64 1.4p5-46 [53.6 kB] Get: 201 http://deb.debian.org/debian buster/main arm64 libraw1394-11 arm64 2.1.2-1+b1 [43.1 kB] Get: 202 http://deb.debian.org/debian buster/main arm64 libavc1394-0 arm64 0.5.4-5 [18.4 kB] Get: 203 http://deb.debian.org/debian buster/main arm64 libcaca0 arm64 0.99.beta19-2.1 [342 kB] Get: 204 http://deb.debian.org/debian buster/main arm64 libdv4 arm64 1.0.0-12 [69.6 kB] Get: 205 http://deb.debian.org/debian buster/main arm64 libflac8 arm64 1.3.2-3 [177 kB] Get: 206 http://deb.debian.org/debian buster/main arm64 libgudev-1.0-0 arm64 232-2 [11.6 kB] Get: 207 http://deb.debian.org/debian buster/main arm64 libiec61883-0 arm64 1.2.0-3 [29.8 kB] Get: 208 http://deb.debian.org/debian buster/main arm64 libsamplerate0 arm64 0.1.9-2 [942 kB] Get: 209 http://deb.debian.org/debian buster/main arm64 libjack-jackd2-0 arm64 1.9.12~dfsg-2 [286 kB] Get: 210 http://deb.debian.org/debian buster/main arm64 libmp3lame0 arm64 3.100-2+b1 [350 kB] Get: 211 http://deb.debian.org/debian buster/main arm64 libmpg123-0 arm64 1.25.10-2 [127 kB] Get: 212 http://deb.debian.org/debian buster/main arm64 libspeex1 arm64 1.2~rc1.2-1+b2 [46.0 kB] Get: 213 http://deb.debian.org/debian buster/main arm64 libshout3 arm64 2.4.1-2 [45.0 kB] Get: 214 http://deb.debian.org/debian buster/main arm64 libtag1v5-vanilla arm64 1.11.1+dfsg.1-0.3+deb10u1 [266 kB] Get: 215 http://deb.debian.org/debian buster/main arm64 libtag1v5 arm64 1.11.1+dfsg.1-0.3+deb10u1 [23.8 kB] Get: 216 http://deb.debian.org/debian buster/main arm64 libtwolame0 arm64 0.3.13-4 [44.1 kB] Get: 217 http://deb.debian.org/debian buster/main arm64 libv4lconvert0 arm64 1.16.3-3 [126 kB] Get: 218 http://deb.debian.org/debian buster/main arm64 libv4l-0 arm64 1.16.3-3 [93.8 kB] Get: 219 http://deb.debian.org/debian buster/main arm64 libvpx5 arm64 1.7.0-3+deb10u1 [717 kB] Get: 220 http://deb.debian.org/debian buster/main arm64 libwavpack1 arm64 5.1.0-6 [77.7 kB] Get: 221 http://deb.debian.org/debian buster/main arm64 gstreamer1.0-plugins-good arm64 1.14.4-1 [2735 kB] Get: 222 http://deb.debian.org/debian buster/main arm64 libxv1 arm64 2:1.0.11-1 [23.6 kB] Get: 223 http://deb.debian.org/debian buster/main arm64 gstreamer1.0-x arm64 1.14.4-2 [1273 kB] Get: 224 http://deb.debian.org/debian buster/main arm64 icu-devtools arm64 63.1-6+deb10u1 [179 kB] Get: 225 http://deb.debian.org/debian buster/main arm64 libffi-dev arm64 3.2.1-9 [155 kB] Get: 226 http://deb.debian.org/debian buster/main arm64 libglib2.0-data all 2.58.3-2+deb10u2 [1110 kB] Get: 227 http://deb.debian.org/debian buster/main arm64 libglib2.0-bin arm64 2.58.3-2+deb10u2 [122 kB] Get: 228 http://deb.debian.org/debian buster/main arm64 libglib2.0-dev-bin arm64 2.58.3-2+deb10u2 [156 kB] Get: 229 http://deb.debian.org/debian buster/main arm64 uuid-dev arm64 2.33.1-0.1 [93.8 kB] Get: 230 http://deb.debian.org/debian buster/main arm64 libblkid-dev arm64 2.33.1-0.1 [229 kB] Get: 231 http://deb.debian.org/debian buster/main arm64 libmount-dev arm64 2.33.1-0.1 [238 kB] Get: 232 http://deb.debian.org/debian buster/main arm64 libpcre16-3 arm64 2:8.39-12 [236 kB] Get: 233 http://deb.debian.org/debian buster/main arm64 libpcre32-3 arm64 2:8.39-12 [230 kB] Get: 234 http://deb.debian.org/debian buster/main arm64 libpcrecpp0v5 arm64 2:8.39-12 [151 kB] Get: 235 http://deb.debian.org/debian buster/main arm64 libpcre3-dev arm64 2:8.39-12 [578 kB] Get: 236 http://deb.debian.org/debian buster/main arm64 libsepol1-dev arm64 2.8-1 [308 kB] Get: 237 http://deb.debian.org/debian buster/main arm64 libselinux1-dev arm64 2.8-1+b1 [163 kB] Get: 238 http://deb.debian.org/debian buster/main arm64 pkg-config arm64 0.29-6 [62.2 kB] Get: 239 http://deb.debian.org/debian buster/main arm64 zlib1g-dev arm64 1:1.2.11.dfsg-1 [210 kB] Get: 240 http://deb.debian.org/debian buster/main arm64 libglib2.0-dev arm64 2.58.3-2+deb10u2 [1509 kB] Get: 241 http://deb.debian.org/debian buster/main arm64 libdbus-1-dev arm64 1.12.20-0+deb10u1 [251 kB] Get: 242 http://deb.debian.org/debian buster/main arm64 lsb-base all 10.2019051400 [28.4 kB] Get: 243 http://deb.debian.org/debian buster/main arm64 x11-common all 1:7.7+19 [251 kB] Get: 244 http://deb.debian.org/debian buster/main arm64 libxtst6 arm64 2:1.2.3-1 [26.7 kB] Get: 245 http://deb.debian.org/debian buster/main arm64 xorg-sgml-doctools all 1:1.11-1 [21.9 kB] Get: 246 http://deb.debian.org/debian buster/main arm64 x11proto-dev all 2018.4-4 [251 kB] Get: 247 http://deb.debian.org/debian buster/main arm64 x11proto-core-dev all 2018.4-4 [3128 B] Get: 248 http://deb.debian.org/debian buster/main arm64 libxau-dev arm64 1:1.0.8-1+b2 [22.8 kB] Get: 249 http://deb.debian.org/debian buster/main arm64 libxdmcp-dev arm64 1:1.1.2-3 [41.2 kB] Get: 250 http://deb.debian.org/debian buster/main arm64 x11proto-input-dev all 2018.4-4 [3132 B] Get: 251 http://deb.debian.org/debian buster/main arm64 xtrans-dev all 1.3.5-1 [100 kB] Get: 252 http://deb.debian.org/debian buster/main arm64 libpthread-stubs0-dev arm64 0.4-1 [5336 B] Get: 253 http://deb.debian.org/debian buster/main arm64 libxcb1-dev arm64 1.13.1-2 [174 kB] Get: 254 http://deb.debian.org/debian buster/main arm64 libx11-dev arm64 2:1.6.7-1 [816 kB] Get: 255 http://deb.debian.org/debian buster/main arm64 x11proto-xext-dev all 2018.4-4 [3128 B] Get: 256 http://deb.debian.org/debian buster/main arm64 libxext-dev arm64 2:1.3.3-1+b2 [104 kB] Get: 257 http://deb.debian.org/debian buster/main arm64 x11proto-fixes-dev all 1:2018.4-4 [3140 B] Get: 258 http://deb.debian.org/debian buster/main arm64 libxfixes-dev arm64 1:5.0.3-1 [23.2 kB] Get: 259 http://deb.debian.org/debian buster/main arm64 libxi-dev arm64 2:1.7.9-1 [238 kB] Get: 260 http://deb.debian.org/debian buster/main arm64 x11proto-record-dev all 2018.4-4 [3132 B] Get: 261 http://deb.debian.org/debian buster/main arm64 libxtst-dev arm64 2:1.2.3-1 [31.1 kB] Get: 262 http://deb.debian.org/debian buster/main arm64 libatspi2.0-dev arm64 2.30.0-7 [63.8 kB] Get: 263 http://deb.debian.org/debian buster/main arm64 libatk-bridge2.0-dev arm64 2.30.0-5 [8296 B] Get: 264 http://deb.debian.org/debian buster/main arm64 libatk1.0-dev arm64 2.30.0-2 [88.3 kB] Get: 265 http://deb.debian.org/debian buster/main arm64 libgfortran5 arm64 8.3.0-6 [298 kB] Get: 266 http://deb.debian.org/debian buster/main arm64 libblas3 arm64 3.8.0-2 [100 kB] Get: 267 http://deb.debian.org/debian buster/main arm64 libbrotli1 arm64 1.0.7-2 [261 kB] Get: 268 http://deb.debian.org/debian buster/main arm64 liblzo2-2 arm64 2.10-0.1 [49.0 kB] Get: 269 http://deb.debian.org/debian buster/main arm64 libcairo-script-interpreter2 arm64 1.16.0-4 [157 kB] Get: 270 http://deb.debian.org/debian buster/main arm64 libexpat1-dev arm64 2.2.6-2+deb10u1 [128 kB] Get: 271 http://deb.debian.org/debian buster/main arm64 libpng-dev arm64 1.6.36-6 [297 kB] Get: 272 http://deb.debian.org/debian buster/main arm64 libfreetype6-dev arm64 2.9.1-3+deb10u1 [526 kB] Get: 273 http://deb.debian.org/debian buster/main arm64 libfontconfig1-dev arm64 2.13.1-2 [964 kB] Get: 274 http://deb.debian.org/debian buster/main arm64 libxrender-dev arm64 1:0.9.10-1 [38.8 kB] Get: 275 http://deb.debian.org/debian buster/main arm64 libice6 arm64 2:1.0.9-2 [52.0 kB] Get: 276 http://deb.debian.org/debian buster/main arm64 libsm6 arm64 2:1.2.3-1 [34.0 kB] Get: 277 http://deb.debian.org/debian buster/main arm64 libice-dev arm64 2:1.0.9-2 [62.0 kB] Get: 278 http://deb.debian.org/debian buster/main arm64 libsm-dev arm64 2:1.2.3-1 [37.4 kB] Get: 279 http://deb.debian.org/debian buster/main arm64 libpixman-1-dev arm64 0.36.0-1 [453 kB] Get: 280 http://deb.debian.org/debian buster/main arm64 libxcb-render0-dev arm64 1.13.1-2 [113 kB] Get: 281 http://deb.debian.org/debian buster/main arm64 libxcb-shm0-dev arm64 1.13.1-2 [101 kB] Get: 282 http://deb.debian.org/debian buster/main arm64 libcairo2-dev arm64 1.16.0-4 [706 kB] Get: 283 http://deb.debian.org/debian buster/main arm64 libdrm-common all 2.4.97-1 [13.8 kB] Get: 284 http://deb.debian.org/debian buster/main arm64 libdrm2 arm64 2.4.97-1 [39.5 kB] Get: 285 http://deb.debian.org/debian buster/main arm64 libdrm-amdgpu1 arm64 2.4.97-1 [26.6 kB] Get: 286 http://deb.debian.org/debian buster/main arm64 libdrm-radeon1 arm64 2.4.97-1 [30.0 kB] Get: 287 http://deb.debian.org/debian buster/main arm64 libdrm-nouveau2 arm64 2.4.97-1 [25.5 kB] Get: 288 http://deb.debian.org/debian buster/main arm64 libdrm-freedreno1 arm64 2.4.97-1 [27.8 kB] Get: 289 http://deb.debian.org/debian buster/main arm64 libdrm-tegra0 arm64 2.4.97-1 [15.8 kB] Get: 290 http://deb.debian.org/debian buster/main arm64 libdrm-etnaviv1 arm64 2.4.97-1 [21.0 kB] Get: 291 http://deb.debian.org/debian buster/main arm64 libdrm-dev arm64 2.4.97-1 [135 kB] Get: 292 http://deb.debian.org/debian buster/main arm64 libwayland-server0 arm64 1.16.0-1 [31.8 kB] Get: 293 http://deb.debian.org/debian buster/main arm64 libgbm1 arm64 18.3.6-2+deb10u1 [67.1 kB] Get: 294 http://deb.debian.org/debian buster/main arm64 libglapi-mesa arm64 18.3.6-2+deb10u1 [74.8 kB] Get: 295 http://deb.debian.org/debian buster/main arm64 libx11-xcb1 arm64 2:1.6.7-1 [190 kB] Get: 296 http://deb.debian.org/debian buster/main arm64 libxcb-dri2-0 arm64 1.13.1-2 [101 kB] Get: 297 http://deb.debian.org/debian buster/main arm64 libxcb-dri3-0 arm64 1.13.1-2 [100 kB] Get: 298 http://deb.debian.org/debian buster/main arm64 libxcb-present0 arm64 1.13.1-2 [99.1 kB] Get: 299 http://deb.debian.org/debian buster/main arm64 libxcb-sync1 arm64 1.13.1-2 [102 kB] Get: 300 http://deb.debian.org/debian buster/main arm64 libxcb-xfixes0 arm64 1.13.1-2 [103 kB] Get: 301 http://deb.debian.org/debian buster/main arm64 libxshmfence1 arm64 1.3-1 [8712 B] Get: 302 http://deb.debian.org/debian buster/main arm64 libegl-mesa0 arm64 18.3.6-2+deb10u1 [130 kB] Get: 303 http://deb.debian.org/debian buster/main arm64 mesa-common-dev arm64 18.3.6-2+deb10u1 [611 kB] Get: 304 http://deb.debian.org/debian buster/main arm64 libglvnd0 arm64 1.1.0-1 [42.4 kB] Get: 305 http://deb.debian.org/debian buster/main arm64 libglvnd-core-dev arm64 1.1.0-1 [13.2 kB] Get: 306 http://deb.debian.org/debian buster/main arm64 libegl1 arm64 1.1.0-1 [32.8 kB] Get: 307 http://deb.debian.org/debian buster/main arm64 libgles1 arm64 1.1.0-1 [14.3 kB] Get: 308 http://deb.debian.org/debian buster/main arm64 libgles2 arm64 1.1.0-1 [19.8 kB] Get: 309 http://deb.debian.org/debian buster/main arm64 libxcb-glx0 arm64 1.13.1-2 [116 kB] Get: 310 http://deb.debian.org/debian buster/main arm64 libxxf86vm1 arm64 1:1.1.4-1+b2 [20.1 kB] Get: 311 http://deb.debian.org/debian buster/main arm64 libllvm7 arm64 1:7.0.1-8 [10.8 MB] Get: 312 http://deb.debian.org/debian buster/main arm64 libsensors-config all 1:3.5.0-3 [31.6 kB] Get: 313 http://deb.debian.org/debian buster/main arm64 libsensors5 arm64 1:3.5.0-3 [51.8 kB] Get: 314 http://deb.debian.org/debian buster/main arm64 libgl1-mesa-dri arm64 18.3.6-2+deb10u1 [4910 kB] Get: 315 http://deb.debian.org/debian buster/main arm64 libglx-mesa0 arm64 18.3.6-2+deb10u1 [180 kB] Get: 316 http://deb.debian.org/debian buster/main arm64 libglx0 arm64 1.1.0-1 [29.0 kB] Get: 317 http://deb.debian.org/debian buster/main arm64 libgl1 arm64 1.1.0-1 [92.5 kB] Get: 318 http://deb.debian.org/debian buster/main arm64 libopengl0 arm64 1.1.0-1 [34.4 kB] Get: 319 http://deb.debian.org/debian buster/main arm64 libglvnd-dev arm64 1.1.0-1 [5128 B] Get: 320 http://deb.debian.org/debian buster/main arm64 x11proto-xf86vidmode-dev all 2018.4-4 [3140 B] Get: 321 http://deb.debian.org/debian buster/main arm64 libxxf86vm-dev arm64 1:1.1.4-1+b2 [25.1 kB] Get: 322 http://deb.debian.org/debian buster/main arm64 x11proto-damage-dev all 1:2018.4-4 [3140 B] Get: 323 http://deb.debian.org/debian buster/main arm64 libxdamage-dev arm64 1:1.1.4-3+b3 [14.8 kB] Get: 324 http://deb.debian.org/debian buster/main arm64 libxcb-glx0-dev arm64 1.13.1-2 [122 kB] Get: 325 http://deb.debian.org/debian buster/main arm64 libxcb-dri2-0-dev arm64 1.13.1-2 [102 kB] Get: 326 http://deb.debian.org/debian buster/main arm64 libxcb-dri3-dev arm64 1.13.1-2 [101 kB] Get: 327 http://deb.debian.org/debian buster/main arm64 libxcb-randr0 arm64 1.13.1-2 [110 kB] Get: 328 http://deb.debian.org/debian buster/main arm64 libxcb-randr0-dev arm64 1.13.1-2 [115 kB] Get: 329 http://deb.debian.org/debian buster/main arm64 libxcb-shape0 arm64 1.13.1-2 [99.6 kB] Get: 330 http://deb.debian.org/debian buster/main arm64 libxcb-shape0-dev arm64 1.13.1-2 [101 kB] Get: 331 http://deb.debian.org/debian buster/main arm64 libxcb-xfixes0-dev arm64 1.13.1-2 [106 kB] Get: 332 http://deb.debian.org/debian buster/main arm64 libxcb-sync-dev arm64 1.13.1-2 [105 kB] Get: 333 http://deb.debian.org/debian buster/main arm64 libxcb-present-dev arm64 1.13.1-2 [101 kB] Get: 334 http://deb.debian.org/debian buster/main arm64 libxshmfence-dev arm64 1.3-1 [8212 B] Get: 335 http://deb.debian.org/debian buster/main arm64 libx11-xcb-dev arm64 2:1.6.7-1 [192 kB] Get: 336 http://deb.debian.org/debian buster/main arm64 libwayland-bin arm64 1.16.0-1 [22.0 kB] Get: 337 http://deb.debian.org/debian buster/main arm64 libwayland-dev arm64 1.16.0-1 [66.8 kB] Get: 338 http://deb.debian.org/debian buster/main arm64 libegl1-mesa-dev arm64 18.3.6-2+deb10u1 [61.7 kB] Get: 339 http://deb.debian.org/debian buster/main arm64 libhunspell-1.7-0 arm64 1.7.0-2 [174 kB] Get: 340 http://deb.debian.org/debian buster/main arm64 libenchant1c2a arm64 1.6.0-11.1+b1 [66.3 kB] Get: 341 http://deb.debian.org/debian buster/main arm64 libgl1-mesa-dev arm64 18.3.6-2+deb10u1 [48.0 kB] Get: 342 http://deb.debian.org/debian buster/main arm64 libepoxy-dev arm64 1.5.3-0.1 [124 kB] Get: 343 http://deb.debian.org/debian buster/main arm64 libfontenc1 arm64 1:1.1.3-1+b2 [22.7 kB] Get: 344 http://deb.debian.org/debian buster/main arm64 libfribidi-dev arm64 1.0.5-3.1+deb10u1 [101 kB] Get: 345 http://deb.debian.org/debian buster/main arm64 libgdk-pixbuf2.0-bin arm64 2.38.1+dfsg-1 [24.0 kB] Get: 346 http://deb.debian.org/debian buster/main arm64 libgdk-pixbuf2.0-dev arm64 2.38.1+dfsg-1 [49.5 kB] Get: 347 http://deb.debian.org/debian buster/main arm64 libglu1-mesa arm64 9.0.0-2.1+b3 [146 kB] Get: 348 http://deb.debian.org/debian buster/main arm64 libglu1-mesa-dev arm64 9.0.0-2.1+b3 [186 kB] Get: 349 http://deb.debian.org/debian buster/main arm64 libgraphite2-dev arm64 1.3.13-7 [23.1 kB] Get: 350 http://deb.debian.org/debian buster/main arm64 libgstreamer-gl1.0-0 arm64 1.14.4-2 [1339 kB] Get: 351 http://deb.debian.org/debian buster/main arm64 libharfbuzz-icu0 arm64 2.3.1-1 [834 kB] Get: 352 http://deb.debian.org/debian buster/main arm64 libicu-dev arm64 63.1-6+deb10u1 [9062 kB] Get: 353 http://deb.debian.org/debian buster/main arm64 libharfbuzz-dev arm64 2.3.1-1 [1282 kB] Get: 354 http://deb.debian.org/debian buster/main arm64 libxft-dev arm64 2.3.2-2 [64.3 kB] Get: 355 http://deb.debian.org/debian buster/main arm64 pango1.0-tools arm64 1.42.4-8~deb10u1 [55.2 kB] Get: 356 http://deb.debian.org/debian buster/main arm64 libpango1.0-dev arm64 1.42.4-8~deb10u1 [139 kB] Get: 357 http://deb.debian.org/debian buster/main arm64 x11proto-composite-dev all 1:2018.4-4 [3140 B] Get: 358 http://deb.debian.org/debian buster/main arm64 libxcomposite-dev arm64 1:0.4.4-2 [19.9 kB] Get: 359 http://deb.debian.org/debian buster/main arm64 libxcursor-dev arm64 1:1.1.15-2 [44.5 kB] Get: 360 http://deb.debian.org/debian buster/main arm64 x11proto-xinerama-dev all 2018.4-4 [3132 B] Get: 361 http://deb.debian.org/debian buster/main arm64 libxinerama-dev arm64 2:1.1.4-2 [20.1 kB] Get: 362 http://deb.debian.org/debian buster/main arm64 libxkbcommon-dev arm64 0.8.2-1 [172 kB] Get: 363 http://deb.debian.org/debian buster/main arm64 x11proto-randr-dev all 2018.4-4 [3132 B] Get: 364 http://deb.debian.org/debian buster/main arm64 libxrandr-dev arm64 2:1.5.1-1 [43.7 kB] Get: 365 http://deb.debian.org/debian buster/main arm64 wayland-protocols all 1.17-1 [58.9 kB] Get: 366 http://deb.debian.org/debian buster/main arm64 libgtk-3-dev arm64 3.24.5-1 [958 kB] Get: 367 http://deb.debian.org/debian buster/main arm64 libhyphen0 arm64 2.8.8-7 [31.6 kB] Get: 368 http://deb.debian.org/debian buster/main arm64 libimagequant0 arm64 2.12.2-1.1 [30.3 kB] Get: 369 http://deb.debian.org/debian buster/main arm64 libjavascriptcoregtk-4.0-18 arm64 2.28.3-2~deb10u1 [4995 kB] Get: 370 http://deb.debian.org/debian buster/main arm64 liblapack3 arm64 3.8.0-2 [1489 kB] Get: 371 http://deb.debian.org/debian buster/main arm64 libnotify4 arm64 0.7.7-4 [28.3 kB] Get: 372 http://deb.debian.org/debian buster/main arm64 libopenjp2-7 arm64 2.3.0-2+deb10u1 [148 kB] Get: 373 http://deb.debian.org/debian buster/main arm64 libpython2.7 arm64 2.7.16-2+deb10u1 [958 kB] Get: 374 http://deb.debian.org/debian buster/main arm64 libpython2.7-dev arm64 2.7.16-2+deb10u1 [31.5 MB] Get: 375 http://deb.debian.org/debian buster/main arm64 libpython2-dev arm64 2.7.16-1 [20.9 kB] Get: 376 http://deb.debian.org/debian buster/main arm64 libpython-dev arm64 2.7.16-1 [20.9 kB] Get: 377 http://deb.debian.org/debian buster/main arm64 libpython-all-dev arm64 2.7.16-1 [1064 B] Get: 378 http://deb.debian.org/debian buster/main arm64 libpython3.7 arm64 3.7.3-2+deb10u2 [1371 kB] Get: 379 http://deb.debian.org/debian buster/main arm64 libpython3.7-dev arm64 3.7.3-2+deb10u2 [2380 kB] Get: 380 http://deb.debian.org/debian buster/main arm64 libpython3-dev arm64 3.7.3-1 [20.1 kB] Get: 381 http://deb.debian.org/debian buster/main arm64 libpython3-all-dev arm64 3.7.3-1 [1068 B] Get: 382 http://deb.debian.org/debian buster/main arm64 libsecret-common all 0.18.7-1 [25.7 kB] Get: 383 http://deb.debian.org/debian buster/main arm64 libsecret-1-0 arm64 0.18.7-1 [93.9 kB] Get: 384 http://deb.debian.org/debian buster/main arm64 libunwind8 arm64 1.2.1-10~deb10u1 [50.6 kB] Get: 385 http://deb.debian.org/debian buster/main arm64 xdg-dbus-proxy arm64 0.1.1-1 [21.2 kB] Get: 386 http://deb.debian.org/debian buster/main arm64 libwebpdemux2 arm64 0.6.1-2 [86.8 kB] Get: 387 http://deb.debian.org/debian buster/main arm64 libwoff1 arm64 1.0.2-1 [40.7 kB] Get: 388 http://deb.debian.org/debian buster/main arm64 libxslt1.1 arm64 1.1.32-2.2~deb10u1 [225 kB] Get: 389 http://deb.debian.org/debian buster/main arm64 libxt6 arm64 1:1.1.5-1+b3 [175 kB] Get: 390 http://deb.debian.org/debian buster/main arm64 libwebkit2gtk-4.0-37 arm64 2.28.3-2~deb10u1 [11.8 MB] Get: 391 http://deb.debian.org/debian buster/main arm64 libwebpmux3 arm64 0.6.1-2 [95.4 kB] Get: 392 http://deb.debian.org/debian buster/main arm64 libwxbase3.0-0v5 arm64 3.0.4+dfsg-8 [940 kB] Get: 393 http://deb.debian.org/debian buster/main arm64 wx3.0-headers all 3.0.4+dfsg-8 [1128 kB] Get: 394 http://deb.debian.org/debian buster/main arm64 libwxbase3.0-dev arm64 3.0.4+dfsg-8 [138 kB] Get: 395 http://deb.debian.org/debian buster/main arm64 libwxgtk3.0-gtk3-0v5 arm64 3.0.4+dfsg-8 [3850 kB] Get: 396 http://deb.debian.org/debian buster/main arm64 libwxgtk-media3.0-gtk3-0v5 arm64 3.0.4+dfsg-8 [155 kB] Get: 397 http://deb.debian.org/debian buster/main arm64 wx-common arm64 3.0.4+dfsg-8 [173 kB] Get: 398 http://deb.debian.org/debian buster/main arm64 libwxgtk3.0-gtk3-dev arm64 3.0.4+dfsg-8 [138 kB] Get: 399 http://deb.debian.org/debian buster/main arm64 libwxgtk-media3.0-gtk3-dev arm64 3.0.4+dfsg-8 [118 kB] Get: 400 http://deb.debian.org/debian buster/main arm64 libwxgtk-webview3.0-gtk3-0v5 arm64 3.0.4+dfsg-8 [154 kB] Get: 401 http://deb.debian.org/debian buster/main arm64 libwxgtk-webview3.0-gtk3-dev arm64 3.0.4+dfsg-8 [118 kB] Get: 402 http://deb.debian.org/debian buster/main arm64 libxmu6 arm64 2:1.1.2-2+b3 [57.8 kB] Get: 403 http://deb.debian.org/debian buster/main arm64 libxpm4 arm64 1:3.5.12-1 [43.9 kB] Get: 404 http://deb.debian.org/debian buster/main arm64 libxaw7 arm64 2:1.0.13-1+b2 [167 kB] Get: 405 http://deb.debian.org/debian buster/main arm64 libxfont2 arm64 1:2.0.3-1 [122 kB] Get: 406 http://deb.debian.org/debian buster/main arm64 libxkbfile1 arm64 1:1.0.9-2+b11 [71.4 kB] Get: 407 http://deb.debian.org/debian buster/main arm64 libxmuu1 arm64 2:1.1.2-2+b3 [24.1 kB] Get: 408 http://deb.debian.org/debian buster/main arm64 python-all arm64 2.7.16-1 [1044 B] Get: 409 http://deb.debian.org/debian buster/main arm64 python2.7-dev arm64 2.7.16-2+deb10u1 [296 kB] Get: 410 http://deb.debian.org/debian buster/main arm64 python2-dev arm64 2.7.16-1 [1216 B] Get: 411 http://deb.debian.org/debian buster/main arm64 python-dev arm64 2.7.16-1 [1192 B] Get: 412 http://deb.debian.org/debian buster/main arm64 python-all-dev arm64 2.7.16-1 [1068 B] Get: 413 http://deb.debian.org/debian buster/main arm64 python-apipkg all 1.5-2 [9040 B] Get: 414 http://deb.debian.org/debian buster/main arm64 python-atomicwrites all 1.1.5-2 [6808 B] Get: 415 http://deb.debian.org/debian buster/main arm64 python-attr all 18.2.0-1 [37.2 kB] Get: 416 http://deb.debian.org/debian buster/main arm64 python-certifi all 2018.8.24-1 [140 kB] Get: 417 http://deb.debian.org/debian buster/main arm64 python-pkg-resources all 40.8.0-1 [182 kB] Get: 418 http://deb.debian.org/debian buster/main arm64 python-chardet all 3.0.4-3 [80.6 kB] Get: 419 http://deb.debian.org/debian buster/main arm64 python-enum34 all 1.1.6-2 [35.3 kB] Get: 420 http://deb.debian.org/debian buster/main arm64 python-execnet all 1.5.0-4 [40.3 kB] Get: 421 http://deb.debian.org/debian buster/main arm64 python-funcsigs all 1.0.2-4 [13.7 kB] Get: 422 http://deb.debian.org/debian buster/main arm64 python-idna all 2.6-1 [34.1 kB] Get: 423 http://deb.debian.org/debian buster/main arm64 python-six all 1.12.0-1 [15.7 kB] Get: 424 http://deb.debian.org/debian buster/main arm64 python-more-itertools all 4.2.0-1 [42.3 kB] Get: 425 http://deb.debian.org/debian buster/main arm64 python-numpy arm64 1:1.16.2-1 [1975 kB] Get: 426 http://deb.debian.org/debian buster/main arm64 python-scandir arm64 1.9.0-2 [18.0 kB] Get: 427 http://deb.debian.org/debian buster/main arm64 python-pathlib2 all 2.3.3-1 [18.3 kB] Get: 428 http://deb.debian.org/debian buster/main arm64 python-pil arm64 5.4.1-2+deb10u2 [381 kB] Get: 429 http://deb.debian.org/debian buster/main arm64 python-pluggy all 0.8.0-1 [20.5 kB] Get: 430 http://deb.debian.org/debian buster/main arm64 python-py all 1.7.0-2 [86.5 kB] Get: 431 http://deb.debian.org/debian buster/main arm64 python-pypdf2 all 1.26.0-2 [57.0 kB] Get: 432 http://deb.debian.org/debian buster/main arm64 python-pytest all 3.10.1-2 [243 kB] Get: 433 http://deb.debian.org/debian buster/main arm64 python-pytest-forked all 1.0.1-1 [6244 B] Get: 434 http://deb.debian.org/debian buster/main arm64 python-pytest-timeout all 1.3.3-1 [15.0 kB] Get: 435 http://deb.debian.org/debian buster/main arm64 python-pytest-xdist all 1.26.1-1 [39.0 kB] Get: 436 http://deb.debian.org/debian buster/main arm64 python-urllib3 all 1.24.1-1 [97.0 kB] Get: 437 http://deb.debian.org/debian buster/main arm64 python-requests all 2.21.0-1 [67.1 kB] Get: 438 http://deb.debian.org/debian buster/main arm64 python-setuptools all 40.8.0-1 [382 kB] Get: 439 http://deb.debian.org/debian buster/main arm64 python-sip arm64 4.19.14+dfsg-2 [168 kB] Get: 440 http://deb.debian.org/debian buster/main arm64 sip-dev arm64 4.19.14+dfsg-2 [233 kB] Get: 441 http://deb.debian.org/debian buster/main arm64 python-sip-dev arm64 4.19.14+dfsg-2 [116 kB] Get: 442 http://deb.debian.org/debian buster/main arm64 python3-all arm64 3.7.3-1 [1068 B] Get: 443 http://deb.debian.org/debian buster/main arm64 python3.7-dev arm64 3.7.3-2+deb10u2 [509 kB] Get: 444 http://deb.debian.org/debian buster/main arm64 python3-dev arm64 3.7.3-1 [1264 B] Get: 445 http://deb.debian.org/debian buster/main arm64 python3-all-dev arm64 3.7.3-1 [1064 B] Get: 446 http://deb.debian.org/debian buster/main arm64 python3-apipkg all 1.5-2 [9120 B] Get: 447 http://deb.debian.org/debian buster/main arm64 python3-atomicwrites all 1.1.5-2 [6892 B] Get: 448 http://deb.debian.org/debian buster/main arm64 python3-attr all 18.2.0-1 [37.3 kB] Get: 449 http://deb.debian.org/debian buster/main arm64 python3-certifi all 2018.8.24-1 [140 kB] Get: 450 http://deb.debian.org/debian buster/main arm64 python3-pkg-resources all 40.8.0-1 [153 kB] Get: 451 http://deb.debian.org/debian buster/main arm64 python3-chardet all 3.0.4-3 [80.5 kB] Get: 452 http://deb.debian.org/debian buster/main arm64 python3-execnet all 1.5.0-4 [40.3 kB] Get: 453 http://deb.debian.org/debian buster/main arm64 python3-idna all 2.6-1 [34.3 kB] Get: 454 http://deb.debian.org/debian buster/main arm64 python3-six all 1.12.0-1 [15.7 kB] Get: 455 http://deb.debian.org/debian buster/main arm64 python3-more-itertools all 4.2.0-1 [42.2 kB] Get: 456 http://deb.debian.org/debian buster/main arm64 python3-numpy arm64 1:1.16.2-1 [1991 kB] Get: 457 http://deb.debian.org/debian buster/main arm64 python3-pil arm64 5.4.1-2+deb10u2 [382 kB] Get: 458 http://deb.debian.org/debian buster/main arm64 python3-pluggy all 0.8.0-1 [20.6 kB] Get: 459 http://deb.debian.org/debian buster/main arm64 python3-py all 1.7.0-2 [86.6 kB] Get: 460 http://deb.debian.org/debian buster/main arm64 python3-pypdf2 all 1.26.0-2 [57.0 kB] Get: 461 http://deb.debian.org/debian buster/main arm64 python3-pytest all 3.10.1-2 [243 kB] Get: 462 http://deb.debian.org/debian buster/main arm64 python3-pytest-forked all 1.0.1-1 [6316 B] Get: 463 http://deb.debian.org/debian buster/main arm64 python3-pytest-timeout all 1.3.3-1 [15.0 kB] Get: 464 http://deb.debian.org/debian buster/main arm64 python3-pytest-xdist all 1.26.1-1 [39.1 kB] Get: 465 http://deb.debian.org/debian buster/main arm64 python3-urllib3 all 1.24.1-1 [97.1 kB] Get: 466 http://deb.debian.org/debian buster/main arm64 python3-requests all 2.21.0-1 [66.9 kB] Get: 467 http://deb.debian.org/debian buster/main arm64 python3-setuptools all 40.8.0-1 [306 kB] Get: 468 http://deb.debian.org/debian buster/main arm64 python3-sip arm64 4.19.14+dfsg-2 [168 kB] Get: 469 http://deb.debian.org/debian buster/main arm64 python3-sip-dev arm64 4.19.14+dfsg-2 [116 kB] Get: 470 http://deb.debian.org/debian buster/main arm64 x11-xkb-utils arm64 7.7+4 [146 kB] Get: 471 http://deb.debian.org/debian buster/main arm64 xauth arm64 1:1.0.10-1 [38.2 kB] Get: 472 http://deb.debian.org/debian buster/main arm64 xserver-common all 2:1.20.4-1 [2235 kB] Get: 473 http://deb.debian.org/debian buster/main arm64 xvfb arm64 2:1.20.4-1 [2934 kB] Fetched 237 MB in 14s (17.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../00-libapparmor1_2.13.2-10_arm64.deb ... Unpacking libapparmor1:arm64 (2.13.2-10) ... Selecting previously unselected package libcap2:arm64. Preparing to unpack .../01-libcap2_1%3a2.25-2_arm64.deb ... Unpacking libcap2:arm64 (1:2.25-2) ... Selecting previously unselected package libargon2-1:arm64. Preparing to unpack .../02-libargon2-1_0~20171227-0.2_arm64.deb ... Unpacking libargon2-1:arm64 (0~20171227-0.2) ... Selecting previously unselected package dmsetup. Preparing to unpack .../03-dmsetup_2%3a1.02.155-3_arm64.deb ... Unpacking dmsetup (2:1.02.155-3) ... Selecting previously unselected package libdevmapper1.02.1:arm64. Preparing to unpack .../04-libdevmapper1.02.1_2%3a1.02.155-3_arm64.deb ... Unpacking libdevmapper1.02.1:arm64 (2:1.02.155-3) ... Selecting previously unselected package libjson-c3:arm64. Preparing to unpack .../05-libjson-c3_0.12.1+ds-2_arm64.deb ... Unpacking libjson-c3:arm64 (0.12.1+ds-2) ... Selecting previously unselected package libssl1.1:arm64. Preparing to unpack .../06-libssl1.1_1.1.1d-0+deb10u3_arm64.deb ... Unpacking libssl1.1:arm64 (1.1.1d-0+deb10u3) ... Selecting previously unselected package libcryptsetup12:arm64. Preparing to unpack .../07-libcryptsetup12_2%3a2.1.0-5+deb10u2_arm64.deb ... Unpacking libcryptsetup12:arm64 (2:2.1.0-5+deb10u2) ... Selecting previously unselected package libidn11:arm64. Preparing to unpack .../08-libidn11_1.33-2.2_arm64.deb ... Unpacking libidn11:arm64 (1.33-2.2) ... Selecting previously unselected package libip4tc0:arm64. Preparing to unpack .../09-libip4tc0_1.8.2-4_arm64.deb ... Unpacking libip4tc0:arm64 (1.8.2-4) ... Selecting previously unselected package libkmod2:arm64. Preparing to unpack .../10-libkmod2_26-1_arm64.deb ... Unpacking libkmod2:arm64 (26-1) ... Selecting previously unselected package systemd. Preparing to unpack .../11-systemd_241-7~deb10u4_arm64.deb ... Unpacking systemd (241-7~deb10u4) ... Setting up libapparmor1:arm64 (2.13.2-10) ... Setting up libcap2:arm64 (1:2.25-2) ... Setting up libargon2-1:arm64 (0~20171227-0.2) ... Setting up libjson-c3:arm64 (0.12.1+ds-2) ... Setting up libssl1.1:arm64 (1.1.1d-0+deb10u3) ... Setting up libidn11:arm64 (1.33-2.2) ... Setting up libip4tc0:arm64 (1.8.2-4) ... Setting up libkmod2:arm64 (26-1) ... Setting up libdevmapper1.02.1:arm64 (2:1.02.155-3) ... Setting up libcryptsetup12:arm64 (2:2.1.0-5+deb10u2) ... Setting up systemd (241-7~deb10u4) ... Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service -> /lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target -> /lib/systemd/system/remote-fs.target. Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service -> /lib/systemd/system/systemd-timesyncd.service. Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service -> /lib/systemd/system/systemd-timesyncd.service. Initializing machine ID from random generator. Setting up dmsetup (2:1.02.155-3) ... Selecting previously unselected package systemd-sysv. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20023 files and directories currently installed.) Preparing to unpack .../00-systemd-sysv_241-7~deb10u4_arm64.deb ... Unpacking systemd-sysv (241-7~deb10u4) ... Selecting previously unselected package libbsd0:arm64. Preparing to unpack .../01-libbsd0_0.9.1-2_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../03-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../04-groff-base_1.22.4-3_arm64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../05-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../06-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libpython2.7-minimal:arm64. Preparing to unpack .../07-libpython2.7-minimal_2.7.16-2+deb10u1_arm64.deb ... Unpacking libpython2.7-minimal:arm64 (2.7.16-2+deb10u1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../08-python2.7-minimal_2.7.16-2+deb10u1_arm64.deb ... Unpacking python2.7-minimal (2.7.16-2+deb10u1) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../09-python2-minimal_2.7.16-1_arm64.deb ... Unpacking python2-minimal (2.7.16-1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../10-python-minimal_2.7.16-1_arm64.deb ... Unpacking python-minimal (2.7.16-1) ... Selecting previously unselected package mime-support. Preparing to unpack .../11-mime-support_3.62_all.deb ... Unpacking mime-support (3.62) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../12-libexpat1_2.2.6-2+deb10u1_arm64.deb ... Unpacking libexpat1:arm64 (2.2.6-2+deb10u1) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:arm64. Preparing to unpack .../14-libreadline7_7.0-5_arm64.deb ... Unpacking libreadline7:arm64 (7.0-5) ... Selecting previously unselected package libpython2.7-stdlib:arm64. Preparing to unpack .../15-libpython2.7-stdlib_2.7.16-2+deb10u1_arm64.deb ... Unpacking libpython2.7-stdlib:arm64 (2.7.16-2+deb10u1) ... Selecting previously unselected package python2.7. Preparing to unpack .../16-python2.7_2.7.16-2+deb10u1_arm64.deb ... Unpacking python2.7 (2.7.16-2+deb10u1) ... Selecting previously unselected package libpython2-stdlib:arm64. Preparing to unpack .../17-libpython2-stdlib_2.7.16-1_arm64.deb ... Unpacking libpython2-stdlib:arm64 (2.7.16-1) ... Selecting previously unselected package libpython-stdlib:arm64. Preparing to unpack .../18-libpython-stdlib_2.7.16-1_arm64.deb ... Unpacking libpython-stdlib:arm64 (2.7.16-1) ... Setting up libpython2.7-minimal:arm64 (2.7.16-2+deb10u1) ... Setting up python2.7-minimal (2.7.16-2+deb10u1) ... Setting up python2-minimal (2.7.16-1) ... Selecting previously unselected package python2. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21492 files and directories currently installed.) Preparing to unpack .../python2_2.7.16-1_arm64.deb ... Unpacking python2 (2.7.16-1) ... Setting up python-minimal (2.7.16-1) ... Selecting previously unselected package python. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21525 files and directories currently installed.) Preparing to unpack .../python_2.7.16-1_arm64.deb ... Unpacking python (2.7.16-1) ... Selecting previously unselected package libpython3.7-minimal:arm64. Preparing to unpack .../libpython3.7-minimal_3.7.3-2+deb10u2_arm64.deb ... Unpacking libpython3.7-minimal:arm64 (3.7.3-2+deb10u2) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../python3.7-minimal_3.7.3-2+deb10u2_arm64.deb ... Unpacking python3.7-minimal (3.7.3-2+deb10u2) ... Setting up libpython3.7-minimal:arm64 (3.7.3-2+deb10u2) ... Setting up libexpat1:arm64 (2.2.6-2+deb10u1) ... Setting up python3.7-minimal (3.7.3-2+deb10u2) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21779 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.7.3-1_arm64.deb ... Unpacking python3-minimal (3.7.3-1) ... Selecting previously unselected package libmpdec2:arm64. Preparing to unpack .../libmpdec2_2.4.2-2_arm64.deb ... Unpacking libmpdec2:arm64 (2.4.2-2) ... Selecting previously unselected package libpython3.7-stdlib:arm64. Preparing to unpack .../libpython3.7-stdlib_3.7.3-2+deb10u2_arm64.deb ... Unpacking libpython3.7-stdlib:arm64 (3.7.3-2+deb10u2) ... Selecting previously unselected package python3.7. Preparing to unpack .../python3.7_3.7.3-2+deb10u2_arm64.deb ... Unpacking python3.7 (3.7.3-2+deb10u2) ... Selecting previously unselected package libpython3-stdlib:arm64. Preparing to unpack .../libpython3-stdlib_3.7.3-1_arm64.deb ... Unpacking libpython3-stdlib:arm64 (3.7.3-1) ... Setting up python3-minimal (3.7.3-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 22191 files and directories currently installed.) Preparing to unpack .../000-python3_3.7.3-1_arm64.deb ... Unpacking python3 (3.7.3-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../001-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libdbus-1-3:arm64. Preparing to unpack .../002-libdbus-1-3_1.12.20-0+deb10u1_arm64.deb ... Unpacking libdbus-1-3:arm64 (1.12.20-0+deb10u1) ... Selecting previously unselected package dbus. Preparing to unpack .../003-dbus_1.12.20-0+deb10u1_arm64.deb ... Unpacking dbus (1.12.20-0+deb10u1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../004-libmagic-mgc_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../005-libmagic1_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../006-file_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../007-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libpam-systemd:arm64. Preparing to unpack .../008-libpam-systemd_241-7~deb10u4_arm64.deb ... Unpacking libpam-systemd:arm64 (241-7~deb10u4) ... Selecting previously unselected package ucf. Preparing to unpack .../009-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package hicolor-icon-theme. Preparing to unpack .../010-hicolor-icon-theme_0.17-2_all.deb ... Unpacking hicolor-icon-theme (0.17-2) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../011-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libjpeg62-turbo:arm64. Preparing to unpack .../012-libjpeg62-turbo_1%3a1.5.2-2+b1_arm64.deb ... Unpacking libjpeg62-turbo:arm64 (1:1.5.2-2+b1) ... Selecting previously unselected package libpng16-16:arm64. Preparing to unpack .../013-libpng16-16_1.6.36-6_arm64.deb ... Unpacking libpng16-16:arm64 (1.6.36-6) ... Selecting previously unselected package libjbig0:arm64. Preparing to unpack .../014-libjbig0_2.1-3.1+b2_arm64.deb ... Unpacking libjbig0:arm64 (2.1-3.1+b2) ... Selecting previously unselected package libwebp6:arm64. Preparing to unpack .../015-libwebp6_0.6.1-2_arm64.deb ... Unpacking libwebp6:arm64 (0.6.1-2) ... Selecting previously unselected package libtiff5:arm64. Preparing to unpack .../016-libtiff5_4.1.0+git191117-2~deb10u1_arm64.deb ... Unpacking libtiff5:arm64 (4.1.0+git191117-2~deb10u1) ... Selecting previously unselected package libxau6:arm64. Preparing to unpack .../017-libxau6_1%3a1.0.8-1+b2_arm64.deb ... Unpacking libxau6:arm64 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp6:arm64. Preparing to unpack .../018-libxdmcp6_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:arm64. Preparing to unpack .../019-libxcb1_1.13.1-2_arm64.deb ... Unpacking libxcb1:arm64 (1.13.1-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../020-libx11-data_2%3a1.6.7-1_all.deb ... Unpacking libx11-data (2:1.6.7-1) ... Selecting previously unselected package libx11-6:arm64. Preparing to unpack .../021-libx11-6_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-6:arm64 (2:1.6.7-1) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../022-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../023-libxml2_2.9.4+dfsg1-7+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../024-shared-mime-info_1.10-1_arm64.deb ... Unpacking shared-mime-info (1.10-1) ... Selecting previously unselected package libgdk-pixbuf2.0-common. Preparing to unpack .../025-libgdk-pixbuf2.0-common_2.38.1+dfsg-1_all.deb ... Unpacking libgdk-pixbuf2.0-common (2.38.1+dfsg-1) ... Selecting previously unselected package libgdk-pixbuf2.0-0:arm64. Preparing to unpack .../026-libgdk-pixbuf2.0-0_2.38.1+dfsg-1_arm64.deb ... Unpacking libgdk-pixbuf2.0-0:arm64 (2.38.1+dfsg-1) ... Selecting previously unselected package gtk-update-icon-cache. Preparing to unpack .../027-gtk-update-icon-cache_3.24.5-1_arm64.deb ... No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed. No diversion 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin', none removed. Unpacking gtk-update-icon-cache (3.24.5-1) ... Selecting previously unselected package libfreetype6:arm64. Preparing to unpack .../028-libfreetype6_2.9.1-3+deb10u1_arm64.deb ... Unpacking libfreetype6:arm64 (2.9.1-3+deb10u1) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../029-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../030-fontconfig-config_2.13.1-2_all.deb ... Unpacking fontconfig-config (2.13.1-2) ... Selecting previously unselected package libfontconfig1:arm64. Preparing to unpack .../031-libfontconfig1_2.13.1-2_arm64.deb ... Unpacking libfontconfig1:arm64 (2.13.1-2) ... Selecting previously unselected package libpixman-1-0:arm64. Preparing to unpack .../032-libpixman-1-0_0.36.0-1_arm64.deb ... Unpacking libpixman-1-0:arm64 (0.36.0-1) ... Selecting previously unselected package libxcb-render0:arm64. Preparing to unpack .../033-libxcb-render0_1.13.1-2_arm64.deb ... Unpacking libxcb-render0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-shm0:arm64. Preparing to unpack .../034-libxcb-shm0_1.13.1-2_arm64.deb ... Unpacking libxcb-shm0:arm64 (1.13.1-2) ... Selecting previously unselected package libxext6:arm64. Preparing to unpack .../035-libxext6_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext6:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package libxrender1:arm64. Preparing to unpack .../036-libxrender1_1%3a0.9.10-1_arm64.deb ... Unpacking libxrender1:arm64 (1:0.9.10-1) ... Selecting previously unselected package libcairo2:arm64. Preparing to unpack .../037-libcairo2_1.16.0-4_arm64.deb ... Unpacking libcairo2:arm64 (1.16.0-4) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../038-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package fontconfig. Preparing to unpack .../039-fontconfig_2.13.1-2_arm64.deb ... Unpacking fontconfig (2.13.1-2) ... Selecting previously unselected package libfribidi0:arm64. Preparing to unpack .../040-libfribidi0_1.0.5-3.1+deb10u1_arm64.deb ... Unpacking libfribidi0:arm64 (1.0.5-3.1+deb10u1) ... Selecting previously unselected package libthai-data. Preparing to unpack .../041-libthai-data_0.1.28-2_all.deb ... Unpacking libthai-data (0.1.28-2) ... Selecting previously unselected package libdatrie1:arm64. Preparing to unpack .../042-libdatrie1_0.2.12-2_arm64.deb ... Unpacking libdatrie1:arm64 (0.2.12-2) ... Selecting previously unselected package libthai0:arm64. Preparing to unpack .../043-libthai0_0.1.28-2_arm64.deb ... Unpacking libthai0:arm64 (0.1.28-2) ... Selecting previously unselected package libpango-1.0-0:arm64. Preparing to unpack .../044-libpango-1.0-0_1.42.4-8~deb10u1_arm64.deb ... Unpacking libpango-1.0-0:arm64 (1.42.4-8~deb10u1) ... Selecting previously unselected package libgraphite2-3:arm64. Preparing to unpack .../045-libgraphite2-3_1.3.13-7_arm64.deb ... Unpacking libgraphite2-3:arm64 (1.3.13-7) ... Selecting previously unselected package libharfbuzz0b:arm64. Preparing to unpack .../046-libharfbuzz0b_2.3.1-1_arm64.deb ... Unpacking libharfbuzz0b:arm64 (2.3.1-1) ... Selecting previously unselected package libpangoft2-1.0-0:arm64. Preparing to unpack .../047-libpangoft2-1.0-0_1.42.4-8~deb10u1_arm64.deb ... Unpacking libpangoft2-1.0-0:arm64 (1.42.4-8~deb10u1) ... Selecting previously unselected package libpangocairo-1.0-0:arm64. Preparing to unpack .../048-libpangocairo-1.0-0_1.42.4-8~deb10u1_arm64.deb ... Unpacking libpangocairo-1.0-0:arm64 (1.42.4-8~deb10u1) ... Selecting previously unselected package librsvg2-2:arm64. Preparing to unpack .../049-librsvg2-2_2.44.10-2.1_arm64.deb ... Unpacking librsvg2-2:arm64 (2.44.10-2.1) ... Selecting previously unselected package librsvg2-common:arm64. Preparing to unpack .../050-librsvg2-common_2.44.10-2.1_arm64.deb ... Unpacking librsvg2-common:arm64 (2.44.10-2.1) ... Selecting previously unselected package adwaita-icon-theme. Preparing to unpack .../051-adwaita-icon-theme_3.30.1-1_all.deb ... Unpacking adwaita-icon-theme (3.30.1-1) ... Selecting previously unselected package libaspell15:arm64. Preparing to unpack .../052-libaspell15_0.60.7~20110707-6_arm64.deb ... Unpacking libaspell15:arm64 (0.60.7~20110707-6) ... Selecting previously unselected package libtext-iconv-perl. Preparing to unpack .../053-libtext-iconv-perl_1.7-5+b6_arm64.deb ... Unpacking libtext-iconv-perl (1.7-5+b6) ... Selecting previously unselected package emacsen-common. Preparing to unpack .../054-emacsen-common_3.0.4_all.deb ... Unpacking emacsen-common (3.0.4) ... Selecting previously unselected package dictionaries-common. Preparing to unpack .../055-dictionaries-common_1.28.1_all.deb ... Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common' Unpacking dictionaries-common (1.28.1) ... Selecting previously unselected package aspell. Preparing to unpack .../056-aspell_0.60.7~20110707-6_arm64.deb ... Unpacking aspell (0.60.7~20110707-6) ... Selecting previously unselected package aspell-en. Preparing to unpack .../057-aspell-en_2018.04.16-0-1_all.deb ... Unpacking aspell-en (2018.04.16-0-1) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../058-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../059-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../060-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../061-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../062-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../063-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package bubblewrap. Preparing to unpack .../064-bubblewrap_0.3.1-4_arm64.deb ... Unpacking bubblewrap (0.3.1-4) ... Selecting previously unselected package openssl. Preparing to unpack .../065-openssl_1.1.1d-0+deb10u3_arm64.deb ... Unpacking openssl (1.1.1d-0+deb10u3) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../066-ca-certificates_20190110_all.deb ... Unpacking ca-certificates (20190110) ... Selecting previously unselected package dbus-user-session. Preparing to unpack .../067-dbus-user-session_1.12.20-0+deb10u1_arm64.deb ... Unpacking dbus-user-session (1.12.20-0+deb10u1) ... Selecting previously unselected package libdconf1:arm64. Preparing to unpack .../068-libdconf1_0.30.1-2_arm64.deb ... Unpacking libdconf1:arm64 (0.30.1-2) ... Selecting previously unselected package dconf-service. Preparing to unpack .../069-dconf-service_0.30.1-2_arm64.deb ... Unpacking dconf-service (0.30.1-2) ... Selecting previously unselected package dconf-gsettings-backend:arm64. Preparing to unpack .../070-dconf-gsettings-backend_0.30.1-2_arm64.deb ... Unpacking dconf-gsettings-backend:arm64 (0.30.1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../071-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../072-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../073-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../074-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../075-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../076-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../077-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../078-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../079-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../080-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../081-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../082-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../083-python3-lib2to3_3.7.3-1_all.deb ... Unpacking python3-lib2to3 (3.7.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../084-python3-distutils_3.7.3-1_all.deb ... Unpacking python3-distutils (3.7.3-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../085-dh-python_3.20190308_all.deb ... Unpacking dh-python (3.20190308) ... Selecting previously unselected package libedit2:arm64. Preparing to unpack .../086-libedit2_3.1-20181209-1_arm64.deb ... Unpacking libedit2:arm64 (3.1-20181209-1) ... Selecting previously unselected package libllvm6.0:arm64. Preparing to unpack .../087-libllvm6.0_1%3a6.0.1-10_arm64.deb ... Unpacking libllvm6.0:arm64 (1:6.0.1-10) ... Selecting previously unselected package libclang1-6.0:arm64. Preparing to unpack .../088-libclang1-6.0_1%3a6.0.1-10_arm64.deb ... Unpacking libclang1-6.0:arm64 (1:6.0.1-10) ... Selecting previously unselected package doxygen. Preparing to unpack .../089-doxygen_1.8.13-10_arm64.deb ... Unpacking doxygen (1.8.13-10) ... Selecting previously unselected package libgirepository-1.0-1:arm64. Preparing to unpack .../090-libgirepository-1.0-1_1.58.3-2_arm64.deb ... Unpacking libgirepository-1.0-1:arm64 (1.58.3-2) ... Selecting previously unselected package gir1.2-glib-2.0:arm64. Preparing to unpack .../091-gir1.2-glib-2.0_1.58.3-2_arm64.deb ... Unpacking gir1.2-glib-2.0:arm64 (1.58.3-2) ... Selecting previously unselected package libatk1.0-data. Preparing to unpack .../092-libatk1.0-data_2.30.0-2_all.deb ... Unpacking libatk1.0-data (2.30.0-2) ... Selecting previously unselected package libatk1.0-0:arm64. Preparing to unpack .../093-libatk1.0-0_2.30.0-2_arm64.deb ... Unpacking libatk1.0-0:arm64 (2.30.0-2) ... Selecting previously unselected package gir1.2-atk-1.0:arm64. Preparing to unpack .../094-gir1.2-atk-1.0_2.30.0-2_arm64.deb ... Unpacking gir1.2-atk-1.0:arm64 (2.30.0-2) ... Selecting previously unselected package libcairo-gobject2:arm64. Preparing to unpack .../095-libcairo-gobject2_1.16.0-4_arm64.deb ... Unpacking libcairo-gobject2:arm64 (1.16.0-4) ... Selecting previously unselected package gir1.2-freedesktop:arm64. Preparing to unpack .../096-gir1.2-freedesktop_1.58.3-2_arm64.deb ... Unpacking gir1.2-freedesktop:arm64 (1.58.3-2) ... Selecting previously unselected package libatspi2.0-0:arm64. Preparing to unpack .../097-libatspi2.0-0_2.30.0-7_arm64.deb ... Unpacking libatspi2.0-0:arm64 (2.30.0-7) ... Selecting previously unselected package gir1.2-atspi-2.0:arm64. Preparing to unpack .../098-gir1.2-atspi-2.0_2.30.0-7_arm64.deb ... Unpacking gir1.2-atspi-2.0:arm64 (2.30.0-7) ... Selecting previously unselected package gir1.2-gdkpixbuf-2.0:arm64. Preparing to unpack .../099-gir1.2-gdkpixbuf-2.0_2.38.1+dfsg-1_arm64.deb ... Unpacking gir1.2-gdkpixbuf-2.0:arm64 (2.38.1+dfsg-1) ... Selecting previously unselected package libxft2:arm64. Preparing to unpack .../100-libxft2_2.3.2-2_arm64.deb ... Unpacking libxft2:arm64 (2.3.2-2) ... Selecting previously unselected package libpangoxft-1.0-0:arm64. Preparing to unpack .../101-libpangoxft-1.0-0_1.42.4-8~deb10u1_arm64.deb ... Unpacking libpangoxft-1.0-0:arm64 (1.42.4-8~deb10u1) ... Selecting previously unselected package gir1.2-pango-1.0:arm64. Preparing to unpack .../102-gir1.2-pango-1.0_1.42.4-8~deb10u1_arm64.deb ... Unpacking gir1.2-pango-1.0:arm64 (1.42.4-8~deb10u1) ... Selecting previously unselected package libatk-bridge2.0-0:arm64. Preparing to unpack .../103-libatk-bridge2.0-0_2.30.0-5_arm64.deb ... Unpacking libatk-bridge2.0-0:arm64 (2.30.0-5) ... Selecting previously unselected package liblcms2-2:arm64. Preparing to unpack .../104-liblcms2-2_2.9-3_arm64.deb ... Unpacking liblcms2-2:arm64 (2.9-3) ... Selecting previously unselected package libcolord2:arm64. Preparing to unpack .../105-libcolord2_1.4.3-4_arm64.deb ... Unpacking libcolord2:arm64 (1.4.3-4) ... Selecting previously unselected package libavahi-common-data:arm64. Preparing to unpack .../106-libavahi-common-data_0.7-4+b1_arm64.deb ... Unpacking libavahi-common-data:arm64 (0.7-4+b1) ... Selecting previously unselected package libavahi-common3:arm64. Preparing to unpack .../107-libavahi-common3_0.7-4+b1_arm64.deb ... Unpacking libavahi-common3:arm64 (0.7-4+b1) ... Selecting previously unselected package libavahi-client3:arm64. Preparing to unpack .../108-libavahi-client3_0.7-4+b1_arm64.deb ... Unpacking libavahi-client3:arm64 (0.7-4+b1) ... Selecting previously unselected package libkeyutils1:arm64. Preparing to unpack .../109-libkeyutils1_1.6-6_arm64.deb ... Unpacking libkeyutils1:arm64 (1.6-6) ... Selecting previously unselected package libkrb5support0:arm64. Preparing to unpack .../110-libkrb5support0_1.17-3_arm64.deb ... Unpacking libkrb5support0:arm64 (1.17-3) ... Selecting previously unselected package libk5crypto3:arm64. Preparing to unpack .../111-libk5crypto3_1.17-3_arm64.deb ... Unpacking libk5crypto3:arm64 (1.17-3) ... Selecting previously unselected package libkrb5-3:arm64. Preparing to unpack .../112-libkrb5-3_1.17-3_arm64.deb ... Unpacking libkrb5-3:arm64 (1.17-3) ... Selecting previously unselected package libgssapi-krb5-2:arm64. Preparing to unpack .../113-libgssapi-krb5-2_1.17-3_arm64.deb ... Unpacking libgssapi-krb5-2:arm64 (1.17-3) ... Selecting previously unselected package libcups2:arm64. Preparing to unpack .../114-libcups2_2.2.10-6+deb10u3_arm64.deb ... Unpacking libcups2:arm64 (2.2.10-6+deb10u3) ... Selecting previously unselected package libepoxy0:arm64. Preparing to unpack .../115-libepoxy0_1.5.3-0.1_arm64.deb ... Unpacking libepoxy0:arm64 (1.5.3-0.1) ... Selecting previously unselected package libjson-glib-1.0-common. Preparing to unpack .../116-libjson-glib-1.0-common_1.4.4-2_all.deb ... Unpacking libjson-glib-1.0-common (1.4.4-2) ... Selecting previously unselected package libjson-glib-1.0-0:arm64. Preparing to unpack .../117-libjson-glib-1.0-0_1.4.4-2_arm64.deb ... Unpacking libjson-glib-1.0-0:arm64 (1.4.4-2) ... Selecting previously unselected package libpsl5:arm64. Preparing to unpack .../118-libpsl5_0.20.2-2_arm64.deb ... Unpacking libpsl5:arm64 (0.20.2-2) ... Selecting previously unselected package libproxy1v5:arm64. Preparing to unpack .../119-libproxy1v5_0.4.15-5_arm64.deb ... Unpacking libproxy1v5:arm64 (0.4.15-5) ... Selecting previously unselected package glib-networking-common. Preparing to unpack .../120-glib-networking-common_2.58.0-2+deb10u2_all.deb ... Unpacking glib-networking-common (2.58.0-2+deb10u2) ... Selecting previously unselected package glib-networking-services. Preparing to unpack .../121-glib-networking-services_2.58.0-2+deb10u2_arm64.deb ... Unpacking glib-networking-services (2.58.0-2+deb10u2) ... Selecting previously unselected package gsettings-desktop-schemas. Preparing to unpack .../122-gsettings-desktop-schemas_3.28.1-1_all.deb ... Unpacking gsettings-desktop-schemas (3.28.1-1) ... Selecting previously unselected package glib-networking:arm64. Preparing to unpack .../123-glib-networking_2.58.0-2+deb10u2_arm64.deb ... Unpacking glib-networking:arm64 (2.58.0-2+deb10u2) ... Selecting previously unselected package libsoup2.4-1:arm64. Preparing to unpack .../124-libsoup2.4-1_2.64.2-2_arm64.deb ... Unpacking libsoup2.4-1:arm64 (2.64.2-2) ... Selecting previously unselected package libsoup-gnome2.4-1:arm64. Preparing to unpack .../125-libsoup-gnome2.4-1_2.64.2-2_arm64.deb ... Unpacking libsoup-gnome2.4-1:arm64 (2.64.2-2) ... Selecting previously unselected package librest-0.7-0:arm64. Preparing to unpack .../126-librest-0.7-0_0.8.1-1_arm64.deb ... Unpacking librest-0.7-0:arm64 (0.8.1-1) ... Selecting previously unselected package libwayland-client0:arm64. Preparing to unpack .../127-libwayland-client0_1.16.0-1_arm64.deb ... Unpacking libwayland-client0:arm64 (1.16.0-1) ... Selecting previously unselected package libwayland-cursor0:arm64. Preparing to unpack .../128-libwayland-cursor0_1.16.0-1_arm64.deb ... Unpacking libwayland-cursor0:arm64 (1.16.0-1) ... Selecting previously unselected package libwayland-egl1:arm64. Preparing to unpack .../129-libwayland-egl1_1.16.0-1_arm64.deb ... Unpacking libwayland-egl1:arm64 (1.16.0-1) ... Selecting previously unselected package libxcomposite1:arm64. Preparing to unpack .../130-libxcomposite1_1%3a0.4.4-2_arm64.deb ... Unpacking libxcomposite1:arm64 (1:0.4.4-2) ... Selecting previously unselected package libxfixes3:arm64. Preparing to unpack .../131-libxfixes3_1%3a5.0.3-1_arm64.deb ... Unpacking libxfixes3:arm64 (1:5.0.3-1) ... Selecting previously unselected package libxcursor1:arm64. Preparing to unpack .../132-libxcursor1_1%3a1.1.15-2_arm64.deb ... Unpacking libxcursor1:arm64 (1:1.1.15-2) ... Selecting previously unselected package libxdamage1:arm64. Preparing to unpack .../133-libxdamage1_1%3a1.1.4-3+b3_arm64.deb ... Unpacking libxdamage1:arm64 (1:1.1.4-3+b3) ... Selecting previously unselected package libxi6:arm64. Preparing to unpack .../134-libxi6_2%3a1.7.9-1_arm64.deb ... Unpacking libxi6:arm64 (2:1.7.9-1) ... Selecting previously unselected package libxinerama1:arm64. Preparing to unpack .../135-libxinerama1_2%3a1.1.4-2_arm64.deb ... Unpacking libxinerama1:arm64 (2:1.1.4-2) ... Selecting previously unselected package xkb-data. Preparing to unpack .../136-xkb-data_2.26-2_all.deb ... Unpacking xkb-data (2.26-2) ... Selecting previously unselected package libxkbcommon0:arm64. Preparing to unpack .../137-libxkbcommon0_0.8.2-1_arm64.deb ... Unpacking libxkbcommon0:arm64 (0.8.2-1) ... Selecting previously unselected package libxrandr2:arm64. Preparing to unpack .../138-libxrandr2_2%3a1.5.1-1_arm64.deb ... Unpacking libxrandr2:arm64 (2:1.5.1-1) ... Selecting previously unselected package libgtk-3-common. Preparing to unpack .../139-libgtk-3-common_3.24.5-1_all.deb ... Unpacking libgtk-3-common (3.24.5-1) ... Selecting previously unselected package libgtk-3-0:arm64. Preparing to unpack .../140-libgtk-3-0_3.24.5-1_arm64.deb ... Unpacking libgtk-3-0:arm64 (3.24.5-1) ... Selecting previously unselected package gir1.2-gtk-3.0:arm64. Preparing to unpack .../141-gir1.2-gtk-3.0_3.24.5-1_arm64.deb ... Unpacking gir1.2-gtk-3.0:arm64 (3.24.5-1) ... Selecting previously unselected package libharfbuzz-gobject0:arm64. Preparing to unpack .../142-libharfbuzz-gobject0_2.3.1-1_arm64.deb ... Unpacking libharfbuzz-gobject0:arm64 (2.3.1-1) ... Selecting previously unselected package gir1.2-harfbuzz-0.0:arm64. Preparing to unpack .../143-gir1.2-harfbuzz-0.0_2.3.1-1_arm64.deb ... Unpacking gir1.2-harfbuzz-0.0:arm64 (2.3.1-1) ... Selecting previously unselected package libcdparanoia0:arm64. Preparing to unpack .../144-libcdparanoia0_3.10.2+debian-13_arm64.deb ... Unpacking libcdparanoia0:arm64 (3.10.2+debian-13) ... Selecting previously unselected package libcap2-bin. Preparing to unpack .../145-libcap2-bin_1%3a2.25-2_arm64.deb ... Unpacking libcap2-bin (1:2.25-2) ... Selecting previously unselected package libgstreamer1.0-0:arm64. Preparing to unpack .../146-libgstreamer1.0-0_1.14.4-1_arm64.deb ... Unpacking libgstreamer1.0-0:arm64 (1.14.4-1) ... Selecting previously unselected package liborc-0.4-0:arm64. Preparing to unpack .../147-liborc-0.4-0_1%3a0.4.28-3.1_arm64.deb ... Unpacking liborc-0.4-0:arm64 (1:0.4.28-3.1) ... Selecting previously unselected package iso-codes. Preparing to unpack .../148-iso-codes_4.2-1_all.deb ... Unpacking iso-codes (4.2-1) ... Selecting previously unselected package libgstreamer-plugins-base1.0-0:arm64. Preparing to unpack .../149-libgstreamer-plugins-base1.0-0_1.14.4-2_arm64.deb ... Unpacking libgstreamer-plugins-base1.0-0:arm64 (1.14.4-2) ... Selecting previously unselected package libogg0:arm64. Preparing to unpack .../150-libogg0_1.3.2-1+b1_arm64.deb ... Unpacking libogg0:arm64 (1.3.2-1+b1) ... Selecting previously unselected package libopus0:arm64. Preparing to unpack .../151-libopus0_1.3-1_arm64.deb ... Unpacking libopus0:arm64 (1.3-1) ... Selecting previously unselected package libtheora0:arm64. Preparing to unpack .../152-libtheora0_1.1.1+dfsg.1-15_arm64.deb ... Unpacking libtheora0:arm64 (1.1.1+dfsg.1-15) ... Selecting previously unselected package libvisual-0.4-0:arm64. Preparing to unpack .../153-libvisual-0.4-0_0.4.0-15_arm64.deb ... Unpacking libvisual-0.4-0:arm64 (0.4.0-15) ... Selecting previously unselected package libvorbis0a:arm64. Preparing to unpack .../154-libvorbis0a_1.3.6-2_arm64.deb ... Unpacking libvorbis0a:arm64 (1.3.6-2) ... Selecting previously unselected package libvorbisenc2:arm64. Preparing to unpack .../155-libvorbisenc2_1.3.6-2_arm64.deb ... Unpacking libvorbisenc2:arm64 (1.3.6-2) ... Selecting previously unselected package gstreamer1.0-plugins-base:arm64. Preparing to unpack .../156-gstreamer1.0-plugins-base_1.14.4-2_arm64.deb ... Unpacking gstreamer1.0-plugins-base:arm64 (1.14.4-2) ... Selecting previously unselected package libgpm2:arm64. Preparing to unpack .../157-libgpm2_1.20.7-5_arm64.deb ... Unpacking libgpm2:arm64 (1.20.7-5) ... Selecting previously unselected package libslang2:arm64. Preparing to unpack .../158-libslang2_2.3.2-2_arm64.deb ... Unpacking libslang2:arm64 (2.3.2-2) ... Selecting previously unselected package libaa1:arm64. Preparing to unpack .../159-libaa1_1.4p5-46_arm64.deb ... Unpacking libaa1:arm64 (1.4p5-46) ... Selecting previously unselected package libraw1394-11:arm64. Preparing to unpack .../160-libraw1394-11_2.1.2-1+b1_arm64.deb ... Unpacking libraw1394-11:arm64 (2.1.2-1+b1) ... Selecting previously unselected package libavc1394-0:arm64. Preparing to unpack .../161-libavc1394-0_0.5.4-5_arm64.deb ... Unpacking libavc1394-0:arm64 (0.5.4-5) ... Selecting previously unselected package libcaca0:arm64. Preparing to unpack .../162-libcaca0_0.99.beta19-2.1_arm64.deb ... Unpacking libcaca0:arm64 (0.99.beta19-2.1) ... Selecting previously unselected package libdv4:arm64. Preparing to unpack .../163-libdv4_1.0.0-12_arm64.deb ... Unpacking libdv4:arm64 (1.0.0-12) ... Selecting previously unselected package libflac8:arm64. Preparing to unpack .../164-libflac8_1.3.2-3_arm64.deb ... Unpacking libflac8:arm64 (1.3.2-3) ... Selecting previously unselected package libgudev-1.0-0:arm64. Preparing to unpack .../165-libgudev-1.0-0_232-2_arm64.deb ... Unpacking libgudev-1.0-0:arm64 (232-2) ... Selecting previously unselected package libiec61883-0:arm64. Preparing to unpack .../166-libiec61883-0_1.2.0-3_arm64.deb ... Unpacking libiec61883-0:arm64 (1.2.0-3) ... Selecting previously unselected package libsamplerate0:arm64. Preparing to unpack .../167-libsamplerate0_0.1.9-2_arm64.deb ... Unpacking libsamplerate0:arm64 (0.1.9-2) ... Selecting previously unselected package libjack-jackd2-0:arm64. Preparing to unpack .../168-libjack-jackd2-0_1.9.12~dfsg-2_arm64.deb ... Unpacking libjack-jackd2-0:arm64 (1.9.12~dfsg-2) ... Selecting previously unselected package libmp3lame0:arm64. Preparing to unpack .../169-libmp3lame0_3.100-2+b1_arm64.deb ... Unpacking libmp3lame0:arm64 (3.100-2+b1) ... Selecting previously unselected package libmpg123-0:arm64. Preparing to unpack .../170-libmpg123-0_1.25.10-2_arm64.deb ... Unpacking libmpg123-0:arm64 (1.25.10-2) ... Selecting previously unselected package libspeex1:arm64. Preparing to unpack .../171-libspeex1_1.2~rc1.2-1+b2_arm64.deb ... Unpacking libspeex1:arm64 (1.2~rc1.2-1+b2) ... Selecting previously unselected package libshout3:arm64. Preparing to unpack .../172-libshout3_2.4.1-2_arm64.deb ... Unpacking libshout3:arm64 (2.4.1-2) ... Selecting previously unselected package libtag1v5-vanilla:arm64. Preparing to unpack .../173-libtag1v5-vanilla_1.11.1+dfsg.1-0.3+deb10u1_arm64.deb ... Unpacking libtag1v5-vanilla:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ... Selecting previously unselected package libtag1v5:arm64. Preparing to unpack .../174-libtag1v5_1.11.1+dfsg.1-0.3+deb10u1_arm64.deb ... Unpacking libtag1v5:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ... Selecting previously unselected package libtwolame0:arm64. Preparing to unpack .../175-libtwolame0_0.3.13-4_arm64.deb ... Unpacking libtwolame0:arm64 (0.3.13-4) ... Selecting previously unselected package libv4lconvert0:arm64. Preparing to unpack .../176-libv4lconvert0_1.16.3-3_arm64.deb ... Unpacking libv4lconvert0:arm64 (1.16.3-3) ... Selecting previously unselected package libv4l-0:arm64. Preparing to unpack .../177-libv4l-0_1.16.3-3_arm64.deb ... Unpacking libv4l-0:arm64 (1.16.3-3) ... Selecting previously unselected package libvpx5:arm64. Preparing to unpack .../178-libvpx5_1.7.0-3+deb10u1_arm64.deb ... Unpacking libvpx5:arm64 (1.7.0-3+deb10u1) ... Selecting previously unselected package libwavpack1:arm64. Preparing to unpack .../179-libwavpack1_5.1.0-6_arm64.deb ... Unpacking libwavpack1:arm64 (5.1.0-6) ... Selecting previously unselected package gstreamer1.0-plugins-good:arm64. Preparing to unpack .../180-gstreamer1.0-plugins-good_1.14.4-1_arm64.deb ... Unpacking gstreamer1.0-plugins-good:arm64 (1.14.4-1) ... Selecting previously unselected package libxv1:arm64. Preparing to unpack .../181-libxv1_2%3a1.0.11-1_arm64.deb ... Unpacking libxv1:arm64 (2:1.0.11-1) ... Selecting previously unselected package gstreamer1.0-x:arm64. Preparing to unpack .../182-gstreamer1.0-x_1.14.4-2_arm64.deb ... Unpacking gstreamer1.0-x:arm64 (1.14.4-2) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../183-icu-devtools_63.1-6+deb10u1_arm64.deb ... Unpacking icu-devtools (63.1-6+deb10u1) ... Selecting previously unselected package libffi-dev:arm64. Preparing to unpack .../184-libffi-dev_3.2.1-9_arm64.deb ... Unpacking libffi-dev:arm64 (3.2.1-9) ... Selecting previously unselected package libglib2.0-data. Preparing to unpack .../185-libglib2.0-data_2.58.3-2+deb10u2_all.deb ... Unpacking libglib2.0-data (2.58.3-2+deb10u2) ... Selecting previously unselected package libglib2.0-bin. Preparing to unpack .../186-libglib2.0-bin_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-bin (2.58.3-2+deb10u2) ... Selecting previously unselected package libglib2.0-dev-bin. Preparing to unpack .../187-libglib2.0-dev-bin_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-dev-bin (2.58.3-2+deb10u2) ... Selecting previously unselected package uuid-dev:arm64. Preparing to unpack .../188-uuid-dev_2.33.1-0.1_arm64.deb ... Unpacking uuid-dev:arm64 (2.33.1-0.1) ... Selecting previously unselected package libblkid-dev:arm64. Preparing to unpack .../189-libblkid-dev_2.33.1-0.1_arm64.deb ... Unpacking libblkid-dev:arm64 (2.33.1-0.1) ... Selecting previously unselected package libmount-dev:arm64. Preparing to unpack .../190-libmount-dev_2.33.1-0.1_arm64.deb ... Unpacking libmount-dev:arm64 (2.33.1-0.1) ... Selecting previously unselected package libpcre16-3:arm64. Preparing to unpack .../191-libpcre16-3_2%3a8.39-12_arm64.deb ... Unpacking libpcre16-3:arm64 (2:8.39-12) ... Selecting previously unselected package libpcre32-3:arm64. Preparing to unpack .../192-libpcre32-3_2%3a8.39-12_arm64.deb ... Unpacking libpcre32-3:arm64 (2:8.39-12) ... Selecting previously unselected package libpcrecpp0v5:arm64. Preparing to unpack .../193-libpcrecpp0v5_2%3a8.39-12_arm64.deb ... Unpacking libpcrecpp0v5:arm64 (2:8.39-12) ... Selecting previously unselected package libpcre3-dev:arm64. Preparing to unpack .../194-libpcre3-dev_2%3a8.39-12_arm64.deb ... Unpacking libpcre3-dev:arm64 (2:8.39-12) ... Selecting previously unselected package libsepol1-dev:arm64. Preparing to unpack .../195-libsepol1-dev_2.8-1_arm64.deb ... Unpacking libsepol1-dev:arm64 (2.8-1) ... Selecting previously unselected package libselinux1-dev:arm64. Preparing to unpack .../196-libselinux1-dev_2.8-1+b1_arm64.deb ... Unpacking libselinux1-dev:arm64 (2.8-1+b1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../197-pkg-config_0.29-6_arm64.deb ... Unpacking pkg-config (0.29-6) ... Selecting previously unselected package zlib1g-dev:arm64. Preparing to unpack .../198-zlib1g-dev_1%3a1.2.11.dfsg-1_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.2.11.dfsg-1) ... Selecting previously unselected package libglib2.0-dev:arm64. Preparing to unpack .../199-libglib2.0-dev_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-dev:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libdbus-1-dev:arm64. Preparing to unpack .../200-libdbus-1-dev_1.12.20-0+deb10u1_arm64.deb ... Unpacking libdbus-1-dev:arm64 (1.12.20-0+deb10u1) ... Selecting previously unselected package lsb-base. Preparing to unpack .../201-lsb-base_10.2019051400_all.deb ... Unpacking lsb-base (10.2019051400) ... Selecting previously unselected package x11-common. Preparing to unpack .../202-x11-common_1%3a7.7+19_all.deb ... Unpacking x11-common (1:7.7+19) ... Selecting previously unselected package libxtst6:arm64. Preparing to unpack .../203-libxtst6_2%3a1.2.3-1_arm64.deb ... Unpacking libxtst6:arm64 (2:1.2.3-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../204-xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../205-x11proto-dev_2018.4-4_all.deb ... Unpacking x11proto-dev (2018.4-4) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../206-x11proto-core-dev_2018.4-4_all.deb ... Unpacking x11proto-core-dev (2018.4-4) ... Selecting previously unselected package libxau-dev:arm64. Preparing to unpack .../207-libxau-dev_1%3a1.0.8-1+b2_arm64.deb ... Unpacking libxau-dev:arm64 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp-dev:arm64. Preparing to unpack .../208-libxdmcp-dev_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp-dev:arm64 (1:1.1.2-3) ... Selecting previously unselected package x11proto-input-dev. Preparing to unpack .../209-x11proto-input-dev_2018.4-4_all.deb ... Unpacking x11proto-input-dev (2018.4-4) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../210-xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libpthread-stubs0-dev:arm64. Preparing to unpack .../211-libpthread-stubs0-dev_0.4-1_arm64.deb ... Unpacking libpthread-stubs0-dev:arm64 (0.4-1) ... Selecting previously unselected package libxcb1-dev:arm64. Preparing to unpack .../212-libxcb1-dev_1.13.1-2_arm64.deb ... Unpacking libxcb1-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libx11-dev:arm64. Preparing to unpack .../213-libx11-dev_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-dev:arm64 (2:1.6.7-1) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../214-x11proto-xext-dev_2018.4-4_all.deb ... Unpacking x11proto-xext-dev (2018.4-4) ... Selecting previously unselected package libxext-dev:arm64. Preparing to unpack .../215-libxext-dev_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext-dev:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package x11proto-fixes-dev. Preparing to unpack .../216-x11proto-fixes-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-fixes-dev (1:2018.4-4) ... Selecting previously unselected package libxfixes-dev:arm64. Preparing to unpack .../217-libxfixes-dev_1%3a5.0.3-1_arm64.deb ... Unpacking libxfixes-dev:arm64 (1:5.0.3-1) ... Selecting previously unselected package libxi-dev:arm64. Preparing to unpack .../218-libxi-dev_2%3a1.7.9-1_arm64.deb ... Unpacking libxi-dev:arm64 (2:1.7.9-1) ... Selecting previously unselected package x11proto-record-dev. Preparing to unpack .../219-x11proto-record-dev_2018.4-4_all.deb ... Unpacking x11proto-record-dev (2018.4-4) ... Selecting previously unselected package libxtst-dev:arm64. Preparing to unpack .../220-libxtst-dev_2%3a1.2.3-1_arm64.deb ... Unpacking libxtst-dev:arm64 (2:1.2.3-1) ... Selecting previously unselected package libatspi2.0-dev:arm64. Preparing to unpack .../221-libatspi2.0-dev_2.30.0-7_arm64.deb ... Unpacking libatspi2.0-dev:arm64 (2.30.0-7) ... Selecting previously unselected package libatk-bridge2.0-dev:arm64. Preparing to unpack .../222-libatk-bridge2.0-dev_2.30.0-5_arm64.deb ... Unpacking libatk-bridge2.0-dev:arm64 (2.30.0-5) ... Selecting previously unselected package libatk1.0-dev:arm64. Preparing to unpack .../223-libatk1.0-dev_2.30.0-2_arm64.deb ... Unpacking libatk1.0-dev:arm64 (2.30.0-2) ... Selecting previously unselected package libgfortran5:arm64. Preparing to unpack .../224-libgfortran5_8.3.0-6_arm64.deb ... Unpacking libgfortran5:arm64 (8.3.0-6) ... Selecting previously unselected package libblas3:arm64. Preparing to unpack .../225-libblas3_3.8.0-2_arm64.deb ... Unpacking libblas3:arm64 (3.8.0-2) ... Selecting previously unselected package libbrotli1:arm64. Preparing to unpack .../226-libbrotli1_1.0.7-2_arm64.deb ... Unpacking libbrotli1:arm64 (1.0.7-2) ... Selecting previously unselected package liblzo2-2:arm64. Preparing to unpack .../227-liblzo2-2_2.10-0.1_arm64.deb ... Unpacking liblzo2-2:arm64 (2.10-0.1) ... Selecting previously unselected package libcairo-script-interpreter2:arm64. Preparing to unpack .../228-libcairo-script-interpreter2_1.16.0-4_arm64.deb ... Unpacking libcairo-script-interpreter2:arm64 (1.16.0-4) ... Selecting previously unselected package libexpat1-dev:arm64. Preparing to unpack .../229-libexpat1-dev_2.2.6-2+deb10u1_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.2.6-2+deb10u1) ... Selecting previously unselected package libpng-dev:arm64. Preparing to unpack .../230-libpng-dev_1.6.36-6_arm64.deb ... Unpacking libpng-dev:arm64 (1.6.36-6) ... Selecting previously unselected package libfreetype6-dev:arm64. Preparing to unpack .../231-libfreetype6-dev_2.9.1-3+deb10u1_arm64.deb ... Unpacking libfreetype6-dev:arm64 (2.9.1-3+deb10u1) ... Selecting previously unselected package libfontconfig1-dev:arm64. Preparing to unpack .../232-libfontconfig1-dev_2.13.1-2_arm64.deb ... Unpacking libfontconfig1-dev:arm64 (2.13.1-2) ... Selecting previously unselected package libxrender-dev:arm64. Preparing to unpack .../233-libxrender-dev_1%3a0.9.10-1_arm64.deb ... Unpacking libxrender-dev:arm64 (1:0.9.10-1) ... Selecting previously unselected package libice6:arm64. Preparing to unpack .../234-libice6_2%3a1.0.9-2_arm64.deb ... Unpacking libice6:arm64 (2:1.0.9-2) ... Selecting previously unselected package libsm6:arm64. Preparing to unpack .../235-libsm6_2%3a1.2.3-1_arm64.deb ... Unpacking libsm6:arm64 (2:1.2.3-1) ... Selecting previously unselected package libice-dev:arm64. Preparing to unpack .../236-libice-dev_2%3a1.0.9-2_arm64.deb ... Unpacking libice-dev:arm64 (2:1.0.9-2) ... Selecting previously unselected package libsm-dev:arm64. Preparing to unpack .../237-libsm-dev_2%3a1.2.3-1_arm64.deb ... Unpacking libsm-dev:arm64 (2:1.2.3-1) ... Selecting previously unselected package libpixman-1-dev:arm64. Preparing to unpack .../238-libpixman-1-dev_0.36.0-1_arm64.deb ... Unpacking libpixman-1-dev:arm64 (0.36.0-1) ... Selecting previously unselected package libxcb-render0-dev:arm64. Preparing to unpack .../239-libxcb-render0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-render0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-shm0-dev:arm64. Preparing to unpack .../240-libxcb-shm0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-shm0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libcairo2-dev:arm64. Preparing to unpack .../241-libcairo2-dev_1.16.0-4_arm64.deb ... Unpacking libcairo2-dev:arm64 (1.16.0-4) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../242-libdrm-common_2.4.97-1_all.deb ... Unpacking libdrm-common (2.4.97-1) ... Selecting previously unselected package libdrm2:arm64. Preparing to unpack .../243-libdrm2_2.4.97-1_arm64.deb ... Unpacking libdrm2:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-amdgpu1:arm64. Preparing to unpack .../244-libdrm-amdgpu1_2.4.97-1_arm64.deb ... Unpacking libdrm-amdgpu1:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-radeon1:arm64. Preparing to unpack .../245-libdrm-radeon1_2.4.97-1_arm64.deb ... Unpacking libdrm-radeon1:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-nouveau2:arm64. Preparing to unpack .../246-libdrm-nouveau2_2.4.97-1_arm64.deb ... Unpacking libdrm-nouveau2:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-freedreno1:arm64. Preparing to unpack .../247-libdrm-freedreno1_2.4.97-1_arm64.deb ... Unpacking libdrm-freedreno1:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-tegra0:arm64. Preparing to unpack .../248-libdrm-tegra0_2.4.97-1_arm64.deb ... Unpacking libdrm-tegra0:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-etnaviv1:arm64. Preparing to unpack .../249-libdrm-etnaviv1_2.4.97-1_arm64.deb ... Unpacking libdrm-etnaviv1:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-dev:arm64. Preparing to unpack .../250-libdrm-dev_2.4.97-1_arm64.deb ... Unpacking libdrm-dev:arm64 (2.4.97-1) ... Selecting previously unselected package libwayland-server0:arm64. Preparing to unpack .../251-libwayland-server0_1.16.0-1_arm64.deb ... Unpacking libwayland-server0:arm64 (1.16.0-1) ... Selecting previously unselected package libgbm1:arm64. Preparing to unpack .../252-libgbm1_18.3.6-2+deb10u1_arm64.deb ... Unpacking libgbm1:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglapi-mesa:arm64. Preparing to unpack .../253-libglapi-mesa_18.3.6-2+deb10u1_arm64.deb ... Unpacking libglapi-mesa:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libx11-xcb1:arm64. Preparing to unpack .../254-libx11-xcb1_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-xcb1:arm64 (2:1.6.7-1) ... Selecting previously unselected package libxcb-dri2-0:arm64. Preparing to unpack .../255-libxcb-dri2-0_1.13.1-2_arm64.deb ... Unpacking libxcb-dri2-0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-dri3-0:arm64. Preparing to unpack .../256-libxcb-dri3-0_1.13.1-2_arm64.deb ... Unpacking libxcb-dri3-0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-present0:arm64. Preparing to unpack .../257-libxcb-present0_1.13.1-2_arm64.deb ... Unpacking libxcb-present0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-sync1:arm64. Preparing to unpack .../258-libxcb-sync1_1.13.1-2_arm64.deb ... Unpacking libxcb-sync1:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-xfixes0:arm64. Preparing to unpack .../259-libxcb-xfixes0_1.13.1-2_arm64.deb ... Unpacking libxcb-xfixes0:arm64 (1.13.1-2) ... Selecting previously unselected package libxshmfence1:arm64. Preparing to unpack .../260-libxshmfence1_1.3-1_arm64.deb ... Unpacking libxshmfence1:arm64 (1.3-1) ... Selecting previously unselected package libegl-mesa0:arm64. Preparing to unpack .../261-libegl-mesa0_18.3.6-2+deb10u1_arm64.deb ... Unpacking libegl-mesa0:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package mesa-common-dev:arm64. Preparing to unpack .../262-mesa-common-dev_18.3.6-2+deb10u1_arm64.deb ... Unpacking mesa-common-dev:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglvnd0:arm64. Preparing to unpack .../263-libglvnd0_1.1.0-1_arm64.deb ... Unpacking libglvnd0:arm64 (1.1.0-1) ... Selecting previously unselected package libglvnd-core-dev:arm64. Preparing to unpack .../264-libglvnd-core-dev_1.1.0-1_arm64.deb ... Unpacking libglvnd-core-dev:arm64 (1.1.0-1) ... Selecting previously unselected package libegl1:arm64. Preparing to unpack .../265-libegl1_1.1.0-1_arm64.deb ... Unpacking libegl1:arm64 (1.1.0-1) ... Selecting previously unselected package libgles1:arm64. Preparing to unpack .../266-libgles1_1.1.0-1_arm64.deb ... Unpacking libgles1:arm64 (1.1.0-1) ... Selecting previously unselected package libgles2:arm64. Preparing to unpack .../267-libgles2_1.1.0-1_arm64.deb ... Unpacking libgles2:arm64 (1.1.0-1) ... Selecting previously unselected package libxcb-glx0:arm64. Preparing to unpack .../268-libxcb-glx0_1.13.1-2_arm64.deb ... Unpacking libxcb-glx0:arm64 (1.13.1-2) ... Selecting previously unselected package libxxf86vm1:arm64. Preparing to unpack .../269-libxxf86vm1_1%3a1.1.4-1+b2_arm64.deb ... Unpacking libxxf86vm1:arm64 (1:1.1.4-1+b2) ... Selecting previously unselected package libllvm7:arm64. Preparing to unpack .../270-libllvm7_1%3a7.0.1-8_arm64.deb ... Unpacking libllvm7:arm64 (1:7.0.1-8) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../271-libsensors-config_1%3a3.5.0-3_all.deb ... Unpacking libsensors-config (1:3.5.0-3) ... Selecting previously unselected package libsensors5:arm64. Preparing to unpack .../272-libsensors5_1%3a3.5.0-3_arm64.deb ... Unpacking libsensors5:arm64 (1:3.5.0-3) ... Selecting previously unselected package libgl1-mesa-dri:arm64. Preparing to unpack .../273-libgl1-mesa-dri_18.3.6-2+deb10u1_arm64.deb ... Unpacking libgl1-mesa-dri:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglx-mesa0:arm64. Preparing to unpack .../274-libglx-mesa0_18.3.6-2+deb10u1_arm64.deb ... Unpacking libglx-mesa0:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglx0:arm64. Preparing to unpack .../275-libglx0_1.1.0-1_arm64.deb ... Unpacking libglx0:arm64 (1.1.0-1) ... Selecting previously unselected package libgl1:arm64. Preparing to unpack .../276-libgl1_1.1.0-1_arm64.deb ... Unpacking libgl1:arm64 (1.1.0-1) ... Selecting previously unselected package libopengl0:arm64. Preparing to unpack .../277-libopengl0_1.1.0-1_arm64.deb ... Unpacking libopengl0:arm64 (1.1.0-1) ... Selecting previously unselected package libglvnd-dev:arm64. Preparing to unpack .../278-libglvnd-dev_1.1.0-1_arm64.deb ... Unpacking libglvnd-dev:arm64 (1.1.0-1) ... Selecting previously unselected package x11proto-xf86vidmode-dev. Preparing to unpack .../279-x11proto-xf86vidmode-dev_2018.4-4_all.deb ... Unpacking x11proto-xf86vidmode-dev (2018.4-4) ... Selecting previously unselected package libxxf86vm-dev:arm64. Preparing to unpack .../280-libxxf86vm-dev_1%3a1.1.4-1+b2_arm64.deb ... Unpacking libxxf86vm-dev:arm64 (1:1.1.4-1+b2) ... Selecting previously unselected package x11proto-damage-dev. Preparing to unpack .../281-x11proto-damage-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-damage-dev (1:2018.4-4) ... Selecting previously unselected package libxdamage-dev:arm64. Preparing to unpack .../282-libxdamage-dev_1%3a1.1.4-3+b3_arm64.deb ... Unpacking libxdamage-dev:arm64 (1:1.1.4-3+b3) ... Selecting previously unselected package libxcb-glx0-dev:arm64. Preparing to unpack .../283-libxcb-glx0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-glx0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-dri2-0-dev:arm64. Preparing to unpack .../284-libxcb-dri2-0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-dri2-0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-dri3-dev:arm64. Preparing to unpack .../285-libxcb-dri3-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-dri3-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-randr0:arm64. Preparing to unpack .../286-libxcb-randr0_1.13.1-2_arm64.deb ... Unpacking libxcb-randr0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-randr0-dev:arm64. Preparing to unpack .../287-libxcb-randr0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-randr0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-shape0:arm64. Preparing to unpack .../288-libxcb-shape0_1.13.1-2_arm64.deb ... Unpacking libxcb-shape0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-shape0-dev:arm64. Preparing to unpack .../289-libxcb-shape0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-shape0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-xfixes0-dev:arm64. Preparing to unpack .../290-libxcb-xfixes0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-xfixes0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-sync-dev:arm64. Preparing to unpack .../291-libxcb-sync-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-sync-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-present-dev:arm64. Preparing to unpack .../292-libxcb-present-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-present-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxshmfence-dev:arm64. Preparing to unpack .../293-libxshmfence-dev_1.3-1_arm64.deb ... Unpacking libxshmfence-dev:arm64 (1.3-1) ... Selecting previously unselected package libx11-xcb-dev:arm64. Preparing to unpack .../294-libx11-xcb-dev_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-xcb-dev:arm64 (2:1.6.7-1) ... Selecting previously unselected package libwayland-bin. Preparing to unpack .../295-libwayland-bin_1.16.0-1_arm64.deb ... Unpacking libwayland-bin (1.16.0-1) ... Selecting previously unselected package libwayland-dev:arm64. Preparing to unpack .../296-libwayland-dev_1.16.0-1_arm64.deb ... Unpacking libwayland-dev:arm64 (1.16.0-1) ... Selecting previously unselected package libegl1-mesa-dev:arm64. Preparing to unpack .../297-libegl1-mesa-dev_18.3.6-2+deb10u1_arm64.deb ... Unpacking libegl1-mesa-dev:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libhunspell-1.7-0:arm64. Preparing to unpack .../298-libhunspell-1.7-0_1.7.0-2_arm64.deb ... Unpacking libhunspell-1.7-0:arm64 (1.7.0-2) ... Selecting previously unselected package libenchant1c2a:arm64. Preparing to unpack .../299-libenchant1c2a_1.6.0-11.1+b1_arm64.deb ... Unpacking libenchant1c2a:arm64 (1.6.0-11.1+b1) ... Selecting previously unselected package libgl1-mesa-dev:arm64. Preparing to unpack .../300-libgl1-mesa-dev_18.3.6-2+deb10u1_arm64.deb ... Unpacking libgl1-mesa-dev:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libepoxy-dev:arm64. Preparing to unpack .../301-libepoxy-dev_1.5.3-0.1_arm64.deb ... Unpacking libepoxy-dev:arm64 (1.5.3-0.1) ... Selecting previously unselected package libfontenc1:arm64. Preparing to unpack .../302-libfontenc1_1%3a1.1.3-1+b2_arm64.deb ... Unpacking libfontenc1:arm64 (1:1.1.3-1+b2) ... Selecting previously unselected package libfribidi-dev:arm64. Preparing to unpack .../303-libfribidi-dev_1.0.5-3.1+deb10u1_arm64.deb ... Unpacking libfribidi-dev:arm64 (1.0.5-3.1+deb10u1) ... Selecting previously unselected package libgdk-pixbuf2.0-bin. Preparing to unpack .../304-libgdk-pixbuf2.0-bin_2.38.1+dfsg-1_arm64.deb ... Unpacking libgdk-pixbuf2.0-bin (2.38.1+dfsg-1) ... Selecting previously unselected package libgdk-pixbuf2.0-dev:arm64. Preparing to unpack .../305-libgdk-pixbuf2.0-dev_2.38.1+dfsg-1_arm64.deb ... Unpacking libgdk-pixbuf2.0-dev:arm64 (2.38.1+dfsg-1) ... Selecting previously unselected package libglu1-mesa:arm64. Preparing to unpack .../306-libglu1-mesa_9.0.0-2.1+b3_arm64.deb ... Unpacking libglu1-mesa:arm64 (9.0.0-2.1+b3) ... Selecting previously unselected package libglu1-mesa-dev:arm64. Preparing to unpack .../307-libglu1-mesa-dev_9.0.0-2.1+b3_arm64.deb ... Unpacking libglu1-mesa-dev:arm64 (9.0.0-2.1+b3) ... Selecting previously unselected package libgraphite2-dev:arm64. Preparing to unpack .../308-libgraphite2-dev_1.3.13-7_arm64.deb ... Unpacking libgraphite2-dev:arm64 (1.3.13-7) ... Selecting previously unselected package libgstreamer-gl1.0-0:arm64. Preparing to unpack .../309-libgstreamer-gl1.0-0_1.14.4-2_arm64.deb ... Unpacking libgstreamer-gl1.0-0:arm64 (1.14.4-2) ... Selecting previously unselected package libharfbuzz-icu0:arm64. Preparing to unpack .../310-libharfbuzz-icu0_2.3.1-1_arm64.deb ... Unpacking libharfbuzz-icu0:arm64 (2.3.1-1) ... Selecting previously unselected package libicu-dev:arm64. Preparing to unpack .../311-libicu-dev_63.1-6+deb10u1_arm64.deb ... Unpacking libicu-dev:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libharfbuzz-dev:arm64. Preparing to unpack .../312-libharfbuzz-dev_2.3.1-1_arm64.deb ... Unpacking libharfbuzz-dev:arm64 (2.3.1-1) ... Selecting previously unselected package libxft-dev:arm64. Preparing to unpack .../313-libxft-dev_2.3.2-2_arm64.deb ... Unpacking libxft-dev:arm64 (2.3.2-2) ... Selecting previously unselected package pango1.0-tools. Preparing to unpack .../314-pango1.0-tools_1.42.4-8~deb10u1_arm64.deb ... Unpacking pango1.0-tools (1.42.4-8~deb10u1) ... Selecting previously unselected package libpango1.0-dev:arm64. Preparing to unpack .../315-libpango1.0-dev_1.42.4-8~deb10u1_arm64.deb ... Unpacking libpango1.0-dev:arm64 (1.42.4-8~deb10u1) ... Selecting previously unselected package x11proto-composite-dev. Preparing to unpack .../316-x11proto-composite-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-composite-dev (1:2018.4-4) ... Selecting previously unselected package libxcomposite-dev:arm64. Preparing to unpack .../317-libxcomposite-dev_1%3a0.4.4-2_arm64.deb ... Unpacking libxcomposite-dev:arm64 (1:0.4.4-2) ... Selecting previously unselected package libxcursor-dev:arm64. Preparing to unpack .../318-libxcursor-dev_1%3a1.1.15-2_arm64.deb ... Unpacking libxcursor-dev:arm64 (1:1.1.15-2) ... Selecting previously unselected package x11proto-xinerama-dev. Preparing to unpack .../319-x11proto-xinerama-dev_2018.4-4_all.deb ... Unpacking x11proto-xinerama-dev (2018.4-4) ... Selecting previously unselected package libxinerama-dev:arm64. Preparing to unpack .../320-libxinerama-dev_2%3a1.1.4-2_arm64.deb ... Unpacking libxinerama-dev:arm64 (2:1.1.4-2) ... Selecting previously unselected package libxkbcommon-dev:arm64. Preparing to unpack .../321-libxkbcommon-dev_0.8.2-1_arm64.deb ... Unpacking libxkbcommon-dev:arm64 (0.8.2-1) ... Selecting previously unselected package x11proto-randr-dev. Preparing to unpack .../322-x11proto-randr-dev_2018.4-4_all.deb ... Unpacking x11proto-randr-dev (2018.4-4) ... Selecting previously unselected package libxrandr-dev:arm64. Preparing to unpack .../323-libxrandr-dev_2%3a1.5.1-1_arm64.deb ... Unpacking libxrandr-dev:arm64 (2:1.5.1-1) ... Selecting previously unselected package wayland-protocols. Preparing to unpack .../324-wayland-protocols_1.17-1_all.deb ... Unpacking wayland-protocols (1.17-1) ... Selecting previously unselected package libgtk-3-dev:arm64. Preparing to unpack .../325-libgtk-3-dev_3.24.5-1_arm64.deb ... Unpacking libgtk-3-dev:arm64 (3.24.5-1) ... Selecting previously unselected package libhyphen0:arm64. Preparing to unpack .../326-libhyphen0_2.8.8-7_arm64.deb ... Unpacking libhyphen0:arm64 (2.8.8-7) ... Selecting previously unselected package libimagequant0:arm64. Preparing to unpack .../327-libimagequant0_2.12.2-1.1_arm64.deb ... Unpacking libimagequant0:arm64 (2.12.2-1.1) ... Selecting previously unselected package libjavascriptcoregtk-4.0-18:arm64. Preparing to unpack .../328-libjavascriptcoregtk-4.0-18_2.28.3-2~deb10u1_arm64.deb ... Unpacking libjavascriptcoregtk-4.0-18:arm64 (2.28.3-2~deb10u1) ... Selecting previously unselected package liblapack3:arm64. Preparing to unpack .../329-liblapack3_3.8.0-2_arm64.deb ... Unpacking liblapack3:arm64 (3.8.0-2) ... Selecting previously unselected package libnotify4:arm64. Preparing to unpack .../330-libnotify4_0.7.7-4_arm64.deb ... Unpacking libnotify4:arm64 (0.7.7-4) ... Selecting previously unselected package libopenjp2-7:arm64. Preparing to unpack .../331-libopenjp2-7_2.3.0-2+deb10u1_arm64.deb ... Unpacking libopenjp2-7:arm64 (2.3.0-2+deb10u1) ... Selecting previously unselected package libpython2.7:arm64. Preparing to unpack .../332-libpython2.7_2.7.16-2+deb10u1_arm64.deb ... Unpacking libpython2.7:arm64 (2.7.16-2+deb10u1) ... Selecting previously unselected package libpython2.7-dev:arm64. Preparing to unpack .../333-libpython2.7-dev_2.7.16-2+deb10u1_arm64.deb ... Unpacking libpython2.7-dev:arm64 (2.7.16-2+deb10u1) ... Selecting previously unselected package libpython2-dev:arm64. Preparing to unpack .../334-libpython2-dev_2.7.16-1_arm64.deb ... Unpacking libpython2-dev:arm64 (2.7.16-1) ... Selecting previously unselected package libpython-dev:arm64. Preparing to unpack .../335-libpython-dev_2.7.16-1_arm64.deb ... Unpacking libpython-dev:arm64 (2.7.16-1) ... Selecting previously unselected package libpython-all-dev:arm64. Preparing to unpack .../336-libpython-all-dev_2.7.16-1_arm64.deb ... Unpacking libpython-all-dev:arm64 (2.7.16-1) ... Selecting previously unselected package libpython3.7:arm64. Preparing to unpack .../337-libpython3.7_3.7.3-2+deb10u2_arm64.deb ... Unpacking libpython3.7:arm64 (3.7.3-2+deb10u2) ... Selecting previously unselected package libpython3.7-dev:arm64. Preparing to unpack .../338-libpython3.7-dev_3.7.3-2+deb10u2_arm64.deb ... Unpacking libpython3.7-dev:arm64 (3.7.3-2+deb10u2) ... Selecting previously unselected package libpython3-dev:arm64. Preparing to unpack .../339-libpython3-dev_3.7.3-1_arm64.deb ... Unpacking libpython3-dev:arm64 (3.7.3-1) ... Selecting previously unselected package libpython3-all-dev:arm64. Preparing to unpack .../340-libpython3-all-dev_3.7.3-1_arm64.deb ... Unpacking libpython3-all-dev:arm64 (3.7.3-1) ... Selecting previously unselected package libsecret-common. Preparing to unpack .../341-libsecret-common_0.18.7-1_all.deb ... Unpacking libsecret-common (0.18.7-1) ... Selecting previously unselected package libsecret-1-0:arm64. Preparing to unpack .../342-libsecret-1-0_0.18.7-1_arm64.deb ... Unpacking libsecret-1-0:arm64 (0.18.7-1) ... Selecting previously unselected package libunwind8:arm64. Preparing to unpack .../343-libunwind8_1.2.1-10~deb10u1_arm64.deb ... Unpacking libunwind8:arm64 (1.2.1-10~deb10u1) ... Selecting previously unselected package xdg-dbus-proxy. Preparing to unpack .../344-xdg-dbus-proxy_0.1.1-1_arm64.deb ... Unpacking xdg-dbus-proxy (0.1.1-1) ... Selecting previously unselected package libwebpdemux2:arm64. Preparing to unpack .../345-libwebpdemux2_0.6.1-2_arm64.deb ... Unpacking libwebpdemux2:arm64 (0.6.1-2) ... Selecting previously unselected package libwoff1:arm64. Preparing to unpack .../346-libwoff1_1.0.2-1_arm64.deb ... Unpacking libwoff1:arm64 (1.0.2-1) ... Selecting previously unselected package libxslt1.1:arm64. Preparing to unpack .../347-libxslt1.1_1.1.32-2.2~deb10u1_arm64.deb ... Unpacking libxslt1.1:arm64 (1.1.32-2.2~deb10u1) ... Selecting previously unselected package libxt6:arm64. Preparing to unpack .../348-libxt6_1%3a1.1.5-1+b3_arm64.deb ... Unpacking libxt6:arm64 (1:1.1.5-1+b3) ... Selecting previously unselected package libwebkit2gtk-4.0-37:arm64. Preparing to unpack .../349-libwebkit2gtk-4.0-37_2.28.3-2~deb10u1_arm64.deb ... Unpacking libwebkit2gtk-4.0-37:arm64 (2.28.3-2~deb10u1) ... Selecting previously unselected package libwebpmux3:arm64. Preparing to unpack .../350-libwebpmux3_0.6.1-2_arm64.deb ... Unpacking libwebpmux3:arm64 (0.6.1-2) ... Selecting previously unselected package libwxbase3.0-0v5:arm64. Preparing to unpack .../351-libwxbase3.0-0v5_3.0.4+dfsg-8_arm64.deb ... Unpacking libwxbase3.0-0v5:arm64 (3.0.4+dfsg-8) ... Selecting previously unselected package wx3.0-headers. Preparing to unpack .../352-wx3.0-headers_3.0.4+dfsg-8_all.deb ... Unpacking wx3.0-headers (3.0.4+dfsg-8) ... Selecting previously unselected package libwxbase3.0-dev:arm64. Preparing to unpack .../353-libwxbase3.0-dev_3.0.4+dfsg-8_arm64.deb ... Unpacking libwxbase3.0-dev:arm64 (3.0.4+dfsg-8) ... Selecting previously unselected package libwxgtk3.0-gtk3-0v5:arm64. Preparing to unpack .../354-libwxgtk3.0-gtk3-0v5_3.0.4+dfsg-8_arm64.deb ... Unpacking libwxgtk3.0-gtk3-0v5:arm64 (3.0.4+dfsg-8) ... Selecting previously unselected package libwxgtk-media3.0-gtk3-0v5:arm64. Preparing to unpack .../355-libwxgtk-media3.0-gtk3-0v5_3.0.4+dfsg-8_arm64.deb ... Unpacking libwxgtk-media3.0-gtk3-0v5:arm64 (3.0.4+dfsg-8) ... Selecting previously unselected package wx-common. Preparing to unpack .../356-wx-common_3.0.4+dfsg-8_arm64.deb ... Unpacking wx-common (3.0.4+dfsg-8) ... Selecting previously unselected package libwxgtk3.0-gtk3-dev:arm64. Preparing to unpack .../357-libwxgtk3.0-gtk3-dev_3.0.4+dfsg-8_arm64.deb ... Unpacking libwxgtk3.0-gtk3-dev:arm64 (3.0.4+dfsg-8) ... Selecting previously unselected package libwxgtk-media3.0-gtk3-dev:arm64. Preparing to unpack .../358-libwxgtk-media3.0-gtk3-dev_3.0.4+dfsg-8_arm64.deb ... Unpacking libwxgtk-media3.0-gtk3-dev:arm64 (3.0.4+dfsg-8) ... Selecting previously unselected package libwxgtk-webview3.0-gtk3-0v5:arm64. Preparing to unpack .../359-libwxgtk-webview3.0-gtk3-0v5_3.0.4+dfsg-8_arm64.deb ... Unpacking libwxgtk-webview3.0-gtk3-0v5:arm64 (3.0.4+dfsg-8) ... Selecting previously unselected package libwxgtk-webview3.0-gtk3-dev:arm64. Preparing to unpack .../360-libwxgtk-webview3.0-gtk3-dev_3.0.4+dfsg-8_arm64.deb ... Unpacking libwxgtk-webview3.0-gtk3-dev:arm64 (3.0.4+dfsg-8) ... Selecting previously unselected package libxmu6:arm64. Preparing to unpack .../361-libxmu6_2%3a1.1.2-2+b3_arm64.deb ... Unpacking libxmu6:arm64 (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm4:arm64. Preparing to unpack .../362-libxpm4_1%3a3.5.12-1_arm64.deb ... Unpacking libxpm4:arm64 (1:3.5.12-1) ... Selecting previously unselected package libxaw7:arm64. Preparing to unpack .../363-libxaw7_2%3a1.0.13-1+b2_arm64.deb ... Unpacking libxaw7:arm64 (2:1.0.13-1+b2) ... Selecting previously unselected package libxfont2:arm64. Preparing to unpack .../364-libxfont2_1%3a2.0.3-1_arm64.deb ... Unpacking libxfont2:arm64 (1:2.0.3-1) ... Selecting previously unselected package libxkbfile1:arm64. Preparing to unpack .../365-libxkbfile1_1%3a1.0.9-2+b11_arm64.deb ... Unpacking libxkbfile1:arm64 (1:1.0.9-2+b11) ... Selecting previously unselected package libxmuu1:arm64. Preparing to unpack .../366-libxmuu1_2%3a1.1.2-2+b3_arm64.deb ... Unpacking libxmuu1:arm64 (2:1.1.2-2+b3) ... Selecting previously unselected package python-all. Preparing to unpack .../367-python-all_2.7.16-1_arm64.deb ... Unpacking python-all (2.7.16-1) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../368-python2.7-dev_2.7.16-2+deb10u1_arm64.deb ... Unpacking python2.7-dev (2.7.16-2+deb10u1) ... Selecting previously unselected package python2-dev. Preparing to unpack .../369-python2-dev_2.7.16-1_arm64.deb ... Unpacking python2-dev (2.7.16-1) ... Selecting previously unselected package python-dev. Preparing to unpack .../370-python-dev_2.7.16-1_arm64.deb ... Unpacking python-dev (2.7.16-1) ... Selecting previously unselected package python-all-dev. Preparing to unpack .../371-python-all-dev_2.7.16-1_arm64.deb ... Unpacking python-all-dev (2.7.16-1) ... Selecting previously unselected package python-apipkg. Preparing to unpack .../372-python-apipkg_1.5-2_all.deb ... Unpacking python-apipkg (1.5-2) ... Selecting previously unselected package python-atomicwrites. Preparing to unpack .../373-python-atomicwrites_1.1.5-2_all.deb ... Unpacking python-atomicwrites (1.1.5-2) ... Selecting previously unselected package python-attr. Preparing to unpack .../374-python-attr_18.2.0-1_all.deb ... Unpacking python-attr (18.2.0-1) ... Selecting previously unselected package python-certifi. Preparing to unpack .../375-python-certifi_2018.8.24-1_all.deb ... Unpacking python-certifi (2018.8.24-1) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../376-python-pkg-resources_40.8.0-1_all.deb ... Unpacking python-pkg-resources (40.8.0-1) ... Selecting previously unselected package python-chardet. Preparing to unpack .../377-python-chardet_3.0.4-3_all.deb ... Unpacking python-chardet (3.0.4-3) ... Selecting previously unselected package python-enum34. Preparing to unpack .../378-python-enum34_1.1.6-2_all.deb ... Unpacking python-enum34 (1.1.6-2) ... Selecting previously unselected package python-execnet. Preparing to unpack .../379-python-execnet_1.5.0-4_all.deb ... Unpacking python-execnet (1.5.0-4) ... Selecting previously unselected package python-funcsigs. Preparing to unpack .../380-python-funcsigs_1.0.2-4_all.deb ... Unpacking python-funcsigs (1.0.2-4) ... Selecting previously unselected package python-idna. Preparing to unpack .../381-python-idna_2.6-1_all.deb ... Unpacking python-idna (2.6-1) ... Selecting previously unselected package python-six. Preparing to unpack .../382-python-six_1.12.0-1_all.deb ... Unpacking python-six (1.12.0-1) ... Selecting previously unselected package python-more-itertools. Preparing to unpack .../383-python-more-itertools_4.2.0-1_all.deb ... Unpacking python-more-itertools (4.2.0-1) ... Selecting previously unselected package python-numpy. Preparing to unpack .../384-python-numpy_1%3a1.16.2-1_arm64.deb ... Unpacking python-numpy (1:1.16.2-1) ... Selecting previously unselected package python-scandir. Preparing to unpack .../385-python-scandir_1.9.0-2_arm64.deb ... Unpacking python-scandir (1.9.0-2) ... Selecting previously unselected package python-pathlib2. Preparing to unpack .../386-python-pathlib2_2.3.3-1_all.deb ... Unpacking python-pathlib2 (2.3.3-1) ... Selecting previously unselected package python-pil:arm64. Preparing to unpack .../387-python-pil_5.4.1-2+deb10u2_arm64.deb ... Unpacking python-pil:arm64 (5.4.1-2+deb10u2) ... Selecting previously unselected package python-pluggy. Preparing to unpack .../388-python-pluggy_0.8.0-1_all.deb ... Unpacking python-pluggy (0.8.0-1) ... Selecting previously unselected package python-py. Preparing to unpack .../389-python-py_1.7.0-2_all.deb ... Unpacking python-py (1.7.0-2) ... Selecting previously unselected package python-pypdf2. Preparing to unpack .../390-python-pypdf2_1.26.0-2_all.deb ... Unpacking python-pypdf2 (1.26.0-2) ... Selecting previously unselected package python-pytest. Preparing to unpack .../391-python-pytest_3.10.1-2_all.deb ... Unpacking python-pytest (3.10.1-2) ... Selecting previously unselected package python-pytest-forked. Preparing to unpack .../392-python-pytest-forked_1.0.1-1_all.deb ... Unpacking python-pytest-forked (1.0.1-1) ... Selecting previously unselected package python-pytest-timeout. Preparing to unpack .../393-python-pytest-timeout_1.3.3-1_all.deb ... Unpacking python-pytest-timeout (1.3.3-1) ... Selecting previously unselected package python-pytest-xdist. Preparing to unpack .../394-python-pytest-xdist_1.26.1-1_all.deb ... Unpacking python-pytest-xdist (1.26.1-1) ... Selecting previously unselected package python-urllib3. Preparing to unpack .../395-python-urllib3_1.24.1-1_all.deb ... Unpacking python-urllib3 (1.24.1-1) ... Selecting previously unselected package python-requests. Preparing to unpack .../396-python-requests_2.21.0-1_all.deb ... Unpacking python-requests (2.21.0-1) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../397-python-setuptools_40.8.0-1_all.deb ... Unpacking python-setuptools (40.8.0-1) ... Selecting previously unselected package python-sip. Preparing to unpack .../398-python-sip_4.19.14+dfsg-2_arm64.deb ... Unpacking python-sip (4.19.14+dfsg-2) ... Selecting previously unselected package sip-dev. Preparing to unpack .../399-sip-dev_4.19.14+dfsg-2_arm64.deb ... Unpacking sip-dev (4.19.14+dfsg-2) ... Selecting previously unselected package python-sip-dev. Preparing to unpack .../400-python-sip-dev_4.19.14+dfsg-2_arm64.deb ... Unpacking python-sip-dev (4.19.14+dfsg-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../401-python3-all_3.7.3-1_arm64.deb ... Unpacking python3-all (3.7.3-1) ... Selecting previously unselected package python3.7-dev. Preparing to unpack .../402-python3.7-dev_3.7.3-2+deb10u2_arm64.deb ... Unpacking python3.7-dev (3.7.3-2+deb10u2) ... Selecting previously unselected package python3-dev. Preparing to unpack .../403-python3-dev_3.7.3-1_arm64.deb ... Unpacking python3-dev (3.7.3-1) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../404-python3-all-dev_3.7.3-1_arm64.deb ... Unpacking python3-all-dev (3.7.3-1) ... Selecting previously unselected package python3-apipkg. Preparing to unpack .../405-python3-apipkg_1.5-2_all.deb ... Unpacking python3-apipkg (1.5-2) ... Selecting previously unselected package python3-atomicwrites. Preparing to unpack .../406-python3-atomicwrites_1.1.5-2_all.deb ... Unpacking python3-atomicwrites (1.1.5-2) ... Selecting previously unselected package python3-attr. Preparing to unpack .../407-python3-attr_18.2.0-1_all.deb ... Unpacking python3-attr (18.2.0-1) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../408-python3-certifi_2018.8.24-1_all.deb ... Unpacking python3-certifi (2018.8.24-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../409-python3-pkg-resources_40.8.0-1_all.deb ... Unpacking python3-pkg-resources (40.8.0-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../410-python3-chardet_3.0.4-3_all.deb ... Unpacking python3-chardet (3.0.4-3) ... Selecting previously unselected package python3-execnet. Preparing to unpack .../411-python3-execnet_1.5.0-4_all.deb ... Unpacking python3-execnet (1.5.0-4) ... Selecting previously unselected package python3-idna. Preparing to unpack .../412-python3-idna_2.6-1_all.deb ... Unpacking python3-idna (2.6-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../413-python3-six_1.12.0-1_all.deb ... Unpacking python3-six (1.12.0-1) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../414-python3-more-itertools_4.2.0-1_all.deb ... Unpacking python3-more-itertools (4.2.0-1) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../415-python3-numpy_1%3a1.16.2-1_arm64.deb ... Unpacking python3-numpy (1:1.16.2-1) ... Selecting previously unselected package python3-pil:arm64. Preparing to unpack .../416-python3-pil_5.4.1-2+deb10u2_arm64.deb ... Unpacking python3-pil:arm64 (5.4.1-2+deb10u2) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../417-python3-pluggy_0.8.0-1_all.deb ... Unpacking python3-pluggy (0.8.0-1) ... Selecting previously unselected package python3-py. Preparing to unpack .../418-python3-py_1.7.0-2_all.deb ... Unpacking python3-py (1.7.0-2) ... Selecting previously unselected package python3-pypdf2. Preparing to unpack .../419-python3-pypdf2_1.26.0-2_all.deb ... Unpacking python3-pypdf2 (1.26.0-2) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../420-python3-pytest_3.10.1-2_all.deb ... Unpacking python3-pytest (3.10.1-2) ... Selecting previously unselected package python3-pytest-forked. Preparing to unpack .../421-python3-pytest-forked_1.0.1-1_all.deb ... Unpacking python3-pytest-forked (1.0.1-1) ... Selecting previously unselected package python3-pytest-timeout. Preparing to unpack .../422-python3-pytest-timeout_1.3.3-1_all.deb ... Unpacking python3-pytest-timeout (1.3.3-1) ... Selecting previously unselected package python3-pytest-xdist. Preparing to unpack .../423-python3-pytest-xdist_1.26.1-1_all.deb ... Unpacking python3-pytest-xdist (1.26.1-1) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../424-python3-urllib3_1.24.1-1_all.deb ... Unpacking python3-urllib3 (1.24.1-1) ... Selecting previously unselected package python3-requests. Preparing to unpack .../425-python3-requests_2.21.0-1_all.deb ... Unpacking python3-requests (2.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../426-python3-setuptools_40.8.0-1_all.deb ... Unpacking python3-setuptools (40.8.0-1) ... Selecting previously unselected package python3-sip. Preparing to unpack .../427-python3-sip_4.19.14+dfsg-2_arm64.deb ... Unpacking python3-sip (4.19.14+dfsg-2) ... Selecting previously unselected package python3-sip-dev. Preparing to unpack .../428-python3-sip-dev_4.19.14+dfsg-2_arm64.deb ... Unpacking python3-sip-dev (4.19.14+dfsg-2) ... Selecting previously unselected package x11-xkb-utils. Preparing to unpack .../429-x11-xkb-utils_7.7+4_arm64.deb ... Unpacking x11-xkb-utils (7.7+4) ... Selecting previously unselected package xauth. Preparing to unpack .../430-xauth_1%3a1.0.10-1_arm64.deb ... Unpacking xauth (1:1.0.10-1) ... Selecting previously unselected package xserver-common. Preparing to unpack .../431-xserver-common_2%3a1.20.4-1_all.deb ... Unpacking xserver-common (2:1.20.4-1) ... Selecting previously unselected package xvfb. Preparing to unpack .../432-xvfb_2%3a1.20.4-1_arm64.deb ... Unpacking xvfb (2:1.20.4-1) ... Setting up libpcrecpp0v5:arm64 (2:8.39-12) ... Setting up bubblewrap (0.3.1-4) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up libtext-iconv-perl (1.7-5+b6) ... Setting up libgraphite2-3:arm64 (1.3.13-7) ... Setting up liblcms2-2:arm64 (2.9-3) ... Setting up libpixman-1-0:arm64 (0.36.0-1) ... Setting up libcdparanoia0:arm64 (3.10.2+debian-13) ... Setting up libwayland-server0:arm64 (1.16.0-1) ... Setting up lsb-base (10.2019051400) ... Setting up libx11-xcb1:arm64 (2:1.6.7-1) ... Setting up systemd-sysv (241-7~deb10u4) ... Setting up libxau6:arm64 (1:1.0.8-1+b2) ... Setting up libraw1394-11:arm64 (2.1.2-1+b1) ... Setting up libkeyutils1:arm64 (1.6-6) ... Setting up libproxy1v5:arm64 (0.4.15-5) ... Setting up libpsl5:arm64 (0.20.2-2) ... Setting up libpixman-1-dev:arm64 (0.36.0-1) ... Setting up libgpm2:arm64 (1.20.7-5) ... Setting up libmpg123-0:arm64 (1.25.10-2) ... Setting up libogg0:arm64 (1.3.2-1+b1) ... Setting up mime-support (3.62) ... Setting up libspeex1:arm64 (1.2~rc1.2-1+b2) ... Setting up libglvnd-core-dev:arm64 (1.1.0-1) ... Setting up libpcre16-3:arm64 (2:8.39-12) ... Setting up hicolor-icon-theme (0.17-2) ... Setting up libtwolame0:arm64 (0.3.13-4) ... Setting up libhyphen0:arm64 (2.8.8-7) ... Setting up libdatrie1:arm64 (0.2.12-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libvisual-0.4-0:arm64 (0.4.0-15) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Setting up libaspell15:arm64 (0.60.7~20110707-6) ... Setting up libglvnd0:arm64 (1.1.0-1) ... Setting up libbrotli1:arm64 (1.0.7-2) ... Setting up libgdk-pixbuf2.0-common (2.38.1+dfsg-1) ... Setting up x11-common (1:7.7+19) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Running in chroot, ignoring request. Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libsensors-config (1:3.5.0-3) ... Setting up libmagic1:arm64 (1:5.35-4+deb10u1) ... Setting up libsepol1-dev:arm64 (2.8-1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up xkb-data (2.26-2) ... Setting up liblzo2-2:arm64 (2.10-0.1) ... Setting up file (1:5.35-4+deb10u1) ... Setting up sip-dev (4.19.14+dfsg-2) ... Setting up libffi-dev:arm64 (3.2.1-9) ... Setting up libunwind8:arm64 (1.2.1-10~deb10u1) ... Setting up libpthread-stubs0-dev:arm64 (0.4-1) ... Setting up libjbig0:arm64 (2.1-3.1+b2) ... Setting up libcolord2:arm64 (1.4.3-4) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up libopengl0:arm64 (1.1.0-1) ... Setting up libflac8:arm64 (1.3.2-3) ... Setting up libkrb5support0:arm64 (1.17-3) ... Setting up libcap2-bin (1:2.25-2) ... Setting up libdconf1:arm64 (0.30.1-2) ... Setting up xtrans-dev (1.3.5-1) ... Setting up libgraphite2-dev:arm64 (1.3.13-7) ... Setting up libfontenc1:arm64 (1:1.1.3-1+b2) ... Setting up autotools-dev (20180224.1) ... Setting up libglib2.0-data (2.58.3-2+deb10u2) ... Setting up libgles2:arm64 (1.1.0-1) ... Setting up libexpat1-dev:arm64 (2.2.6-2+deb10u1) ... Setting up libjpeg62-turbo:arm64 (1:1.5.2-2+b1) ... Setting up emacsen-common (3.0.4) ... Setting up libslang2:arm64 (2.3.2-2) ... Setting up libx11-data (2:1.6.7-1) ... Setting up libepoxy0:arm64 (1.5.3-0.1) ... Setting up uuid-dev:arm64 (2.33.1-0.1) ... Setting up libavahi-common-data:arm64 (0.7-4+b1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libgles1:arm64 (1.1.0-1) ... Setting up libdbus-1-3:arm64 (1.12.20-0+deb10u1) ... Setting up dbus (1.12.20-0+deb10u1) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libsigsegv2:arm64 (2.12-2) ... Setting up libfribidi0:arm64 (1.0.5-3.1+deb10u1) ... Setting up libopus0:arm64 (1.3-1) ... Setting up libimagequant0:arm64 (2.12.2-1.1) ... Setting up libpng16-16:arm64 (1.6.36-6) ... Setting up libpcre32-3:arm64 (2:8.39-12) ... Setting up libvorbis0a:arm64 (1.3.6-2) ... Setting up wx3.0-headers (3.0.4+dfsg-8) ... Setting up liborc-0.4-0:arm64 (1:0.4.28-3.1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libwebp6:arm64 (0.6.1-2) ... Setting up icu-devtools (63.1-6+deb10u1) ... Setting up pkg-config (0.29-6) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up libsensors5:arm64 (1:3.5.0-3) ... Setting up libk5crypto3:arm64 (1.17-3) ... Setting up libglapi-mesa:arm64 (18.3.6-2+deb10u1) ... Setting up libgfortran5:arm64 (8.3.0-6) ... Setting up zlib1g-dev:arm64 (1:1.2.11.dfsg-1) ... Setting up libatk1.0-data (2.30.0-2) ... Setting up xdg-dbus-proxy (0.1.1-1) ... Setting up wayland-protocols (1.17-1) ... Setting up sensible-utils (0.0.12) ... Setting up libdv4:arm64 (1.0.0-12) ... Setting up libxshmfence1:arm64 (1.3-1) ... Setting up libwavpack1:arm64 (5.1.0-6) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up libv4lconvert0:arm64 (1.16.3-3) ... Setting up libpam-systemd:arm64 (241-7~deb10u4) ... Setting up libopenjp2-7:arm64 (2.3.0-2+deb10u1) ... Setting up libthai-data (0.1.28-2) ... Setting up libgirepository-1.0-1:arm64 (1.58.3-2) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up libwxbase3.0-0v5:arm64 (3.0.4+dfsg-8) ... Setting up libjson-glib-1.0-common (1.4.4-2) ... Setting up libatk1.0-0:arm64 (2.30.0-2) ... Setting up libkrb5-3:arm64 (1.17-3) ... Setting up libtiff5:arm64 (4.1.0+git191117-2~deb10u1) ... Setting up libwayland-egl1:arm64 (1.16.0-1) ... Setting up libmpdec2:arm64 (2.4.2-2) ... Setting up libhunspell-1.7-0:arm64 (1.7.0-2) ... Setting up glib-networking-common (2.58.0-2+deb10u2) ... Setting up libsamplerate0:arm64 (0.1.9-2) ... Setting up openssl (1.1.1d-0+deb10u3) ... Setting up libwebpmux3:arm64 (0.6.1-2) ... Setting up libbsd0:arm64 (0.9.1-2) ... Setting up libdrm-common (2.4.97-1) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up readline-common (7.0-5) ... Setting up libicu-dev:arm64 (63.1-6+deb10u1) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Setting up iso-codes (4.2-1) ... Setting up libgudev-1.0-0:arm64 (232-2) ... Setting up libsecret-common (0.18.7-1) ... Setting up libgstreamer1.0-0:arm64 (1.14.4-1) ... Setcap worked! gst-ptp-helper is not suid! Setting up libmp3lame0:arm64 (3.100-2+b1) ... Setting up libvpx5:arm64 (1.7.0-3+deb10u1) ... Setting up libvorbisenc2:arm64 (1.3.6-2) ... Setting up libreadline7:arm64 (7.0-5) ... Setting up libiec61883-0:arm64 (1.2.0-3) ... Setting up libxkbcommon0:arm64 (0.8.2-1) ... Setting up libwayland-client0:arm64 (1.16.0-1) ... Setting up x11proto-dev (2018.4-4) ... Setting up libavc1394-0:arm64 (0.5.4-5) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up wx-common (3.0.4+dfsg-8) ... Setting up glib-networking-services (2.58.0-2+deb10u2) ... Setting up libblkid-dev:arm64 (2.33.1-0.1) ... Setting up libice6:arm64 (2:1.0.9-2) ... Setting up libxdmcp6:arm64 (1:1.1.2-3) ... Setting up libpython3.7-stdlib:arm64 (3.7.3-2+deb10u2) ... Setting up libxcb1:arm64 (1.13.1-2) ... Setting up libtag1v5-vanilla:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ... Setting up libxcb-xfixes0:arm64 (1.13.1-2) ... Setting up libxau-dev:arm64 (1:1.0.8-1+b2) ... Setting up libcaca0:arm64 (0.99.beta19-2.1) ... Setting up libwoff1:arm64 (1.0.2-1) ... Setting up libice-dev:arm64 (2:1.0.9-2) ... Setting up libpython3.7:arm64 (3.7.3-2+deb10u2) ... Setting up dictionaries-common (1.28.1) ... Setting up libtool (2.4.6-9) ... Setting up libxcb-render0:arm64 (1.13.1-2) ... Setting up libxshmfence-dev:arm64 (1.3-1) ... Setting up libpcre3-dev:arm64 (2:8.39-12) ... Setting up x11proto-randr-dev (2018.4-4) ... Setting up libfribidi-dev:arm64 (1.0.5-3.1+deb10u1) ... Setting up libpython3.7-dev:arm64 (3.7.3-2+deb10u2) ... Setting up libxcb-glx0:arm64 (1.13.1-2) ... Setting up libwebpdemux2:arm64 (0.6.1-2) ... Setting up libxkbcommon-dev:arm64 (0.8.2-1) ... Setting up libedit2:arm64 (3.1-20181209-1) ... Setting up libpng-dev:arm64 (1.6.36-6) ... Setting up libxcb-shape0:arm64 (1.13.1-2) ... Setting up libavahi-common3:arm64 (0.7-4+b1) ... Setting up libjavascriptcoregtk-4.0-18:arm64 (2.28.3-2~deb10u1) ... Setting up libglib2.0-bin (2.58.3-2+deb10u2) ... Setting up m4 (1.4.18-2) ... Setting up libgstreamer-plugins-base1.0-0:arm64 (1.14.4-2) ... Setting up libwxbase3.0-dev:arm64 (3.0.4+dfsg-8) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/wx/config/base-unicode-3.0 to provide /usr/bin/wx-config (wx-config) in auto mode Setting up libxcb-shm0:arm64 (1.13.1-2) ... Setting up libllvm6.0:arm64 (1:6.0.1-10) ... Setting up x11proto-xinerama-dev (2018.4-4) ... Setting up libclang1-6.0:arm64 (1:6.0.1-10) ... Setting up libjson-glib-1.0-0:arm64 (1.4.4-2) ... Setting up libpython2.7-stdlib:arm64 (2.7.16-2+deb10u1) ... Setting up libxcb-present0:arm64 (1.13.1-2) ... Setting up libv4l-0:arm64 (1.16.3-3) ... Setting up libthai0:arm64 (0.1.28-2) ... Setting up ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 128 added, 0 removed; done. Setting up dbus-user-session (1.12.20-0+deb10u1) ... Setting up libxdmcp-dev:arm64 (1:1.1.2-3) ... Setting up libwayland-bin (1.16.0-1) ... Setting up libsecret-1-0:arm64 (0.18.7-1) ... Setting up libblas3:arm64 (3.8.0-2) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode Setting up doxygen (1.8.13-10) ... Setting up x11proto-damage-dev (1:2018.4-4) ... Setting up x11proto-composite-dev (1:2018.4-4) ... Setting up libfreetype6:arm64 (2.9.1-3+deb10u1) ... Setting up libdbus-1-dev:arm64 (1.12.20-0+deb10u1) ... Setting up libxcb-sync1:arm64 (1.13.1-2) ... Setting up x11proto-core-dev (2018.4-4) ... Setting up shared-mime-info (1.10-1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libgssapi-krb5-2:arm64 (1.17-3) ... Setting up x11proto-input-dev (2018.4-4) ... Setting up libcroco3:arm64 (0.6.12-3) ... Setting up ucf (3.0038+nmu1) ... Setting up gir1.2-glib-2.0:arm64 (1.58.3-2) ... Setting up aspell (0.60.7~20110707-6) ... Setting up autoconf (2.69-11) ... Setting up libxcb-dri2-0:arm64 (1.13.1-2) ... Setting up x11proto-xf86vidmode-dev (2018.4-4) ... Setting up libjack-jackd2-0:arm64 (1.9.12~dfsg-2) ... Setting up x11proto-xext-dev (2018.4-4) ... Setting up libdrm2:arm64 (2.4.97-1) ... Setting up dwz (0.12-3) ... Setting up libtag1v5:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ... Setting up groff-base (1.22.4-3) ... Setting up libwayland-cursor0:arm64 (1.16.0-1) ... Setting up libxcb-randr0:arm64 (1.13.1-2) ... Setting up libxslt1.1:arm64 (1.1.32-2.2~deb10u1) ... Setting up libllvm7:arm64 (1:7.0.1-8) ... Setting up libx11-6:arm64 (2:1.6.7-1) ... Setting up libharfbuzz0b:arm64 (2.3.1-1) ... Setting up libxkbfile1:arm64 (1:1.0.9-2+b11) ... Setting up x11proto-record-dev (2018.4-4) ... Setting up x11proto-fixes-dev (1:2018.4-4) ... Setting up libxcomposite1:arm64 (1:0.4.4-2) ... Setting up libsm6:arm64 (2:1.2.3-1) ... Setting up libxfont2:arm64 (1:2.0.3-1) ... Setting up libavahi-client3:arm64 (0.7-4+b1) ... Setting up libmount-dev:arm64 (2.33.1-0.1) ... Setting up libxmuu1:arm64 (2:1.1.2-2+b3) ... Setting up libpython3-stdlib:arm64 (3.7.3-1) ... Setting up libaa1:arm64 (1.4p5-46) ... Setting up libdrm-amdgpu1:arm64 (2.4.97-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libxcb-dri3-0:arm64 (1.13.1-2) ... Setting up python3.7 (3.7.3-2+deb10u2) ... Setting up libpython2.7:arm64 (2.7.16-2+deb10u1) ... Setting up liblapack3:arm64 (3.8.0-2) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode Setting up libpython2.7-dev:arm64 (2.7.16-2+deb10u1) ... Setting up libdrm-nouveau2:arm64 (2.4.97-1) ... Setting up gettext (0.19.8.1-9) ... Setting up libharfbuzz-icu0:arm64 (2.3.1-1) ... Setting up libdrm-etnaviv1:arm64 (2.4.97-1) ... Setting up libpython3-dev:arm64 (3.7.3-1) ... Setting up libxcb1-dev:arm64 (1.13.1-2) ... Setting up libxpm4:arm64 (1:3.5.12-1) ... Setting up python2.7 (2.7.16-2+deb10u1) ... Setting up libxrender1:arm64 (1:0.9.10-1) ... Setting up libgbm1:arm64 (18.3.6-2+deb10u1) ... Setting up libpython2-stdlib:arm64 (2.7.16-1) ... Setting up gir1.2-atk-1.0:arm64 (2.30.0-2) ... Setting up libsm-dev:arm64 (2:1.2.3-1) ... Setting up libselinux1-dev:arm64 (2.8-1+b1) ... Setting up libdrm-radeon1:arm64 (2.4.97-1) ... Setting up fontconfig-config (2.13.1-2) ... Setting up libgl1-mesa-dri:arm64 (18.3.6-2+deb10u1) ... Setting up aspell-en (2018.04.16-0-1) ... Setting up libx11-dev:arm64 (2:1.6.7-1) ... Setting up libenchant1c2a:arm64 (1.6.0-11.1+b1) ... Setting up libxext6:arm64 (2:1.3.3-1+b2) ... Setting up libxcb-dri3-dev:arm64 (1.13.1-2) ... Setting up dconf-service (0.30.1-2) ... Setting up python3 (3.7.3-1) ... Setting up libharfbuzz-gobject0:arm64 (2.3.1-1) ... Setting up libatspi2.0-0:arm64 (2.30.0-7) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer -> /lib/systemd/system/man-db.timer. Setting up libwayland-dev:arm64 (1.16.0-1) ... Setting up gir1.2-harfbuzz-0.0:arm64 (2.3.1-1) ... Setting up python2 (2.7.16-1) ... Setting up python3.7-dev (3.7.3-2+deb10u2) ... Setting up libfreetype6-dev:arm64 (2.9.1-3+deb10u1) ... Setting up libxxf86vm1:arm64 (1:1.1.4-1+b2) ... Setting up python3-atomicwrites (1.1.5-2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up python3-six (1.12.0-1) ... Setting up libatk-bridge2.0-0:arm64 (2.30.0-5) ... Setting up libxcb-shm0-dev:arm64 (1.13.1-2) ... Setting up python3-pil:arm64 (5.4.1-2+deb10u2) ... Setting up libpython-stdlib:arm64 (2.7.16-1) ... Setting up python3-pypdf2 (1.26.0-2) ... Setting up libegl-mesa0:arm64 (18.3.6-2+deb10u1) ... Setting up libxcb-dri2-0-dev:arm64 (1.13.1-2) ... Setting up python3-certifi (2018.8.24-1) ... Setting up libxfixes3:arm64 (1:5.0.3-1) ... Setting up libpython3-all-dev:arm64 (3.7.3-1) ... Setting up libgdk-pixbuf2.0-0:arm64 (2.38.1+dfsg-1) ... Setting up libxinerama1:arm64 (2:1.1.4-2) ... Setting up libxv1:arm64 (2:1.0.11-1) ... Setting up python3-idna (2.6-1) ... Setting up libxrandr2:arm64 (2:1.5.1-1) ... Setting up libdrm-freedreno1:arm64 (2.4.97-1) ... Setting up libxcb-render0-dev:arm64 (1.13.1-2) ... Setting up libxcb-glx0-dev:arm64 (1.13.1-2) ... Setting up libxt6:arm64 (1:1.1.5-1+b3) ... Setting up libdrm-tegra0:arm64 (2.4.97-1) ... Setting up python3-urllib3 (1.24.1-1) ... Setting up python3-pluggy (0.8.0-1) ... Setting up libxcb-shape0-dev:arm64 (1.13.1-2) ... Setting up libxext-dev:arm64 (2:1.3.3-1+b2) ... Setting up libcups2:arm64 (2.2.10-6+deb10u3) ... Setting up xauth (1:1.0.10-1) ... Setting up libgdk-pixbuf2.0-bin (2.38.1+dfsg-1) ... Setting up libegl1:arm64 (1.1.0-1) ... Setting up libxcb-sync-dev:arm64 (1.13.1-2) ... Setting up libpython2-dev:arm64 (2.7.16-1) ... Setting up libxcb-xfixes0-dev:arm64 (1.13.1-2) ... Setting up libfontconfig1:arm64 (2.13.1-2) ... Setting up python3-lib2to3 (3.7.3-1) ... Setting up python (2.7.16-1) ... Setting up libxrender-dev:arm64 (1:0.9.10-1) ... Setting up python3-apipkg (1.5-2) ... Setting up python3-sip (4.19.14+dfsg-2) ... Setting up python2.7-dev (2.7.16-2+deb10u1) ... Setting up python3-pkg-resources (40.8.0-1) ... Setting up python3-distutils (3.7.3-1) ... Setting up dh-python (3.20190308) ... Setting up python3-more-itertools (4.2.0-1) ... Setting up libglib2.0-dev-bin (2.58.3-2+deb10u2) ... Setting up python-enum34 (1.1.6-2) ... Setting up python3-attr (18.2.0-1) ... Setting up gtk-update-icon-cache (3.24.5-1) ... Setting up libx11-xcb-dev:arm64 (2:1.6.7-1) ... Setting up fontconfig (2.13.1-2) ... Regenerating fonts cache... done. Setting up libdrm-dev:arm64 (2.4.97-1) ... Setting up libxft2:arm64 (2.3.2-2) ... Setting up libxmu6:arm64 (2:1.1.2-2+b3) ... Setting up libfontconfig1-dev:arm64 (2.13.1-2) ... Setting up libxdamage1:arm64 (1:1.1.4-3+b3) ... Setting up python2-dev (2.7.16-1) ... Setting up python3-setuptools (40.8.0-1) ... Setting up libxi6:arm64 (2:1.7.9-1) ... Setting up dconf-gsettings-backend:arm64 (0.30.1-2) ... Setting up python3-py (1.7.0-2) ... Setting up gir1.2-gdkpixbuf-2.0:arm64 (2.38.1+dfsg-1) ... Setting up python-pkg-resources (40.8.0-1) ... Setting up python3-pytest (3.10.1-2) ... Setting up libxtst6:arm64 (2:1.2.3-1) ... Setting up po-debconf (1.0.21) ... Setting up libxxf86vm-dev:arm64 (1:1.1.4-1+b2) ... Setting up libxcursor1:arm64 (1:1.1.15-2) ... Setting up libpango-1.0-0:arm64 (1.42.4-8~deb10u1) ... Setting up python3-all (3.7.3-1) ... Setting up python-pil:arm64 (5.4.1-2+deb10u2) ... Setting up libxaw7:arm64 (2:1.0.13-1+b2) ... Setting up python-all (2.7.16-1) ... Setting up python-attr (18.2.0-1) ... Setting up python-certifi (2018.8.24-1) ... Setting up libcairo2:arm64 (1.16.0-4) ... Setting up python-atomicwrites (1.1.5-2) ... Setting up libpython-dev:arm64 (2.7.16-1) ... Setting up python-six (1.12.0-1) ... Setting up libxfixes-dev:arm64 (1:5.0.3-1) ... Setting up python3-pytest-forked (1.0.1-1) ... Setting up python-more-itertools (4.2.0-1) ... Setting up libxrandr-dev:arm64 (2:1.5.1-1) ... Setting up python3-chardet (3.0.4-3) ... Setting up libglib2.0-dev:arm64 (2.58.3-2+deb10u2) ... Setting up libxcb-randr0-dev:arm64 (1.13.1-2) ... Setting up python-pluggy (0.8.0-1) ... Setting up python-pypdf2 (1.26.0-2) ... Setting up python-idna (2.6-1) ... Setting up libnotify4:arm64 (0.7.7-4) ... Setting up libxcb-present-dev:arm64 (1.13.1-2) ... Setting up python3-dev (3.7.3-1) ... Setting up python3-requests (2.21.0-1) ... Setting up python-setuptools (40.8.0-1) ... Setting up libxinerama-dev:arm64 (2:1.1.4-2) ... Setting up python3-numpy (1:1.16.2-1) ... Setting up python-apipkg (1.5-2) ... Setting up python-funcsigs (1.0.2-4) ... Setting up python-scandir (1.9.0-2) ... Setting up libtheora0:arm64 (1.1.1+dfsg.1-15) ... Setting up mesa-common-dev:arm64 (18.3.6-2+deb10u1) ... Setting up python-chardet (3.0.4-3) ... Setting up libcairo-gobject2:arm64 (1.16.0-4) ... Setting up libpangoft2-1.0-0:arm64 (1.42.4-8~deb10u1) ... Setting up libxi-dev:arm64 (2:1.7.9-1) ... Setting up python3-execnet (1.5.0-4) ... Setting up libgtk-3-common (3.24.5-1) ... Setting up libatk1.0-dev:arm64 (2.30.0-2) ... Setting up python-py (1.7.0-2) ... Setting up libpangocairo-1.0-0:arm64 (1.42.4-8~deb10u1) ... Setting up python-sip (4.19.14+dfsg-2) ... Setting up python-dev (2.7.16-1) ... Setting up libxft-dev:arm64 (2.3.2-2) ... Setting up libxtst-dev:arm64 (2:1.2.3-1) ... Setting up libxdamage-dev:arm64 (1:1.1.4-3+b3) ... Setting up python3-all-dev (3.7.3-1) ... Setting up libcairo-script-interpreter2:arm64 (1.16.0-4) ... Setting up gsettings-desktop-schemas (3.28.1-1) ... Setting up python-urllib3 (1.24.1-1) ... Setting up libharfbuzz-dev:arm64 (2.3.1-1) ... Setting up gir1.2-freedesktop:arm64 (1.58.3-2) ... Setting up libglx-mesa0:arm64 (18.3.6-2+deb10u1) ... Setting up gstreamer1.0-x:arm64 (1.14.4-2) ... Setting up python-sip-dev (4.19.14+dfsg-2) ... Setting up libpangoxft-1.0-0:arm64 (1.42.4-8~deb10u1) ... Setting up python3-pytest-xdist (1.26.1-1) ... Setting up python3-pytest-timeout (1.3.3-1) ... Setting up libglx0:arm64 (1.1.0-1) ... Setting up libpython-all-dev:arm64 (2.7.16-1) ... Setting up python-numpy (1:1.16.2-1) ... Setting up libxcomposite-dev:arm64 (1:0.4.4-2) ... Setting up python3-sip-dev (4.19.14+dfsg-2) ... Setting up libxcursor-dev:arm64 (1:1.1.15-2) ... Setting up x11-xkb-utils (7.7+4) ... Setting up pango1.0-tools (1.42.4-8~deb10u1) ... Setting up python-pathlib2 (2.3.3-1) ... Setting up gir1.2-atspi-2.0:arm64 (2.30.0-7) ... Setting up libgdk-pixbuf2.0-dev:arm64 (2.38.1+dfsg-1) ... Setting up librsvg2-2:arm64 (2.44.10-2.1) ... Setting up gir1.2-pango-1.0:arm64 (1.42.4-8~deb10u1) ... Setting up gstreamer1.0-plugins-base:arm64 (1.14.4-2) ... Setting up libgl1:arm64 (1.1.0-1) ... Setting up python-pytest (3.10.1-2) ... Setting up python-pytest-forked (1.0.1-1) ... Setting up libshout3:arm64 (2.4.1-2) ... Setting up librsvg2-common:arm64 (2.44.10-2.1) ... Setting up python-execnet (1.5.0-4) ... Setting up libcairo2-dev:arm64 (1.16.0-4) ... Setting up python-requests (2.21.0-1) ... Setting up libglu1-mesa:arm64 (9.0.0-2.1+b3) ... Setting up python-all-dev (2.7.16-1) ... Setting up xserver-common (2:1.20.4-1) ... Setting up glib-networking:arm64 (2.58.0-2+deb10u2) ... Setting up python-pytest-timeout (1.3.3-1) ... Setting up libatspi2.0-dev:arm64 (2.30.0-7) ... Setting up libsoup2.4-1:arm64 (2.64.2-2) ... Setting up gstreamer1.0-plugins-good:arm64 (1.14.4-1) ... Setting up xvfb (2:1.20.4-1) ... Setting up libglvnd-dev:arm64 (1.1.0-1) ... Setting up libatk-bridge2.0-dev:arm64 (2.30.0-5) ... Setting up python-pytest-xdist (1.26.1-1) ... Setting up libgstreamer-gl1.0-0:arm64 (1.14.4-2) ... Setting up adwaita-icon-theme (3.30.1-1) ... update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode Setting up libpango1.0-dev:arm64 (1.42.4-8~deb10u1) ... Setting up libgl1-mesa-dev:arm64 (18.3.6-2+deb10u1) ... Setting up libsoup-gnome2.4-1:arm64 (2.64.2-2) ... Setting up libegl1-mesa-dev:arm64 (18.3.6-2+deb10u1) ... Setting up librest-0.7-0:arm64 (0.8.1-1) ... Setting up libgtk-3-0:arm64 (3.24.5-1) ... Setting up libepoxy-dev:arm64 (1.5.3-0.1) ... Setting up gir1.2-gtk-3.0:arm64 (3.24.5-1) ... Setting up libwxgtk3.0-gtk3-0v5:arm64 (3.0.4+dfsg-8) ... Setting up libwxgtk-media3.0-gtk3-0v5:arm64 (3.0.4+dfsg-8) ... Setting up libglu1-mesa-dev:arm64 (9.0.0-2.1+b3) ... Setting up libwebkit2gtk-4.0-37:arm64 (2.28.3-2~deb10u1) ... Setting up libgtk-3-dev:arm64 (3.24.5-1) ... Setting up libwxgtk3.0-gtk3-dev:arm64 (3.0.4+dfsg-8) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/wx/config/gtk3-unicode-3.0 to provide /usr/bin/wx-config (wx-config) in auto mode Setting up libwxgtk-media3.0-gtk3-dev:arm64 (3.0.4+dfsg-8) ... Setting up libwxgtk-webview3.0-gtk3-0v5:arm64 (3.0.4+dfsg-8) ... Setting up libwxgtk-webview3.0-gtk3-dev:arm64 (3.0.4+dfsg-8) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for systemd (241-7~deb10u4) ... Processing triggers for dictionaries-common (1.28.1) ... aspell-autobuildhash: processing: en [en-common]. aspell-autobuildhash: processing: en [en-variant_0]. aspell-autobuildhash: processing: en [en-variant_1]. aspell-autobuildhash: processing: en [en-variant_2]. aspell-autobuildhash: processing: en [en-w_accents-only]. aspell-autobuildhash: processing: en [en-wo_accents-only]. aspell-autobuildhash: processing: en [en_AU-variant_0]. aspell-autobuildhash: processing: en [en_AU-variant_1]. aspell-autobuildhash: processing: en [en_AU-w_accents-only]. aspell-autobuildhash: processing: en [en_AU-wo_accents-only]. aspell-autobuildhash: processing: en [en_CA-variant_0]. aspell-autobuildhash: processing: en [en_CA-variant_1]. aspell-autobuildhash: processing: en [en_CA-w_accents-only]. aspell-autobuildhash: processing: en [en_CA-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only]. aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only]. aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-variant_0]. aspell-autobuildhash: processing: en [en_GB-variant_1]. aspell-autobuildhash: processing: en [en_US-w_accents-only]. aspell-autobuildhash: processing: en [en_US-wo_accents-only]. Processing triggers for ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Processing triggers for libgdk-pixbuf2.0-0:arm64 (2.38.1+dfsg-1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/wxpython4.0-4.0.4+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package wxpython4.0 dpkg-buildpackage: info: source version 4.0.4+dfsg-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Scott Talbert dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean --with python2,python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:217: python2.7 build.py clean Will build using: "/usr/bin/python2.7" 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0] Python's architecture is 64bit cfg.VERSION: 4.0.4 Running command: clean_wx Finished command: clean_wx (0.0s) Running command: clean_py Finished command: clean_py (0.3s) Done! I: pybuild base:217: python3.7 build.py clean Will build using: "/usr/bin/python3.7" 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] Python's architecture is 64bit cfg.VERSION: 4.0.4 Running command: clean_wx Finished command: clean_wx (0.0s) Running command: clean_py Finished command: clean_py (0.4s) Done! dh_clean -O--buildsystem=pybuild debian/rules build dh build --with python2,python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild base:217: python2.7 -u build.py dox touch etg --nodoc sip build_py --use_syswx --gtk3 bdist_egg Will build using: "/usr/bin/python2.7" 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0] Python's architecture is 64bit cfg.VERSION: 4.0.4 Running command: dox bash ./regen.sh xml Finished command: dox (38.440s) Running command: touch touch etg/*.py Finished command: touch (0.9s) Running command: etg "/usr/bin/python2.7" etg/_core.py --sip --nodoc "/usr/bin/python2.7" etg/_xrc.py --sip --nodoc "/usr/bin/python2.7" etg/_stc.py --sip --nodoc "/usr/bin/python2.7" etg/_xml.py --sip --nodoc "/usr/bin/python2.7" etg/_aui.py --sip --nodoc "/usr/bin/python2.7" etg/_adv.py --sip --nodoc "/usr/bin/python2.7" etg/_grid.py --sip --nodoc "/usr/bin/python2.7" etg/_dataview.py --sip --nodoc "/usr/bin/python2.7" etg/_propgrid.py --sip --nodoc "/usr/bin/python2.7" etg/_glcanvas.py --sip --nodoc "/usr/bin/python2.7" etg/_msw.py --sip --nodoc "/usr/bin/python2.7" etg/_webkit.py --sip --nodoc "/usr/bin/python2.7" etg/_media.py --sip --nodoc "/usr/bin/python2.7" etg/_ribbon.py --sip --nodoc "/usr/bin/python2.7" etg/_html2.py --sip --nodoc "/usr/bin/python2.7" etg/_html.py --sip --nodoc "/usr/bin/python2.7" etg/_richtext.py --sip --nodoc "/usr/bin/python2.7" etg/defs.py --sip --nodoc "/usr/bin/python2.7" etg/debug.py --sip --nodoc "/usr/bin/python2.7" etg/object.py --sip --nodoc "/usr/bin/python2.7" etg/clntdatactnr.py --sip --nodoc "/usr/bin/python2.7" etg/wxdatetime.py --sip --nodoc "/usr/bin/python2.7" etg/stopwatch.py --sip --nodoc "/usr/bin/python2.7" etg/windowid.py --sip --nodoc "/usr/bin/python2.7" etg/platinfo.py --sip --nodoc "/usr/bin/python2.7" etg/vidmode.py --sip --nodoc "/usr/bin/python2.7" etg/display.py --sip --nodoc "/usr/bin/python2.7" etg/intl.py --sip --nodoc "/usr/bin/python2.7" etg/translation.py --sip --nodoc "/usr/bin/python2.7" etg/cmndata.py --sip --nodoc "/usr/bin/python2.7" etg/gdicmn.py --sip --nodoc "/usr/bin/python2.7" etg/geometry.py --sip --nodoc "/usr/bin/python2.7" etg/affinematrix2d.py --sip --nodoc "/usr/bin/python2.7" etg/position.py --sip --nodoc "/usr/bin/python2.7" etg/colour.py --sip --nodoc "/usr/bin/python2.7" etg/stream.py --sip --nodoc "/usr/bin/python2.7" etg/filesys.py --sip --nodoc "/usr/bin/python2.7" etg/image.py --sip --nodoc "/usr/bin/python2.7" etg/gdiobj.py --sip --nodoc "/usr/bin/python2.7" etg/bitmap.py --sip --nodoc "/usr/bin/python2.7" etg/icon.py --sip --nodoc "/usr/bin/python2.7" etg/iconloc.py --sip --nodoc "/usr/bin/python2.7" etg/iconbndl.py --sip --nodoc "/usr/bin/python2.7" etg/font.py --sip --nodoc "/usr/bin/python2.7" etg/fontutil.py --sip --nodoc "/usr/bin/python2.7" etg/pen.py --sip --nodoc "/usr/bin/python2.7" etg/brush.py --sip --nodoc "/usr/bin/python2.7" etg/cursor.py --sip --nodoc "/usr/bin/python2.7" etg/region.py --sip --nodoc "/usr/bin/python2.7" etg/dc.py --sip --nodoc "/usr/bin/python2.7" etg/dcclient.py --sip --nodoc "/usr/bin/python2.7" etg/dcmemory.py --sip --nodoc "/usr/bin/python2.7" etg/dcbuffer.py --sip --nodoc "/usr/bin/python2.7" etg/dcscreen.py --sip --nodoc "/usr/bin/python2.7" etg/dcgraph.py --sip --nodoc "/usr/bin/python2.7" etg/dcmirror.py --sip --nodoc "/usr/bin/python2.7" etg/dcprint.py --sip --nodoc "/usr/bin/python2.7" etg/dcps.py --sip --nodoc "/usr/bin/python2.7" etg/dcsvg.py --sip --nodoc "/usr/bin/python2.7" etg/metafile.py --sip --nodoc "/usr/bin/python2.7" etg/graphics.py --sip --nodoc "/usr/bin/python2.7" etg/imaglist.py --sip --nodoc "/usr/bin/python2.7" etg/overlay.py --sip --nodoc "/usr/bin/python2.7" etg/palette.py --sip --nodoc "/usr/bin/python2.7" etg/renderer.py --sip --nodoc "/usr/bin/python2.7" etg/rawbmp.py --sip --nodoc "/usr/bin/python2.7" etg/access.py --sip --nodoc "/usr/bin/python2.7" etg/accel.py --sip --nodoc "/usr/bin/python2.7" etg/log.py --sip --nodoc "/usr/bin/python2.7" etg/dataobj.py --sip --nodoc "/usr/bin/python2.7" etg/dnd.py --sip --nodoc "/usr/bin/python2.7" etg/clipbrd.py --sip --nodoc "/usr/bin/python2.7" etg/config.py --sip --nodoc "/usr/bin/python2.7" etg/tracker.py --sip --nodoc "/usr/bin/python2.7" etg/kbdstate.py --sip --nodoc "/usr/bin/python2.7" etg/mousestate.py --sip --nodoc "/usr/bin/python2.7" etg/tooltip.py --sip --nodoc "/usr/bin/python2.7" etg/layout.py --sip --nodoc "/usr/bin/python2.7" etg/event.py --sip --nodoc WARNING: Method wxCloseEvent::Veto already exists in C++ class API, can not create a property. WARNING: Method wxHelpEvent::Origin already exists in C++ class API, can not create a property. "/usr/bin/python2.7" etg/pyevent.py --sip --nodoc "/usr/bin/python2.7" etg/sizer.py --sip --nodoc "/usr/bin/python2.7" etg/gbsizer.py --sip --nodoc "/usr/bin/python2.7" etg/wrapsizer.py --sip --nodoc "/usr/bin/python2.7" etg/stdpaths.py --sip --nodoc "/usr/bin/python2.7" etg/eventfilter.py --sip --nodoc "/usr/bin/python2.7" etg/evtloop.py --sip --nodoc "/usr/bin/python2.7" etg/apptrait.py --sip --nodoc "/usr/bin/python2.7" etg/app.py --sip --nodoc "/usr/bin/python2.7" etg/timer.py --sip --nodoc "/usr/bin/python2.7" etg/window.py --sip --nodoc "/usr/bin/python2.7" etg/validate.py --sip --nodoc "/usr/bin/python2.7" etg/panel.py --sip --nodoc "/usr/bin/python2.7" etg/menuitem.py --sip --nodoc "/usr/bin/python2.7" etg/menu.py --sip --nodoc "/usr/bin/python2.7" etg/scrolwin.py --sip --nodoc "/usr/bin/python2.7" etg/vscroll.py --sip --nodoc "/usr/bin/python2.7" etg/control.py --sip --nodoc "/usr/bin/python2.7" etg/ctrlsub.py --sip --nodoc "/usr/bin/python2.7" etg/statbmp.py --sip --nodoc "/usr/bin/python2.7" etg/stattext.py --sip --nodoc "/usr/bin/python2.7" etg/statbox.py --sip --nodoc "/usr/bin/python2.7" etg/statusbar.py --sip --nodoc "/usr/bin/python2.7" etg/choice.py --sip --nodoc "/usr/bin/python2.7" etg/anybutton.py --sip --nodoc "/usr/bin/python2.7" etg/button.py --sip --nodoc "/usr/bin/python2.7" etg/bmpbuttn.py --sip --nodoc "/usr/bin/python2.7" etg/withimage.py --sip --nodoc "/usr/bin/python2.7" etg/bookctrl.py --sip --nodoc "/usr/bin/python2.7" etg/notebook.py --sip --nodoc "/usr/bin/python2.7" etg/splitter.py --sip --nodoc "/usr/bin/python2.7" etg/collpane.py --sip --nodoc "/usr/bin/python2.7" etg/statline.py --sip --nodoc "/usr/bin/python2.7" etg/textcompleter.py --sip --nodoc "/usr/bin/python2.7" etg/textentry.py --sip --nodoc "/usr/bin/python2.7" etg/textctrl.py --sip --nodoc "/usr/bin/python2.7" etg/combobox.py --sip --nodoc "/usr/bin/python2.7" etg/checkbox.py --sip --nodoc "/usr/bin/python2.7" etg/listbox.py --sip --nodoc "/usr/bin/python2.7" etg/checklst.py --sip --nodoc "/usr/bin/python2.7" etg/gauge.py --sip --nodoc "/usr/bin/python2.7" etg/headercol.py --sip --nodoc "/usr/bin/python2.7" etg/headerctrl.py --sip --nodoc "/usr/bin/python2.7" etg/srchctrl.py --sip --nodoc "/usr/bin/python2.7" etg/radiobox.py --sip --nodoc "/usr/bin/python2.7" etg/radiobut.py --sip --nodoc "/usr/bin/python2.7" etg/slider.py --sip --nodoc "/usr/bin/python2.7" etg/spinbutt.py --sip --nodoc "/usr/bin/python2.7" etg/spinctrl.py --sip --nodoc "/usr/bin/python2.7" etg/tglbtn.py --sip --nodoc "/usr/bin/python2.7" etg/scrolbar.py --sip --nodoc "/usr/bin/python2.7" etg/toolbar.py --sip --nodoc "/usr/bin/python2.7" etg/infobar.py --sip --nodoc "/usr/bin/python2.7" etg/listctrl.py --sip --nodoc "/usr/bin/python2.7" etg/treectrl.py --sip --nodoc "/usr/bin/python2.7" etg/pickers.py --sip --nodoc "/usr/bin/python2.7" etg/filectrl.py --sip --nodoc "/usr/bin/python2.7" etg/combo.py --sip --nodoc "/usr/bin/python2.7" etg/choicebk.py --sip --nodoc "/usr/bin/python2.7" etg/listbook.py --sip --nodoc "/usr/bin/python2.7" etg/toolbook.py --sip --nodoc "/usr/bin/python2.7" etg/treebook.py --sip --nodoc "/usr/bin/python2.7" etg/simplebook.py --sip --nodoc "/usr/bin/python2.7" etg/vlbox.py --sip --nodoc "/usr/bin/python2.7" etg/nonownedwnd.py --sip --nodoc "/usr/bin/python2.7" etg/toplevel.py --sip --nodoc "/usr/bin/python2.7" etg/dialog.py --sip --nodoc "/usr/bin/python2.7" etg/dirdlg.py --sip --nodoc "/usr/bin/python2.7" etg/dirctrl.py --sip --nodoc "/usr/bin/python2.7" etg/filedlg.py --sip --nodoc "/usr/bin/python2.7" etg/frame.py --sip --nodoc "/usr/bin/python2.7" etg/msgdlg.py --sip --nodoc "/usr/bin/python2.7" etg/richmsgdlg.py --sip --nodoc "/usr/bin/python2.7" etg/progdlg.py --sip --nodoc "/usr/bin/python2.7" etg/popupwin.py --sip --nodoc "/usr/bin/python2.7" etg/tipwin.py --sip --nodoc "/usr/bin/python2.7" etg/colordlg.py --sip --nodoc "/usr/bin/python2.7" etg/choicdlg.py --sip --nodoc "/usr/bin/python2.7" etg/fdrepdlg.py --sip --nodoc "/usr/bin/python2.7" etg/mdi.py --sip --nodoc "/usr/bin/python2.7" etg/fontdlg.py --sip --nodoc WARNING: Method wxFontData::EnableEffects already exists in C++ class API, can not create a property. "/usr/bin/python2.7" etg/rearrangectrl.py --sip --nodoc "/usr/bin/python2.7" etg/minifram.py --sip --nodoc "/usr/bin/python2.7" etg/textdlg.py --sip --nodoc "/usr/bin/python2.7" etg/numdlg.py --sip --nodoc "/usr/bin/python2.7" etg/power.py --sip --nodoc "/usr/bin/python2.7" etg/utils.py --sip --nodoc "/usr/bin/python2.7" etg/process.py --sip --nodoc "/usr/bin/python2.7" etg/uiaction.py --sip --nodoc "/usr/bin/python2.7" etg/snglinst.py --sip --nodoc "/usr/bin/python2.7" etg/help.py --sip --nodoc "/usr/bin/python2.7" etg/cshelp.py --sip --nodoc "/usr/bin/python2.7" etg/settings.py --sip --nodoc "/usr/bin/python2.7" etg/sysopt.py --sip --nodoc "/usr/bin/python2.7" etg/artprov.py --sip --nodoc "/usr/bin/python2.7" etg/dragimag.py --sip --nodoc "/usr/bin/python2.7" etg/printfw.py --sip --nodoc "/usr/bin/python2.7" etg/printdlg.py --sip --nodoc "/usr/bin/python2.7" etg/mimetype.py --sip --nodoc "/usr/bin/python2.7" etg/busyinfo.py --sip --nodoc "/usr/bin/python2.7" etg/caret.py --sip --nodoc "/usr/bin/python2.7" etg/fontenum.py --sip --nodoc "/usr/bin/python2.7" etg/fontmap.py --sip --nodoc "/usr/bin/python2.7" etg/mousemanager.py --sip --nodoc "/usr/bin/python2.7" etg/filehistory.py --sip --nodoc "/usr/bin/python2.7" etg/cmdproc.py --sip --nodoc "/usr/bin/python2.7" etg/fswatcher.py --sip --nodoc "/usr/bin/python2.7" etg/preferences.py --sip --nodoc WARNING: Method wxStockPreferencesPage::Kind already exists in C++ class API, can not create a property. "/usr/bin/python2.7" etg/modalhook.py --sip --nodoc "/usr/bin/python2.7" etg/unichar.py --sip --nodoc "/usr/bin/python2.7" etg/stockitem.py --sip --nodoc "/usr/bin/python2.7" etg/auiframemanager.py --sip --nodoc WARNING: Method wxAuiManagerEvent::Veto already exists in C++ class API, can not create a property. "/usr/bin/python2.7" etg/auidockart.py --sip --nodoc "/usr/bin/python2.7" etg/auibar.py --sip --nodoc "/usr/bin/python2.7" etg/auibook.py --sip --nodoc "/usr/bin/python2.7" etg/auitabmdi.py --sip --nodoc "/usr/bin/python2.7" etg/aboutdlg.py --sip --nodoc "/usr/bin/python2.7" etg/helpext.py --sip --nodoc "/usr/bin/python2.7" etg/commandlinkbutton.py --sip --nodoc "/usr/bin/python2.7" etg/dateevt.py --sip --nodoc "/usr/bin/python2.7" etg/datectrl.py --sip --nodoc "/usr/bin/python2.7" etg/calctrl.py --sip --nodoc "/usr/bin/python2.7" etg/hyperlink.py --sip --nodoc "/usr/bin/python2.7" etg/tipdlg.py --sip --nodoc "/usr/bin/python2.7" etg/taskbar.py --sip --nodoc "/usr/bin/python2.7" etg/sound.py --sip --nodoc "/usr/bin/python2.7" etg/joystick.py --sip --nodoc "/usr/bin/python2.7" etg/animate.py --sip --nodoc "/usr/bin/python2.7" etg/bannerwindow.py --sip --nodoc "/usr/bin/python2.7" etg/editlbox.py --sip --nodoc "/usr/bin/python2.7" etg/notifmsg.py --sip --nodoc "/usr/bin/python2.7" etg/splash.py --sip --nodoc "/usr/bin/python2.7" etg/sashwin.py --sip --nodoc "/usr/bin/python2.7" etg/laywin.py --sip --nodoc "/usr/bin/python2.7" etg/odcombo.py --sip --nodoc "/usr/bin/python2.7" etg/bmpcbox.py --sip --nodoc "/usr/bin/python2.7" etg/richtooltip.py --sip --nodoc "/usr/bin/python2.7" etg/timectrl.py --sip --nodoc "/usr/bin/python2.7" etg/wizard.py --sip --nodoc "/usr/bin/python2.7" etg/pseudodc.py --sip --nodoc "/usr/bin/python2.7" etg/propdlg.py --sip --nodoc "/usr/bin/python2.7" etg/grid.py --sip --nodoc "/usr/bin/python2.7" etg/dataview.py --sip --nodoc "/usr/bin/python2.7" etg/treelist.py --sip --nodoc "/usr/bin/python2.7" etg/propgriddefs.py --sip --nodoc "/usr/bin/python2.7" etg/propgridproperty.py --sip --nodoc "/usr/bin/python2.7" etg/propgrideditors.py --sip --nodoc "/usr/bin/python2.7" etg/propgridpagestate.py --sip --nodoc "/usr/bin/python2.7" etg/propgridiface.py --sip --nodoc "/usr/bin/python2.7" etg/propgrid.py --sip --nodoc "/usr/bin/python2.7" etg/propgridprops.py --sip --nodoc "/usr/bin/python2.7" etg/propgridadvprops.py --sip --nodoc "/usr/bin/python2.7" etg/propgridmanager.py --sip --nodoc "/usr/bin/python2.7" etg/axbase.py --sip --nodoc "/usr/bin/python2.7" etg/webkit.py --sip --nodoc "/usr/bin/python2.7" etg/mediactrl.py --sip --nodoc "/usr/bin/python2.7" etg/ribbon_control.py --sip --nodoc "/usr/bin/python2.7" etg/ribbon_page.py --sip --nodoc "/usr/bin/python2.7" etg/ribbon_panel.py --sip --nodoc "/usr/bin/python2.7" etg/ribbon_bar.py --sip --nodoc "/usr/bin/python2.7" etg/ribbon_art.py --sip --nodoc "/usr/bin/python2.7" etg/ribbon_buttonbar.py --sip --nodoc "/usr/bin/python2.7" etg/ribbon_gallery.py --sip --nodoc "/usr/bin/python2.7" etg/ribbon_toolbar.py --sip --nodoc "/usr/bin/python2.7" etg/webview.py --sip --nodoc "/usr/bin/python2.7" etg/htmldefs.py --sip --nodoc "/usr/bin/python2.7" etg/htmlcell.py --sip --nodoc "/usr/bin/python2.7" etg/htmlfilt.py --sip --nodoc "/usr/bin/python2.7" etg/htmltag.py --sip --nodoc "/usr/bin/python2.7" etg/htmlpars.py --sip --nodoc "/usr/bin/python2.7" etg/htmlwin.py --sip --nodoc "/usr/bin/python2.7" etg/htmlprint.py --sip --nodoc "/usr/bin/python2.7" etg/htmlwinpars.py --sip --nodoc "/usr/bin/python2.7" etg/helpdata.py --sip --nodoc "/usr/bin/python2.7" etg/helpfrm.py --sip --nodoc "/usr/bin/python2.7" etg/helpdlg.py --sip --nodoc "/usr/bin/python2.7" etg/helpwnd.py --sip --nodoc "/usr/bin/python2.7" etg/helpctrl.py --sip --nodoc "/usr/bin/python2.7" etg/htmllbox.py --sip --nodoc "/usr/bin/python2.7" etg/richtextbuffer.py --sip --nodoc "/usr/bin/python2.7" etg/richtextctrl.py --sip --nodoc "/usr/bin/python2.7" etg/richtexthtml.py --sip --nodoc "/usr/bin/python2.7" etg/richtextxml.py --sip --nodoc "/usr/bin/python2.7" etg/richtextprint.py --sip --nodoc "/usr/bin/python2.7" etg/richtextstyles.py --sip --nodoc "/usr/bin/python2.7" etg/richtextstyledlg.py --sip --nodoc "/usr/bin/python2.7" etg/richtextsymboldlg.py --sip --nodoc "/usr/bin/python2.7" etg/richtextformatdlg.py --sip --nodoc Finished command: etg (7m13.966s) Running command: sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmp_WQD12 -b sip/cpp/_core.sbf -X pycode_core:wx/core.py sip/gen/_core.sip sipAPI_core.h is a new file, copying... sip_corewxIntPtr.cpp is a new file, copying... sip_corewxUIntPtr.cpp is a new file, copying... sip_corewxExecuteEnv.cpp is a new file, copying... sip_corewxRefCounter.cpp is a new file, copying... sip_corewxObject.cpp is a new file, copying... sip_corewxClassInfo.cpp is a new file, copying... sip_corewxIntCArrayHolder.cpp is a new file, copying... sip_corewxStringCArrayHolder.cpp is a new file, copying... sip_corewxDashCArrayHolder.cpp is a new file, copying... sip_corewxString.cpp is a new file, copying... sip_corewxFileName.cpp is a new file, copying... sip_corewxArrayString.cpp is a new file, copying... sip_corewxArrayInt.cpp is a new file, copying... sip_corewxArrayDouble.cpp is a new file, copying... sip_corewxClientData.cpp is a new file, copying... sip_corewxClientDataContainer.cpp is a new file, copying... sip_corewxPyUserData.cpp is a new file, copying... sip_corewxPyBuffer.cpp is a new file, copying... sip_corewxMemoryBuffer.cpp is a new file, copying... sip_corewxCharBuffer.cpp is a new file, copying... sip_corewxMessageDialogButtonLabel.cpp is a new file, copying... sip_corewxStockGDI.cpp is a new file, copying... sip_corewxLongLong.cpp is a new file, copying... sip_corewxULongLong.cpp is a new file, copying... sip_corewxDateTime.cpp is a new file, copying... sip_corewxDateTimeTimeZone.cpp is a new file, copying... sip_corewxDateTimeTm.cpp is a new file, copying... sip_corewxDateSpan.cpp is a new file, copying... sip_corewxTimeSpan.cpp is a new file, copying... sip_corewxStopWatch.cpp is a new file, copying... sip_corewxIdManager.cpp is a new file, copying... sip_corewxWindowIDRef.cpp is a new file, copying... sip_corewxPlatformInfo.cpp is a new file, copying... sip_corewxLinuxDistributionInfo.cpp is a new file, copying... sip_corewxVideoMode.cpp is a new file, copying... sip_corewxArrayVideoModes.cpp is a new file, copying... sip_corewxDisplay.cpp is a new file, copying... sip_corewxLanguageInfo.cpp is a new file, copying... sip_corewxLocale.cpp is a new file, copying... sip_corewxMsgCatalog.cpp is a new file, copying... sip_corewxTranslations.cpp is a new file, copying... sip_corewxTranslationsLoader.cpp is a new file, copying... sip_corewxFileTranslationsLoader.cpp is a new file, copying... sip_corewxPageSetupDialogData.cpp is a new file, copying... sip_corewxPrintData.cpp is a new file, copying... sip_corewxPrintDialogData.cpp is a new file, copying... sip_corewxPoint.cpp is a new file, copying... sip_corewxSize.cpp is a new file, copying... sip_corewxRect.cpp is a new file, copying... sip_corewxRealPoint.cpp is a new file, copying... sip_corewxColourDatabase.cpp is a new file, copying... sip_corewxPointList_iterator.cpp is a new file, copying... sip_corewxPointList.cpp is a new file, copying... sip_corewxPoint2DDouble.cpp is a new file, copying... sip_corewxRect2DDouble.cpp is a new file, copying... sip_corewxMatrix2D.cpp is a new file, copying... sip_corewxAffineMatrix2DBase.cpp is a new file, copying... sip_corewxAffineMatrix2D.cpp is a new file, copying... sip_corewxPosition.cpp is a new file, copying... sip_corewxColour.cpp is a new file, copying... sip_corewxStreamBase.cpp is a new file, copying... sip_corewxInputStream.cpp is a new file, copying... sip_corewxOutputStream.cpp is a new file, copying... sip_corewxFileSystem.cpp is a new file, copying... sip_corewxFSFile.cpp is a new file, copying... sip_corewxFileSystemHandler.cpp is a new file, copying... sip_corewxMemoryFSHandler.cpp is a new file, copying... sip_corewxArchiveFSHandler.cpp is a new file, copying... sip_corewxFilterFSHandler.cpp is a new file, copying... sip_corewxInternetFSHandler.cpp is a new file, copying... sip_corewxImage.cpp is a new file, copying... sip_corewxImageHSVValue.cpp is a new file, copying... sip_corewxImageRGBValue.cpp is a new file, copying... sip_corewxImageHistogram.cpp is a new file, copying... sip_corewxImageHandler.cpp is a new file, copying... sip_corewxTIFFHandler.cpp is a new file, copying... sip_corewxGIFHandler.cpp is a new file, copying... sip_corewxIFFHandler.cpp is a new file, copying... sip_corewxJPEGHandler.cpp is a new file, copying... sip_corewxPCXHandler.cpp is a new file, copying... sip_corewxPNGHandler.cpp is a new file, copying... sip_corewxPNMHandler.cpp is a new file, copying... sip_corewxTGAHandler.cpp is a new file, copying... sip_corewxXPMHandler.cpp is a new file, copying... sip_corewxImageArray.cpp is a new file, copying... sip_corewxGDIObject.cpp is a new file, copying... sip_corewxBitmap.cpp is a new file, copying... sip_corewxMask.cpp is a new file, copying... sip_corewxIcon.cpp is a new file, copying... sip_corewxIconLocation.cpp is a new file, copying... sip_corewxIconBundle.cpp is a new file, copying... sip_corewxFontInfo.cpp is a new file, copying... sip_corewxFont.cpp is a new file, copying... sip_corewxFontList.cpp is a new file, copying... sip_corewxNativeFontInfo.cpp is a new file, copying... sip_corewxPen.cpp is a new file, copying... sip_corewxPenList.cpp is a new file, copying... sip_corewxBrush.cpp is a new file, copying... sip_corewxBrushList.cpp is a new file, copying... sip_corewxCursor.cpp is a new file, copying... sip_corewxRegionIterator.cpp is a new file, copying... sip_corewxRegion.cpp is a new file, copying... sip_corewxFontMetrics.cpp is a new file, copying... sip_corewxDC.cpp is a new file, copying... sip_corewxDCClipper.cpp is a new file, copying... sip_corewxDCBrushChanger.cpp is a new file, copying... sip_corewxDCPenChanger.cpp is a new file, copying... sip_corewxDCTextColourChanger.cpp is a new file, copying... sip_corewxDCFontChanger.cpp is a new file, copying... sip_corewxWindowDC.cpp is a new file, copying... sip_corewxClientDC.cpp is a new file, copying... sip_corewxPaintDC.cpp is a new file, copying... sip_corewxMemoryDC.cpp is a new file, copying... sip_corewxBufferedDC.cpp is a new file, copying... sip_corewxBufferedPaintDC.cpp is a new file, copying... sip_corewxAutoBufferedPaintDC.cpp is a new file, copying... sip_corewxScreenDC.cpp is a new file, copying... sip_corewxGCDC.cpp is a new file, copying... sip_corewxMirrorDC.cpp is a new file, copying... sip_corewxPrinterDC.cpp is a new file, copying... sip_corewxPostScriptDC.cpp is a new file, copying... sip_corewxSVGFileDC.cpp is a new file, copying... sip_corewxMetafile.cpp is a new file, copying... sip_corewxMetafileDC.cpp is a new file, copying... sip_corewxGraphicsObject.cpp is a new file, copying... sip_corewxGraphicsBitmap.cpp is a new file, copying... sip_corewxGraphicsBrush.cpp is a new file, copying... sip_corewxGraphicsFont.cpp is a new file, copying... sip_corewxGraphicsPen.cpp is a new file, copying... sip_corewxGraphicsContext.cpp is a new file, copying... sip_corewxGraphicsGradientStop.cpp is a new file, copying... sip_corewxGraphicsGradientStops.cpp is a new file, copying... sip_corewxGraphicsMatrix.cpp is a new file, copying... sip_corewxGraphicsPath.cpp is a new file, copying... sip_corewxGraphicsRenderer.cpp is a new file, copying... sip_corewxImageList.cpp is a new file, copying... sip_corewxOverlay.cpp is a new file, copying... sip_corewxDCOverlay.cpp is a new file, copying... sip_corewxPalette.cpp is a new file, copying... sip_corewxSplitterRenderParams.cpp is a new file, copying... sip_corewxHeaderButtonParams.cpp is a new file, copying... sip_corewxRendererNative.cpp is a new file, copying... sip_corewxDelegateRendererNative.cpp is a new file, copying... sip_corewxRendererVersion.cpp is a new file, copying... sip_corewxPixelDataBase.cpp is a new file, copying... sip_corewxNativePixelData.cpp is a new file, copying... sip_corewxNativePixelData_Accessor.cpp is a new file, copying... sip_corewxAlphaPixelData.cpp is a new file, copying... sip_corewxAlphaPixelData_Accessor.cpp is a new file, copying... sip_corewxAccessible.cpp is a new file, copying... sip_corewxAcceleratorEntry.cpp is a new file, copying... sip_corewxAcceleratorTable.cpp is a new file, copying... sip_corewxLog.cpp is a new file, copying... sip_corewxLogGui.cpp is a new file, copying... sip_corewxLogNull.cpp is a new file, copying... sip_corewxLogRecordInfo.cpp is a new file, copying... sip_corewxLogChain.cpp is a new file, copying... sip_corewxLogInterposer.cpp is a new file, copying... sip_corewxLogInterposerTemp.cpp is a new file, copying... sip_corewxLogWindow.cpp is a new file, copying... sip_corewxLogStderr.cpp is a new file, copying... sip_corewxLogBuffer.cpp is a new file, copying... sip_corewxLogTextCtrl.cpp is a new file, copying... sip_corewxLogFormatter.cpp is a new file, copying... sip_corewxDataFormat.cpp is a new file, copying... sip_corewxDataObject.cpp is a new file, copying... sip_corewxDataObjectSimple.cpp is a new file, copying... sip_corewxCustomDataObject.cpp is a new file, copying... sip_corewxDataObjectComposite.cpp is a new file, copying... sip_corewxBitmapDataObject.cpp is a new file, copying... sip_corewxTextDataObject.cpp is a new file, copying... sip_corewxURLDataObject.cpp is a new file, copying... sip_corewxFileDataObject.cpp is a new file, copying... sip_corewxHTMLDataObject.cpp is a new file, copying... sip_corewxDropSource.cpp is a new file, copying... sip_corewxDropTarget.cpp is a new file, copying... sip_corewxTextDropTarget.cpp is a new file, copying... sip_corewxFileDropTarget.cpp is a new file, copying... sip_corewxClipboard.cpp is a new file, copying... sip_corewxConfigBase.cpp is a new file, copying... sip_corewxFileConfig.cpp is a new file, copying... sip_corewxConfigPathChanger.cpp is a new file, copying... sip_corewxConfig.cpp is a new file, copying... sip_corewxVariant.cpp is a new file, copying... sip_corewxVariantList.cpp is a new file, copying... sip_corewxTrackable.cpp is a new file, copying... sip_corewxKeyboardState.cpp is a new file, copying... sip_corewxMouseState.cpp is a new file, copying... sip_corewxToolTip.cpp is a new file, copying... sip_corewxIndividualLayoutConstraint.cpp is a new file, copying... sip_corewxLayoutConstraints.cpp is a new file, copying... sip_corewxEvtHandler.cpp is a new file, copying... sip_corewxEventBlocker.cpp is a new file, copying... sip_corewxPropagationDisabler.cpp is a new file, copying... sip_corewxPropagateOnce.cpp is a new file, copying... sip_corewxEvent.cpp is a new file, copying... sip_corewxCommandEvent.cpp is a new file, copying... sip_corewxActivateEvent.cpp is a new file, copying... sip_corewxChildFocusEvent.cpp is a new file, copying... sip_corewxClipboardTextEvent.cpp is a new file, copying... sip_corewxCloseEvent.cpp is a new file, copying... sip_corewxContextMenuEvent.cpp is a new file, copying... sip_corewxDisplayChangedEvent.cpp is a new file, copying... sip_corewxDropFilesEvent.cpp is a new file, copying... sip_corewxEraseEvent.cpp is a new file, copying... sip_corewxFocusEvent.cpp is a new file, copying... sip_corewxHelpEvent.cpp is a new file, copying... sip_corewxIconizeEvent.cpp is a new file, copying... sip_corewxIdleEvent.cpp is a new file, copying... sip_corewxInitDialogEvent.cpp is a new file, copying... sip_corewxJoystickEvent.cpp is a new file, copying... sip_corewxKeyEvent.cpp is a new file, copying... sip_corewxMaximizeEvent.cpp is a new file, copying... sip_corewxMenuEvent.cpp is a new file, copying... sip_corewxMouseCaptureChangedEvent.cpp is a new file, copying... sip_corewxMouseCaptureLostEvent.cpp is a new file, copying... sip_corewxMouseEvent.cpp is a new file, copying... sip_corewxMoveEvent.cpp is a new file, copying... sip_corewxNavigationKeyEvent.cpp is a new file, copying... sip_corewxNotifyEvent.cpp is a new file, copying... sip_corewxPaintEvent.cpp is a new file, copying... sip_corewxPaletteChangedEvent.cpp is a new file, copying... sip_corewxQueryNewPaletteEvent.cpp is a new file, copying... sip_corewxScrollEvent.cpp is a new file, copying... sip_corewxScrollWinEvent.cpp is a new file, copying... sip_corewxSetCursorEvent.cpp is a new file, copying... sip_corewxShowEvent.cpp is a new file, copying... sip_corewxSizeEvent.cpp is a new file, copying... sip_corewxSysColourChangedEvent.cpp is a new file, copying... sip_corewxUpdateUIEvent.cpp is a new file, copying... sip_corewxWindowCreateEvent.cpp is a new file, copying... sip_corewxWindowDestroyEvent.cpp is a new file, copying... sip_corewxPyEvent.cpp is a new file, copying... sip_corewxPyCommandEvent.cpp is a new file, copying... sip_corewxSizerItem.cpp is a new file, copying... sip_corewxSizerFlags.cpp is a new file, copying... sip_corewxSizer.cpp is a new file, copying... sip_corewxBoxSizer.cpp is a new file, copying... sip_corewxStaticBoxSizer.cpp is a new file, copying... sip_corewxGridSizer.cpp is a new file, copying... sip_corewxFlexGridSizer.cpp is a new file, copying... sip_corewxStdDialogButtonSizer.cpp is a new file, copying... sip_corewxSizerItemList_iterator.cpp is a new file, copying... sip_corewxSizerItemList.cpp is a new file, copying... sip_corewxGBPosition.cpp is a new file, copying... sip_corewxGBSpan.cpp is a new file, copying... sip_corewxGBSizerItem.cpp is a new file, copying... sip_corewxGridBagSizer.cpp is a new file, copying... sip_corewxWrapSizer.cpp is a new file, copying... sip_corewxStandardPaths.cpp is a new file, copying... sip_corewxEventFilter.cpp is a new file, copying... sip_corewxEventLoopBase.cpp is a new file, copying... sip_corewxEventLoopActivator.cpp is a new file, copying... sip_corewxGUIEventLoop.cpp is a new file, copying... sip_corewxAppTraits.cpp is a new file, copying... sip_corewxAppConsole.cpp is a new file, copying... sip_corewxPyApp.cpp is a new file, copying... sip_corewxTimer.cpp is a new file, copying... sip_corewxTimerRunner.cpp is a new file, copying... sip_corewxTimerEvent.cpp is a new file, copying... sip_corewxVisualAttributes.cpp is a new file, copying... sip_corewxWindowBase.cpp is a new file, copying... sip_corewxWindow.cpp is a new file, copying... sip_corewxWindowChildrenRepositioningGuard.cpp is a new file, copying... sip_corewxWindowList_iterator.cpp is a new file, copying... sip_corewxWindowList.cpp is a new file, copying... sip_corewxValidator.cpp is a new file, copying... sip_corewxPanel.cpp is a new file, copying... sip_corewxMenuItem.cpp is a new file, copying... sip_corewxMenuItemList_iterator.cpp is a new file, copying... sip_corewxMenuItemList.cpp is a new file, copying... sip_corewxMenu.cpp is a new file, copying... sip_corewxMenuBar.cpp is a new file, copying... sip_corewxMenuList_iterator.cpp is a new file, copying... sip_corewxMenuList.cpp is a new file, copying... sip_corewxScrolledCanvas.cpp is a new file, copying... sip_core_ScrolledWindowBase.cpp is a new file, copying... sip_corewxScrolledWindow.cpp is a new file, copying... sip_corewxVarScrollHelperBase.cpp is a new file, copying... sip_corewxVarVScrollHelper.cpp is a new file, copying... sip_corewxVarHScrollHelper.cpp is a new file, copying... sip_corewxVarHVScrollHelper.cpp is a new file, copying... sip_corewxVScrolledWindow.cpp is a new file, copying... sip_corewxHScrolledWindow.cpp is a new file, copying... sip_corewxHVScrolledWindow.cpp is a new file, copying... sip_corewxControl.cpp is a new file, copying... sip_corewxItemContainerImmutable.cpp is a new file, copying... sip_corewxItemContainer.cpp is a new file, copying... sip_corewxControlWithItems.cpp is a new file, copying... sip_corewxStaticBitmap.cpp is a new file, copying... sip_corewxStaticText.cpp is a new file, copying... sip_corewxStaticBox.cpp is a new file, copying... sip_corewxStatusBar.cpp is a new file, copying... sip_corewxStatusBarPane.cpp is a new file, copying... sip_corewxChoice.cpp is a new file, copying... sip_corewxAnyButton.cpp is a new file, copying... sip_corewxButton.cpp is a new file, copying... sip_corewxBitmapButton.cpp is a new file, copying... sip_corewxWithImages.cpp is a new file, copying... sip_corewxBookCtrlBase.cpp is a new file, copying... sip_corewxBookCtrlEvent.cpp is a new file, copying... sip_corewxNotebook.cpp is a new file, copying... sip_corewxSplitterWindow.cpp is a new file, copying... sip_corewxSplitterEvent.cpp is a new file, copying... sip_corewxCollapsiblePane.cpp is a new file, copying... sip_corewxCollapsiblePaneEvent.cpp is a new file, copying... sip_corewxStaticLine.cpp is a new file, copying... sip_corewxTextCompleter.cpp is a new file, copying... sip_corewxTextCompleterSimple.cpp is a new file, copying... sip_corewxTextEntry.cpp is a new file, copying... sip_corewxTextAttr.cpp is a new file, copying... sip_corewxTextCtrl.cpp is a new file, copying... sip_corewxTextUrlEvent.cpp is a new file, copying... sip_corewxComboBox.cpp is a new file, copying... sip_corewxCheckBox.cpp is a new file, copying... sip_corewxListBox.cpp is a new file, copying... sip_corewxCheckListBox.cpp is a new file, copying... sip_corewxGauge.cpp is a new file, copying... sip_corewxHeaderColumn.cpp is a new file, copying... sip_corewxSettableHeaderColumn.cpp is a new file, copying... sip_corewxHeaderColumnSimple.cpp is a new file, copying... sip_corewxHeaderCtrl.cpp is a new file, copying... sip_corewxHeaderCtrlSimple.cpp is a new file, copying... sip_corewxHeaderCtrlEvent.cpp is a new file, copying... sip_corewxSearchCtrl.cpp is a new file, copying... sip_corewxRadioBox.cpp is a new file, copying... sip_corewxRadioButton.cpp is a new file, copying... sip_corewxSlider.cpp is a new file, copying... sip_corewxSpinButton.cpp is a new file, copying... sip_corewxSpinEvent.cpp is a new file, copying... sip_corewxSpinCtrl.cpp is a new file, copying... sip_corewxSpinCtrlDouble.cpp is a new file, copying... sip_corewxSpinDoubleEvent.cpp is a new file, copying... sip_corewxToggleButton.cpp is a new file, copying... sip_corewxBitmapToggleButton.cpp is a new file, copying... sip_corewxScrollBar.cpp is a new file, copying... sip_corewxToolBarToolBase.cpp is a new file, copying... sip_corewxToolBar.cpp is a new file, copying... sip_corewxInfoBar.cpp is a new file, copying... sip_corewxListItemAttr.cpp is a new file, copying... sip_corewxListItem.cpp is a new file, copying... sip_corewxListCtrl.cpp is a new file, copying... sip_corewxListView.cpp is a new file, copying... sip_corewxListEvent.cpp is a new file, copying... sip_corewxTreeItemData.cpp is a new file, copying... sip_corewxTreeItemId.cpp is a new file, copying... sip_corewxTreeCtrl.cpp is a new file, copying... sip_corewxTreeEvent.cpp is a new file, copying... sip_corewxPickerBase.cpp is a new file, copying... sip_corewxColourPickerCtrl.cpp is a new file, copying... sip_corewxColourPickerEvent.cpp is a new file, copying... sip_corewxFilePickerCtrl.cpp is a new file, copying... sip_corewxDirPickerCtrl.cpp is a new file, copying... sip_corewxFileDirPickerEvent.cpp is a new file, copying... sip_corewxFontPickerCtrl.cpp is a new file, copying... sip_corewxFontPickerEvent.cpp is a new file, copying... sip_corewxFileCtrl.cpp is a new file, copying... sip_corewxFileCtrlEvent.cpp is a new file, copying... sip_corewxComboPopup.cpp is a new file, copying... sip_corewxComboCtrlFeatures.cpp is a new file, copying... sip_corewxComboCtrl.cpp is a new file, copying... sip_corewxChoicebook.cpp is a new file, copying... sip_corewxListbook.cpp is a new file, copying... sip_corewxToolbook.cpp is a new file, copying... sip_corewxTreebook.cpp is a new file, copying... sip_corewxSimplebook.cpp is a new file, copying... sip_corewxVListBox.cpp is a new file, copying... sip_corewxNonOwnedWindow.cpp is a new file, copying... sip_corewxTopLevelWindow.cpp is a new file, copying... sip_corewxDialog.cpp is a new file, copying... sip_corewxDialogLayoutAdapter.cpp is a new file, copying... sip_corewxWindowModalDialogEvent.cpp is a new file, copying... sip_corewxDirDialog.cpp is a new file, copying... sip_corewxGenericDirCtrl.cpp is a new file, copying... sip_corewxDirFilterListCtrl.cpp is a new file, copying... sip_corewxFileDialog.cpp is a new file, copying... sip_corewxFrame.cpp is a new file, copying... sip_corewxMessageDialog.cpp is a new file, copying... sip_corewxGenericMessageDialog.cpp is a new file, copying... sip_corewxRichMessageDialog.cpp is a new file, copying... sip_corewxGenericProgressDialog.cpp is a new file, copying... sip_corewxProgressDialog.cpp is a new file, copying... sip_corewxPopupWindow.cpp is a new file, copying... sip_corewxPopupTransientWindow.cpp is a new file, copying... sip_corewxTipWindow.cpp is a new file, copying... sip_corewxColourData.cpp is a new file, copying... sip_corewxColourDialog.cpp is a new file, copying... sip_corewxMultiChoiceDialog.cpp is a new file, copying... sip_corewxPySingleChoiceDialog.cpp is a new file, copying... sip_corewxFindDialogEvent.cpp is a new file, copying... sip_corewxFindReplaceData.cpp is a new file, copying... sip_corewxFindReplaceDialog.cpp is a new file, copying... sip_corewxMDIClientWindow.cpp is a new file, copying... sip_corewxMDIParentFrame.cpp is a new file, copying... sip_corewxMDIChildFrame.cpp is a new file, copying... sip_corewxFontData.cpp is a new file, copying... sip_corewxFontDialog.cpp is a new file, copying... sip_corewxRearrangeList.cpp is a new file, copying... sip_corewxRearrangeCtrl.cpp is a new file, copying... sip_corewxRearrangeDialog.cpp is a new file, copying... sip_corewxMiniFrame.cpp is a new file, copying... sip_corewxTextEntryDialog.cpp is a new file, copying... sip_corewxPasswordEntryDialog.cpp is a new file, copying... sip_corewxNumberEntryDialog.cpp is a new file, copying... sip_corewxPowerEvent.cpp is a new file, copying... sip_corewxWindowDisabler.cpp is a new file, copying... sip_corewxBusyCursor.cpp is a new file, copying... sip_corewxVersionInfo.cpp is a new file, copying... sip_corewxProcess.cpp is a new file, copying... sip_corewxProcessEvent.cpp is a new file, copying... sip_corewxUIActionSimulator.cpp is a new file, copying... sip_corewxSingleInstanceChecker.cpp is a new file, copying... sip_corewxHelpControllerBase.cpp is a new file, copying... sip_corewxHelpProvider.cpp is a new file, copying... sip_corewxSimpleHelpProvider.cpp is a new file, copying... sip_corewxHelpControllerHelpProvider.cpp is a new file, copying... sip_corewxContextHelp.cpp is a new file, copying... sip_corewxContextHelpButton.cpp is a new file, copying... sip_corewxSystemSettings.cpp is a new file, copying... sip_corewxSystemOptions.cpp is a new file, copying... sip_corewxArtProvider.cpp is a new file, copying... sip_corewxDragImage.cpp is a new file, copying... sip_corewxGenericDragImage.cpp is a new file, copying... sip_corewxPreviewControlBar.cpp is a new file, copying... sip_corewxPreviewCanvas.cpp is a new file, copying... sip_corewxPreviewFrame.cpp is a new file, copying... sip_corewxPrintPreview.cpp is a new file, copying... sip_corewxPrinter.cpp is a new file, copying... sip_corewxPrintout.cpp is a new file, copying... sip_corewxPrintAbortDialog.cpp is a new file, copying... sip_corewxPrintDialog.cpp is a new file, copying... sip_corewxPageSetupDialog.cpp is a new file, copying... sip_corewxFileType.cpp is a new file, copying... sip_corewxFileTypeMessageParameters.cpp is a new file, copying... sip_corewxFileTypeInfo.cpp is a new file, copying... sip_corewxMimeTypesManager.cpp is a new file, copying... sip_corewxBusyInfo.cpp is a new file, copying... sip_corewxCaret.cpp is a new file, copying... sip_corewxFontEnumerator.cpp is a new file, copying... sip_corewxFontMapper.cpp is a new file, copying... sip_corewxMouseEventsManager.cpp is a new file, copying... sip_corewxFileHistory.cpp is a new file, copying... sip_corewxFileHistoryMenuList_iterator.cpp is a new file, copying... sip_corewxFileHistoryMenuList.cpp is a new file, copying... sip_corewxCommand.cpp is a new file, copying... sip_corewxCommandProcessor.cpp is a new file, copying... sip_corewxCommandList_iterator.cpp is a new file, copying... sip_corewxCommandList.cpp is a new file, copying... sip_corewxFileSystemWatcher.cpp is a new file, copying... sip_corewxFileSystemWatcherEvent.cpp is a new file, copying... sip_corewxPreferencesEditor.cpp is a new file, copying... sip_corewxPreferencesPage.cpp is a new file, copying... sip_corewxStockPreferencesPage.cpp is a new file, copying... sip_corewxModalDialogHook.cpp is a new file, copying... sip_corewxUniChar.cpp is a new file, copying... sip_corecmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpEH8HR6 -b sip/cpp/_richtext.sbf -X pycode_richtext:wx/richtext.py sip/gen/_richtext.sip sipAPI_richtext.h is a new file, copying... sip_richtextwxRichTextFloatCollector.cpp is a new file, copying... sip_richtextwxTextAttrDimension.cpp is a new file, copying... sip_richtextwxTextAttrDimensions.cpp is a new file, copying... sip_richtextwxTextAttrSize.cpp is a new file, copying... sip_richtextwxTextAttrDimensionConverter.cpp is a new file, copying... sip_richtextwxTextAttrBorder.cpp is a new file, copying... sip_richtextwxTextAttrBorders.cpp is a new file, copying... sip_richtextwxTextBoxAttr.cpp is a new file, copying... sip_richtextwxRichTextAttr.cpp is a new file, copying... sip_richtextwxRichTextProperties.cpp is a new file, copying... sip_richtextwxRichTextFontTable.cpp is a new file, copying... sip_richtextwxRichTextRange.cpp is a new file, copying... sip_richtextwxRichTextSelection.cpp is a new file, copying... sip_richtextwxRichTextDrawingContext.cpp is a new file, copying... sip_richtextwxRichTextObject.cpp is a new file, copying... sip_richtextwxRichTextCompositeObject.cpp is a new file, copying... sip_richtextwxRichTextParagraphLayoutBox.cpp is a new file, copying... sip_richtextwxRichTextBox.cpp is a new file, copying... sip_richtextwxRichTextField.cpp is a new file, copying... sip_richtextwxRichTextFieldType.cpp is a new file, copying... sip_richtextwxRichTextFieldTypeStandard.cpp is a new file, copying... sip_richtextwxRichTextLine.cpp is a new file, copying... sip_richtextwxRichTextParagraph.cpp is a new file, copying... sip_richtextwxRichTextPlainText.cpp is a new file, copying... sip_richtextwxRichTextImageBlock.cpp is a new file, copying... sip_richtextwxRichTextImage.cpp is a new file, copying... sip_richtextwxRichTextBuffer.cpp is a new file, copying... sip_richtextwxRichTextCell.cpp is a new file, copying... sip_richtextwxRichTextTable.cpp is a new file, copying... sip_richtextwxRichTextObjectAddress.cpp is a new file, copying... sip_richtextwxRichTextCommand.cpp is a new file, copying... sip_richtextwxRichTextAction.cpp is a new file, copying... sip_richtextwxRichTextFileHandler.cpp is a new file, copying... sip_richtextwxRichTextPlainTextHandler.cpp is a new file, copying... sip_richtextwxRichTextDrawingHandler.cpp is a new file, copying... sip_richtextwxRichTextBufferDataObject.cpp is a new file, copying... sip_richtextwxRichTextRenderer.cpp is a new file, copying... sip_richtextwxRichTextStdRenderer.cpp is a new file, copying... sip_richtextwxRichTextRangeArray.cpp is a new file, copying... sip_richtextwxRichTextAttrArray.cpp is a new file, copying... sip_richtextwxRichTextVariantArray.cpp is a new file, copying... sip_richtextwxRichTextObjectList_iterator.cpp is a new file, copying... sip_richtextwxRichTextObjectList.cpp is a new file, copying... sip_richtextwxRichTextLineList_iterator.cpp is a new file, copying... sip_richtextwxRichTextLineList.cpp is a new file, copying... sip_richtextwxRichTextObjectPtrArray.cpp is a new file, copying... sip_richtextwxRichTextObjectPtrArrayArray.cpp is a new file, copying... sip_richtextwxRichTextObjectList__iterator.cpp is a new file, copying... sip_richtextwxRichTextObjectList_.cpp is a new file, copying... sip_richtextwxRichTextFileHandlerList_iterator.cpp is a new file, copying... sip_richtextwxRichTextFileHandlerList.cpp is a new file, copying... sip_richtextwxRichTextDrawingHandlerList_iterator.cpp is a new file, copying... sip_richtextwxRichTextDrawingHandlerList.cpp is a new file, copying... sip_richtextwxRichTextActionList_iterator.cpp is a new file, copying... sip_richtextwxRichTextActionList.cpp is a new file, copying... sip_richtextwxRichTextContextMenuPropertiesInfo.cpp is a new file, copying... sip_richtextwxRichTextCtrl.cpp is a new file, copying... sip_richtextwxRichTextEvent.cpp is a new file, copying... sip_richtextwxRichTextHTMLHandler.cpp is a new file, copying... sip_richtextwxRichTextXMLHandler.cpp is a new file, copying... sip_richtextwxRichTextHeaderFooterData.cpp is a new file, copying... sip_richtextwxRichTextPrintout.cpp is a new file, copying... sip_richtextwxRichTextPrinting.cpp is a new file, copying... sip_richtextwxRichTextStyleListCtrl.cpp is a new file, copying... sip_richtextwxRichTextStyleListBox.cpp is a new file, copying... sip_richtextwxRichTextStyleComboCtrl.cpp is a new file, copying... sip_richtextwxRichTextStyleDefinition.cpp is a new file, copying... sip_richtextwxRichTextParagraphStyleDefinition.cpp is a new file, copying... sip_richtextwxRichTextCharacterStyleDefinition.cpp is a new file, copying... sip_richtextwxRichTextListStyleDefinition.cpp is a new file, copying... sip_richtextwxRichTextStyleSheet.cpp is a new file, copying... sip_richtextwxRichTextStyleOrganiserDialog.cpp is a new file, copying... sip_richtextwxSymbolPickerDialog.cpp is a new file, copying... sip_richtextwxRichTextFormattingDialogFactory.cpp is a new file, copying... sip_richtextwxRichTextFormattingDialog.cpp is a new file, copying... sip_richtextcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpXxmSRX -b sip/cpp/_html.sbf -X pycode_html:wx/html.py sip/gen/_html.sip sipAPI_html.h is a new file, copying... sip_htmlwxHtmlSelection.cpp is a new file, copying... sip_htmlwxHtmlRenderingState.cpp is a new file, copying... sip_htmlwxHtmlRenderingStyle.cpp is a new file, copying... sip_htmlwxHtmlRenderingInfo.cpp is a new file, copying... sip_htmlwxHtmlCell.cpp is a new file, copying... sip_htmlwxHtmlContainerCell.cpp is a new file, copying... sip_htmlwxHtmlLinkInfo.cpp is a new file, copying... sip_htmlwxHtmlColourCell.cpp is a new file, copying... sip_htmlwxHtmlWidgetCell.cpp is a new file, copying... sip_htmlwxHtmlWordCell.cpp is a new file, copying... sip_htmlwxHtmlWordWithTabsCell.cpp is a new file, copying... sip_htmlwxHtmlFontCell.cpp is a new file, copying... sip_htmlwxHtmlFilter.cpp is a new file, copying... sip_htmlwxHtmlTag.cpp is a new file, copying... sip_htmlwxHtmlTagHandler.cpp is a new file, copying... sip_htmlwxHtmlParser.cpp is a new file, copying... sip_htmlwxHtmlWindowInterface.cpp is a new file, copying... sip_htmlwxHtmlWindow.cpp is a new file, copying... sip_htmlwxHtmlLinkEvent.cpp is a new file, copying... sip_htmlwxHtmlCellEvent.cpp is a new file, copying... sip_htmlwxHtmlDCRenderer.cpp is a new file, copying... sip_htmlwxHtmlEasyPrinting.cpp is a new file, copying... sip_htmlwxHtmlPrintout.cpp is a new file, copying... sip_htmlwxHtmlWinTagHandler.cpp is a new file, copying... sip_htmlwxHtmlWinParser.cpp is a new file, copying... sip_htmlwxHtmlBookRecord.cpp is a new file, copying... sip_htmlwxHtmlHelpDataItem.cpp is a new file, copying... sip_htmlwxHtmlHelpData.cpp is a new file, copying... sip_htmlwxHtmlBookRecArray.cpp is a new file, copying... sip_htmlwxHtmlHelpDataItems.cpp is a new file, copying... sip_htmlwxHtmlHelpFrame.cpp is a new file, copying... sip_htmlwxHtmlHelpDialog.cpp is a new file, copying... sip_htmlwxHtmlHelpWindow.cpp is a new file, copying... sip_htmlwxHtmlHelpController.cpp is a new file, copying... sip_htmlwxHtmlModalHelp.cpp is a new file, copying... sip_htmlwxHtmlListBox.cpp is a new file, copying... sip_htmlwxSimpleHtmlListBox.cpp is a new file, copying... sip_htmlcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpwAAa0z -b sip/cpp/_html2.sbf -X pycode_html2:wx/html2.py sip/gen/_html2.sip sipAPI_html2.h is a new file, copying... sip_html2wxWebViewHistoryItem.cpp is a new file, copying... sip_html2wxWebViewHandler.cpp is a new file, copying... sip_html2wxWebViewArchiveHandler.cpp is a new file, copying... sip_html2wxWebViewFSHandler.cpp is a new file, copying... sip_html2wxWebView.cpp is a new file, copying... sip_html2wxWebViewEvent.cpp is a new file, copying... sip_html2wxWebViewFactory.cpp is a new file, copying... sip_html2cmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpv8sJxX -b sip/cpp/_ribbon.sbf -X pycode_ribbon:wx/ribbon.py sip/gen/_ribbon.sip sipAPI_ribbon.h is a new file, copying... sip_ribbonwxRibbonControl.cpp is a new file, copying... sip_ribbonwxRibbonPage.cpp is a new file, copying... sip_ribbonwxRibbonPanel.cpp is a new file, copying... sip_ribbonwxRibbonPanelEvent.cpp is a new file, copying... sip_ribbonwxRibbonBarEvent.cpp is a new file, copying... sip_ribbonwxRibbonPageTabInfo.cpp is a new file, copying... sip_ribbonwxRibbonBar.cpp is a new file, copying... sip_ribbonwxRibbonPageTabInfoArray.cpp is a new file, copying... sip_ribbonwxRibbonArtProvider.cpp is a new file, copying... sip_ribbonwxRibbonMSWArtProvider.cpp is a new file, copying... sip_ribbonwxRibbonAUIArtProvider.cpp is a new file, copying... sip_ribbonwxRibbonButtonBarButtonBase.cpp is a new file, copying... sip_ribbonwxRibbonButtonBar.cpp is a new file, copying... sip_ribbonwxRibbonButtonBarEvent.cpp is a new file, copying... sip_ribbonwxRibbonGalleryItem.cpp is a new file, copying... sip_ribbonwxRibbonGallery.cpp is a new file, copying... sip_ribbonwxRibbonGalleryEvent.cpp is a new file, copying... sip_ribbonwxRibbonToolBarToolBase.cpp is a new file, copying... sip_ribbonwxRibbonToolBar.cpp is a new file, copying... sip_ribbonwxRibbonToolBarEvent.cpp is a new file, copying... sip_ribboncmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmp6HsaEh -b sip/cpp/_media.sbf -X pycode_media:wx/media.py sip/gen/_media.sip sipAPI_media.h is a new file, copying... sip_mediawxMediaCtrl.cpp is a new file, copying... sip_mediawxMediaEvent.cpp is a new file, copying... sip_mediacmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpVE8tZU -b sip/cpp/_webkit.sbf -X pycode_webkit:wx/webkit.py sip/gen/_webkit.sip sipAPI_webkit.h is a new file, copying... sip_webkitwxWebKitCtrl.cpp is a new file, copying... sip_webkitwxWebKitBeforeLoadEvent.cpp is a new file, copying... sip_webkitwxWebKitStateChangedEvent.cpp is a new file, copying... sip_webkitwxWebKitNewWindowEvent.cpp is a new file, copying... sip_webkitcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpXM74Z7 -b sip/cpp/_msw.sbf -X pycode_msw:wx/msw.py sip/gen/_msw.sip sipAPI_msw.h is a new file, copying... sip_mswwxPyAxBaseWindow.cpp is a new file, copying... sip_mswcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmp2Poug6 -b sip/cpp/_glcanvas.sbf -X pycode_glcanvas:wx/glcanvas.py sip/gen/_glcanvas.sip sipAPI_glcanvas.h is a new file, copying... sip_glcanvaswxGLContext.cpp is a new file, copying... sip_glcanvaswxGLCanvas.cpp is a new file, copying... sip_glcanvascmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmp1Wvg3S -b sip/cpp/_propgrid.sbf -X pycode_propgrid:wx/propgrid.py sip/gen/_propgrid.sip sipAPI_propgrid.h is a new file, copying... sip_propgridwxPGVariant.cpp is a new file, copying... sip_propgridwxPGVariantList.cpp is a new file, copying... sip_propgridwxPGPaintData.cpp is a new file, copying... sip_propgridwxPGCellRenderer.cpp is a new file, copying... sip_propgridwxPGDefaultRenderer.cpp is a new file, copying... sip_propgridwxPGCellData.cpp is a new file, copying... sip_propgridwxPGCell.cpp is a new file, copying... sip_propgridwxPGProperty.cpp is a new file, copying... sip_propgridwxPropertyCategory.cpp is a new file, copying... sip_propgridwxPGChoiceEntry.cpp is a new file, copying... sip_propgridwxPGChoicesData.cpp is a new file, copying... sip_propgridwxPGChoices.cpp is a new file, copying... sip_propgridwxPGWindowList.cpp is a new file, copying... sip_propgridwxPGEditor.cpp is a new file, copying... sip_propgridwxPGTextCtrlEditor.cpp is a new file, copying... sip_propgridwxPGChoiceEditor.cpp is a new file, copying... sip_propgridwxPGComboBoxEditor.cpp is a new file, copying... sip_propgridwxPGChoiceAndButtonEditor.cpp is a new file, copying... sip_propgridwxPGTextCtrlAndButtonEditor.cpp is a new file, copying... sip_propgridwxPGCheckBoxEditor.cpp is a new file, copying... sip_propgridwxPGEditorDialogAdapter.cpp is a new file, copying... sip_propgridwxPGMultiButton.cpp is a new file, copying... sip_propgridwxPropertyGridHitTestResult.cpp is a new file, copying... sip_propgridwxPropertyGridIteratorBase.cpp is a new file, copying... sip_propgridwxPropertyGridIterator.cpp is a new file, copying... sip_propgridwxPGVIterator.cpp is a new file, copying... sip_propgridwxPropertyGridPageState.cpp is a new file, copying... sip_propgridwxPGPropArgCls.cpp is a new file, copying... sip_propgridwxPropertyGridInterface.cpp is a new file, copying... sip_propgridwxArrayPGProperty.cpp is a new file, copying... sip_propgridwxPGValidationInfo.cpp is a new file, copying... sip_propgridwxPropertyGrid.cpp is a new file, copying... sip_propgridwxPropertyGridEvent.cpp is a new file, copying... sip_propgridwxPGInDialogValidator.cpp is a new file, copying... sip_propgridwxStringProperty.cpp is a new file, copying... sip_propgridwxNumericPropertyValidator.cpp is a new file, copying... sip_propgridwxIntProperty.cpp is a new file, copying... sip_propgridwxUIntProperty.cpp is a new file, copying... sip_propgridwxFloatProperty.cpp is a new file, copying... sip_propgridwxBoolProperty.cpp is a new file, copying... sip_propgridwxEnumProperty.cpp is a new file, copying... sip_propgridwxEditEnumProperty.cpp is a new file, copying... sip_propgridwxFlagsProperty.cpp is a new file, copying... sip_propgridwxPGFileDialogAdapter.cpp is a new file, copying... sip_propgridwxFileProperty.cpp is a new file, copying... sip_propgridwxPGLongStringDialogAdapter.cpp is a new file, copying... sip_propgridwxLongStringProperty.cpp is a new file, copying... sip_propgridwxDirProperty.cpp is a new file, copying... sip_propgridwxArrayStringProperty.cpp is a new file, copying... sip_propgridwxPGArrayEditorDialog.cpp is a new file, copying... sip_propgridwxPGArrayStringEditorDialog.cpp is a new file, copying... sip_propgridwxColourPropertyValue.cpp is a new file, copying... sip_propgridwxFontProperty.cpp is a new file, copying... sip_propgridwxSystemColourProperty.cpp is a new file, copying... sip_propgridwxColourProperty.cpp is a new file, copying... sip_propgridwxCursorProperty.cpp is a new file, copying... sip_propgridwxImageFileProperty.cpp is a new file, copying... sip_propgridwxMultiChoiceProperty.cpp is a new file, copying... sip_propgridwxDateProperty.cpp is a new file, copying... sip_propgridwxPGSpinCtrlEditor.cpp is a new file, copying... sip_propgridwxPropertyGridPage.cpp is a new file, copying... sip_propgridwxPropertyGridManager.cpp is a new file, copying... sip_propgridcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpevNiOm -b sip/cpp/_dataview.sbf -X pycode_dataview:wx/dataview.py sip/gen/_dataview.sip sipAPI_dataview.h is a new file, copying... sip_dataviewwxDVCVariant.cpp is a new file, copying... sip_dataviewwxVariantVector.cpp is a new file, copying... sip_dataviewwxDataViewItem.cpp is a new file, copying... sip_dataviewwxDataViewItemAttr.cpp is a new file, copying... sip_dataviewwxDataViewIconText.cpp is a new file, copying... sip_dataviewwxDataViewModelNotifier.cpp is a new file, copying... sip_dataviewwxDataViewModel.cpp is a new file, copying... sip_dataviewwxDataViewListModel.cpp is a new file, copying... sip_dataviewwxDataViewIndexListModel.cpp is a new file, copying... sip_dataviewwxDataViewVirtualListModel.cpp is a new file, copying... sip_dataviewwxDataViewRenderer.cpp is a new file, copying... sip_dataviewwxDataViewCustomRenderer.cpp is a new file, copying... sip_dataviewwxDataViewTextRenderer.cpp is a new file, copying... sip_dataviewwxDataViewIconTextRenderer.cpp is a new file, copying... sip_dataviewwxDataViewProgressRenderer.cpp is a new file, copying... sip_dataviewwxDataViewSpinRenderer.cpp is a new file, copying... sip_dataviewwxDataViewToggleRenderer.cpp is a new file, copying... sip_dataviewwxDataViewChoiceRenderer.cpp is a new file, copying... sip_dataviewwxDataViewDateRenderer.cpp is a new file, copying... sip_dataviewwxDataViewBitmapRenderer.cpp is a new file, copying... sip_dataviewwxDataViewColumn.cpp is a new file, copying... sip_dataviewwxDataViewCtrl.cpp is a new file, copying... sip_dataviewwxDataViewEvent.cpp is a new file, copying... sip_dataviewwxDataViewListCtrl.cpp is a new file, copying... sip_dataviewwxDataViewListStore.cpp is a new file, copying... sip_dataviewwxDataViewTreeCtrl.cpp is a new file, copying... sip_dataviewwxDataViewTreeStore.cpp is a new file, copying... sip_dataviewwxDataViewItemArray.cpp is a new file, copying... sip_dataviewwxTreeListItem.cpp is a new file, copying... sip_dataviewwxTreeListItemComparator.cpp is a new file, copying... sip_dataviewwxTreeListCtrl.cpp is a new file, copying... sip_dataviewwxTreeListEvent.cpp is a new file, copying... sip_dataviewcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmp3Z3aTN -b sip/cpp/_grid.sbf -X pycode_grid:wx/grid.py sip/gen/_grid.sip sipAPI_grid.h is a new file, copying... sip_gridwxGridCellCoords.cpp is a new file, copying... sip_gridwxGridCellRenderer.cpp is a new file, copying... sip_gridwxGridCellStringRenderer.cpp is a new file, copying... sip_gridwxGridCellAutoWrapStringRenderer.cpp is a new file, copying... sip_gridwxGridCellBoolRenderer.cpp is a new file, copying... sip_gridwxGridCellDateTimeRenderer.cpp is a new file, copying... sip_gridwxGridCellEnumRenderer.cpp is a new file, copying... sip_gridwxGridCellFloatRenderer.cpp is a new file, copying... sip_gridwxGridCellNumberRenderer.cpp is a new file, copying... sip_gridwxGridCellEditor.cpp is a new file, copying... sip_gridwxGridCellTextEditor.cpp is a new file, copying... sip_gridwxGridCellAutoWrapStringEditor.cpp is a new file, copying... sip_gridwxGridCellBoolEditor.cpp is a new file, copying... sip_gridwxGridCellChoiceEditor.cpp is a new file, copying... sip_gridwxGridCellEnumEditor.cpp is a new file, copying... sip_gridwxGridCellFloatEditor.cpp is a new file, copying... sip_gridwxGridCellNumberEditor.cpp is a new file, copying... sip_gridwxGridCellAttr.cpp is a new file, copying... sip_gridwxGridCornerHeaderRenderer.cpp is a new file, copying... sip_gridwxGridHeaderLabelsRenderer.cpp is a new file, copying... sip_gridwxGridRowHeaderRenderer.cpp is a new file, copying... sip_gridwxGridColumnHeaderRenderer.cpp is a new file, copying... sip_gridwxGridRowHeaderRendererDefault.cpp is a new file, copying... sip_gridwxGridColumnHeaderRendererDefault.cpp is a new file, copying... sip_gridwxGridCornerHeaderRendererDefault.cpp is a new file, copying... sip_gridwxGridCellAttrProvider.cpp is a new file, copying... sip_gridwxGridTableBase.cpp is a new file, copying... sip_gridwxGridTableMessage.cpp is a new file, copying... sip_gridwxGridStringTable.cpp is a new file, copying... sip_gridwxGridSizesInfo.cpp is a new file, copying... sip_gridwxGrid.cpp is a new file, copying... sip_gridwxGridUpdateLocker.cpp is a new file, copying... sip_gridwxGridEvent.cpp is a new file, copying... sip_gridwxGridSizeEvent.cpp is a new file, copying... sip_gridwxGridRangeSelectEvent.cpp is a new file, copying... sip_gridwxGridEditorCreatedEvent.cpp is a new file, copying... sip_gridwxGridCellCoordsArray.cpp is a new file, copying... sip_gridcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmp21KmFE -b sip/cpp/_adv.sbf -X pycode_adv:wx/adv.py sip/gen/_adv.sip sipAPI_adv.h is a new file, copying... sip_advwxAboutDialogInfo.cpp is a new file, copying... sip_advwxExtHelpController.cpp is a new file, copying... sip_advwxCommandLinkButton.cpp is a new file, copying... sip_advwxDateEvent.cpp is a new file, copying... sip_advwxDatePickerCtrl.cpp is a new file, copying... sip_advwxDatePickerCtrlGeneric.cpp is a new file, copying... sip_advwxCalendarEvent.cpp is a new file, copying... sip_advwxCalendarDateAttr.cpp is a new file, copying... sip_advwxCalendarCtrl.cpp is a new file, copying... sip_advwxGenericCalendarCtrl.cpp is a new file, copying... sip_advwxHyperlinkEvent.cpp is a new file, copying... sip_advwxHyperlinkCtrl.cpp is a new file, copying... sip_advwxTipProvider.cpp is a new file, copying... sip_advwxTaskBarIconEvent.cpp is a new file, copying... sip_advwxTaskBarIcon.cpp is a new file, copying... sip_advwxSound.cpp is a new file, copying... sip_advwxJoystick.cpp is a new file, copying... sip_advwxAnimation.cpp is a new file, copying... sip_advwxAnimationCtrl.cpp is a new file, copying... sip_advwxBannerWindow.cpp is a new file, copying... sip_advwxEditableListBox.cpp is a new file, copying... sip_advwxNotificationMessage.cpp is a new file, copying... sip_advwxSplashScreen.cpp is a new file, copying... sip_advwxSashWindow.cpp is a new file, copying... sip_advwxSashEvent.cpp is a new file, copying... sip_advwxLayoutAlgorithm.cpp is a new file, copying... sip_advwxSashLayoutWindow.cpp is a new file, copying... sip_advwxQueryLayoutInfoEvent.cpp is a new file, copying... sip_advwxCalculateLayoutEvent.cpp is a new file, copying... sip_advwxOwnerDrawnComboBox.cpp is a new file, copying... sip_advwxBitmapComboBox.cpp is a new file, copying... sip_advwxRichToolTip.cpp is a new file, copying... sip_advwxTimePickerCtrl.cpp is a new file, copying... sip_advwxWizardPage.cpp is a new file, copying... sip_advwxWizardPageSimple.cpp is a new file, copying... sip_advwxWizard.cpp is a new file, copying... sip_advwxWizardEvent.cpp is a new file, copying... sip_advwxPseudoDC.cpp is a new file, copying... sip_advwxPropertySheetDialog.cpp is a new file, copying... sip_advcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpokAZg4 -b sip/cpp/_aui.sbf -X pycode_aui:wx/aui.py sip/gen/_aui.sip sipAPI_aui.h is a new file, copying... sip_auiwxAuiManager.cpp is a new file, copying... sip_auiwxAuiPaneInfo.cpp is a new file, copying... sip_auiwxAuiManagerEvent.cpp is a new file, copying... sip_auiwxAuiDockInfo.cpp is a new file, copying... sip_auiwxAuiDockUIPart.cpp is a new file, copying... sip_auiwxAuiPaneButton.cpp is a new file, copying... sip_auiwxAuiPaneInfoArray.cpp is a new file, copying... sip_auiwxAuiDockInfoArray.cpp is a new file, copying... sip_auiwxAuiDockUIPartArray.cpp is a new file, copying... sip_auiwxAuiPaneButtonArray.cpp is a new file, copying... sip_auiwxAuiPaneInfoPtrArray.cpp is a new file, copying... sip_auiwxAuiDockInfoPtrArray.cpp is a new file, copying... sip_auiwxAuiDockArt.cpp is a new file, copying... sip_auiwxAuiDefaultDockArt.cpp is a new file, copying... sip_auiwxAuiToolBarItem.cpp is a new file, copying... sip_auiwxAuiToolBarArt.cpp is a new file, copying... sip_auiwxAuiDefaultToolBarArt.cpp is a new file, copying... sip_auiwxAuiToolBar.cpp is a new file, copying... sip_auiwxAuiToolBarEvent.cpp is a new file, copying... sip_auiwxAuiToolBarItemArray.cpp is a new file, copying... sip_auiwxAuiNotebook.cpp is a new file, copying... sip_auiwxAuiNotebookPage.cpp is a new file, copying... sip_auiwxAuiTabContainerButton.cpp is a new file, copying... sip_auiwxAuiTabContainer.cpp is a new file, copying... sip_auiwxAuiTabArt.cpp is a new file, copying... sip_auiwxAuiDefaultTabArt.cpp is a new file, copying... sip_auiwxAuiSimpleTabArt.cpp is a new file, copying... sip_auiwxAuiNotebookEvent.cpp is a new file, copying... sip_auiwxAuiNotebookPageArray.cpp is a new file, copying... sip_auiwxAuiTabContainerButtonArray.cpp is a new file, copying... sip_auiwxAuiTabCtrl.cpp is a new file, copying... sip_auiwxAuiMDIParentFrame.cpp is a new file, copying... sip_auiwxAuiMDIChildFrame.cpp is a new file, copying... sip_auiwxAuiMDIClientWindow.cpp is a new file, copying... sip_auicmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpJ86XmT -b sip/cpp/_xml.sbf -X pycode_xml:wx/xml.py sip/gen/_xml.sip sipAPI_xml.h is a new file, copying... sip_xmlwxXmlNode.cpp is a new file, copying... sip_xmlwxXmlAttribute.cpp is a new file, copying... sip_xmlwxXmlDocument.cpp is a new file, copying... sip_xmlcmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpcvbbmP -b sip/cpp/_stc.sbf -X pycode_stc:wx/stc.py sip/gen/_stc.sip sipAPI_stc.h is a new file, copying... sip_stcwxStyledTextCtrl.cpp is a new file, copying... sip_stcwxStyledTextEvent.cpp is a new file, copying... sip_stccmodule.cpp is a new file, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpnUPR_J -b sip/cpp/_xrc.sbf -X pycode_xrc:wx/xrc.py sip/gen/_xrc.sip sipAPI_xrc.h is a new file, copying... sip_xrcwxAnimation.cpp is a new file, copying... sip_xrcwxXmlResource.cpp is a new file, copying... sip_xrcwxXmlResourceHandler.cpp is a new file, copying... sip_xrcwxXmlSubclassFactory.cpp is a new file, copying... sip_xrccmodule.cpp is a new file, copying... Finished command: sip (3m58.150s) Running command: build_py Checking for /build/wxpython4.0-4.0.4+dfsg/bin/waf-2.0.8... "/usr/bin/python2.7" /build/wxpython4.0-4.0.4+dfsg/bin/waf-2.0.8 --wx_config=wx-config --gtk3 --python="/usr/bin/python2.7" --out=build/waf/2.7/gtk3 configure build Setting top to : /build/wxpython4.0-4.0.4+dfsg Setting out to : /build/wxpython4.0-4.0.4+dfsg/build/waf/2.7/gtk3 Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking for 'g++' (C++ compiler) : /usr/bin/g++ Checking for program 'python' : /usr/bin/python2.7 Checking for python version >= 2.7.0 : 2.7.16 python-config : /usr/bin/python2.7-config Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes Testing pyembed configuration : yes Asking python-config for pyext '--cflags --libs --ldflags' flags : yes Testing pyext configuration : yes Finding libs for WX : yes Finding libs for WXADV : yes Finding libs for WXSTC : yes Finding libs for WXHTML : yes Finding libs for WXGL : yes Finding libs for WXWEBVIEW : yes Finding libs for WXXML : yes Finding libs for WXXRC : yes Finding libs for WXRICHTEXT : yes Finding libs for WXMEDIA : yes Finding libs for WXRIBBON : yes Finding libs for WXPROPGRID : yes Finding libs for WXAUI : yes 'configure' finished successfully (7.093s) Waf: Entering directory `/build/wxpython4.0-4.0.4+dfsg/build/waf/2.7/gtk3' [ 1/856] Compiling sip/cpp/sip_corewxMenuList_iterator.cpp [ 2/856] Compiling sip/cpp/sip_corewxFileSystemWatcher.cpp [ 3/856] Compiling sip/cpp/sip_corewxCommandList.cpp [ 4/856] Compiling sip/cpp/sip_corewxBufferedPaintDC.cpp [ 5/856] Compiling sip/cpp/sip_corewxArrayDouble.cpp [ 6/856] Compiling sip/cpp/sip_corewxAffineMatrix2D.cpp [ 7/856] Compiling sip/cpp/sip_corewxAcceleratorEntry.cpp [ 8/856] Compiling sip/cpp/sip_core_ScrolledWindowBase.cpp [ 9/856] Compiling sip/cpp/sip_corewxMenuList.cpp [ 10/856] Compiling sip/cpp/sip_corewxMenuItemList_iterator.cpp [ 11/856] Compiling sip/cpp/sip_corewxMenuItemList.cpp [ 12/856] Compiling sip/cpp/sip_corewxMenuEvent.cpp [ 13/856] Compiling sip/cpp/sip_corewxMemoryDC.cpp [ 14/856] Compiling sip/cpp/sip_corewxLongLong.cpp [ 15/856] Compiling sip/cpp/sip_corewxLogWindow.cpp [ 16/856] Compiling sip/cpp/sip_corewxArchiveFSHandler.cpp [ 17/856] Compiling sip/cpp/sip_corewxLogTextCtrl.cpp [ 18/856] Compiling sip/cpp/sip_corewxLogStderr.cpp [ 19/856] Compiling sip/cpp/sip_corewxFileDialog.cpp [ 20/856] Compiling sip/cpp/sip_corewxComboCtrl.cpp [ 21/856] Compiling sip/cpp/sip_corewxLogRecordInfo.cpp [ 22/856] Compiling sip/cpp/sip_corewxLogNull.cpp [ 23/856] Compiling sip/cpp/sip_corewxFileDataObject.cpp [ 24/856] Compiling sip/cpp/sip_corewxLogInterposerTemp.cpp [ 25/856] Compiling sip/cpp/sip_corewxLogInterposer.cpp [ 26/856] Compiling sip/cpp/sip_corewxFileDirPickerEvent.cpp [ 27/856] Compiling sip/cpp/sip_corewxFileCtrlEvent.cpp [ 28/856] Compiling sip/cpp/sip_corewxComboBox.cpp [ 29/856] Compiling sip/cpp/sip_corewxLogGui.cpp [ 30/856] Compiling sip/cpp/sip_corewxLogFormatter.cpp ../../../../sip/cpp/sip_corewxComboCtrl.cpp: In function 'PyObject* meth_wxComboCtrl_GetTextIndent(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxComboCtrl.cpp:2191:44: warning: 'wxCoord wxComboCtrlBase::GetTextIndent() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->GetTextIndent(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxComboCtrl.cpp:10: /usr/include/wx-3.0/wx/combo.h:365:27: note: declared here wxDEPRECATED( wxCoord GetTextIndent() const ); ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxComboCtrl.cpp: In function 'PyObject* meth_wxComboCtrl_SetTextIndent(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxComboCtrl.cpp:3210:41: warning: 'void wxComboCtrlBase::SetTextIndent(int)' is deprecated [-Wdeprecated-declarations] sipCpp->SetTextIndent(indent); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxComboCtrl.cpp:10: /usr/include/wx-3.0/wx/combo.h:362:24: note: declared here wxDEPRECATED( void SetTextIndent( int indent ) ); ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [ 31/856] Compiling sip/cpp/sip_corewxBrush.cpp [ 32/856] Compiling sip/cpp/sip_corewxXPMHandler.cpp [ 33/856] Compiling sip/cpp/sip_corewxLogChain.cpp [ 34/856] Compiling sip/cpp/sip_corewxLogBuffer.cpp [ 35/856] Compiling sip/cpp/sip_corewxWrapSizer.cpp [ 36/856] Compiling sip/cpp/sip_corewxColourPickerEvent.cpp [ 37/856] Compiling sip/cpp/sip_corewxFileCtrl.cpp [ 38/856] Compiling sip/cpp/sip_corewxWithImages.cpp [ 39/856] Compiling sip/cpp/sip_corewxWindowModalDialogEvent.cpp [ 40/856] Compiling sip/cpp/sip_corewxWindowList_iterator.cpp [ 41/856] Compiling sip/cpp/sip_corewxLog.cpp [ 42/856] Compiling sip/cpp/sip_corewxLocale.cpp [ 43/856] Compiling sip/cpp/sip_corewxFSFile.cpp [ 44/856] Compiling sip/cpp/sip_corewxWindowList.cpp [ 45/856] Compiling sip/cpp/sip_corewxWindowIDRef.cpp [ 46/856] Compiling sip/cpp/sip_corewxWindowDisabler.cpp [ 47/856] Compiling sip/cpp/sip_corewxListbook.cpp [ 48/856] Compiling sip/cpp/sip_corewxWindowDestroyEvent.cpp [ 49/856] Compiling sip/cpp/sip_corewxWindowDC.cpp [ 50/856] Compiling sip/cpp/sip_corewxListView.cpp [ 51/856] Compiling sip/cpp/sip_corewxColourPickerCtrl.cpp [ 52/856] Compiling sip/cpp/sip_corewxExecuteEnv.cpp [ 53/856] Compiling sip/cpp/sip_corewxBoxSizer.cpp [ 54/856] Compiling sip/cpp/sip_corewxAppTraits.cpp [ 55/856] Compiling sip/cpp/sip_corewxActivateEvent.cpp [ 56/856] Compiling sip/cpp/sip_corewxWindowCreateEvent.cpp [ 57/856] Compiling sip/cpp/sip_corewxListItemAttr.cpp [ 58/856] Compiling sip/cpp/sip_corewxWindowChildrenRepositioningGuard.cpp [ 59/856] Compiling sip/cpp/sip_corewxWindowBase.cpp [ 60/856] Compiling sip/cpp/sip_corewxWindow.cpp [ 61/856] Compiling sip/cpp/sip_corewxListItem.cpp [ 62/856] Compiling sip/cpp/sip_corewxEvtHandler.cpp [ 63/856] Compiling sip/cpp/sip_corewxVisualAttributes.cpp [ 64/856] Compiling sip/cpp/sip_corewxVideoMode.cpp [ 65/856] Compiling sip/cpp/sip_corewxVersionInfo.cpp [ 66/856] Compiling sip/cpp/sip_corewxListEvent.cpp [ 67/856] Compiling sip/cpp/sip_corewxVariantList.cpp [ 68/856] Compiling sip/cpp/sip_corewxEventLoopBase.cpp [ 69/856] Compiling sip/cpp/sip_corewxListCtrl.cpp [ 70/856] Compiling sip/cpp/sip_corewxVariant.cpp [ 71/856] Compiling sip/cpp/sip_corewxColourDialog.cpp [ 72/856] Compiling sip/cpp/sip_corewxVarVScrollHelper.cpp [ 73/856] Compiling sip/cpp/sip_corewxVarScrollHelperBase.cpp [ 74/856] Compiling sip/cpp/sip_corewxListBox.cpp [ 75/856] Compiling sip/cpp/sip_corewxLinuxDistributionInfo.cpp [ 76/856] Compiling sip/cpp/sip_corewxVarHVScrollHelper.cpp [ 77/856] Compiling sip/cpp/sip_corewxEventLoopActivator.cpp [ 78/856] Compiling sip/cpp/sip_corewxVarHScrollHelper.cpp [ 79/856] Compiling sip/cpp/sip_corewxLayoutConstraints.cpp [ 80/856] Compiling sip/cpp/sip_corewxValidator.cpp [ 81/856] Compiling sip/cpp/sip_corewxVListBox.cpp [ 82/856] Compiling sip/cpp/sip_corewxVScrolledWindow.cpp [ 83/856] Compiling sip/cpp/sip_corewxLanguageInfo.cpp [ 84/856] Compiling sip/cpp/sip_corewxEventFilter.cpp [ 85/856] Compiling sip/cpp/sip_corewxColourDatabase.cpp [ 86/856] Compiling sip/cpp/sip_corewxBookCtrlEvent.cpp [ 87/856] Compiling sip/cpp/sip_corewxUniChar.cpp [ 88/856] Compiling sip/cpp/sip_corewxUpdateUIEvent.cpp [ 89/856] Compiling sip/cpp/sip_corewxKeyboardState.cpp [ 90/856] Compiling sip/cpp/sip_corewxURLDataObject.cpp [ 91/856] Compiling sip/cpp/sip_corewxULongLong.cpp [ 92/856] Compiling sip/cpp/sip_corewxKeyEvent.cpp [ 93/856] Compiling sip/cpp/sip_corewxEventBlocker.cpp [ 94/856] Compiling sip/cpp/sip_corewxUIntPtr.cpp ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'long unsigned int _wxVScrolledWindow_GetFirstVisibleLine(wxVScrolledWindow*)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:48:42: warning: 'size_t wxVarVScrollLegacyAdaptor::GetFirstVisibleLine() const' is deprecated [-Wdeprecated-declarations] return self->GetFirstVisibleLine(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:574:26: note: declared here wxDEPRECATED( size_t GetFirstVisibleLine() const ); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'long unsigned int _wxVScrolledWindow_GetLastVisibleLine(wxVScrolledWindow*)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:52:41: warning: 'size_t wxVarVScrollLegacyAdaptor::GetLastVisibleLine() const' is deprecated [-Wdeprecated-declarations] return self->GetLastVisibleLine(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:581:26: note: declared here wxDEPRECATED( size_t GetLastVisibleLine() const ); ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'long unsigned int _wxVScrolledWindow_GetLineCount(wxVScrolledWindow*)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:56:35: warning: 'size_t wxVarVScrollLegacyAdaptor::GetLineCount() const' is deprecated [-Wdeprecated-declarations] return self->GetLineCount(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:587:26: note: declared here wxDEPRECATED( size_t GetLineCount() const ); ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'void _wxVScrolledWindow_SetLineCount(wxVScrolledWindow*, long unsigned int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:60:33: warning: 'void wxVarVScrollLegacyAdaptor::SetLineCount(size_t)' is deprecated [-Wdeprecated-declarations] self->SetLineCount(count); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:592:24: note: declared here wxDEPRECATED( void SetLineCount(size_t count) ); ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'void _wxVScrolledWindow_RefreshLine(wxVScrolledWindow*, long unsigned int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:64:31: warning: 'virtual void wxVarVScrollLegacyAdaptor::RefreshLine(size_t)' is deprecated [-Wdeprecated-declarations] self->RefreshLine(line); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:595:32: note: declared here wxDEPRECATED( virtual void RefreshLine(size_t line) ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'void _wxVScrolledWindow_RefreshLines(wxVScrolledWindow*, long unsigned int, long unsigned int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:68:38: warning: 'virtual void wxVarVScrollLegacyAdaptor::RefreshLines(size_t, size_t)' is deprecated [-Wdeprecated-declarations] self->RefreshLines(from_, to_); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:598:32: note: declared here wxDEPRECATED( virtual void RefreshLines(size_t from, size_t to) ); ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'bool _wxVScrolledWindow_ScrollToLine(wxVScrolledWindow*, long unsigned int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:72:39: warning: 'bool wxVarVScrollLegacyAdaptor::ScrollToLine(size_t)' is deprecated [-Wdeprecated-declarations] return self->ScrollToLine(line); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:604:24: note: declared here wxDEPRECATED( bool ScrollToLine(size_t line) ); ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'bool _wxVScrolledWindow_ScrollLines(wxVScrolledWindow*, int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:76:66: warning: 'virtual bool wxVarVScrollLegacyAdaptor::ScrollLines(int)' is deprecated [-Wdeprecated-declarations] return self->wxVarVScrollLegacyAdaptor::ScrollLines(lines); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:607:32: note: declared here wxDEPRECATED( virtual bool ScrollLines(int lines) ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'bool _wxVScrolledWindow_ScrollPages(wxVScrolledWindow*, int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:80:66: warning: 'virtual bool wxVarVScrollLegacyAdaptor::ScrollPages(int)' is deprecated [-Wdeprecated-declarations] return self->wxVarVScrollLegacyAdaptor::ScrollPages(pages); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:608:32: note: declared here wxDEPRECATED( virtual bool ScrollPages(int pages) ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [ 95/856] Compiling sip/cpp/sip_corewxUIActionSimulator.cpp [ 96/856] Compiling sip/cpp/sip_corewxJoystickEvent.cpp [ 97/856] Compiling sip/cpp/sip_corewxTreebook.cpp [ 98/856] Compiling sip/cpp/sip_corewxTreeItemId.cpp [ 99/856] Compiling sip/cpp/sip_corewxJPEGHandler.cpp [100/856] Compiling sip/cpp/sip_corewxEvent.cpp [101/856] Compiling sip/cpp/sip_corewxColourData.cpp [102/856] Compiling sip/cpp/sip_corewxTreeItemData.cpp [103/856] Compiling sip/cpp/sip_corewxTreeEvent.cpp [104/856] Compiling sip/cpp/sip_corewxFileConfig.cpp [105/856] Compiling sip/cpp/sip_corewxTreeCtrl.cpp [106/856] Compiling sip/cpp/sip_corewxTranslationsLoader.cpp [107/856] Compiling sip/cpp/sip_corewxEraseEvent.cpp [108/856] Compiling sip/cpp/sip_corewxItemContainer.cpp [109/856] Compiling sip/cpp/sip_corewxTranslations.cpp [110/856] Compiling sip/cpp/sip_corewxInternetFSHandler.cpp [111/856] Compiling sip/cpp/sip_corewxTrackable.cpp [112/856] Compiling sip/cpp/sip_corewxTopLevelWindow.cpp [113/856] Compiling sip/cpp/sip_corewxIntPtr.cpp [114/856] Compiling sip/cpp/sip_corewxToolbook.cpp [115/856] Compiling sip/cpp/sip_corewxDropTarget.cpp [116/856] Compiling sip/cpp/sip_corewxColour.cpp [117/856] Compiling sip/cpp/sip_corewxBookCtrlBase.cpp [118/856] Compiling sip/cpp/sip_corewxAppConsole.cpp [119/856] Compiling sip/cpp/sip_corewxToolTip.cpp [120/856] Compiling sip/cpp/sip_corewxIntCArrayHolder.cpp [121/856] Compiling sip/cpp/sip_corewxToolBarToolBase.cpp [122/856] Compiling sip/cpp/sip_corewxToolBar.cpp [123/856] Compiling sip/cpp/sip_corewxInputStream.cpp [124/856] Compiling sip/cpp/sip_corewxDropSource.cpp [125/856] Compiling sip/cpp/sip_corewxTipWindow.cpp [126/856] Compiling sip/cpp/sip_corewxToggleButton.cpp [127/856] Compiling sip/cpp/sip_corewxTimerRunner.cpp [128/856] Compiling sip/cpp/sip_corewxInitDialogEvent.cpp [129/856] Compiling sip/cpp/sip_corewxTimerEvent.cpp [130/856] Compiling sip/cpp/sip_corewxTimer.cpp [131/856] Compiling sip/cpp/sip_corewxInfoBar.cpp [132/856] Compiling sip/cpp/sip_corewxDropFilesEvent.cpp [133/856] Compiling sip/cpp/sip_corewxCollapsiblePaneEvent.cpp [134/856] Compiling sip/cpp/sip_corewxTimeSpan.cpp [135/856] Compiling sip/cpp/sip_corewxTextUrlEvent.cpp [136/856] Compiling sip/cpp/sip_corewxIndividualLayoutConstraint.cpp [137/856] Compiling sip/cpp/sip_corewxTextEntryDialog.cpp [138/856] Compiling sip/cpp/sip_corewxTextEntry.cpp [139/856] Compiling sip/cpp/sip_corewxImageRGBValue.cpp [140/856] Compiling sip/cpp/sip_corewxDragImage.cpp [141/856] Compiling sip/cpp/sip_corewxTextDropTarget.cpp [142/856] Compiling sip/cpp/sip_corewxImageList.cpp [143/856] Compiling sip/cpp/sip_corewxTextDataObject.cpp [144/856] Compiling sip/cpp/sip_corewxTextCtrl.cpp [145/856] Compiling sip/cpp/sip_corewxTextCompleterSimple.cpp [146/856] Compiling sip/cpp/sip_corewxDisplayChangedEvent.cpp [147/856] Compiling sip/cpp/sip_corewxCollapsiblePane.cpp [148/856] Compiling sip/cpp/sip_corewxImageHistogram.cpp [149/856] Compiling sip/cpp/sip_corewxBitmapToggleButton.cpp [150/856] Compiling sip/cpp/sip_corewxTextAttr.cpp [151/856] Compiling sip/cpp/sip_corewxTextCompleter.cpp [152/856] Compiling sip/cpp/sip_corewxImageHandler.cpp [153/856] Compiling sip/cpp/sip_corewxTIFFHandler.cpp [154/856] Compiling sip/cpp/sip_corewxTGAHandler.cpp ../../../../sip/cpp/sip_corewxTextCtrl.cpp: In function 'bool _wxTextCtrl_ShowNativeCaret(wxTextCtrl*, bool)': ../../../../sip/cpp/sip_corewxTextCtrl.cpp:61:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../../../../sip/cpp/sip_corewxTextCtrl.cpp: In function 'bool _wxTextCtrl_HideNativeCaret(wxTextCtrl*)': ../../../../sip/cpp/sip_corewxTextCtrl.cpp:67:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ [155/856] Compiling sip/cpp/sip_corewxDisplay.cpp [156/856] Compiling sip/cpp/sip_corewxImageHSVValue.cpp [157/856] Compiling sip/cpp/sip_corewxSystemSettings.cpp [158/856] Compiling sip/cpp/sip_corewxSystemOptions.cpp [159/856] Compiling sip/cpp/sip_corewxImageArray.cpp [160/856] Compiling sip/cpp/sip_corewxSysColourChangedEvent.cpp [161/856] Compiling sip/cpp/sip_corewxStringCArrayHolder.cpp [162/856] Compiling sip/cpp/sip_corewxImage.cpp [163/856] Compiling sip/cpp/sip_corewxDirPickerCtrl.cpp [164/856] Compiling sip/cpp/sip_corewxCloseEvent.cpp [165/856] Compiling sip/cpp/sip_corewxStreamBase.cpp [166/856] Compiling sip/cpp/sip_corewxString.cpp [167/856] Compiling sip/cpp/sip_corewxStopWatch.cpp [168/856] Compiling sip/cpp/sip_corewxIdleEvent.cpp [169/856] Compiling sip/cpp/sip_corewxIdManager.cpp [170/856] Compiling sip/cpp/sip_corewxDirFilterListCtrl.cpp [171/856] Compiling sip/cpp/sip_corewxStockPreferencesPage.cpp [172/856] Compiling sip/cpp/sip_corewxStockGDI.cpp [173/856] Compiling sip/cpp/sip_corewxStdDialogButtonSizer.cpp [174/856] Compiling sip/cpp/sip_corewxIconizeEvent.cpp [175/856] Compiling sip/cpp/sip_corewxStatusBarPane.cpp [176/856] Compiling sip/cpp/sip_corewxStatusBar.cpp [177/856] Compiling sip/cpp/sip_corewxIconLocation.cpp [178/856] Compiling sip/cpp/sip_corewxDirDialog.cpp [179/856] Compiling sip/cpp/sip_corewxClipboardTextEvent.cpp [180/856] Compiling sip/cpp/sip_corewxBitmapDataObject.cpp [181/856] Compiling sip/cpp/sip_corewxAnyButton.cpp ../../../../sip/cpp/sip_corewxIconizeEvent.cpp: In function 'PyObject* meth_wxIconizeEvent_Iconized(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxIconizeEvent.cpp:148:39: warning: 'bool wxIconizeEvent::Iconized() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->Iconized(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxIconizeEvent.cpp:10: /usr/include/wx-3.0/wx/event.h:2490:24: note: declared here wxDEPRECATED( bool Iconized() const { return IsIconized(); } ) ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [182/856] Compiling sip/cpp/sip_corecmodule.cpp [183/856] Compiling sip/cpp/sip_corewxAccessible.cpp [184/856] Compiling sip/cpp/sip_corewxStaticText.cpp [185/856] Compiling sip/cpp/sip_corewxStaticLine.cpp [186/856] Compiling sip/cpp/sip_corewxIconBundle.cpp [187/856] Compiling sip/cpp/sip_corewxStaticBoxSizer.cpp [188/856] Compiling sip/cpp/sip_corewxIcon.cpp [189/856] Compiling sip/cpp/sip_corewxStaticBox.cpp [190/856] Compiling sip/cpp/sip_corewxDialogLayoutAdapter.cpp [191/856] Compiling sip/cpp/sip_corewxStandardPaths.cpp [192/856] Compiling sip/cpp/sip_corewxIFFHandler.cpp [193/856] Compiling sip/cpp/sip_corewxSplitterWindow.cpp [194/856] Compiling sip/cpp/sip_corewxStaticBitmap.cpp [195/856] Compiling sip/cpp/sip_corewxSplitterRenderParams.cpp [196/856] Compiling sip/cpp/sip_corewxHelpProvider.cpp [197/856] Compiling sip/cpp/sip_corewxDialog.cpp [198/856] Compiling sip/cpp/sip_corewxClipboard.cpp [199/856] Compiling sip/cpp/sip_corewxSplitterEvent.cpp [200/856] Compiling sip/cpp/sip_corewxItemContainerImmutable.cpp ../../../../sip/cpp/sip_corecmodule.cpp: In function 'PyObject* func_Usleep(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corecmodule.cpp:10476:34: warning: 'void wxUsleep(long unsigned int)' is deprecated [-Wdeprecated-declarations] wxUsleep(milliseconds); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corecmodule.cpp:10: /usr/include/wx-3.0/wx/utils.h:491:37: note: declared here wxDEPRECATED( WXDLLIMPEXP_BASE void wxUsleep(unsigned long milliseconds) ); ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corecmodule.cpp:10476:34: warning: 'void wxUsleep(long unsigned int)' is deprecated [-Wdeprecated-declarations] wxUsleep(milliseconds); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corecmodule.cpp:10: /usr/include/wx-3.0/wx/utils.h:491:37: note: declared here wxDEPRECATED( WXDLLIMPEXP_BASE void wxUsleep(unsigned long milliseconds) ); ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [201/856] Compiling sip/cpp/sip_corewxHelpEvent.cpp [202/856] Compiling sip/cpp/sip_corewxSpinDoubleEvent.cpp [203/856] Compiling sip/cpp/sip_corewxSpinCtrlDouble.cpp ../../../../sip/cpp/sip_corewxSplitterWindow.cpp: In function 'PyObject* meth_wxSplitterWindow_SetSashSize(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxSplitterWindow.cpp:1586:37: warning: 'void wxSplitterWindow::SetSashSize(int)' is deprecated [-Wdeprecated-declarations] sipCpp->SetSashSize(size); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxSplitterWindow.cpp:10: /usr/include/wx-3.0/wx/generic/splitter.h:225:31: note: declared here wxDEPRECATED_INLINE( void SetSashSize(int WXUNUSED(width)), return; ) ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/generic/splitter.h:225:5: note: in expansion of macro 'wxDEPRECATED_INLINE' wxDEPRECATED_INLINE( void SetSashSize(int WXUNUSED(width)), return; ) ^~~~~~~~~~~~~~~~~~~ [204/856] Compiling sip/cpp/sip_corewxHelpControllerHelpProvider.cpp [205/856] Compiling sip/cpp/sip_corewxDelegateRendererNative.cpp [206/856] Compiling sip/cpp/sip_corewxSpinCtrl.cpp [207/856] Compiling sip/cpp/sip_corewxHelpControllerBase.cpp [208/856] Compiling sip/cpp/sip_corewxSpinButton.cpp [209/856] Compiling sip/cpp/sip_corewxSlider.cpp [210/856] Compiling sip/cpp/sip_corewxSizerItemList_iterator.cpp [211/856] Compiling sip/cpp/sip_corewxHeaderCtrlSimple.cpp [212/856] Compiling sip/cpp/sip_corewxDateTimeTm.cpp [213/856] Compiling sip/cpp/sip_corewxClientDataContainer.cpp [214/856] Compiling sip/cpp/sip_corewxSizerItemList.cpp [215/856] Compiling sip/cpp/sip_corewxBitmapButton.cpp [216/856] Compiling sip/cpp/sip_corewxSizerItem.cpp [217/856] Compiling sip/cpp/sip_corewxSizerFlags.cpp [218/856] Compiling sip/cpp/sip_corewxSizer.cpp [219/856] Compiling sip/cpp/sip_corewxHeaderCtrlEvent.cpp [220/856] Compiling sip/cpp/sip_corewxDateTimeTimeZone.cpp [221/856] Compiling sip/cpp/sip_corewxHeaderCtrl.cpp [222/856] Compiling sip/cpp/sip_corewxSizeEvent.cpp [223/856] Compiling sip/cpp/sip_corewxSize.cpp [224/856] Compiling sip/cpp/sip_corewxHeaderColumnSimple.cpp [225/856] Compiling sip/cpp/sip_corewxSingleInstanceChecker.cpp [226/856] Compiling sip/cpp/sip_corewxSimplebook.cpp [227/856] Compiling sip/cpp/sip_corewxHeaderColumn.cpp ../../../../sip/cpp/sip_corewxSizer.cpp: In function 'PyObject* meth_wxSizer_SetVirtualSizeHints(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxSizer.cpp:3021:47: warning: 'void wxSizer::SetVirtualSizeHints(wxWindow*)' is deprecated [-Wdeprecated-declarations] sipCpp->SetVirtualSizeHints(window); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxSizer.cpp:10: /usr/include/wx-3.0/wx/sizer.h:666:24: note: declared here wxDEPRECATED( void SetVirtualSizeHints( wxWindow *window ) ); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [228/856] Compiling sip/cpp/sip_corewxDateTime.cpp [229/856] Compiling sip/cpp/sip_corewxClientData.cpp [230/856] Compiling sip/cpp/sip_corewxSimpleHelpProvider.cpp [231/856] Compiling sip/cpp/sip_corewxShowEvent.cpp [232/856] Compiling sip/cpp/sip_corewxSettableHeaderColumn.cpp [233/856] Compiling sip/cpp/sip_corewxHeaderButtonParams.cpp [234/856] Compiling sip/cpp/sip_corewxSetCursorEvent.cpp [235/856] Compiling sip/cpp/sip_corewxHVScrolledWindow.cpp [236/856] Compiling sip/cpp/sip_corewxDateSpan.cpp [237/856] Compiling sip/cpp/sip_corewxSearchCtrl.cpp [238/856] Compiling sip/cpp/sip_corewxHTMLDataObject.cpp [239/856] Compiling sip/cpp/sip_corewxScrolledWindow.cpp [240/856] Compiling sip/cpp/sip_corewxScrolledCanvas.cpp [241/856] Compiling sip/cpp/sip_corewxScrollWinEvent.cpp [242/856] Compiling sip/cpp/sip_corewxHScrolledWindow.cpp [243/856] Compiling sip/cpp/sip_corewxDataObjectSimple.cpp [244/856] Compiling sip/cpp/sip_corewxClientDC.cpp [245/856] Compiling sip/cpp/sip_corewxAlphaPixelData_Accessor.cpp [246/856] Compiling sip/cpp/sip_corewxBitmap.cpp [247/856] Compiling sip/cpp/sip_corewxScrollEvent.cpp [248/856] Compiling sip/cpp/sip_corewxScrollBar.cpp [249/856] Compiling sip/cpp/sip_corewxGridSizer.cpp [250/856] Compiling sip/cpp/sip_corewxScreenDC.cpp [251/856] Compiling sip/cpp/sip_corewxSVGFileDC.cpp [252/856] Compiling sip/cpp/sip_corewxGridBagSizer.cpp [253/856] Compiling sip/cpp/sip_corewxDataObjectComposite.cpp [254/856] Compiling sip/cpp/sip_corewxRichMessageDialog.cpp [255/856] Compiling sip/cpp/sip_corewxRendererVersion.cpp [256/856] Compiling sip/cpp/sip_corewxGraphicsRenderer.cpp [257/856] Compiling sip/cpp/sip_corewxRendererNative.cpp [258/856] Compiling sip/cpp/sip_corewxRegionIterator.cpp [259/856] Compiling sip/cpp/sip_corewxGraphicsPen.cpp ../../../../sip/cpp/sip_corewxSVGFileDC.cpp: In function 'PyObject* meth_wxSVGFileDC_SetClippingRegion(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxSVGFileDC.cpp:582:46: warning: 'void wxDC::SetClippingRegion(const wxRegion&)' is deprecated [-Wdeprecated-declarations] sipCpp->SetClippingRegion(*region); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxSVGFileDC.cpp:10: /usr/include/wx-3.0/wx/dc.h:996:30: note: declared here wxDEPRECATED_INLINE(void SetClippingRegion(const wxRegion& region), ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dc.h:996:5: note: in expansion of macro 'wxDEPRECATED_INLINE' wxDEPRECATED_INLINE(void SetClippingRegion(const wxRegion& region), ^~~~~~~~~~~~~~~~~~~ [260/856] Compiling sip/cpp/sip_corewxDataObject.cpp [261/856] Compiling sip/cpp/sip_corewxClassInfo.cpp [262/856] Compiling sip/cpp/sip_corewxRegion.cpp [263/856] Compiling sip/cpp/sip_corewxRefCounter.cpp [264/856] Compiling sip/cpp/sip_corewxGraphicsPath.cpp [265/856] Compiling sip/cpp/sip_corewxRect.cpp [266/856] Compiling sip/cpp/sip_corewxRect2DDouble.cpp [267/856] Compiling sip/cpp/sip_corewxDataFormat.cpp [268/856] Compiling sip/cpp/sip_corewxGraphicsObject.cpp [269/856] Compiling sip/cpp/sip_corewxRearrangeDialog.cpp [270/856] Compiling sip/cpp/sip_corewxGraphicsMatrix.cpp [271/856] Compiling sip/cpp/sip_corewxRearrangeList.cpp [272/856] Compiling sip/cpp/sip_corewxRearrangeCtrl.cpp [273/856] Compiling sip/cpp/sip_corewxRealPoint.cpp [274/856] Compiling sip/cpp/sip_corewxGraphicsGradientStops.cpp [275/856] Compiling sip/cpp/sip_corewxDashCArrayHolder.cpp [276/856] Compiling sip/cpp/sip_corewxChoicebook.cpp [277/856] Compiling sip/cpp/sip_corewxAutoBufferedPaintDC.cpp [278/856] Compiling sip/cpp/sip_corewxRadioButton.cpp [279/856] Compiling sip/cpp/sip_corewxRadioBox.cpp [280/856] Compiling sip/cpp/sip_corewxGraphicsGradientStop.cpp [281/856] Compiling sip/cpp/sip_corewxQueryNewPaletteEvent.cpp [282/856] Compiling sip/cpp/sip_corewxPyUserData.cpp [283/856] Compiling sip/cpp/sip_corewxGraphicsFont.cpp [284/856] Compiling sip/cpp/sip_corewxDCTextColourChanger.cpp [285/856] Compiling sip/cpp/sip_corewxPyEvent.cpp [286/856] Compiling sip/cpp/sip_corewxSpinEvent.cpp [287/856] Compiling sip/cpp/sip_corewxGraphicsContext.cpp [288/856] Compiling sip/cpp/sip_corewxPyCommandEvent.cpp [289/856] Compiling sip/cpp/sip_corewxPyBuffer.cpp [290/856] Compiling sip/cpp/sip_corewxGraphicsBrush.cpp [291/856] Compiling sip/cpp/sip_corewxDCPenChanger.cpp [292/856] Compiling sip/cpp/sip_corewxChoice.cpp [293/856] Compiling sip/cpp/sip_corewxPyApp.cpp [294/856] Compiling sip/cpp/sip_corewxPropagationDisabler.cpp [295/856] Compiling sip/cpp/sip_corewxGraphicsBitmap.cpp [296/856] Compiling sip/cpp/sip_corewxPropagateOnce.cpp [297/856] Compiling sip/cpp/sip_corewxGenericProgressDialog.cpp [298/856] Compiling sip/cpp/sip_corewxProgressDialog.cpp [299/856] Compiling sip/cpp/sip_corewxDCOverlay.cpp [300/856] Compiling sip/cpp/sip_corewxProcessEvent.cpp [301/856] Compiling sip/cpp/sip_corewxProcess.cpp [302/856] Compiling sip/cpp/sip_corewxGenericMessageDialog.cpp [303/856] Compiling sip/cpp/sip_corewxPrintout.cpp [304/856] Compiling sip/cpp/sip_corewxPrinterDC.cpp [305/856] Compiling sip/cpp/sip_corewxGenericDragImage.cpp [306/856] Compiling sip/cpp/sip_corewxChildFocusEvent.cpp [307/856] Compiling sip/cpp/sip_corewxDCFontChanger.cpp [308/856] Compiling sip/cpp/sip_corewxArtProvider.cpp [309/856] Compiling sip/cpp/sip_corewxAlphaPixelData.cpp [310/856] Compiling sip/cpp/sip_corewxPrinter.cpp [311/856] Compiling sip/cpp/sip_corewxPrintPreview.cpp [312/856] Compiling sip/cpp/sip_corewxAcceleratorTable.cpp [313/856] Compiling sip/cpp/sip_corewxGenericDirCtrl.cpp [314/856] Compiling sip/cpp/sip_corewxPrintDialogData.cpp [315/856] Compiling sip/cpp/sip_corewxPrintDialog.cpp [316/856] Compiling sip/cpp/sip_corewxDCClipper.cpp ../../../../sip/cpp/sip_corewxArtProvider.cpp: In function 'PyObject* meth_wxArtProvider_Insert(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxArtProvider.cpp:450:31: warning: 'static void wxArtProvider::Insert(wxArtProvider*)' is deprecated [-Wdeprecated-declarations] ::wxArtProvider::Insert(provider); ^~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxArtProvider.cpp:10: /usr/include/wx-3.0/wx/artprov.h:138:31: note: declared here static wxDEPRECATED( void Insert(wxArtProvider *provider) ); ^~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxArtProvider.cpp:450:46: warning: 'static void wxArtProvider::Insert(wxArtProvider*)' is deprecated [-Wdeprecated-declarations] ::wxArtProvider::Insert(provider); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxArtProvider.cpp:10: /usr/include/wx-3.0/wx/artprov.h:138:31: note: declared here static wxDEPRECATED( void Insert(wxArtProvider *provider) ); ^~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxArtProvider.cpp:450:46: warning: 'static void wxArtProvider::Insert(wxArtProvider*)' is deprecated [-Wdeprecated-declarations] ::wxArtProvider::Insert(provider); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxArtProvider.cpp:10: /usr/include/wx-3.0/wx/artprov.h:138:31: note: declared here static wxDEPRECATED( void Insert(wxArtProvider *provider) ); ^~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [317/856] Compiling sip/cpp/sip_corewxGauge.cpp [318/856] Compiling sip/cpp/sip_corewxPrintData.cpp [319/856] Compiling sip/cpp/sip_corewxPrintAbortDialog.cpp [320/856] Compiling sip/cpp/sip_corewxPreviewFrame.cpp [321/856] Compiling sip/cpp/sip_corewxGUIEventLoop.cpp [322/856] Compiling sip/cpp/sip_corewxPreviewControlBar.cpp [323/856] Compiling sip/cpp/sip_corewxDCBrushChanger.cpp [324/856] Compiling sip/cpp/sip_corewxGIFHandler.cpp [325/856] Compiling sip/cpp/sip_corewxCheckListBox.cpp [326/856] Compiling sip/cpp/sip_corewxPreviewCanvas.cpp [327/856] Compiling sip/cpp/sip_corewxPreferencesPage.cpp [328/856] Compiling sip/cpp/sip_corewxGDIObject.cpp [329/856] Compiling sip/cpp/sip_corewxPreferencesEditor.cpp [330/856] Compiling sip/cpp/sip_corewxGCDC.cpp [331/856] Compiling sip/cpp/sip_corewxDC.cpp [332/856] Compiling sip/cpp/sip_corewxPowerEvent.cpp [333/856] Compiling sip/cpp/sip_corewxPostScriptDC.cpp [334/856] Compiling sip/cpp/sip_corewxGBSpan.cpp [335/856] Compiling sip/cpp/sip_corewxPosition.cpp [336/856] Compiling sip/cpp/sip_corewxPopupTransientWindow.cpp [337/856] Compiling sip/cpp/sip_corewxPopupWindow.cpp [338/856] Compiling sip/cpp/sip_corewxGBSizerItem.cpp [339/856] Compiling sip/cpp/sip_corewxCheckBox.cpp [340/856] Compiling sip/cpp/sip_corewxCustomDataObject.cpp [341/856] Compiling sip/cpp/sip_corewxArrayVideoModes.cpp [342/856] Compiling sip/cpp/sip_corewxPySingleChoiceDialog.cpp [343/856] Compiling sip/cpp/sip_corewxPointList.cpp [344/856] Compiling sip/cpp/sip_corewxGBPosition.cpp [345/856] Compiling sip/cpp/sip_corewxPoint2DDouble.cpp [346/856] Compiling sip/cpp/sip_corewxPoint.cpp [347/856] Compiling sip/cpp/sip_corewxFrame.cpp [348/856] Compiling sip/cpp/sip_corewxPlatformInfo.cpp [349/856] Compiling sip/cpp/sip_corewxCursor.cpp [350/856] Compiling sip/cpp/sip_corewxPixelDataBase.cpp [351/856] Compiling sip/cpp/sip_corewxFontPickerEvent.cpp [352/856] Compiling sip/cpp/sip_corewxPenList.cpp [353/856] Compiling sip/cpp/sip_corewxPickerBase.cpp [354/856] Compiling sip/cpp/sip_corewxFontPickerCtrl.cpp [355/856] Compiling sip/cpp/sip_corewxControlWithItems.cpp [356/856] Compiling sip/cpp/sip_corewxCharBuffer.cpp [357/856] Compiling sip/cpp/sip_corewxPen.cpp [358/856] Compiling sip/cpp/sip_corewxPasswordEntryDialog.cpp [359/856] Compiling sip/cpp/sip_corewxFontMetrics.cpp [360/856] Compiling sip/cpp/sip_corewxPanel.cpp [361/856] Compiling sip/cpp/sip_corewxPaletteChangedEvent.cpp [362/856] Compiling sip/cpp/sip_corewxControl.cpp [363/856] Compiling sip/cpp/sip_corewxPointList_iterator.cpp [364/856] Compiling sip/cpp/sip_corewxPalette.cpp [365/856] Compiling sip/cpp/sip_corewxFontList.cpp [366/856] Compiling sip/cpp/sip_corewxPaintEvent.cpp [367/856] Compiling sip/cpp/sip_corewxPageSetupDialogData.cpp [368/856] Compiling sip/cpp/sip_corewxPaintDC.cpp [369/856] Compiling sip/cpp/sip_corewxFontInfo.cpp [370/856] Compiling sip/cpp/sip_corewxContextMenuEvent.cpp [371/856] Compiling sip/cpp/sip_corewxCaret.cpp [372/856] Compiling sip/cpp/sip_corewxArrayString.cpp [373/856] Compiling sip/cpp/sip_corewxPageSetupDialog.cpp [374/856] Compiling sip/cpp/sip_corewxAffineMatrix2DBase.cpp [375/856] Compiling sip/cpp/sip_corewxFontEnumerator.cpp [376/856] Compiling sip/cpp/sip_corewxPNMHandler.cpp [377/856] Compiling sip/cpp/sip_corewxPNGHandler.cpp [378/856] Compiling sip/cpp/sip_corewxPCXHandler.cpp [379/856] Compiling sip/cpp/sip_corewxFontDialog.cpp [380/856] Compiling sip/cpp/sip_corewxOverlay.cpp [381/856] Compiling sip/cpp/sip_corewxOutputStream.cpp [382/856] Compiling sip/cpp/sip_corewxContextHelpButton.cpp [383/856] Compiling sip/cpp/sip_corewxFontData.cpp [384/856] Compiling sip/cpp/sip_corewxObject.cpp [385/856] Compiling sip/cpp/sip_corewxFont.cpp [386/856] Compiling sip/cpp/sip_corewxContextHelp.cpp [387/856] Compiling sip/cpp/sip_corewxNumberEntryDialog.cpp [388/856] Compiling sip/cpp/sip_corewxButton.cpp [389/856] Compiling sip/cpp/sip_corewxNotifyEvent.cpp [390/856] Compiling sip/cpp/sip_corewxNotebook.cpp [391/856] Compiling sip/cpp/sip_corewxFocusEvent.cpp [392/856] Compiling sip/cpp/sip_corewxNavigationKeyEvent.cpp [393/856] Compiling sip/cpp/sip_corewxFlexGridSizer.cpp [394/856] Compiling sip/cpp/sip_corewxNonOwnedWindow.cpp [395/856] Compiling sip/cpp/sip_corewxConfigPathChanger.cpp [396/856] Compiling sip/cpp/sip_corewxNativePixelData_Accessor.cpp [397/856] Compiling sip/cpp/sip_corewxFindReplaceDialog.cpp [398/856] Compiling sip/cpp/sip_corewxNativeFontInfo.cpp [399/856] Compiling sip/cpp/sip_corewxMultiChoiceDialog.cpp [400/856] Compiling sip/cpp/sip_corewxFindReplaceData.cpp [401/856] Compiling sip/cpp/sip_corewxFontMapper.cpp [402/856] Compiling sip/cpp/sip_corewxConfigBase.cpp [403/856] Compiling sip/cpp/sip_corewxArrayInt.cpp [404/856] Compiling sip/cpp/sip_corewxBusyInfo.cpp [405/856] Compiling sip/cpp/sip_corewxMsgCatalog.cpp [406/856] Compiling sip/cpp/sip_corewxMoveEvent.cpp [407/856] Compiling sip/cpp/sip_corewxMouseState.cpp [408/856] Compiling sip/cpp/sip_corewxFindDialogEvent.cpp [409/856] Compiling sip/cpp/sip_corewxMouseEventsManager.cpp [410/856] Compiling sip/cpp/sip_corewxFilterFSHandler.cpp [411/856] Compiling sip/cpp/sip_corewxConfig.cpp [412/856] Compiling sip/cpp/sip_corewxMouseCaptureLostEvent.cpp [413/856] Compiling sip/cpp/sip_corewxFileTypeMessageParameters.cpp [414/856] Compiling sip/cpp/sip_corewxMouseCaptureChangedEvent.cpp [415/856] Compiling sip/cpp/sip_corewxMouseEvent.cpp [416/856] Compiling sip/cpp/sip_corewxModalDialogHook.cpp [417/856] Compiling sip/cpp/sip_corewxCommandProcessor.cpp [418/856] Compiling sip/cpp/sip_corewxFileTypeInfo.cpp [419/856] Compiling sip/cpp/sip_corewxBusyCursor.cpp [420/856] Compiling sip/cpp/sip_corewxMirrorDC.cpp [421/856] Compiling sip/cpp/sip_corewxFileType.cpp [422/856] Compiling sip/cpp/sip_corewxMiniFrame.cpp [423/856] Compiling sip/cpp/sip_corewxMimeTypesManager.cpp [424/856] Compiling sip/cpp/sip_corewxMetafileDC.cpp [425/856] Compiling sip/cpp/sip_corewxFileTranslationsLoader.cpp [426/856] Compiling sip/cpp/sip_corewxMetafile.cpp [427/856] Compiling sip/cpp/sip_corewxCommandList_iterator.cpp [428/856] Compiling sip/cpp/sip_corewxMessageDialogButtonLabel.cpp [429/856] Compiling sip/cpp/sip_corewxFileSystemWatcherEvent.cpp [430/856] Compiling sip/cpp/sip_corewxNativePixelData.cpp [431/856] Compiling sip/cpp/sip_corewxBufferedDC.cpp [432/856] Compiling sip/cpp/sip_corewxBrushList.cpp [433/856] Compiling sip/cpp/sip_corewxComboCtrlFeatures.cpp [434/856] Compiling sip/cpp/sip_corewxMessageDialog.cpp [435/856] Compiling sip/cpp/sip_corewxCommandEvent.cpp [436/856] Compiling sip/cpp/sip_corewxCommand.cpp [437/856] Compiling sip/cpp/sip_corewxFileDropTarget.cpp [438/856] Compiling sip/cpp/sip_corewxMDIChildFrame.cpp [439/856] Compiling sip/cpp/sip_corewxFileName.cpp [440/856] Compiling sip/cpp/sip_corewxMDIClientWindow.cpp [441/856] Compiling sip/cpp/sip_corewxFileHistory.cpp [442/856] Compiling sip/cpp/sip_corewxFileSystemHandler.cpp [443/856] Compiling sip/cpp/sip_corewxFileSystem.cpp [444/856] Compiling sip/cpp/sip_corewxMemoryFSHandler.cpp [445/856] Compiling sip/cpp/sip_corewxMDIParentFrame.cpp [446/856] Compiling sip/cpp/sip_corewxMask.cpp [447/856] Compiling sip/cpp/sip_corewxMenu.cpp [448/856] Compiling sip/cpp/sip_corewxComboPopup.cpp [449/856] Compiling sip/cpp/sip_corewxFileHistoryMenuList.cpp [450/856] Compiling sip/cpp/sip_corewxMenuItem.cpp [451/856] Compiling sip/cpp/sip_corewxFilePickerCtrl.cpp [452/856] Compiling sip/cpp/sip_corewxMatrix2D.cpp [453/856] Compiling sip/cpp/sip_corewxMaximizeEvent.cpp [454/856] Compiling sip/cpp/sip_corewxMenuBar.cpp [455/856] Compiling sip/cpp/sip_corewxFileHistoryMenuList_iterator.cpp [456/856] Compiling sip/cpp/sip_corewxMemoryBuffer.cpp [457/856] Compiling sip/cpp/sip_advwxWizardPageSimple.cpp ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_GetLabel(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:478:55: warning: 'wxString wxMenuItemBase::GetLabel() const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetLabel()); ^ In file included from /usr/include/wx-3.0/wx/wx.h:56, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:182:17: note: declared here inline wxString wxMenuItemBase::GetLabel() const ^~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_GetName(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:591:54: warning: 'wxString wxMenuItemBase::GetName() const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetName()); ^ In file included from /usr/include/wx-3.0/wx/wx.h:56, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:180:17: note: declared here inline wxString wxMenuItemBase::GetName() const ^~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_GetText(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:668:54: warning: 'const wxString& wxMenuItemBase::GetText() const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetText()); ^ In file included from /usr/include/wx-3.0/wx/wx.h:56, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:184:24: note: declared here inline const wxString& wxMenuItemBase::GetText() const { return m_text; } ^~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_SetText(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:1459:34: warning: 'virtual void wxMenuItemBase::SetText(const wxString&)' is deprecated [-Wdeprecated-declarations] sipCpp->SetText(*text); ^ In file included from /usr/include/wx-3.0/wx/wx.h:56, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:185:13: note: declared here inline void wxMenuItemBase::SetText(const wxString& text) { SetItemLabel(text); } ^~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_GetLabelFromText(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:1668:53: warning: 'static wxString wxMenuItemBase::GetLabelFromText(const wxString&)' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString( ::wxMenuItem::GetLabelFromText(*text)); ^~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:135:35: note: declared here static wxDEPRECATED( wxString GetLabelFromText(const wxString& text) ); ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxMenuItem.cpp:1668:75: warning: 'static wxString wxMenuItemBase::GetLabelFromText(const wxString&)' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString( ::wxMenuItem::GetLabelFromText(*text)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:135:35: note: declared here static wxDEPRECATED( wxString GetLabelFromText(const wxString& text) ); ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxMenuItem.cpp:1668:75: warning: 'static wxString wxMenuItemBase::GetLabelFromText(const wxString&)' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString( ::wxMenuItem::GetLabelFromText(*text)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:135:35: note: declared here static wxDEPRECATED( wxString GetLabelFromText(const wxString& text) ); ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [458/856] Compiling sip/cpp/sip_advwxWizardEvent.cpp [459/856] Compiling sip/cpp/sip_advwxTaskBarIcon.cpp [460/856] Compiling sip/cpp/sip_advwxHyperlinkEvent.cpp [461/856] Compiling sip/cpp/sip_advwxAnimation.cpp [462/856] Compiling sip/cpp/sip_advwxAboutDialogInfo.cpp [463/856] Compiling sip/cpp/sip_advwxBannerWindow.cpp [464/856] Compiling sip/cpp/sip_advwxSplashScreen.cpp ../../../../sip/cpp/sip_corewxMenuBar.cpp: In function 'PyObject* meth_wxMenuBar_GetLabelTop(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuBar.cpp:2140:61: warning: 'wxString wxMenuBarBase::GetLabelTop(size_t) const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetLabelTop(pos)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuBar.cpp:10: /usr/include/wx-3.0/wx/menu.h:555:28: note: declared here wxDEPRECATED( wxString GetLabelTop(size_t pos) const ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxMenuBar.cpp: In function 'PyObject* meth_wxMenuBar_SetLabelTop(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuBar.cpp:2694:43: warning: 'void wxMenuBarBase::SetLabelTop(size_t, const wxString&)' is deprecated [-Wdeprecated-declarations] sipCpp->SetLabelTop(pos,*label); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuBar.cpp:10: /usr/include/wx-3.0/wx/menu.h:553:24: note: declared here wxDEPRECATED( void SetLabelTop(size_t pos, const wxString& label) ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [465/856] Compiling sip/cpp/sip_advcmodule.cpp [466/856] Compiling sip/cpp/sip_advwxSashEvent.cpp [467/856] Compiling sip/cpp/sip_advwxExtHelpController.cpp [468/856] Linking build/waf/2.7/gtk3/_core.so [469/856] Compiling sip/cpp/sip_advwxDateEvent.cpp [470/856] Compiling sip/cpp/sip_advwxPropertySheetDialog.cpp [471/856] Compiling sip/cpp/sip_advwxCalendarCtrl.cpp [472/856] Compiling sip/cpp/sip_advwxWizardPage.cpp [473/856] Compiling sip/cpp/sip_advwxWizard.cpp [474/856] Compiling sip/cpp/sip_advwxTaskBarIconEvent.cpp [475/856] Compiling sip/cpp/sip_advwxTimePickerCtrl.cpp [476/856] Compiling sip/cpp/sip_advwxTipProvider.cpp [477/856] Compiling sip/cpp/sip_advwxSashLayoutWindow.cpp [478/856] Compiling sip/cpp/sip_advwxPseudoDC.cpp [479/856] Compiling sip/cpp/sip_advwxSashWindow.cpp [480/856] Compiling sip/cpp/sip_advwxRichToolTip.cpp [481/856] Compiling sip/cpp/sip_advwxSound.cpp [482/856] Compiling sip/cpp/sip_advwxQueryLayoutInfoEvent.cpp [483/856] Compiling sip/cpp/sip_advwxOwnerDrawnComboBox.cpp [484/856] Compiling sip/cpp/sip_advwxJoystick.cpp [485/856] Compiling sip/cpp/sip_advwxDatePickerCtrlGeneric.cpp [486/856] Compiling sip/cpp/sip_advwxAnimationCtrl.cpp [487/856] Compiling sip/cpp/sip_advwxLayoutAlgorithm.cpp [488/856] Compiling sip/cpp/sip_advwxNotificationMessage.cpp [489/856] Compiling sip/cpp/sip_advwxGenericCalendarCtrl.cpp [490/856] Compiling sip/cpp/sip_advwxHyperlinkCtrl.cpp [491/856] Compiling sip/cpp/sip_advwxEditableListBox.cpp [492/856] Compiling sip/cpp/sip_advwxCommandLinkButton.cpp [493/856] Compiling sip/cpp/sip_advwxCalculateLayoutEvent.cpp [494/856] Compiling sip/cpp/sip_advwxDatePickerCtrl.cpp [495/856] Compiling sip/cpp/sip_advwxCalendarEvent.cpp [496/856] Compiling sip/cpp/sip_advwxBitmapComboBox.cpp [497/856] Compiling sip/cpp/sip_advwxCalendarDateAttr.cpp [498/856] Compiling sip/cpp/sip_dataviewwxDataViewIndexListModel.cpp [499/856] Compiling sip/cpp/sip_dataviewwxDataViewItem.cpp [500/856] Compiling sip/cpp/sip_dataviewwxDataViewVirtualListModel.cpp [501/856] Compiling sip/cpp/sip_dataviewwxDataViewColumn.cpp [502/856] Compiling sip/cpp/sip_dataviewwxDataViewListStore.cpp [503/856] Compiling sip/cpp/sip_dataviewwxDataViewDateRenderer.cpp [504/856] Compiling sip/cpp/sip_dataviewwxDataViewItemAttr.cpp [505/856] Compiling sip/cpp/sip_dataviewwxDataViewIconText.cpp [506/856] Compiling sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp [507/856] Compiling sip/cpp/sip_dataviewwxDataViewIconTextRenderer.cpp [508/856] Linking build/waf/2.7/gtk3/_adv.so [509/856] Compiling sip/cpp/sip_dataviewwxDataViewToggleRenderer.cpp [510/856] Compiling sip/cpp/sip_dataviewwxDataViewCtrl.cpp [511/856] Compiling sip/cpp/sip_dataviewwxDataViewModel.cpp [512/856] Compiling sip/cpp/sip_dataviewwxDataViewEvent.cpp [513/856] Compiling sip/cpp/sip_dataviewcmodule.cpp [514/856] Compiling sip/cpp/sip_dataviewwxDataViewListCtrl.cpp [515/856] Compiling sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp: In member function 'virtual bool sipwxDataViewSpinRenderer::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, uint)': ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:311:43: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewSpinRenderer::LeftClick(cursor,cell,model,item,col); ^~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:311:79: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewSpinRenderer::LeftClick(cursor,cell,model,item,col); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp: In member function 'virtual bool sipwxDataViewSpinRenderer::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, uint)': ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:326:43: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewSpinRenderer::Activate(cell,model,item,col); ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:326:71: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewSpinRenderer::Activate(cell,model,item,col); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [516/856] Compiling sip/cpp/sip_dataviewwxDataViewTextRenderer.cpp [517/856] Compiling sip/cpp/sip_dataviewwxDataViewTreeStore.cpp [518/856] Compiling sip/cpp/sip_dataviewwxDataViewListModel.cpp [519/856] Compiling sip/cpp/sip_dataviewwxTreeListEvent.cpp [520/856] Compiling sip/cpp/sip_dataviewwxDataViewModelNotifier.cpp [521/856] Compiling sip/cpp/sip_dataviewwxDVCVariant.cpp [522/856] Compiling sip/cpp/sip_dataviewwxDataViewItemArray.cpp ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In member function 'virtual bool sipwxDataViewCustomRenderer::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, uint)': ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:125:45: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewCustomRenderer::Activate(cell,model,item,col); ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:125:73: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewCustomRenderer::Activate(cell,model,item,col); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In member function 'virtual bool sipwxDataViewCustomRenderer::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, uint)': ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:140:45: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewCustomRenderer::LeftClick(cursor,cell,model,item,col); ^~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:140:81: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewCustomRenderer::LeftClick(cursor,cell,model,item,col); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In function 'PyObject* meth_wxDataViewCustomRenderer_LeftClick(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:707:115: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::LeftClick(*cursor,*cell,model,*item,col) : sipCpp->LeftClick(*cursor,*cell,model,*item,col)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:707:166: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::LeftClick(*cursor,*cell,model,*item,col) : sipCpp->LeftClick(*cursor,*cell,model,*item,col)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In function 'PyObject* meth_wxDataViewCustomRenderer_Activate(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:758:106: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::Activate(*cell,model,*item,col) : sipCpp->Activate(*cell,model,*item,col)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:758:148: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::Activate(*cell,model,*item,col) : sipCpp->Activate(*cell,model,*item,col)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [523/856] Compiling sip/cpp/sip_dataviewwxTreeListItem.cpp [524/856] Compiling sip/cpp/sip_dataviewwxVariantVector.cpp [525/856] Compiling sip/cpp/sip_dataviewwxDataViewBitmapRenderer.cpp [526/856] Compiling sip/cpp/sip_dataviewwxTreeListItemComparator.cpp [527/856] Compiling sip/cpp/sip_dataviewwxDataViewTreeCtrl.cpp [528/856] Compiling sip/cpp/sip_dataviewwxDataViewChoiceRenderer.cpp [529/856] Compiling sip/cpp/sip_dataviewwxDataViewRenderer.cpp [530/856] Compiling sip/cpp/sip_dataviewwxDataViewProgressRenderer.cpp [531/856] Compiling sip/cpp/sip_dataviewwxTreeListCtrl.cpp [532/856] Compiling sip/cpp/sip_gridwxGridCellAutoWrapStringRenderer.cpp [533/856] Compiling sip/cpp/sip_gridwxGridCellAttrProvider.cpp [534/856] Compiling sip/cpp/sip_gridwxGridCellEnumRenderer.cpp [535/856] Compiling sip/cpp/sip_gridwxGridCornerHeaderRendererDefault.cpp [536/856] Compiling sip/cpp/sip_gridwxGridCellChoiceEditor.cpp [537/856] Compiling sip/cpp/sip_gridwxGridCellAttr.cpp [538/856] Compiling sip/cpp/sip_gridwxGridUpdateLocker.cpp [539/856] Compiling sip/cpp/sip_gridwxGridCellCoords.cpp [540/856] Compiling sip/cpp/sip_gridwxGridCellBoolEditor.cpp [541/856] Compiling sip/cpp/sip_gridcmodule.cpp [542/856] Compiling sip/cpp/sip_gridwxGridCellBoolRenderer.cpp [543/856] Compiling sip/cpp/sip_gridwxGrid.cpp [544/856] Compiling sip/cpp/sip_gridwxGridCellCoordsArray.cpp [545/856] Linking build/waf/2.7/gtk3/_dataview.so [546/856] Compiling sip/cpp/sip_gridwxGridRangeSelectEvent.cpp [547/856] Compiling sip/cpp/sip_gridwxGridHeaderLabelsRenderer.cpp [548/856] Compiling sip/cpp/sip_gridwxGridCellStringRenderer.cpp [549/856] Compiling sip/cpp/sip_gridwxGridCellEnumEditor.cpp [550/856] Compiling sip/cpp/sip_gridwxGridTableMessage.cpp [551/856] Compiling sip/cpp/sip_gridwxGridCellNumberEditor.cpp [552/856] Compiling sip/cpp/sip_gridwxGridCellAutoWrapStringEditor.cpp [553/856] Compiling sip/cpp/sip_gridwxGridCellTextEditor.cpp [554/856] Compiling sip/cpp/sip_gridwxGridCellRenderer.cpp [555/856] Compiling sip/cpp/sip_gridwxGridColumnHeaderRenderer.cpp [556/856] Compiling sip/cpp/sip_gridwxGridSizeEvent.cpp [557/856] Compiling sip/cpp/sip_gridwxGridRowHeaderRendererDefault.cpp [558/856] Compiling sip/cpp/sip_gridwxGridEditorCreatedEvent.cpp [559/856] Compiling sip/cpp/sip_gridwxGridCellEditor.cpp [560/856] Compiling sip/cpp/sip_gridwxGridSizesInfo.cpp [561/856] Compiling sip/cpp/sip_gridwxGridEvent.cpp [562/856] Compiling sip/cpp/sip_gridwxGridRowHeaderRenderer.cpp [563/856] Compiling sip/cpp/sip_gridwxGridStringTable.cpp [564/856] Compiling sip/cpp/sip_gridwxGridTableBase.cpp [565/856] Compiling sip/cpp/sip_gridwxGridCellNumberRenderer.cpp [566/856] Compiling sip/cpp/sip_gridwxGridCellDateTimeRenderer.cpp [567/856] Compiling sip/cpp/sip_gridwxGridColumnHeaderRendererDefault.cpp [568/856] Compiling sip/cpp/sip_gridwxGridCornerHeaderRenderer.cpp [569/856] Compiling sip/cpp/sip_gridwxGridCellFloatEditor.cpp [570/856] Compiling sip/cpp/sip_gridwxGridCellFloatRenderer.cpp [571/856] Compiling sip/cpp/sip_stcwxStyledTextCtrl.cpp [572/856] Compiling sip/cpp/sip_stccmodule.cpp [573/856] Compiling sip/cpp/sip_stcwxStyledTextEvent.cpp [574/856] Compiling sip/cpp/sip_htmlwxHtmlHelpDataItem.cpp [575/856] Compiling sip/cpp/sip_htmlcmodule.cpp [576/856] Compiling sip/cpp/sip_htmlwxHtmlHelpDialog.cpp [577/856] Compiling sip/cpp/sip_htmlwxHtmlRenderingInfo.cpp [578/856] Compiling sip/cpp/sip_htmlwxHtmlFilter.cpp [579/856] Compiling sip/cpp/sip_htmlwxHtmlHelpDataItems.cpp [580/856] Linking build/waf/2.7/gtk3/_grid.so [581/856] Compiling sip/cpp/sip_htmlwxHtmlBookRecord.cpp [582/856] Compiling sip/cpp/sip_htmlwxSimpleHtmlListBox.cpp [583/856] Compiling sip/cpp/sip_htmlwxHtmlWordWithTabsCell.cpp [584/856] Compiling sip/cpp/sip_htmlwxHtmlDCRenderer.cpp [585/856] Compiling sip/cpp/sip_htmlwxHtmlRenderingState.cpp [586/856] Compiling sip/cpp/sip_htmlwxHtmlHelpData.cpp [587/856] Compiling sip/cpp/sip_htmlwxHtmlWinParser.cpp [588/856] Compiling sip/cpp/sip_htmlwxHtmlSelection.cpp [589/856] Compiling sip/cpp/sip_htmlwxHtmlHelpWindow.cpp [590/856] Compiling sip/cpp/sip_htmlwxHtmlTag.cpp [591/856] Compiling sip/cpp/sip_htmlwxHtmlWinTagHandler.cpp [592/856] Compiling sip/cpp/sip_htmlwxHtmlFontCell.cpp [593/856] Compiling sip/cpp/sip_htmlwxHtmlCell.cpp [594/856] Compiling sip/cpp/sip_htmlwxHtmlPrintout.cpp [595/856] Compiling sip/cpp/sip_htmlwxHtmlLinkInfo.cpp ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp: In function 'PyObject* meth_wxHtmlTag_GetBeginPos(PyObject*, PyObject*)': ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:76:42: warning: 'int wxHtmlTag::GetBeginPos() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->GetBeginPos(); ^ In file included from /usr/include/wx-3.0/wx/html/htmlpars.h:15, from /usr/include/wx-3.0/wx/html/winpars.h:17, from /usr/include/wx-3.0/wx/html/htmlwin.h:19, from /usr/include/wx-3.0/wx/htmllbox.h:15, from ../../../../sip/cpp/sipAPI_html.h:2132, from ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:10: /usr/include/wx-3.0/wx/html/htmltag.h:168:12: note: declared here inline int wxHtmlTag::GetBeginPos() const { return int(m_Begin - m_sourceStart); } ^~~~~~~~~ ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp: In function 'PyObject* meth_wxHtmlTag_GetEndPos1(PyObject*, PyObject*)': ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:116:41: warning: 'int wxHtmlTag::GetEndPos1() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->GetEndPos1(); ^ In file included from /usr/include/wx-3.0/wx/html/htmlpars.h:15, from /usr/include/wx-3.0/wx/html/winpars.h:17, from /usr/include/wx-3.0/wx/html/htmlwin.h:19, from /usr/include/wx-3.0/wx/htmllbox.h:15, from ../../../../sip/cpp/sipAPI_html.h:2132, from ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:10: /usr/include/wx-3.0/wx/html/htmltag.h:169:12: note: declared here inline int wxHtmlTag::GetEndPos1() const { return int(m_End1 - m_sourceStart); } ^~~~~~~~~ ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp: In function 'PyObject* meth_wxHtmlTag_GetEndPos2(PyObject*, PyObject*)': ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:156:41: warning: 'int wxHtmlTag::GetEndPos2() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->GetEndPos2(); ^ In file included from /usr/include/wx-3.0/wx/html/htmlpars.h:15, from /usr/include/wx-3.0/wx/html/winpars.h:17, from /usr/include/wx-3.0/wx/html/htmlwin.h:19, from /usr/include/wx-3.0/wx/htmllbox.h:15, from ../../../../sip/cpp/sipAPI_html.h:2132, from ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:10: /usr/include/wx-3.0/wx/html/htmltag.h:170:12: note: declared here inline int wxHtmlTag::GetEndPos2() const { return int(m_End2 - m_sourceStart); } ^~~~~~~~~ [596/856] Compiling sip/cpp/sip_htmlwxHtmlListBox.cpp [597/856] Compiling sip/cpp/sip_htmlwxHtmlHelpController.cpp [598/856] Compiling sip/cpp/sip_htmlwxHtmlContainerCell.cpp [599/856] Compiling sip/cpp/sip_htmlwxHtmlCellEvent.cpp [600/856] Compiling sip/cpp/sip_htmlwxHtmlWindowInterface.cpp [601/856] Compiling sip/cpp/sip_htmlwxHtmlModalHelp.cpp [602/856] Compiling sip/cpp/sip_htmlwxHtmlColourCell.cpp [603/856] Linking build/waf/2.7/gtk3/_stc.so [604/856] Compiling sip/cpp/sip_htmlwxHtmlBookRecArray.cpp [605/856] Compiling sip/cpp/sip_htmlwxHtmlTagHandler.cpp [606/856] Compiling sip/cpp/sip_htmlwxHtmlWidgetCell.cpp [607/856] Compiling sip/cpp/sip_htmlwxHtmlWordCell.cpp [608/856] Compiling sip/cpp/sip_htmlwxHtmlHelpFrame.cpp [609/856] Compiling sip/cpp/sip_htmlwxHtmlLinkEvent.cpp [610/856] Compiling sip/cpp/sip_htmlwxHtmlWindow.cpp [611/856] Compiling sip/cpp/sip_htmlwxHtmlEasyPrinting.cpp [612/856] Compiling sip/cpp/sip_htmlwxHtmlParser.cpp [613/856] Compiling sip/cpp/sip_htmlwxHtmlRenderingStyle.cpp [614/856] Compiling sip/cpp/sip_glcanvaswxGLContext.cpp [615/856] Compiling sip/cpp/sip_glcanvaswxGLCanvas.cpp [616/856] Compiling sip/cpp/sip_glcanvascmodule.cpp [617/856] Compiling sip/cpp/sip_html2wxWebView.cpp [618/856] Compiling sip/cpp/sip_html2wxWebViewHandler.cpp [619/856] Compiling sip/cpp/sip_html2wxWebViewEvent.cpp [620/856] Compiling sip/cpp/sip_html2wxWebViewFactory.cpp [621/856] Compiling sip/cpp/sip_html2wxWebViewHistoryItem.cpp [622/856] Compiling sip/cpp/sip_html2wxWebViewFSHandler.cpp [623/856] Linking build/waf/2.7/gtk3/_html.so [624/856] Compiling sip/cpp/sip_html2cmodule.cpp [625/856] Compiling sip/cpp/sip_html2wxWebViewArchiveHandler.cpp [626/856] Compiling sip/cpp/sip_xmlcmodule.cpp [627/856] Compiling sip/cpp/sip_xmlwxXmlDocument.cpp [628/856] Linking build/waf/2.7/gtk3/_glcanvas.so [629/856] Compiling sip/cpp/sip_xmlwxXmlNode.cpp [630/856] Compiling sip/cpp/sip_xmlwxXmlAttribute.cpp [631/856] Compiling sip/cpp/sip_xrccmodule.cpp [632/856] Compiling sip/cpp/sip_xrcwxXmlResource.cpp [633/856] Compiling sip/cpp/sip_xrcwxXmlResourceHandler.cpp [634/856] Compiling sip/cpp/sip_xrcwxXmlSubclassFactory.cpp [635/856] Compiling sip/cpp/sip_xrcwxAnimation.cpp [636/856] Compiling sip/cpp/sip_richtextwxRichTextFieldTypeStandard.cpp [637/856] Linking build/waf/2.7/gtk3/_html2.so [638/856] Compiling sip/cpp/sip_richtextwxTextAttrBorder.cpp [639/856] Compiling sip/cpp/sip_richtextwxRichTextParagraphStyleDefinition.cpp [640/856] Compiling sip/cpp/sip_richtextwxRichTextFormattingDialogFactory.cpp [641/856] Linking build/waf/2.7/gtk3/_xml.so [642/856] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandler.cpp [643/856] Compiling sip/cpp/sip_richtextwxRichTextCtrl.cpp [644/856] Compiling sip/cpp/sip_richtextwxRichTextProperties.cpp [645/856] Compiling sip/cpp/sip_richtextwxRichTextCell.cpp [646/856] Compiling sip/cpp/sip_richtextwxRichTextListStyleDefinition.cpp [647/856] Linking build/waf/2.7/gtk3/_xrc.so [648/856] Compiling sip/cpp/sip_richtextwxRichTextRenderer.cpp [649/856] Compiling sip/cpp/sip_richtextwxTextAttrBorders.cpp [650/856] Compiling sip/cpp/sip_richtextwxRichTextBufferDataObject.cpp [651/856] Compiling sip/cpp/sip_richtextwxRichTextPrintout.cpp [652/856] Compiling sip/cpp/sip_richtextwxRichTextObjectPtrArray.cpp [653/856] Compiling sip/cpp/sip_richtextwxRichTextObjectList_iterator.cpp [654/856] Compiling sip/cpp/sip_richtextwxRichTextSelection.cpp [655/856] Compiling sip/cpp/sip_richtextwxRichTextPrinting.cpp [656/856] Compiling sip/cpp/sip_richtextwxRichTextRange.cpp [657/856] Compiling sip/cpp/sip_richtextwxRichTextLineList_iterator.cpp [658/856] Compiling sip/cpp/sip_richtextwxRichTextAttrArray.cpp [659/856] Compiling sip/cpp/sip_richtextwxSymbolPickerDialog.cpp [660/856] Compiling sip/cpp/sip_richtextwxRichTextTable.cpp [661/856] Compiling sip/cpp/sip_richtextwxRichTextPlainTextHandler.cpp [662/856] Compiling sip/cpp/sip_richtextwxRichTextXMLHandler.cpp [663/856] Compiling sip/cpp/sip_richtextwxRichTextActionList.cpp [664/856] Compiling sip/cpp/sip_richtextwxRichTextEvent.cpp [665/856] Compiling sip/cpp/sip_richtextwxRichTextFileHandler.cpp [666/856] Compiling sip/cpp/sip_richtextwxRichTextStyleSheet.cpp [667/856] Compiling sip/cpp/sip_richtextwxRichTextParagraph.cpp [668/856] Compiling sip/cpp/sip_richtextwxRichTextFloatCollector.cpp [669/856] Compiling sip/cpp/sip_richtextwxRichTextField.cpp [670/856] Compiling sip/cpp/sip_richtextwxRichTextLineList.cpp [671/856] Compiling sip/cpp/sip_richtextwxRichTextVariantArray.cpp [672/856] Compiling sip/cpp/sip_richtextcmodule.cpp [673/856] Compiling sip/cpp/sip_richtextwxRichTextStyleOrganiserDialog.cpp [674/856] Compiling sip/cpp/sip_richtextwxTextAttrDimension.cpp [675/856] Compiling sip/cpp/sip_richtextwxRichTextStyleListBox.cpp [676/856] Compiling sip/cpp/sip_richtextwxRichTextImageBlock.cpp [677/856] Compiling sip/cpp/sip_richtextwxRichTextStdRenderer.cpp [678/856] Compiling sip/cpp/sip_richtextwxRichTextObjectList__iterator.cpp [679/856] Compiling sip/cpp/sip_richtextwxRichTextLine.cpp [680/856] Compiling sip/cpp/sip_richtextwxRichTextAction.cpp [681/856] Compiling sip/cpp/sip_richtextwxRichTextPlainText.cpp [682/856] Compiling sip/cpp/sip_richtextwxRichTextHTMLHandler.cpp [683/856] Compiling sip/cpp/sip_richtextwxRichTextFontTable.cpp [684/856] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandlerList_iterator.cpp [685/856] Compiling sip/cpp/sip_richtextwxRichTextObjectAddress.cpp [686/856] Compiling sip/cpp/sip_richtextwxRichTextDrawingContext.cpp [687/856] Compiling sip/cpp/sip_richtextwxRichTextActionList_iterator.cpp [688/856] Compiling sip/cpp/sip_richtextwxRichTextFormattingDialog.cpp [689/856] Compiling sip/cpp/sip_richtextwxRichTextContextMenuPropertiesInfo.cpp [690/856] Compiling sip/cpp/sip_richtextwxRichTextBox.cpp [691/856] Compiling sip/cpp/sip_richtextwxRichTextBuffer.cpp [692/856] Compiling sip/cpp/sip_richtextwxTextAttrDimensions.cpp [693/856] Compiling sip/cpp/sip_richtextwxTextAttrSize.cpp [694/856] Compiling sip/cpp/sip_richtextwxRichTextStyleListCtrl.cpp [695/856] Compiling sip/cpp/sip_richtextwxRichTextCompositeObject.cpp [696/856] Compiling sip/cpp/sip_richtextwxRichTextFieldType.cpp [697/856] Compiling sip/cpp/sip_richtextwxRichTextStyleComboCtrl.cpp [698/856] Compiling sip/cpp/sip_richtextwxTextAttrDimensionConverter.cpp [699/856] Compiling sip/cpp/sip_richtextwxTextBoxAttr.cpp [700/856] Compiling sip/cpp/sip_richtextwxRichTextFileHandlerList.cpp [701/856] Compiling sip/cpp/sip_richtextwxRichTextCommand.cpp [702/856] Compiling sip/cpp/sip_richtextwxRichTextParagraphLayoutBox.cpp [703/856] Compiling sip/cpp/sip_richtextwxRichTextObjectPtrArrayArray.cpp [704/856] Compiling sip/cpp/sip_richtextwxRichTextObject.cpp [705/856] Compiling sip/cpp/sip_richtextwxRichTextRangeArray.cpp [706/856] Compiling sip/cpp/sip_richtextwxRichTextStyleDefinition.cpp [707/856] Compiling sip/cpp/sip_richtextwxRichTextAttr.cpp [708/856] Compiling sip/cpp/sip_richtextwxRichTextFileHandlerList_iterator.cpp [709/856] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandlerList.cpp [710/856] Compiling sip/cpp/sip_richtextwxRichTextHeaderFooterData.cpp [711/856] Compiling sip/cpp/sip_richtextwxRichTextObjectList_.cpp [712/856] Compiling sip/cpp/sip_richtextwxRichTextCharacterStyleDefinition.cpp [713/856] Compiling sip/cpp/sip_richtextwxRichTextObjectList.cpp [714/856] Compiling sip/cpp/sip_richtextwxRichTextImage.cpp [715/856] Compiling sip/cpp/sip_mediawxMediaEvent.cpp [716/856] Compiling sip/cpp/sip_mediawxMediaCtrl.cpp [717/856] Compiling sip/cpp/sip_mediacmodule.cpp [718/856] Compiling sip/cpp/sip_ribbonwxRibbonToolBar.cpp [719/856] Compiling sip/cpp/sip_ribbonwxRibbonButtonBarButtonBase.cpp [720/856] Compiling sip/cpp/sip_ribbonwxRibbonButtonBar.cpp [721/856] Compiling sip/cpp/sip_ribbonwxRibbonToolBarEvent.cpp [722/856] Compiling sip/cpp/sip_ribbonwxRibbonToolBarToolBase.cpp [723/856] Compiling sip/cpp/sip_ribbonwxRibbonGalleryItem.cpp [724/856] Compiling sip/cpp/sip_ribbonwxRibbonControl.cpp [725/856] Compiling sip/cpp/sip_ribbonwxRibbonPageTabInfoArray.cpp [726/856] Compiling sip/cpp/sip_ribbonwxRibbonPage.cpp [727/856] Linking build/waf/2.7/gtk3/_media.so [728/856] Linking build/waf/2.7/gtk3/_richtext.so [729/856] Compiling sip/cpp/sip_ribbonwxRibbonBarEvent.cpp [730/856] Compiling sip/cpp/sip_ribbonwxRibbonPanelEvent.cpp [731/856] Compiling sip/cpp/sip_ribbonwxRibbonPanel.cpp [732/856] Compiling sip/cpp/sip_ribbonwxRibbonMSWArtProvider.cpp [733/856] Compiling sip/cpp/sip_ribboncmodule.cpp [734/856] Compiling sip/cpp/sip_ribbonwxRibbonAUIArtProvider.cpp [735/856] Compiling sip/cpp/sip_ribbonwxRibbonGallery.cpp [736/856] Compiling sip/cpp/sip_ribbonwxRibbonGalleryEvent.cpp [737/856] Compiling sip/cpp/sip_ribbonwxRibbonBar.cpp [738/856] Compiling sip/cpp/sip_ribbonwxRibbonArtProvider.cpp [739/856] Compiling sip/cpp/sip_ribbonwxRibbonPageTabInfo.cpp [740/856] Compiling sip/cpp/sip_ribbonwxRibbonButtonBarEvent.cpp [741/856] Compiling sip/cpp/sip_propgridwxPropertyGridEvent.cpp [742/856] Compiling sip/cpp/sip_propgridwxPropertyGrid.cpp [743/856] Compiling sip/cpp/sip_propgridwxMultiChoiceProperty.cpp [744/856] Compiling sip/cpp/sip_propgridwxColourProperty.cpp [745/856] Compiling sip/cpp/sip_propgridwxPGChoiceAndButtonEditor.cpp [746/856] Compiling sip/cpp/sip_propgridwxPGComboBoxEditor.cpp [747/856] Compiling sip/cpp/sip_propgridwxPGEditorDialogAdapter.cpp [748/856] Compiling sip/cpp/sip_propgridwxArrayStringProperty.cpp [749/856] Compiling sip/cpp/sip_propgridwxPGFileDialogAdapter.cpp [750/856] Linking build/waf/2.7/gtk3/_ribbon.so [751/856] Compiling sip/cpp/sip_propgridwxUIntProperty.cpp [752/856] Compiling sip/cpp/sip_propgridwxPropertyGridHitTestResult.cpp [753/856] Compiling sip/cpp/sip_propgridwxPGChoiceEditor.cpp [754/856] Compiling sip/cpp/sip_propgridwxPropertyGridIterator.cpp [755/856] Compiling sip/cpp/sip_propgridwxFontProperty.cpp [756/856] Compiling sip/cpp/sip_propgridwxPGMultiButton.cpp [757/856] Compiling sip/cpp/sip_propgridwxPGInDialogValidator.cpp [758/856] Compiling sip/cpp/sip_propgridwxFileProperty.cpp [759/856] Compiling sip/cpp/sip_propgridwxPropertyGridManager.cpp [760/856] Compiling sip/cpp/sip_propgridwxColourPropertyValue.cpp [761/856] Compiling sip/cpp/sip_propgridwxPGPropArgCls.cpp [762/856] Compiling sip/cpp/sip_propgridwxFloatProperty.cpp [763/856] Compiling sip/cpp/sip_propgridwxPropertyCategory.cpp [764/856] Compiling sip/cpp/sip_propgridwxPGProperty.cpp [765/856] Compiling sip/cpp/sip_propgridwxFlagsProperty.cpp [766/856] Compiling sip/cpp/sip_propgridwxPGDefaultRenderer.cpp [767/856] Compiling sip/cpp/sip_propgridwxPGVariantList.cpp [768/856] Compiling sip/cpp/sip_propgridwxPGEditor.cpp [769/856] Compiling sip/cpp/sip_propgridwxPGWindowList.cpp [770/856] Compiling sip/cpp/sip_propgridwxPGChoicesData.cpp [771/856] Compiling sip/cpp/sip_propgridwxPropertyGridPage.cpp [772/856] Compiling sip/cpp/sip_propgridwxCursorProperty.cpp [773/856] Compiling sip/cpp/sip_propgridwxPropertyGridInterface.cpp [774/856] Compiling sip/cpp/sip_propgridwxSystemColourProperty.cpp [775/856] Compiling sip/cpp/sip_propgridwxPGCellRenderer.cpp [776/856] Compiling sip/cpp/sip_propgridwxPGArrayStringEditorDialog.cpp ../../../../sip/cpp/sip_propgridwxPGProperty.cpp: In function 'PyObject* meth_wxPGProperty_AddChild(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_propgridwxPGProperty.cpp:1402:34: warning: 'void wxPGProperty::AddChild(wxPGProperty*)' is deprecated [-Wdeprecated-declarations] sipCpp->AddChild(prop); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_propgrid.h:2971, from ../../../../sip/cpp/sip_propgridwxPGProperty.cpp:10: /usr/include/wx-3.0/wx/propgrid/property.h:2231:24: note: declared here wxDEPRECATED( void AddChild( wxPGProperty* prop ) ); ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_propgridwxPGProperty.cpp: In function 'PyObject* meth_wxPGProperty_GetValueString(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_propgridwxPGProperty.cpp:3142:69: warning: 'wxString wxPGProperty::GetValueString(int) const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetValueString(argFlags)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_propgrid.h:2971, from ../../../../sip/cpp/sip_propgridwxPGProperty.cpp:10: /usr/include/wx-3.0/wx/propgrid/property.h:1657:28: note: declared here wxDEPRECATED( wxString GetValueString( int argFlags = 0 ) const ); ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [777/856] Compiling sip/cpp/sip_propgridwxIntProperty.cpp [778/856] Compiling sip/cpp/sip_propgridwxPGChoiceEntry.cpp [779/856] Compiling sip/cpp/sip_propgridwxPropertyGridPageState.cpp [780/856] Compiling sip/cpp/sip_propgridwxLongStringProperty.cpp [781/856] Compiling sip/cpp/sip_propgridwxPGCheckBoxEditor.cpp [782/856] Compiling sip/cpp/sip_propgridwxPGTextCtrlAndButtonEditor.cpp [783/856] Compiling sip/cpp/sip_propgridwxPGCell.cpp [784/856] Compiling sip/cpp/sip_propgridwxEnumProperty.cpp [785/856] Compiling sip/cpp/sip_propgridwxDirProperty.cpp [786/856] Compiling sip/cpp/sip_propgridwxPGPaintData.cpp [787/856] Compiling sip/cpp/sip_propgridwxPropertyGridIteratorBase.cpp [788/856] Compiling sip/cpp/sip_propgridwxPGCellData.cpp [789/856] Compiling sip/cpp/sip_propgridwxPGSpinCtrlEditor.cpp [790/856] Compiling sip/cpp/sip_propgridwxEditEnumProperty.cpp [791/856] Compiling sip/cpp/sip_propgridcmodule.cpp [792/856] Compiling sip/cpp/sip_propgridwxPGChoices.cpp [793/856] Compiling sip/cpp/sip_propgridwxDateProperty.cpp [794/856] Compiling sip/cpp/sip_propgridwxPGValidationInfo.cpp [795/856] Compiling sip/cpp/sip_propgridwxPGVariant.cpp [796/856] Compiling sip/cpp/sip_propgridwxArrayPGProperty.cpp [797/856] Compiling sip/cpp/sip_propgridwxImageFileProperty.cpp [798/856] Compiling sip/cpp/sip_propgridwxStringProperty.cpp [799/856] Compiling sip/cpp/sip_propgridwxPGArrayEditorDialog.cpp [800/856] Compiling sip/cpp/sip_propgridwxPGTextCtrlEditor.cpp [801/856] Compiling sip/cpp/sip_propgridwxNumericPropertyValidator.cpp [802/856] Compiling sip/cpp/sip_propgridwxBoolProperty.cpp [803/856] Compiling sip/cpp/sip_propgridwxPGLongStringDialogAdapter.cpp [804/856] Compiling sip/cpp/sip_propgridwxPGVIterator.cpp [805/856] Compiling sip/cpp/sip_auiwxAuiManager.cpp [806/856] Compiling sip/cpp/sip_auiwxAuiTabContainerButton.cpp [807/856] Compiling sip/cpp/sip_auiwxAuiPaneInfoArray.cpp [808/856] Compiling sip/cpp/sip_auiwxAuiNotebook.cpp [809/856] Compiling sip/cpp/sip_auiwxAuiToolBarItem.cpp [810/856] Compiling sip/cpp/sip_auiwxAuiSimpleTabArt.cpp [811/856] Compiling sip/cpp/sip_auiwxAuiNotebookEvent.cpp [812/856] Compiling sip/cpp/sip_auicmodule.cpp [813/856] Compiling sip/cpp/sip_auiwxAuiPaneButtonArray.cpp [814/856] Linking build/waf/2.7/gtk3/_propgrid.so [815/856] Compiling sip/cpp/sip_auiwxAuiMDIParentFrame.cpp [816/856] Compiling sip/cpp/sip_auiwxAuiToolBarItemArray.cpp [817/856] Compiling sip/cpp/sip_auiwxAuiTabArt.cpp [818/856] Compiling sip/cpp/sip_auiwxAuiManagerEvent.cpp [819/856] Compiling sip/cpp/sip_auiwxAuiPaneButton.cpp [820/856] Compiling sip/cpp/sip_auiwxAuiDockInfoPtrArray.cpp [821/856] Compiling sip/cpp/sip_auiwxAuiTabContainerButtonArray.cpp [822/856] Compiling sip/cpp/sip_auiwxAuiDefaultToolBarArt.cpp [823/856] Compiling sip/cpp/sip_auiwxAuiDefaultDockArt.cpp [824/856] Compiling sip/cpp/sip_auiwxAuiMDIClientWindow.cpp [825/856] Compiling sip/cpp/sip_auiwxAuiNotebookPageArray.cpp [826/856] Compiling sip/cpp/sip_auiwxAuiToolBar.cpp [827/856] Compiling sip/cpp/sip_auiwxAuiNotebookPage.cpp [828/856] Compiling sip/cpp/sip_auiwxAuiTabContainer.cpp [829/856] Compiling sip/cpp/sip_auiwxAuiToolBarArt.cpp [830/856] Compiling sip/cpp/sip_auiwxAuiDockUIPart.cpp [831/856] Compiling sip/cpp/sip_auiwxAuiPaneInfo.cpp [832/856] Compiling sip/cpp/sip_auiwxAuiDockArt.cpp [833/856] Compiling sip/cpp/sip_auiwxAuiDockInfo.cpp [834/856] Compiling sip/cpp/sip_auiwxAuiDefaultTabArt.cpp [835/856] Compiling sip/cpp/sip_auiwxAuiTabCtrl.cpp [836/856] Compiling sip/cpp/sip_auiwxAuiMDIChildFrame.cpp [837/856] Compiling sip/cpp/sip_auiwxAuiPaneInfoPtrArray.cpp [838/856] Compiling sip/cpp/sip_auiwxAuiToolBarEvent.cpp [839/856] Compiling sip/cpp/sip_auiwxAuiDockUIPartArray.cpp [840/856] Compiling sip/cpp/sip_auiwxAuiDockInfoArray.cpp [841/856] Compiling build/waf/2.7/gtk3/_core.so [842/856] Compiling build/waf/2.7/gtk3/_adv.so [843/856] Compiling build/waf/2.7/gtk3/_dataview.so [844/856] Compiling build/waf/2.7/gtk3/_grid.so [845/856] Compiling build/waf/2.7/gtk3/_stc.so [846/856] Compiling build/waf/2.7/gtk3/_html.so [847/856] Compiling build/waf/2.7/gtk3/_glcanvas.so [848/856] Compiling build/waf/2.7/gtk3/_html2.so [849/856] Compiling build/waf/2.7/gtk3/_xml.so [850/856] Compiling build/waf/2.7/gtk3/_xrc.so [851/856] Compiling build/waf/2.7/gtk3/_richtext.so [852/856] Compiling build/waf/2.7/gtk3/_media.so [853/856] Compiling build/waf/2.7/gtk3/_ribbon.so [854/856] Compiling build/waf/2.7/gtk3/_propgrid.so [855/856] Linking build/waf/2.7/gtk3/_aui.so [856/856] Compiling build/waf/2.7/gtk3/_aui.so Waf: Leaving directory `/build/wxpython4.0-4.0.4+dfsg/build/waf/2.7/gtk3' 'build' finished successfully (1h35m49.275s) ------------ BUILD FINISHED ------------ To use wxPython from the build folder (without installing): - Set your PYTHONPATH variable to /build/wxpython4.0-4.0.4+dfsg. - You may also need to set your (DY)LD_LIBRARY_PATH to /build/wxpython4.0-4.0.4+dfsg/build/wxbld/gtk3/lib, or wherever the wxWidgets libs have been installed. Finished command: build_py (95m57.264s) Running command: bdist_egg "/usr/bin/python2.7" setup.py bdist_egg --skip-build running bdist_egg running build running build_py copying wx/gizmos.py -> build/lib.linux-arm64-2.7/wx copying wx/__init__.py -> build/lib.linux-arm64-2.7/wx copying wx/__version__.py -> build/lib.linux-arm64-2.7/wx copying wx/xrc.py -> build/lib.linux-arm64-2.7/wx copying wx/stc.py -> build/lib.linux-arm64-2.7/wx copying wx/xml.py -> build/lib.linux-arm64-2.7/wx copying wx/aui.py -> build/lib.linux-arm64-2.7/wx copying wx/adv.py -> build/lib.linux-arm64-2.7/wx copying wx/grid.py -> build/lib.linux-arm64-2.7/wx copying wx/dataview.py -> build/lib.linux-arm64-2.7/wx copying wx/propgrid.py -> build/lib.linux-arm64-2.7/wx copying wx/glcanvas.py -> build/lib.linux-arm64-2.7/wx copying wx/msw.py -> build/lib.linux-arm64-2.7/wx copying wx/webkit.py -> build/lib.linux-arm64-2.7/wx copying wx/media.py -> build/lib.linux-arm64-2.7/wx copying wx/ribbon.py -> build/lib.linux-arm64-2.7/wx copying wx/html2.py -> build/lib.linux-arm64-2.7/wx copying wx/html.py -> build/lib.linux-arm64-2.7/wx copying wx/richtext.py -> build/lib.linux-arm64-2.7/wx copying wx/core.py -> build/lib.linux-arm64-2.7/wx creating build/lib.linux-arm64-2.7/wx/lib copying wx/lib/activex.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/sheet.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/rcsizer.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/fancytext.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/gridmovers.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/gestures.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/flashwin.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/docview.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/resizewidget.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/statbmp.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/wordwrap.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/sized_controls.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/flashwin_old.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/pdfwin_old.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/ticker.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/newevent.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/dragscroller.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/graphics.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/softwareupdate.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/msgpanel.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/embeddedimage.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/splitter.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/imageutils.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/colourselect.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/multisash.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/stattext.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/layoutf.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/wxpTag.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/evtmgr.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/iewin.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/inspection.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/dialogs.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/printout.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/scrolledpanel.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/itemspicker.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/filebrowsebutton.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/activexwrapper.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/platebtn.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/buttons.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/expando.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/delayedresult.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/pydocview.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/CDate.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/calendar.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/langlistctrl.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/eventwatcher.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/infoframe.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/ticker_xrc.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/popupctl.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/nvdlg.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/foldmenu.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/__init__.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/imagebrowser.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/progressindicator.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/iewin_old.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/colourutils.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/anchors.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/colourdb.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/combotreebox.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/throbber.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/eventStack.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/busy.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/ClickableHtmlWindow.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/utils.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/pdfwin.py -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/intctrl.py -> build/lib.linux-arm64-2.7/wx/lib creating build/lib.linux-arm64-2.7/wx/tools copying wx/tools/wxget_docs_demo.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/pywxrc.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/wxget.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/img2png.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/dbg.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/img2py.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/helpviewer.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/genaxmodule.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/__init__.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/img2img.py -> build/lib.linux-arm64-2.7/wx/tools copying wx/tools/img2xpm.py -> build/lib.linux-arm64-2.7/wx/tools creating build/lib.linux-arm64-2.7/wx/py copying wx/py/document.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/interpreter.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/editor.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/version.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PySlices.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyWrap.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PySlicesShell.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyFilling.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyCrust.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/path.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/images.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyShell.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/filling.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/crust.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/introspect.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/parse.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/shell.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/dispatcher.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyAlaModeTest.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/crustslices.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/__init__.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/frame.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/magic.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/editwindow.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyAlaCarte.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/sliceshell.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyAlaMode.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/pseudo.py -> build/lib.linux-arm64-2.7/wx/py copying wx/py/buffer.py -> build/lib.linux-arm64-2.7/wx/py creating build/lib.linux-arm64-2.7/wx/lib/editor copying wx/lib/editor/editor.py -> build/lib.linux-arm64-2.7/wx/lib/editor copying wx/lib/editor/selection.py -> build/lib.linux-arm64-2.7/wx/lib/editor copying wx/lib/editor/images.py -> build/lib.linux-arm64-2.7/wx/lib/editor copying wx/lib/editor/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/editor creating build/lib.linux-arm64-2.7/wx/lib/pubsub copying wx/lib/pubsub/pub.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub copying wx/lib/pubsub/policies.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub copying wx/lib/pubsub/setupkwargs.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub copying wx/lib/pubsub/py2and3.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub copying wx/lib/pubsub/setuparg1.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub copying wx/lib/pubsub/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub creating build/lib.linux-arm64-2.7/wx/lib/gizmos copying wx/lib/gizmos/dynamicsash.py -> build/lib.linux-arm64-2.7/wx/lib/gizmos copying wx/lib/gizmos/ledctrl.py -> build/lib.linux-arm64-2.7/wx/lib/gizmos copying wx/lib/gizmos/treelistctrl.py -> build/lib.linux-arm64-2.7/wx/lib/gizmos copying wx/lib/gizmos/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/gizmos creating build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/drawn.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/oglmisc.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/diagram.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/lines.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/bmpshape.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/canvas.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/basic.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/divided.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/composit.py -> build/lib.linux-arm64-2.7/wx/lib/ogl copying wx/lib/ogl/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/ogl creating build/lib.linux-arm64-2.7/wx/lib/art copying wx/lib/art/flagart.py -> build/lib.linux-arm64-2.7/wx/lib/art copying wx/lib/art/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/art copying wx/lib/art/img2pyartprov.py -> build/lib.linux-arm64-2.7/wx/lib/art creating build/lib.linux-arm64-2.7/wx/lib/masked copying wx/lib/masked/timectrl.py -> build/lib.linux-arm64-2.7/wx/lib/masked copying wx/lib/masked/maskededit.py -> build/lib.linux-arm64-2.7/wx/lib/masked copying wx/lib/masked/numctrl.py -> build/lib.linux-arm64-2.7/wx/lib/masked copying wx/lib/masked/ipaddrctrl.py -> build/lib.linux-arm64-2.7/wx/lib/masked copying wx/lib/masked/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/masked copying wx/lib/masked/ctrl.py -> build/lib.linux-arm64-2.7/wx/lib/masked copying wx/lib/masked/textctrl.py -> build/lib.linux-arm64-2.7/wx/lib/masked copying wx/lib/masked/combobox.py -> build/lib.linux-arm64-2.7/wx/lib/masked creating build/lib.linux-arm64-2.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/NavCanvas.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/GUIMode.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/ScreenShot.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/FCObjects.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/Resources.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/FloatCanvas.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/FCEvents.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas creating build/lib.linux-arm64-2.7/wx/lib/wxcairo copying wx/lib/wxcairo/wx_cairocffi.py -> build/lib.linux-arm64-2.7/wx/lib/wxcairo copying wx/lib/wxcairo/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/wxcairo copying wx/lib/wxcairo/wx_pycairo.py -> build/lib.linux-arm64-2.7/wx/lib/wxcairo creating build/lib.linux-arm64-2.7/wx/lib/colourchooser copying wx/lib/colourchooser/intl.py -> build/lib.linux-arm64-2.7/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourchooser.py -> build/lib.linux-arm64-2.7/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourslider.py -> build/lib.linux-arm64-2.7/wx/lib/colourchooser copying wx/lib/colourchooser/pypalette.py -> build/lib.linux-arm64-2.7/wx/lib/colourchooser copying wx/lib/colourchooser/canvas.py -> build/lib.linux-arm64-2.7/wx/lib/colourchooser copying wx/lib/colourchooser/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourbox.py -> build/lib.linux-arm64-2.7/wx/lib/colourchooser creating build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/genericmessagedialog.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/artmanager.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/piectrl.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/flatmenu.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/pybusyinfo.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/zoombar.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/toasterbox.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/floatspin.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/gradientbutton.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/peakmeter.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/labelbook.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/shapedbutton.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/pyprogress.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/knobctrl.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/pygauge.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/cubecolourdialog.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/buttonpanel.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/balloontip.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/thumbnailctrl.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/ultimatelistctrl.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/fmcustomizedlg.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/hypertreelist.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/speedmeter.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/xlsgrid.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/fmresources.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/infobar.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/customtreectrl.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/aquabutton.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/supertooltip.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/hyperlink.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/flatnotebook.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/pycollapsiblepane.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/rulerctrl.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/multidirdialog.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/fourwaysplitter.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/shortcuteditor.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/advancedsplash.py -> build/lib.linux-arm64-2.7/wx/lib/agw copying wx/lib/agw/foldpanelbar.py -> build/lib.linux-arm64-2.7/wx/lib/agw creating build/lib.linux-arm64-2.7/wx/lib/plot copying wx/lib/plot/plotcanvas.py -> build/lib.linux-arm64-2.7/wx/lib/plot copying wx/lib/plot/polyobjects.py -> build/lib.linux-arm64-2.7/wx/lib/plot copying wx/lib/plot/__main__.py -> build/lib.linux-arm64-2.7/wx/lib/plot copying wx/lib/plot/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/plot copying wx/lib/plot/utils.py -> build/lib.linux-arm64-2.7/wx/lib/plot creating build/lib.linux-arm64-2.7/wx/lib/pdfviewer copying wx/lib/pdfviewer/viewer.py -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer copying wx/lib/pdfviewer/buttonpanel.py -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer copying wx/lib/pdfviewer/images.py -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer copying wx/lib/pdfviewer/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer creating build/lib.linux-arm64-2.7/wx/lib/mixins copying wx/lib/mixins/grid.py -> build/lib.linux-arm64-2.7/wx/lib/mixins copying wx/lib/mixins/inspection.py -> build/lib.linux-arm64-2.7/wx/lib/mixins copying wx/lib/mixins/listctrl.py -> build/lib.linux-arm64-2.7/wx/lib/mixins copying wx/lib/mixins/rubberband.py -> build/lib.linux-arm64-2.7/wx/lib/mixins copying wx/lib/mixins/imagelist.py -> build/lib.linux-arm64-2.7/wx/lib/mixins copying wx/lib/mixins/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/mixins copying wx/lib/mixins/gridlabelrenderer.py -> build/lib.linux-arm64-2.7/wx/lib/mixins copying wx/lib/mixins/treemixin.py -> build/lib.linux-arm64-2.7/wx/lib/mixins creating build/lib.linux-arm64-2.7/wx/lib/analogclock copying wx/lib/analogclock/setup.py -> build/lib.linux-arm64-2.7/wx/lib/analogclock copying wx/lib/analogclock/helpers.py -> build/lib.linux-arm64-2.7/wx/lib/analogclock copying wx/lib/analogclock/styles.py -> build/lib.linux-arm64-2.7/wx/lib/analogclock copying wx/lib/analogclock/analogclock.py -> build/lib.linux-arm64-2.7/wx/lib/analogclock copying wx/lib/analogclock/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/analogclock creating build/lib.linux-arm64-2.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/exchandling.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/topictreeprinter.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/xmltopicdefnprovider.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/misc.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/notification.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/utils creating build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/treeconfig.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicdefnprovider.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/weakmethod.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/callables.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/publisherbase.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicobj.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicmgr.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/imp2.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/listenerbase.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicexc.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topictreetraverser.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/validatedefnargs.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicargspec.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/itopicdefnprovider.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicutils.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/notificationmgr.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/listener.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core creating build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/publisher.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/datamsg.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/listenerimpl.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/topicargspecimpl.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/publishermixin.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/topicmgrimpl.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs creating build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/publisher.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/listenerimpl.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/topicargspecimpl.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/publishermixin.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/topicmgrimpl.py -> build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1 creating build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/BBox.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/GUI.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/Colors.py -> build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities creating build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/panel.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_internal.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_default.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_aui.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/toolbar.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_msw.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/page.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/control.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_osx.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/gallery.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/buttonbar.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/bar.py -> build/lib.linux-arm64-2.7/wx/lib/agw/ribbon creating build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/auibook.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/tabart.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/tabmdi.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/dockart.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/framemanager.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/auibar.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/aui_utilities.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/aui_constants.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui copying wx/lib/agw/aui/aui_switcherdialog.py -> build/lib.linux-arm64-2.7/wx/lib/agw/aui creating build/lib.linux-arm64-2.7/wx/lib/agw/persist copying wx/lib/agw/persist/persistencemanager.py -> build/lib.linux-arm64-2.7/wx/lib/agw/persist copying wx/lib/agw/persist/persist_constants.py -> build/lib.linux-arm64-2.7/wx/lib/agw/persist copying wx/lib/agw/persist/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/agw/persist copying wx/lib/agw/persist/persist_handlers.py -> build/lib.linux-arm64-2.7/wx/lib/agw/persist creating build/lib.linux-arm64-2.7/wx/lib/plot/examples copying wx/lib/plot/examples/demo.py -> build/lib.linux-arm64-2.7/wx/lib/plot/examples copying wx/lib/plot/examples/simple_example.py -> build/lib.linux-arm64-2.7/wx/lib/plot/examples copying wx/lib/plot/examples/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/plot/examples creating build/lib.linux-arm64-2.7/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/fontselect.py -> build/lib.linux-arm64-2.7/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/__init__.py -> build/lib.linux-arm64-2.7/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/buttontreectrlpanel.py -> build/lib.linux-arm64-2.7/wx/lib/analogclock/lib_setup running egg_info writing requirements to wxPython.egg-info/requires.txt writing wxPython.egg-info/PKG-INFO writing top-level names to wxPython.egg-info/top_level.txt writing dependency_links to wxPython.egg-info/dependency_links.txt writing entry points to wxPython.egg-info/entry_points.txt reading manifest file 'wxPython.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/sphinx/build' warning: no previously-included files matching '.git' found under directory 'wx' warning: no previously-included files matching '*.pyc' found under directory 'wx' warning: no previously-included files matching '__pycache__' found under directory 'wx' writing manifest file 'wxPython.egg-info/SOURCES.txt' copying wx/adv.pyi -> build/lib.linux-arm64-2.7/wx copying wx/aui.pyi -> build/lib.linux-arm64-2.7/wx copying wx/core.pyi -> build/lib.linux-arm64-2.7/wx copying wx/dataview.pyi -> build/lib.linux-arm64-2.7/wx copying wx/glcanvas.pyi -> build/lib.linux-arm64-2.7/wx copying wx/grid.pyi -> build/lib.linux-arm64-2.7/wx copying wx/html.pyi -> build/lib.linux-arm64-2.7/wx copying wx/html2.pyi -> build/lib.linux-arm64-2.7/wx copying wx/media.pyi -> build/lib.linux-arm64-2.7/wx copying wx/msw.pyi -> build/lib.linux-arm64-2.7/wx copying wx/propgrid.pyi -> build/lib.linux-arm64-2.7/wx copying wx/ribbon.pyi -> build/lib.linux-arm64-2.7/wx copying wx/richtext.pyi -> build/lib.linux-arm64-2.7/wx copying wx/stc.pyi -> build/lib.linux-arm64-2.7/wx copying wx/webkit.pyi -> build/lib.linux-arm64-2.7/wx copying wx/xml.pyi -> build/lib.linux-arm64-2.7/wx copying wx/xrc.pyi -> build/lib.linux-arm64-2.7/wx creating build/lib.linux-arm64-2.7/wx/include creating build/lib.linux-arm64-2.7/wx/include/wxPython copying wx/include/wxPython/wxpy_api.h -> build/lib.linux-arm64-2.7/wx/include/wxPython creating build/lib.linux-arm64-2.7/wx/locale creating build/lib.linux-arm64-2.7/wx/locale/af creating build/lib.linux-arm64-2.7/wx/locale/af/LC_MESSAGES copying wx/locale/af/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/af/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/an creating build/lib.linux-arm64-2.7/wx/locale/an/LC_MESSAGES copying wx/locale/an/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/an/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ar creating build/lib.linux-arm64-2.7/wx/locale/ar/LC_MESSAGES copying wx/locale/ar/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ar/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ca creating build/lib.linux-arm64-2.7/wx/locale/ca/LC_MESSAGES copying wx/locale/ca/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ca/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ca@valencia creating build/lib.linux-arm64-2.7/wx/locale/ca@valencia/LC_MESSAGES copying wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ca@valencia/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/cs creating build/lib.linux-arm64-2.7/wx/locale/cs/LC_MESSAGES copying wx/locale/cs/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/cs/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/da creating build/lib.linux-arm64-2.7/wx/locale/da/LC_MESSAGES copying wx/locale/da/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/da/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/de creating build/lib.linux-arm64-2.7/wx/locale/de/LC_MESSAGES copying wx/locale/de/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/de/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/el creating build/lib.linux-arm64-2.7/wx/locale/el/LC_MESSAGES copying wx/locale/el/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/el/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/es creating build/lib.linux-arm64-2.7/wx/locale/es/LC_MESSAGES copying wx/locale/es/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/es/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/eu creating build/lib.linux-arm64-2.7/wx/locale/eu/LC_MESSAGES copying wx/locale/eu/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/eu/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/fi creating build/lib.linux-arm64-2.7/wx/locale/fi/LC_MESSAGES copying wx/locale/fi/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/fi/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/fr creating build/lib.linux-arm64-2.7/wx/locale/fr/LC_MESSAGES copying wx/locale/fr/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/fr/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/gl_ES creating build/lib.linux-arm64-2.7/wx/locale/gl_ES/LC_MESSAGES copying wx/locale/gl_ES/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/gl_ES/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/hi creating build/lib.linux-arm64-2.7/wx/locale/hi/LC_MESSAGES copying wx/locale/hi/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/hi/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/hu creating build/lib.linux-arm64-2.7/wx/locale/hu/LC_MESSAGES copying wx/locale/hu/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/hu/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/id creating build/lib.linux-arm64-2.7/wx/locale/id/LC_MESSAGES copying wx/locale/id/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/id/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/it creating build/lib.linux-arm64-2.7/wx/locale/it/LC_MESSAGES copying wx/locale/it/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/it/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ja creating build/lib.linux-arm64-2.7/wx/locale/ja/LC_MESSAGES copying wx/locale/ja/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ja/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ko_KR creating build/lib.linux-arm64-2.7/wx/locale/ko_KR/LC_MESSAGES copying wx/locale/ko_KR/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ko_KR/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/lt creating build/lib.linux-arm64-2.7/wx/locale/lt/LC_MESSAGES copying wx/locale/lt/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/lt/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/lv creating build/lib.linux-arm64-2.7/wx/locale/lv/LC_MESSAGES copying wx/locale/lv/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/lv/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ms creating build/lib.linux-arm64-2.7/wx/locale/ms/LC_MESSAGES copying wx/locale/ms/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ms/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/nb creating build/lib.linux-arm64-2.7/wx/locale/nb/LC_MESSAGES copying wx/locale/nb/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/nb/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ne creating build/lib.linux-arm64-2.7/wx/locale/ne/LC_MESSAGES copying wx/locale/ne/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ne/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/nl creating build/lib.linux-arm64-2.7/wx/locale/nl/LC_MESSAGES copying wx/locale/nl/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/nl/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/pl creating build/lib.linux-arm64-2.7/wx/locale/pl/LC_MESSAGES copying wx/locale/pl/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/pl/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/pt creating build/lib.linux-arm64-2.7/wx/locale/pt/LC_MESSAGES copying wx/locale/pt/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/pt/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/pt_BR creating build/lib.linux-arm64-2.7/wx/locale/pt_BR/LC_MESSAGES copying wx/locale/pt_BR/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/pt_BR/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ro creating build/lib.linux-arm64-2.7/wx/locale/ro/LC_MESSAGES copying wx/locale/ro/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ro/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ru creating build/lib.linux-arm64-2.7/wx/locale/ru/LC_MESSAGES copying wx/locale/ru/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ru/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/sk creating build/lib.linux-arm64-2.7/wx/locale/sk/LC_MESSAGES copying wx/locale/sk/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/sk/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/sl creating build/lib.linux-arm64-2.7/wx/locale/sl/LC_MESSAGES copying wx/locale/sl/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/sl/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/sq creating build/lib.linux-arm64-2.7/wx/locale/sq/LC_MESSAGES copying wx/locale/sq/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/sq/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/sv creating build/lib.linux-arm64-2.7/wx/locale/sv/LC_MESSAGES copying wx/locale/sv/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/sv/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/ta creating build/lib.linux-arm64-2.7/wx/locale/ta/LC_MESSAGES copying wx/locale/ta/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/ta/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/tr creating build/lib.linux-arm64-2.7/wx/locale/tr/LC_MESSAGES copying wx/locale/tr/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/tr/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/uk creating build/lib.linux-arm64-2.7/wx/locale/uk/LC_MESSAGES copying wx/locale/uk/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/uk/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/vi creating build/lib.linux-arm64-2.7/wx/locale/vi/LC_MESSAGES copying wx/locale/vi/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/vi/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/zh_CN creating build/lib.linux-arm64-2.7/wx/locale/zh_CN/LC_MESSAGES copying wx/locale/zh_CN/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/zh_CN/LC_MESSAGES creating build/lib.linux-arm64-2.7/wx/locale/zh_TW creating build/lib.linux-arm64-2.7/wx/locale/zh_TW/LC_MESSAGES copying wx/locale/zh_TW/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-2.7/wx/locale/zh_TW/LC_MESSAGES copying wx/lib/myole4ax.idl -> build/lib.linux-arm64-2.7/wx/lib copying wx/lib/myole4ax.tlb -> build/lib.linux-arm64-2.7/wx/lib copying wx/py/CHANGES.txt -> build/lib.linux-arm64-2.7/wx/py copying wx/py/Py.ico -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyCrust.ico -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyCrust_16.png -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PyCrust_32.png -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PySlices.ico -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PySlices_16.png -> build/lib.linux-arm64-2.7/wx/py copying wx/py/PySlices_32.png -> build/lib.linux-arm64-2.7/wx/py copying wx/py/README.txt -> build/lib.linux-arm64-2.7/wx/py creating build/lib.linux-arm64-2.7/wx/py/tests copying wx/py/tests/test_interpreter.py -> build/lib.linux-arm64-2.7/wx/py/tests copying wx/py/tests/test_introspect.py -> build/lib.linux-arm64-2.7/wx/py/tests copying wx/py/tests/test_pseudo.py -> build/lib.linux-arm64-2.7/wx/py/tests copying wx/py/tests/test_version.py -> build/lib.linux-arm64-2.7/wx/py/tests copying wx/py/tests/testall.py -> build/lib.linux-arm64-2.7/wx/py/tests copying wx/lib/editor/README.txt -> build/lib.linux-arm64-2.7/wx/lib/editor copying wx/lib/pubsub/LICENSE_BSD_Simple.txt -> build/lib.linux-arm64-2.7/wx/lib/pubsub copying wx/lib/pubsub/README_WxPython.txt -> build/lib.linux-arm64-2.7/wx/lib/pubsub copying wx/lib/pubsub/RELEASE_NOTES.txt -> build/lib.linux-arm64-2.7/wx/lib/pubsub creating build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_1.png -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_1_thumb.png -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_2.png -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_2_thumb.png -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_3.png -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_3_thumb.png -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_4.png -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_4_thumb.png -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/agw/data/default_help_text.html -> build/lib.linux-arm64-2.7/wx/lib/agw/data copying wx/lib/plot/CHANGELOG.md -> build/lib.linux-arm64-2.7/wx/lib/plot copying wx/lib/plot/README.md -> build/lib.linux-arm64-2.7/wx/lib/plot creating build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ArrowLeft.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ArrowRight.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/DirectionH.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/DirectionV.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerFirst.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerLast.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerNext.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerPrev.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/Printer.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ReadMe.txt -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/Save.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ZoomIn.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ZoomOut.png -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/encode_bitmaps.py -> build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps installing library code to build/bdist.linux-arm64/egg running install_lib creating build/bdist.linux-arm64 creating build/bdist.linux-arm64/egg creating build/bdist.linux-arm64/egg/wx creating build/bdist.linux-arm64/egg/wx/locale creating build/bdist.linux-arm64/egg/wx/locale/zh_TW creating build/bdist.linux-arm64/egg/wx/locale/zh_TW/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/zh_TW/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/zh_TW/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/zh_CN creating build/bdist.linux-arm64/egg/wx/locale/zh_CN/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/zh_CN/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/zh_CN/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/vi creating build/bdist.linux-arm64/egg/wx/locale/vi/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/vi/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/vi/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/uk creating build/bdist.linux-arm64/egg/wx/locale/uk/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/uk/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/uk/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/tr creating build/bdist.linux-arm64/egg/wx/locale/tr/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/tr/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/tr/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ta creating build/bdist.linux-arm64/egg/wx/locale/ta/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ta/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ta/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/sv creating build/bdist.linux-arm64/egg/wx/locale/sv/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/sv/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/sv/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/sq creating build/bdist.linux-arm64/egg/wx/locale/sq/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/sq/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/sq/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/sl creating build/bdist.linux-arm64/egg/wx/locale/sl/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/sl/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/sl/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/sk creating build/bdist.linux-arm64/egg/wx/locale/sk/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/sk/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/sk/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ru creating build/bdist.linux-arm64/egg/wx/locale/ru/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ru/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ru/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ro creating build/bdist.linux-arm64/egg/wx/locale/ro/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ro/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ro/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/pt_BR creating build/bdist.linux-arm64/egg/wx/locale/pt_BR/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/pt_BR/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/pt_BR/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/pt creating build/bdist.linux-arm64/egg/wx/locale/pt/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/pt/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/pt/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/pl creating build/bdist.linux-arm64/egg/wx/locale/pl/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/pl/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/pl/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/nl creating build/bdist.linux-arm64/egg/wx/locale/nl/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/nl/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/nl/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ne creating build/bdist.linux-arm64/egg/wx/locale/ne/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ne/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ne/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/nb creating build/bdist.linux-arm64/egg/wx/locale/nb/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/nb/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/nb/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ms creating build/bdist.linux-arm64/egg/wx/locale/ms/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ms/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ms/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/lv creating build/bdist.linux-arm64/egg/wx/locale/lv/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/lv/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/lv/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/lt creating build/bdist.linux-arm64/egg/wx/locale/lt/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/lt/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/lt/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ko_KR creating build/bdist.linux-arm64/egg/wx/locale/ko_KR/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ko_KR/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ko_KR/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ja creating build/bdist.linux-arm64/egg/wx/locale/ja/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ja/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ja/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/it creating build/bdist.linux-arm64/egg/wx/locale/it/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/it/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/it/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/id creating build/bdist.linux-arm64/egg/wx/locale/id/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/id/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/id/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/hu creating build/bdist.linux-arm64/egg/wx/locale/hu/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/hu/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/hu/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/hi creating build/bdist.linux-arm64/egg/wx/locale/hi/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/hi/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/hi/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/gl_ES creating build/bdist.linux-arm64/egg/wx/locale/gl_ES/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/gl_ES/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/gl_ES/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/fr creating build/bdist.linux-arm64/egg/wx/locale/fr/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/fr/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/fr/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/fi creating build/bdist.linux-arm64/egg/wx/locale/fi/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/fi/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/fi/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/eu creating build/bdist.linux-arm64/egg/wx/locale/eu/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/eu/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/eu/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/es creating build/bdist.linux-arm64/egg/wx/locale/es/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/es/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/es/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/el creating build/bdist.linux-arm64/egg/wx/locale/el/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/el/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/el/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/de creating build/bdist.linux-arm64/egg/wx/locale/de/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/de/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/de/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/da creating build/bdist.linux-arm64/egg/wx/locale/da/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/da/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/da/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/cs creating build/bdist.linux-arm64/egg/wx/locale/cs/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/cs/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/cs/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ca@valencia creating build/bdist.linux-arm64/egg/wx/locale/ca@valencia/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ca@valencia/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ca creating build/bdist.linux-arm64/egg/wx/locale/ca/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ca/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ca/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/ar creating build/bdist.linux-arm64/egg/wx/locale/ar/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/ar/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/ar/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/an creating build/bdist.linux-arm64/egg/wx/locale/an/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/an/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/an/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/locale/af creating build/bdist.linux-arm64/egg/wx/locale/af/LC_MESSAGES copying build/lib.linux-arm64-2.7/wx/locale/af/LC_MESSAGES/wxstd.mo -> build/bdist.linux-arm64/egg/wx/locale/af/LC_MESSAGES creating build/bdist.linux-arm64/egg/wx/include creating build/bdist.linux-arm64/egg/wx/include/wxPython copying build/lib.linux-arm64-2.7/wx/include/wxPython/wxpy_api.h -> build/bdist.linux-arm64/egg/wx/include/wxPython copying build/lib.linux-arm64-2.7/wx/xrc.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/xml.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/webkit.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/stc.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/richtext.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/ribbon.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/propgrid.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/msw.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/media.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/html2.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/html.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/grid.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/glcanvas.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/dataview.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/core.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/aui.pyi -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/adv.pyi -> build/bdist.linux-arm64/egg/wx creating build/bdist.linux-arm64/egg/wx/py creating build/bdist.linux-arm64/egg/wx/py/tests copying build/lib.linux-arm64-2.7/wx/py/tests/testall.py -> build/bdist.linux-arm64/egg/wx/py/tests copying build/lib.linux-arm64-2.7/wx/py/tests/test_version.py -> build/bdist.linux-arm64/egg/wx/py/tests copying build/lib.linux-arm64-2.7/wx/py/tests/test_pseudo.py -> build/bdist.linux-arm64/egg/wx/py/tests copying build/lib.linux-arm64-2.7/wx/py/tests/test_introspect.py -> build/bdist.linux-arm64/egg/wx/py/tests copying build/lib.linux-arm64-2.7/wx/py/tests/test_interpreter.py -> build/bdist.linux-arm64/egg/wx/py/tests copying build/lib.linux-arm64-2.7/wx/py/README.txt -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PySlices_32.png -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PySlices_16.png -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PySlices.ico -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyCrust_32.png -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyCrust_16.png -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyCrust.ico -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/Py.ico -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/CHANGES.txt -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/buffer.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/pseudo.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyAlaMode.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/sliceshell.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyAlaCarte.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/editwindow.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/magic.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/frame.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/__init__.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/crustslices.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyAlaModeTest.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/dispatcher.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/shell.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/parse.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/introspect.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/crust.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/filling.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyShell.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/images.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/path.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyCrust.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyFilling.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PySlicesShell.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PyWrap.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/PySlices.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/version.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/editor.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/interpreter.py -> build/bdist.linux-arm64/egg/wx/py copying build/lib.linux-arm64-2.7/wx/py/document.py -> build/bdist.linux-arm64/egg/wx/py creating build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/img2xpm.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/img2img.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/__init__.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/genaxmodule.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/helpviewer.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/img2py.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/dbg.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/img2png.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/wxget.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/pywxrc.py -> build/bdist.linux-arm64/egg/wx/tools copying build/lib.linux-arm64-2.7/wx/tools/wxget_docs_demo.py -> build/bdist.linux-arm64/egg/wx/tools creating build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/myole4ax.tlb -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/myole4ax.idl -> build/bdist.linux-arm64/egg/wx/lib creating build/bdist.linux-arm64/egg/wx/lib/analogclock creating build/bdist.linux-arm64/egg/wx/lib/analogclock/lib_setup copying build/lib.linux-arm64-2.7/wx/lib/analogclock/lib_setup/buttontreectrlpanel.py -> build/bdist.linux-arm64/egg/wx/lib/analogclock/lib_setup copying build/lib.linux-arm64-2.7/wx/lib/analogclock/lib_setup/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/analogclock/lib_setup copying build/lib.linux-arm64-2.7/wx/lib/analogclock/lib_setup/fontselect.py -> build/bdist.linux-arm64/egg/wx/lib/analogclock/lib_setup copying build/lib.linux-arm64-2.7/wx/lib/analogclock/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/analogclock copying build/lib.linux-arm64-2.7/wx/lib/analogclock/analogclock.py -> build/bdist.linux-arm64/egg/wx/lib/analogclock copying build/lib.linux-arm64-2.7/wx/lib/analogclock/styles.py -> build/bdist.linux-arm64/egg/wx/lib/analogclock copying build/lib.linux-arm64-2.7/wx/lib/analogclock/helpers.py -> build/bdist.linux-arm64/egg/wx/lib/analogclock copying build/lib.linux-arm64-2.7/wx/lib/analogclock/setup.py -> build/bdist.linux-arm64/egg/wx/lib/analogclock creating build/bdist.linux-arm64/egg/wx/lib/mixins copying build/lib.linux-arm64-2.7/wx/lib/mixins/treemixin.py -> build/bdist.linux-arm64/egg/wx/lib/mixins copying build/lib.linux-arm64-2.7/wx/lib/mixins/gridlabelrenderer.py -> build/bdist.linux-arm64/egg/wx/lib/mixins copying build/lib.linux-arm64-2.7/wx/lib/mixins/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/mixins copying build/lib.linux-arm64-2.7/wx/lib/mixins/imagelist.py -> build/bdist.linux-arm64/egg/wx/lib/mixins copying build/lib.linux-arm64-2.7/wx/lib/mixins/rubberband.py -> build/bdist.linux-arm64/egg/wx/lib/mixins copying build/lib.linux-arm64-2.7/wx/lib/mixins/listctrl.py -> build/bdist.linux-arm64/egg/wx/lib/mixins copying build/lib.linux-arm64-2.7/wx/lib/mixins/inspection.py -> build/bdist.linux-arm64/egg/wx/lib/mixins copying build/lib.linux-arm64-2.7/wx/lib/mixins/grid.py -> build/bdist.linux-arm64/egg/wx/lib/mixins creating build/bdist.linux-arm64/egg/wx/lib/pdfviewer creating build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/encode_bitmaps.py -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/ZoomOut.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/ZoomIn.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/Save.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/ReadMe.txt -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/Printer.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/PlayerPrev.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/PlayerNext.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/PlayerLast.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/PlayerFirst.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/DirectionV.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/DirectionH.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/ArrowRight.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/bitmaps/ArrowLeft.png -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/images.py -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/buttonpanel.py -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer copying build/lib.linux-arm64-2.7/wx/lib/pdfviewer/viewer.py -> build/bdist.linux-arm64/egg/wx/lib/pdfviewer creating build/bdist.linux-arm64/egg/wx/lib/plot copying build/lib.linux-arm64-2.7/wx/lib/plot/README.md -> build/bdist.linux-arm64/egg/wx/lib/plot copying build/lib.linux-arm64-2.7/wx/lib/plot/CHANGELOG.md -> build/bdist.linux-arm64/egg/wx/lib/plot creating build/bdist.linux-arm64/egg/wx/lib/plot/examples copying build/lib.linux-arm64-2.7/wx/lib/plot/examples/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/plot/examples copying build/lib.linux-arm64-2.7/wx/lib/plot/examples/simple_example.py -> build/bdist.linux-arm64/egg/wx/lib/plot/examples copying build/lib.linux-arm64-2.7/wx/lib/plot/examples/demo.py -> build/bdist.linux-arm64/egg/wx/lib/plot/examples copying build/lib.linux-arm64-2.7/wx/lib/plot/utils.py -> build/bdist.linux-arm64/egg/wx/lib/plot copying build/lib.linux-arm64-2.7/wx/lib/plot/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/plot copying build/lib.linux-arm64-2.7/wx/lib/plot/__main__.py -> build/bdist.linux-arm64/egg/wx/lib/plot copying build/lib.linux-arm64-2.7/wx/lib/plot/polyobjects.py -> build/bdist.linux-arm64/egg/wx/lib/plot copying build/lib.linux-arm64-2.7/wx/lib/plot/plotcanvas.py -> build/bdist.linux-arm64/egg/wx/lib/plot creating build/bdist.linux-arm64/egg/wx/lib/agw creating build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/default_help_text.html -> build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/ShortcutEditor_4_thumb.png -> build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/ShortcutEditor_4.png -> build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/ShortcutEditor_3_thumb.png -> build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/ShortcutEditor_3.png -> build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/ShortcutEditor_2_thumb.png -> build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/ShortcutEditor_2.png -> build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/ShortcutEditor_1_thumb.png -> build/bdist.linux-arm64/egg/wx/lib/agw/data copying build/lib.linux-arm64-2.7/wx/lib/agw/data/ShortcutEditor_1.png -> build/bdist.linux-arm64/egg/wx/lib/agw/data creating build/bdist.linux-arm64/egg/wx/lib/agw/persist copying build/lib.linux-arm64-2.7/wx/lib/agw/persist/persist_handlers.py -> build/bdist.linux-arm64/egg/wx/lib/agw/persist copying build/lib.linux-arm64-2.7/wx/lib/agw/persist/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/agw/persist copying build/lib.linux-arm64-2.7/wx/lib/agw/persist/persist_constants.py -> build/bdist.linux-arm64/egg/wx/lib/agw/persist copying build/lib.linux-arm64-2.7/wx/lib/agw/persist/persistencemanager.py -> build/bdist.linux-arm64/egg/wx/lib/agw/persist creating build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/aui_switcherdialog.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/aui_constants.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/aui_utilities.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/auibar.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/framemanager.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/dockart.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/tabmdi.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/tabart.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui copying build/lib.linux-arm64-2.7/wx/lib/agw/aui/auibook.py -> build/bdist.linux-arm64/egg/wx/lib/agw/aui creating build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/bar.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/buttonbar.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/gallery.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/art.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/art_osx.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/control.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/page.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/art_msw.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/toolbar.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/art_aui.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/art_default.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/art_internal.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/ribbon/panel.py -> build/bdist.linux-arm64/egg/wx/lib/agw/ribbon copying build/lib.linux-arm64-2.7/wx/lib/agw/foldpanelbar.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/advancedsplash.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/shortcuteditor.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/fourwaysplitter.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/multidirdialog.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/rulerctrl.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/pycollapsiblepane.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/flatnotebook.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/hyperlink.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/supertooltip.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/aquabutton.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/customtreectrl.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/infobar.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/fmresources.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/xlsgrid.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/speedmeter.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/hypertreelist.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/fmcustomizedlg.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/ultimatelistctrl.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/thumbnailctrl.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/balloontip.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/buttonpanel.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/cubecolourdialog.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/pygauge.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/knobctrl.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/pyprogress.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/shapedbutton.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/labelbook.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/peakmeter.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/gradientbutton.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/floatspin.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/toasterbox.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/zoombar.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/pybusyinfo.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/flatmenu.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/piectrl.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/artmanager.py -> build/bdist.linux-arm64/egg/wx/lib/agw copying build/lib.linux-arm64-2.7/wx/lib/agw/genericmessagedialog.py -> build/bdist.linux-arm64/egg/wx/lib/agw creating build/bdist.linux-arm64/egg/wx/lib/colourchooser copying build/lib.linux-arm64-2.7/wx/lib/colourchooser/pycolourbox.py -> build/bdist.linux-arm64/egg/wx/lib/colourchooser copying build/lib.linux-arm64-2.7/wx/lib/colourchooser/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/colourchooser copying build/lib.linux-arm64-2.7/wx/lib/colourchooser/canvas.py -> build/bdist.linux-arm64/egg/wx/lib/colourchooser copying build/lib.linux-arm64-2.7/wx/lib/colourchooser/pypalette.py -> build/bdist.linux-arm64/egg/wx/lib/colourchooser copying build/lib.linux-arm64-2.7/wx/lib/colourchooser/pycolourslider.py -> build/bdist.linux-arm64/egg/wx/lib/colourchooser copying build/lib.linux-arm64-2.7/wx/lib/colourchooser/pycolourchooser.py -> build/bdist.linux-arm64/egg/wx/lib/colourchooser copying build/lib.linux-arm64-2.7/wx/lib/colourchooser/intl.py -> build/bdist.linux-arm64/egg/wx/lib/colourchooser creating build/bdist.linux-arm64/egg/wx/lib/wxcairo copying build/lib.linux-arm64-2.7/wx/lib/wxcairo/wx_pycairo.py -> build/bdist.linux-arm64/egg/wx/lib/wxcairo copying build/lib.linux-arm64-2.7/wx/lib/wxcairo/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/wxcairo copying build/lib.linux-arm64-2.7/wx/lib/wxcairo/wx_cairocffi.py -> build/bdist.linux-arm64/egg/wx/lib/wxcairo creating build/bdist.linux-arm64/egg/wx/lib/floatcanvas creating build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities/Colors.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities/GUI.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Utilities/BBox.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/FCEvents.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/FloatCanvas.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/Resources.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/FCObjects.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/ScreenShot.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/GUIMode.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas copying build/lib.linux-arm64-2.7/wx/lib/floatcanvas/NavCanvas.py -> build/bdist.linux-arm64/egg/wx/lib/floatcanvas creating build/bdist.linux-arm64/egg/wx/lib/masked copying build/lib.linux-arm64-2.7/wx/lib/masked/combobox.py -> build/bdist.linux-arm64/egg/wx/lib/masked copying build/lib.linux-arm64-2.7/wx/lib/masked/textctrl.py -> build/bdist.linux-arm64/egg/wx/lib/masked copying build/lib.linux-arm64-2.7/wx/lib/masked/ctrl.py -> build/bdist.linux-arm64/egg/wx/lib/masked copying build/lib.linux-arm64-2.7/wx/lib/masked/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/masked copying build/lib.linux-arm64-2.7/wx/lib/masked/ipaddrctrl.py -> build/bdist.linux-arm64/egg/wx/lib/masked copying build/lib.linux-arm64-2.7/wx/lib/masked/numctrl.py -> build/bdist.linux-arm64/egg/wx/lib/masked copying build/lib.linux-arm64-2.7/wx/lib/masked/maskededit.py -> build/bdist.linux-arm64/egg/wx/lib/masked copying build/lib.linux-arm64-2.7/wx/lib/masked/timectrl.py -> build/bdist.linux-arm64/egg/wx/lib/masked creating build/bdist.linux-arm64/egg/wx/lib/art copying build/lib.linux-arm64-2.7/wx/lib/art/img2pyartprov.py -> build/bdist.linux-arm64/egg/wx/lib/art copying build/lib.linux-arm64-2.7/wx/lib/art/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/art copying build/lib.linux-arm64-2.7/wx/lib/art/flagart.py -> build/bdist.linux-arm64/egg/wx/lib/art creating build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/composit.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/divided.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/basic.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/canvas.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/bmpshape.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/lines.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/diagram.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/oglmisc.py -> build/bdist.linux-arm64/egg/wx/lib/ogl copying build/lib.linux-arm64-2.7/wx/lib/ogl/drawn.py -> build/bdist.linux-arm64/egg/wx/lib/ogl creating build/bdist.linux-arm64/egg/wx/lib/gizmos copying build/lib.linux-arm64-2.7/wx/lib/gizmos/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/gizmos copying build/lib.linux-arm64-2.7/wx/lib/gizmos/treelistctrl.py -> build/bdist.linux-arm64/egg/wx/lib/gizmos copying build/lib.linux-arm64-2.7/wx/lib/gizmos/ledctrl.py -> build/bdist.linux-arm64/egg/wx/lib/gizmos copying build/lib.linux-arm64-2.7/wx/lib/gizmos/dynamicsash.py -> build/bdist.linux-arm64/egg/wx/lib/gizmos creating build/bdist.linux-arm64/egg/wx/lib/pubsub copying build/lib.linux-arm64-2.7/wx/lib/pubsub/RELEASE_NOTES.txt -> build/bdist.linux-arm64/egg/wx/lib/pubsub copying build/lib.linux-arm64-2.7/wx/lib/pubsub/README_WxPython.txt -> build/bdist.linux-arm64/egg/wx/lib/pubsub copying build/lib.linux-arm64-2.7/wx/lib/pubsub/LICENSE_BSD_Simple.txt -> build/bdist.linux-arm64/egg/wx/lib/pubsub creating build/bdist.linux-arm64/egg/wx/lib/pubsub/core creating build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1/topicmgrimpl.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1/publishermixin.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1/topicargspecimpl.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1/listenerimpl.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/arg1/publisher.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1 creating build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs/topicmgrimpl.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs/publishermixin.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs/topicargspecimpl.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs/listenerimpl.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs/datamsg.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/kwargs/publisher.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/listener.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/notificationmgr.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/topicutils.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/itopicdefnprovider.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/topicargspec.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/validatedefnargs.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/topictreetraverser.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/topicexc.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/listenerbase.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/imp2.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/topicmgr.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/topicobj.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/publisherbase.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/callables.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/weakmethod.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/topicdefnprovider.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core copying build/lib.linux-arm64-2.7/wx/lib/pubsub/core/treeconfig.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/core creating build/bdist.linux-arm64/egg/wx/lib/pubsub/utils copying build/lib.linux-arm64-2.7/wx/lib/pubsub/utils/notification.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/utils copying build/lib.linux-arm64-2.7/wx/lib/pubsub/utils/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/utils copying build/lib.linux-arm64-2.7/wx/lib/pubsub/utils/misc.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/utils copying build/lib.linux-arm64-2.7/wx/lib/pubsub/utils/xmltopicdefnprovider.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/utils copying build/lib.linux-arm64-2.7/wx/lib/pubsub/utils/topictreeprinter.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/utils copying build/lib.linux-arm64-2.7/wx/lib/pubsub/utils/exchandling.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub/utils copying build/lib.linux-arm64-2.7/wx/lib/pubsub/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub copying build/lib.linux-arm64-2.7/wx/lib/pubsub/setuparg1.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub copying build/lib.linux-arm64-2.7/wx/lib/pubsub/py2and3.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub copying build/lib.linux-arm64-2.7/wx/lib/pubsub/setupkwargs.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub copying build/lib.linux-arm64-2.7/wx/lib/pubsub/policies.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub copying build/lib.linux-arm64-2.7/wx/lib/pubsub/pub.py -> build/bdist.linux-arm64/egg/wx/lib/pubsub creating build/bdist.linux-arm64/egg/wx/lib/editor copying build/lib.linux-arm64-2.7/wx/lib/editor/README.txt -> build/bdist.linux-arm64/egg/wx/lib/editor copying build/lib.linux-arm64-2.7/wx/lib/editor/__init__.py -> build/bdist.linux-arm64/egg/wx/lib/editor copying build/lib.linux-arm64-2.7/wx/lib/editor/images.py -> build/bdist.linux-arm64/egg/wx/lib/editor copying build/lib.linux-arm64-2.7/wx/lib/editor/selection.py -> build/bdist.linux-arm64/egg/wx/lib/editor copying build/lib.linux-arm64-2.7/wx/lib/editor/editor.py -> build/bdist.linux-arm64/egg/wx/lib/editor copying build/lib.linux-arm64-2.7/wx/lib/intctrl.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/pdfwin.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/utils.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/ClickableHtmlWindow.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/busy.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/eventStack.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/throbber.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/combotreebox.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/colourdb.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/anchors.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/colourutils.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/iewin_old.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/progressindicator.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/imagebrowser.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/__init__.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/foldmenu.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/nvdlg.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/popupctl.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/ticker_xrc.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/infoframe.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/eventwatcher.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/langlistctrl.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/calendar.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/CDate.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/pydocview.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/delayedresult.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/expando.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/buttons.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/platebtn.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/activexwrapper.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/filebrowsebutton.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/itemspicker.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/scrolledpanel.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/printout.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/dialogs.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/inspection.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/iewin.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/evtmgr.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/wxpTag.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/layoutf.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/stattext.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/multisash.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/colourselect.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/imageutils.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/splitter.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/embeddedimage.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/msgpanel.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/softwareupdate.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/graphics.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/dragscroller.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/newevent.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/ticker.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/pdfwin_old.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/flashwin_old.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/sized_controls.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/wordwrap.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/statbmp.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/resizewidget.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/docview.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/flashwin.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/gestures.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/gridmovers.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/fancytext.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/rcsizer.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/sheet.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/lib/activex.py -> build/bdist.linux-arm64/egg/wx/lib copying build/lib.linux-arm64-2.7/wx/core.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/richtext.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/html.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/html2.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/ribbon.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/media.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/webkit.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/msw.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/glcanvas.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/propgrid.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/dataview.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/grid.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/adv.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/aui.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/xml.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/stc.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/xrc.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/__version__.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/__init__.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/gizmos.py -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_aui.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_propgrid.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_ribbon.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_media.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_richtext.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_xrc.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_xml.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_html2.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_glcanvas.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_html.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_stc.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_grid.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_dataview.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_adv.so -> build/bdist.linux-arm64/egg/wx copying build/lib.linux-arm64-2.7/wx/_core.so -> build/bdist.linux-arm64/egg/wx byte-compiling build/bdist.linux-arm64/egg/wx/py/tests/testall.py to testall.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/tests/test_version.py to test_version.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/tests/test_pseudo.py to test_pseudo.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/tests/test_introspect.py to test_introspect.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/tests/test_interpreter.py to test_interpreter.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/buffer.py to buffer.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/pseudo.py to pseudo.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PyAlaMode.py to PyAlaMode.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/sliceshell.py to sliceshell.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PyAlaCarte.py to PyAlaCarte.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/editwindow.py to editwindow.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/magic.py to magic.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/frame.py to frame.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/crustslices.py to crustslices.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PyAlaModeTest.py to PyAlaModeTest.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/dispatcher.py to dispatcher.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/shell.py to shell.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/parse.py to parse.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/introspect.py to introspect.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/crust.py to crust.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/filling.py to filling.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PyShell.py to PyShell.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/images.py to images.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/path.py to path.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PyCrust.py to PyCrust.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PyFilling.py to PyFilling.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PySlicesShell.py to PySlicesShell.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PyWrap.py to PyWrap.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/PySlices.py to PySlices.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/version.py to version.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/editor.py to editor.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/interpreter.py to interpreter.pyc byte-compiling build/bdist.linux-arm64/egg/wx/py/document.py to document.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/img2xpm.py to img2xpm.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/img2img.py to img2img.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/genaxmodule.py to genaxmodule.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/helpviewer.py to helpviewer.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/img2py.py to img2py.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/dbg.py to dbg.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/img2png.py to img2png.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/wxget.py to wxget.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/pywxrc.py to pywxrc.pyc byte-compiling build/bdist.linux-arm64/egg/wx/tools/wxget_docs_demo.py to wxget_docs_demo.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/analogclock/lib_setup/buttontreectrlpanel.py to buttontreectrlpanel.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/analogclock/lib_setup/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/analogclock/lib_setup/fontselect.py to fontselect.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/analogclock/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/analogclock/analogclock.py to analogclock.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/analogclock/styles.py to styles.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/analogclock/helpers.py to helpers.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/analogclock/setup.py to setup.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/mixins/treemixin.py to treemixin.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/mixins/gridlabelrenderer.py to gridlabelrenderer.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/mixins/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/mixins/imagelist.py to imagelist.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/mixins/rubberband.py to rubberband.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/mixins/listctrl.py to listctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/mixins/inspection.py to inspection.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/mixins/grid.py to grid.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pdfviewer/bitmaps/encode_bitmaps.py to encode_bitmaps.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pdfviewer/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pdfviewer/images.py to images.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pdfviewer/buttonpanel.py to buttonpanel.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pdfviewer/viewer.py to viewer.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/plot/examples/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/plot/examples/simple_example.py to simple_example.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/plot/examples/demo.py to demo.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/plot/utils.py to utils.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/plot/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/plot/__main__.py to __main__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/plot/polyobjects.py to polyobjects.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/plot/plotcanvas.py to plotcanvas.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/persist/persist_handlers.py to persist_handlers.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/persist/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/persist/persist_constants.py to persist_constants.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/persist/persistencemanager.py to persistencemanager.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/aui_switcherdialog.py to aui_switcherdialog.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/aui_constants.py to aui_constants.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/aui_utilities.py to aui_utilities.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/auibar.py to auibar.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/framemanager.py to framemanager.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/dockart.py to dockart.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/tabmdi.py to tabmdi.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/tabart.py to tabart.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aui/auibook.py to auibook.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/bar.py to bar.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/buttonbar.py to buttonbar.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/gallery.py to gallery.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/art.py to art.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/art_osx.py to art_osx.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/control.py to control.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/page.py to page.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/art_msw.py to art_msw.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/toolbar.py to toolbar.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/art_aui.py to art_aui.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/art_default.py to art_default.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/art_internal.py to art_internal.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ribbon/panel.py to panel.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/foldpanelbar.py to foldpanelbar.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/advancedsplash.py to advancedsplash.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/shortcuteditor.py to shortcuteditor.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/fourwaysplitter.py to fourwaysplitter.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/multidirdialog.py to multidirdialog.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/rulerctrl.py to rulerctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/pycollapsiblepane.py to pycollapsiblepane.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/flatnotebook.py to flatnotebook.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/hyperlink.py to hyperlink.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/supertooltip.py to supertooltip.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/aquabutton.py to aquabutton.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/customtreectrl.py to customtreectrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/infobar.py to infobar.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/fmresources.py to fmresources.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/xlsgrid.py to xlsgrid.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/speedmeter.py to speedmeter.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/hypertreelist.py to hypertreelist.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/fmcustomizedlg.py to fmcustomizedlg.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/ultimatelistctrl.py to ultimatelistctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/thumbnailctrl.py to thumbnailctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/balloontip.py to balloontip.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/buttonpanel.py to buttonpanel.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/cubecolourdialog.py to cubecolourdialog.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/pygauge.py to pygauge.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/knobctrl.py to knobctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/pyprogress.py to pyprogress.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/shapedbutton.py to shapedbutton.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/labelbook.py to labelbook.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/peakmeter.py to peakmeter.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/gradientbutton.py to gradientbutton.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/floatspin.py to floatspin.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/toasterbox.py to toasterbox.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/zoombar.py to zoombar.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/pybusyinfo.py to pybusyinfo.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/flatmenu.py to flatmenu.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/piectrl.py to piectrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/artmanager.py to artmanager.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/agw/genericmessagedialog.py to genericmessagedialog.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourchooser/pycolourbox.py to pycolourbox.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourchooser/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourchooser/canvas.py to canvas.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourchooser/pypalette.py to pypalette.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourchooser/pycolourslider.py to pycolourslider.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourchooser/pycolourchooser.py to pycolourchooser.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourchooser/intl.py to intl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/wxcairo/wx_pycairo.py to wx_pycairo.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/wxcairo/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/wxcairo/wx_cairocffi.py to wx_cairocffi.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities/Colors.py to Colors.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities/GUI.py to GUI.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Utilities/BBox.py to BBox.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/FCEvents.py to FCEvents.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/FloatCanvas.py to FloatCanvas.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/Resources.py to Resources.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/FCObjects.py to FCObjects.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/ScreenShot.py to ScreenShot.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/GUIMode.py to GUIMode.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/floatcanvas/NavCanvas.py to NavCanvas.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/masked/combobox.py to combobox.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/masked/textctrl.py to textctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/masked/ctrl.py to ctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/masked/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/masked/ipaddrctrl.py to ipaddrctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/masked/numctrl.py to numctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/masked/maskededit.py to maskededit.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/masked/timectrl.py to timectrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/art/img2pyartprov.py to img2pyartprov.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/art/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/art/flagart.py to flagart.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/composit.py to composit.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/divided.py to divided.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/basic.py to basic.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/canvas.py to canvas.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/bmpshape.py to bmpshape.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/lines.py to lines.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/diagram.py to diagram.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/oglmisc.py to oglmisc.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ogl/drawn.py to drawn.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/gizmos/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/gizmos/treelistctrl.py to treelistctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/gizmos/ledctrl.py to ledctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/gizmos/dynamicsash.py to dynamicsash.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1/topicmgrimpl.py to topicmgrimpl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1/publishermixin.py to publishermixin.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1/topicargspecimpl.py to topicargspecimpl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1/listenerimpl.py to listenerimpl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/arg1/publisher.py to publisher.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs/topicmgrimpl.py to topicmgrimpl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs/publishermixin.py to publishermixin.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs/topicargspecimpl.py to topicargspecimpl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs/listenerimpl.py to listenerimpl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs/datamsg.py to datamsg.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/kwargs/publisher.py to publisher.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/listener.py to listener.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/notificationmgr.py to notificationmgr.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/topicutils.py to topicutils.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/itopicdefnprovider.py to itopicdefnprovider.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/topicargspec.py to topicargspec.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/validatedefnargs.py to validatedefnargs.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/topictreetraverser.py to topictreetraverser.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/topicexc.py to topicexc.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/listenerbase.py to listenerbase.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/imp2.py to imp2.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/topicmgr.py to topicmgr.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/topicobj.py to topicobj.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/publisherbase.py to publisherbase.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/callables.py to callables.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/weakmethod.py to weakmethod.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/topicdefnprovider.py to topicdefnprovider.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/core/treeconfig.py to treeconfig.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/utils/notification.py to notification.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/utils/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/utils/misc.py to misc.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/utils/xmltopicdefnprovider.py to xmltopicdefnprovider.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/utils/topictreeprinter.py to topictreeprinter.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/utils/exchandling.py to exchandling.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/setuparg1.py to setuparg1.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/py2and3.py to py2and3.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/setupkwargs.py to setupkwargs.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/policies.py to policies.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pubsub/pub.py to pub.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/editor/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/editor/images.py to images.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/editor/selection.py to selection.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/editor/editor.py to editor.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/intctrl.py to intctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pdfwin.py to pdfwin.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/utils.py to utils.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ClickableHtmlWindow.py to ClickableHtmlWindow.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/busy.py to busy.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/eventStack.py to eventStack.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/throbber.py to throbber.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/combotreebox.py to combotreebox.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourdb.py to colourdb.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/anchors.py to anchors.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourutils.py to colourutils.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/iewin_old.py to iewin_old.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/progressindicator.py to progressindicator.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/imagebrowser.py to imagebrowser.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/foldmenu.py to foldmenu.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/nvdlg.py to nvdlg.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/popupctl.py to popupctl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ticker_xrc.py to ticker_xrc.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/infoframe.py to infoframe.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/eventwatcher.py to eventwatcher.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/langlistctrl.py to langlistctrl.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/calendar.py to calendar.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/CDate.py to CDate.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pydocview.py to pydocview.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/delayedresult.py to delayedresult.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/expando.py to expando.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/buttons.py to buttons.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/platebtn.py to platebtn.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/activexwrapper.py to activexwrapper.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/filebrowsebutton.py to filebrowsebutton.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/itemspicker.py to itemspicker.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/scrolledpanel.py to scrolledpanel.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/printout.py to printout.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/dialogs.py to dialogs.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/inspection.py to inspection.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/iewin.py to iewin.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/evtmgr.py to evtmgr.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/wxpTag.py to wxpTag.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/layoutf.py to layoutf.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/stattext.py to stattext.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/multisash.py to multisash.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/colourselect.py to colourselect.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/imageutils.py to imageutils.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/splitter.py to splitter.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/embeddedimage.py to embeddedimage.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/msgpanel.py to msgpanel.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/softwareupdate.py to softwareupdate.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/graphics.py to graphics.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/dragscroller.py to dragscroller.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/newevent.py to newevent.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/ticker.py to ticker.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/pdfwin_old.py to pdfwin_old.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/flashwin_old.py to flashwin_old.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/sized_controls.py to sized_controls.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/wordwrap.py to wordwrap.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/statbmp.py to statbmp.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/resizewidget.py to resizewidget.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/docview.py to docview.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/flashwin.py to flashwin.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/gestures.py to gestures.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/gridmovers.py to gridmovers.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/fancytext.py to fancytext.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/rcsizer.py to rcsizer.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/sheet.py to sheet.pyc byte-compiling build/bdist.linux-arm64/egg/wx/lib/activex.py to activex.pyc byte-compiling build/bdist.linux-arm64/egg/wx/core.py to core.pyc byte-compiling build/bdist.linux-arm64/egg/wx/richtext.py to richtext.pyc byte-compiling build/bdist.linux-arm64/egg/wx/html.py to html.pyc byte-compiling build/bdist.linux-arm64/egg/wx/html2.py to html2.pyc byte-compiling build/bdist.linux-arm64/egg/wx/ribbon.py to ribbon.pyc byte-compiling build/bdist.linux-arm64/egg/wx/media.py to media.pyc byte-compiling build/bdist.linux-arm64/egg/wx/webkit.py to webkit.pyc byte-compiling build/bdist.linux-arm64/egg/wx/msw.py to msw.pyc byte-compiling build/bdist.linux-arm64/egg/wx/glcanvas.py to glcanvas.pyc byte-compiling build/bdist.linux-arm64/egg/wx/propgrid.py to propgrid.pyc byte-compiling build/bdist.linux-arm64/egg/wx/dataview.py to dataview.pyc byte-compiling build/bdist.linux-arm64/egg/wx/grid.py to grid.pyc byte-compiling build/bdist.linux-arm64/egg/wx/adv.py to adv.pyc byte-compiling build/bdist.linux-arm64/egg/wx/aui.py to aui.pyc byte-compiling build/bdist.linux-arm64/egg/wx/xml.py to xml.pyc byte-compiling build/bdist.linux-arm64/egg/wx/stc.py to stc.pyc byte-compiling build/bdist.linux-arm64/egg/wx/xrc.py to xrc.pyc byte-compiling build/bdist.linux-arm64/egg/wx/__version__.py to __version__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/__init__.py to __init__.pyc byte-compiling build/bdist.linux-arm64/egg/wx/gizmos.py to gizmos.pyc creating build/bdist.linux-arm64/egg/EGG-INFO copying wxPython.egg-info/PKG-INFO -> build/bdist.linux-arm64/egg/EGG-INFO copying wxPython.egg-info/SOURCES.txt -> build/bdist.linux-arm64/egg/EGG-INFO copying wxPython.egg-info/dependency_links.txt -> build/bdist.linux-arm64/egg/EGG-INFO copying wxPython.egg-info/entry_points.txt -> build/bdist.linux-arm64/egg/EGG-INFO copying wxPython.egg-info/not-zip-safe -> build/bdist.linux-arm64/egg/EGG-INFO copying wxPython.egg-info/requires.txt -> build/bdist.linux-arm64/egg/EGG-INFO copying wxPython.egg-info/top_level.txt -> build/bdist.linux-arm64/egg/EGG-INFO writing build/bdist.linux-arm64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/wxPython-4.0.4-py2.7-linux-arm64.egg' and adding 'build/bdist.linux-arm64/egg' to it removing 'build/bdist.linux-arm64/egg' (and everything under it) Finished command: bdist_egg (49.766s) Done! I: pybuild base:217: python3.7 -u build.py dox touch etg --nodoc sip build_py --use_syswx --gtk3 Will build using: "/usr/bin/python3.7" 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] Python's architecture is 64bit cfg.VERSION: 4.0.4 Running command: dox bash ./regen.sh xml Finished command: dox (0m39.89s) Running command: touch touch etg/*.py Finished command: touch (0.21s) Running command: etg "/usr/bin/python3.7" etg/_core.py --sip --nodoc "/usr/bin/python3.7" etg/_xrc.py --sip --nodoc "/usr/bin/python3.7" etg/_stc.py --sip --nodoc "/usr/bin/python3.7" etg/_xml.py --sip --nodoc "/usr/bin/python3.7" etg/_aui.py --sip --nodoc "/usr/bin/python3.7" etg/_adv.py --sip --nodoc "/usr/bin/python3.7" etg/_grid.py --sip --nodoc "/usr/bin/python3.7" etg/_dataview.py --sip --nodoc "/usr/bin/python3.7" etg/_propgrid.py --sip --nodoc "/usr/bin/python3.7" etg/_glcanvas.py --sip --nodoc "/usr/bin/python3.7" etg/_msw.py --sip --nodoc "/usr/bin/python3.7" etg/_webkit.py --sip --nodoc "/usr/bin/python3.7" etg/_media.py --sip --nodoc "/usr/bin/python3.7" etg/_ribbon.py --sip --nodoc "/usr/bin/python3.7" etg/_html2.py --sip --nodoc "/usr/bin/python3.7" etg/_html.py --sip --nodoc "/usr/bin/python3.7" etg/_richtext.py --sip --nodoc "/usr/bin/python3.7" etg/defs.py --sip --nodoc "/usr/bin/python3.7" etg/debug.py --sip --nodoc "/usr/bin/python3.7" etg/object.py --sip --nodoc "/usr/bin/python3.7" etg/clntdatactnr.py --sip --nodoc "/usr/bin/python3.7" etg/wxdatetime.py --sip --nodoc "/usr/bin/python3.7" etg/stopwatch.py --sip --nodoc "/usr/bin/python3.7" etg/windowid.py --sip --nodoc "/usr/bin/python3.7" etg/platinfo.py --sip --nodoc "/usr/bin/python3.7" etg/vidmode.py --sip --nodoc "/usr/bin/python3.7" etg/display.py --sip --nodoc "/usr/bin/python3.7" etg/intl.py --sip --nodoc "/usr/bin/python3.7" etg/translation.py --sip --nodoc "/usr/bin/python3.7" etg/cmndata.py --sip --nodoc "/usr/bin/python3.7" etg/gdicmn.py --sip --nodoc "/usr/bin/python3.7" etg/geometry.py --sip --nodoc "/usr/bin/python3.7" etg/affinematrix2d.py --sip --nodoc "/usr/bin/python3.7" etg/position.py --sip --nodoc "/usr/bin/python3.7" etg/colour.py --sip --nodoc "/usr/bin/python3.7" etg/stream.py --sip --nodoc "/usr/bin/python3.7" etg/filesys.py --sip --nodoc "/usr/bin/python3.7" etg/image.py --sip --nodoc "/usr/bin/python3.7" etg/gdiobj.py --sip --nodoc "/usr/bin/python3.7" etg/bitmap.py --sip --nodoc "/usr/bin/python3.7" etg/icon.py --sip --nodoc "/usr/bin/python3.7" etg/iconloc.py --sip --nodoc "/usr/bin/python3.7" etg/iconbndl.py --sip --nodoc "/usr/bin/python3.7" etg/font.py --sip --nodoc "/usr/bin/python3.7" etg/fontutil.py --sip --nodoc "/usr/bin/python3.7" etg/pen.py --sip --nodoc "/usr/bin/python3.7" etg/brush.py --sip --nodoc "/usr/bin/python3.7" etg/cursor.py --sip --nodoc "/usr/bin/python3.7" etg/region.py --sip --nodoc "/usr/bin/python3.7" etg/dc.py --sip --nodoc "/usr/bin/python3.7" etg/dcclient.py --sip --nodoc "/usr/bin/python3.7" etg/dcmemory.py --sip --nodoc "/usr/bin/python3.7" etg/dcbuffer.py --sip --nodoc "/usr/bin/python3.7" etg/dcscreen.py --sip --nodoc "/usr/bin/python3.7" etg/dcgraph.py --sip --nodoc "/usr/bin/python3.7" etg/dcmirror.py --sip --nodoc "/usr/bin/python3.7" etg/dcprint.py --sip --nodoc "/usr/bin/python3.7" etg/dcps.py --sip --nodoc "/usr/bin/python3.7" etg/dcsvg.py --sip --nodoc "/usr/bin/python3.7" etg/metafile.py --sip --nodoc "/usr/bin/python3.7" etg/graphics.py --sip --nodoc "/usr/bin/python3.7" etg/imaglist.py --sip --nodoc "/usr/bin/python3.7" etg/overlay.py --sip --nodoc "/usr/bin/python3.7" etg/palette.py --sip --nodoc "/usr/bin/python3.7" etg/renderer.py --sip --nodoc "/usr/bin/python3.7" etg/rawbmp.py --sip --nodoc "/usr/bin/python3.7" etg/access.py --sip --nodoc "/usr/bin/python3.7" etg/accel.py --sip --nodoc "/usr/bin/python3.7" etg/log.py --sip --nodoc "/usr/bin/python3.7" etg/dataobj.py --sip --nodoc "/usr/bin/python3.7" etg/dnd.py --sip --nodoc "/usr/bin/python3.7" etg/clipbrd.py --sip --nodoc "/usr/bin/python3.7" etg/config.py --sip --nodoc "/usr/bin/python3.7" etg/tracker.py --sip --nodoc "/usr/bin/python3.7" etg/kbdstate.py --sip --nodoc "/usr/bin/python3.7" etg/mousestate.py --sip --nodoc "/usr/bin/python3.7" etg/tooltip.py --sip --nodoc "/usr/bin/python3.7" etg/layout.py --sip --nodoc "/usr/bin/python3.7" etg/event.py --sip --nodoc WARNING: Method wxCloseEvent::Veto already exists in C++ class API, can not create a property. WARNING: Method wxHelpEvent::Origin already exists in C++ class API, can not create a property. "/usr/bin/python3.7" etg/pyevent.py --sip --nodoc "/usr/bin/python3.7" etg/sizer.py --sip --nodoc "/usr/bin/python3.7" etg/gbsizer.py --sip --nodoc "/usr/bin/python3.7" etg/wrapsizer.py --sip --nodoc "/usr/bin/python3.7" etg/stdpaths.py --sip --nodoc "/usr/bin/python3.7" etg/eventfilter.py --sip --nodoc "/usr/bin/python3.7" etg/evtloop.py --sip --nodoc "/usr/bin/python3.7" etg/apptrait.py --sip --nodoc "/usr/bin/python3.7" etg/app.py --sip --nodoc "/usr/bin/python3.7" etg/timer.py --sip --nodoc "/usr/bin/python3.7" etg/window.py --sip --nodoc "/usr/bin/python3.7" etg/validate.py --sip --nodoc "/usr/bin/python3.7" etg/panel.py --sip --nodoc "/usr/bin/python3.7" etg/menuitem.py --sip --nodoc "/usr/bin/python3.7" etg/menu.py --sip --nodoc "/usr/bin/python3.7" etg/scrolwin.py --sip --nodoc "/usr/bin/python3.7" etg/vscroll.py --sip --nodoc "/usr/bin/python3.7" etg/control.py --sip --nodoc "/usr/bin/python3.7" etg/ctrlsub.py --sip --nodoc "/usr/bin/python3.7" etg/statbmp.py --sip --nodoc "/usr/bin/python3.7" etg/stattext.py --sip --nodoc "/usr/bin/python3.7" etg/statbox.py --sip --nodoc "/usr/bin/python3.7" etg/statusbar.py --sip --nodoc "/usr/bin/python3.7" etg/choice.py --sip --nodoc "/usr/bin/python3.7" etg/anybutton.py --sip --nodoc "/usr/bin/python3.7" etg/button.py --sip --nodoc "/usr/bin/python3.7" etg/bmpbuttn.py --sip --nodoc "/usr/bin/python3.7" etg/withimage.py --sip --nodoc "/usr/bin/python3.7" etg/bookctrl.py --sip --nodoc "/usr/bin/python3.7" etg/notebook.py --sip --nodoc "/usr/bin/python3.7" etg/splitter.py --sip --nodoc "/usr/bin/python3.7" etg/collpane.py --sip --nodoc "/usr/bin/python3.7" etg/statline.py --sip --nodoc "/usr/bin/python3.7" etg/textcompleter.py --sip --nodoc "/usr/bin/python3.7" etg/textentry.py --sip --nodoc "/usr/bin/python3.7" etg/textctrl.py --sip --nodoc "/usr/bin/python3.7" etg/combobox.py --sip --nodoc "/usr/bin/python3.7" etg/checkbox.py --sip --nodoc "/usr/bin/python3.7" etg/listbox.py --sip --nodoc "/usr/bin/python3.7" etg/checklst.py --sip --nodoc "/usr/bin/python3.7" etg/gauge.py --sip --nodoc "/usr/bin/python3.7" etg/headercol.py --sip --nodoc "/usr/bin/python3.7" etg/headerctrl.py --sip --nodoc "/usr/bin/python3.7" etg/srchctrl.py --sip --nodoc "/usr/bin/python3.7" etg/radiobox.py --sip --nodoc "/usr/bin/python3.7" etg/radiobut.py --sip --nodoc "/usr/bin/python3.7" etg/slider.py --sip --nodoc "/usr/bin/python3.7" etg/spinbutt.py --sip --nodoc "/usr/bin/python3.7" etg/spinctrl.py --sip --nodoc "/usr/bin/python3.7" etg/tglbtn.py --sip --nodoc "/usr/bin/python3.7" etg/scrolbar.py --sip --nodoc "/usr/bin/python3.7" etg/toolbar.py --sip --nodoc "/usr/bin/python3.7" etg/infobar.py --sip --nodoc "/usr/bin/python3.7" etg/listctrl.py --sip --nodoc "/usr/bin/python3.7" etg/treectrl.py --sip --nodoc "/usr/bin/python3.7" etg/pickers.py --sip --nodoc "/usr/bin/python3.7" etg/filectrl.py --sip --nodoc "/usr/bin/python3.7" etg/combo.py --sip --nodoc "/usr/bin/python3.7" etg/choicebk.py --sip --nodoc "/usr/bin/python3.7" etg/listbook.py --sip --nodoc "/usr/bin/python3.7" etg/toolbook.py --sip --nodoc "/usr/bin/python3.7" etg/treebook.py --sip --nodoc "/usr/bin/python3.7" etg/simplebook.py --sip --nodoc "/usr/bin/python3.7" etg/vlbox.py --sip --nodoc "/usr/bin/python3.7" etg/nonownedwnd.py --sip --nodoc "/usr/bin/python3.7" etg/toplevel.py --sip --nodoc "/usr/bin/python3.7" etg/dialog.py --sip --nodoc "/usr/bin/python3.7" etg/dirdlg.py --sip --nodoc "/usr/bin/python3.7" etg/dirctrl.py --sip --nodoc "/usr/bin/python3.7" etg/filedlg.py --sip --nodoc "/usr/bin/python3.7" etg/frame.py --sip --nodoc "/usr/bin/python3.7" etg/msgdlg.py --sip --nodoc "/usr/bin/python3.7" etg/richmsgdlg.py --sip --nodoc "/usr/bin/python3.7" etg/progdlg.py --sip --nodoc "/usr/bin/python3.7" etg/popupwin.py --sip --nodoc "/usr/bin/python3.7" etg/tipwin.py --sip --nodoc "/usr/bin/python3.7" etg/colordlg.py --sip --nodoc "/usr/bin/python3.7" etg/choicdlg.py --sip --nodoc "/usr/bin/python3.7" etg/fdrepdlg.py --sip --nodoc "/usr/bin/python3.7" etg/mdi.py --sip --nodoc "/usr/bin/python3.7" etg/fontdlg.py --sip --nodoc WARNING: Method wxFontData::EnableEffects already exists in C++ class API, can not create a property. "/usr/bin/python3.7" etg/rearrangectrl.py --sip --nodoc "/usr/bin/python3.7" etg/minifram.py --sip --nodoc "/usr/bin/python3.7" etg/textdlg.py --sip --nodoc "/usr/bin/python3.7" etg/numdlg.py --sip --nodoc "/usr/bin/python3.7" etg/power.py --sip --nodoc "/usr/bin/python3.7" etg/utils.py --sip --nodoc "/usr/bin/python3.7" etg/process.py --sip --nodoc "/usr/bin/python3.7" etg/uiaction.py --sip --nodoc "/usr/bin/python3.7" etg/snglinst.py --sip --nodoc "/usr/bin/python3.7" etg/help.py --sip --nodoc "/usr/bin/python3.7" etg/cshelp.py --sip --nodoc "/usr/bin/python3.7" etg/settings.py --sip --nodoc "/usr/bin/python3.7" etg/sysopt.py --sip --nodoc "/usr/bin/python3.7" etg/artprov.py --sip --nodoc "/usr/bin/python3.7" etg/dragimag.py --sip --nodoc "/usr/bin/python3.7" etg/printfw.py --sip --nodoc "/usr/bin/python3.7" etg/printdlg.py --sip --nodoc "/usr/bin/python3.7" etg/mimetype.py --sip --nodoc "/usr/bin/python3.7" etg/busyinfo.py --sip --nodoc "/usr/bin/python3.7" etg/caret.py --sip --nodoc "/usr/bin/python3.7" etg/fontenum.py --sip --nodoc "/usr/bin/python3.7" etg/fontmap.py --sip --nodoc "/usr/bin/python3.7" etg/mousemanager.py --sip --nodoc "/usr/bin/python3.7" etg/filehistory.py --sip --nodoc "/usr/bin/python3.7" etg/cmdproc.py --sip --nodoc "/usr/bin/python3.7" etg/fswatcher.py --sip --nodoc "/usr/bin/python3.7" etg/preferences.py --sip --nodoc WARNING: Method wxStockPreferencesPage::Kind already exists in C++ class API, can not create a property. "/usr/bin/python3.7" etg/modalhook.py --sip --nodoc "/usr/bin/python3.7" etg/unichar.py --sip --nodoc "/usr/bin/python3.7" etg/stockitem.py --sip --nodoc "/usr/bin/python3.7" etg/auiframemanager.py --sip --nodoc WARNING: Method wxAuiManagerEvent::Veto already exists in C++ class API, can not create a property. "/usr/bin/python3.7" etg/auidockart.py --sip --nodoc "/usr/bin/python3.7" etg/auibar.py --sip --nodoc "/usr/bin/python3.7" etg/auibook.py --sip --nodoc "/usr/bin/python3.7" etg/auitabmdi.py --sip --nodoc "/usr/bin/python3.7" etg/aboutdlg.py --sip --nodoc "/usr/bin/python3.7" etg/helpext.py --sip --nodoc "/usr/bin/python3.7" etg/commandlinkbutton.py --sip --nodoc "/usr/bin/python3.7" etg/dateevt.py --sip --nodoc "/usr/bin/python3.7" etg/datectrl.py --sip --nodoc "/usr/bin/python3.7" etg/calctrl.py --sip --nodoc "/usr/bin/python3.7" etg/hyperlink.py --sip --nodoc "/usr/bin/python3.7" etg/tipdlg.py --sip --nodoc "/usr/bin/python3.7" etg/taskbar.py --sip --nodoc "/usr/bin/python3.7" etg/sound.py --sip --nodoc "/usr/bin/python3.7" etg/joystick.py --sip --nodoc "/usr/bin/python3.7" etg/animate.py --sip --nodoc "/usr/bin/python3.7" etg/bannerwindow.py --sip --nodoc "/usr/bin/python3.7" etg/editlbox.py --sip --nodoc "/usr/bin/python3.7" etg/notifmsg.py --sip --nodoc "/usr/bin/python3.7" etg/splash.py --sip --nodoc "/usr/bin/python3.7" etg/sashwin.py --sip --nodoc "/usr/bin/python3.7" etg/laywin.py --sip --nodoc "/usr/bin/python3.7" etg/odcombo.py --sip --nodoc "/usr/bin/python3.7" etg/bmpcbox.py --sip --nodoc "/usr/bin/python3.7" etg/richtooltip.py --sip --nodoc "/usr/bin/python3.7" etg/timectrl.py --sip --nodoc "/usr/bin/python3.7" etg/wizard.py --sip --nodoc "/usr/bin/python3.7" etg/pseudodc.py --sip --nodoc "/usr/bin/python3.7" etg/propdlg.py --sip --nodoc "/usr/bin/python3.7" etg/grid.py --sip --nodoc "/usr/bin/python3.7" etg/dataview.py --sip --nodoc "/usr/bin/python3.7" etg/treelist.py --sip --nodoc "/usr/bin/python3.7" etg/propgriddefs.py --sip --nodoc "/usr/bin/python3.7" etg/propgridproperty.py --sip --nodoc "/usr/bin/python3.7" etg/propgrideditors.py --sip --nodoc "/usr/bin/python3.7" etg/propgridpagestate.py --sip --nodoc "/usr/bin/python3.7" etg/propgridiface.py --sip --nodoc "/usr/bin/python3.7" etg/propgrid.py --sip --nodoc "/usr/bin/python3.7" etg/propgridprops.py --sip --nodoc "/usr/bin/python3.7" etg/propgridadvprops.py --sip --nodoc "/usr/bin/python3.7" etg/propgridmanager.py --sip --nodoc "/usr/bin/python3.7" etg/axbase.py --sip --nodoc "/usr/bin/python3.7" etg/webkit.py --sip --nodoc "/usr/bin/python3.7" etg/mediactrl.py --sip --nodoc "/usr/bin/python3.7" etg/ribbon_control.py --sip --nodoc "/usr/bin/python3.7" etg/ribbon_page.py --sip --nodoc "/usr/bin/python3.7" etg/ribbon_panel.py --sip --nodoc "/usr/bin/python3.7" etg/ribbon_bar.py --sip --nodoc "/usr/bin/python3.7" etg/ribbon_art.py --sip --nodoc "/usr/bin/python3.7" etg/ribbon_buttonbar.py --sip --nodoc "/usr/bin/python3.7" etg/ribbon_gallery.py --sip --nodoc "/usr/bin/python3.7" etg/ribbon_toolbar.py --sip --nodoc "/usr/bin/python3.7" etg/webview.py --sip --nodoc "/usr/bin/python3.7" etg/htmldefs.py --sip --nodoc "/usr/bin/python3.7" etg/htmlcell.py --sip --nodoc "/usr/bin/python3.7" etg/htmlfilt.py --sip --nodoc "/usr/bin/python3.7" etg/htmltag.py --sip --nodoc "/usr/bin/python3.7" etg/htmlpars.py --sip --nodoc "/usr/bin/python3.7" etg/htmlwin.py --sip --nodoc "/usr/bin/python3.7" etg/htmlprint.py --sip --nodoc "/usr/bin/python3.7" etg/htmlwinpars.py --sip --nodoc "/usr/bin/python3.7" etg/helpdata.py --sip --nodoc "/usr/bin/python3.7" etg/helpfrm.py --sip --nodoc "/usr/bin/python3.7" etg/helpdlg.py --sip --nodoc "/usr/bin/python3.7" etg/helpwnd.py --sip --nodoc "/usr/bin/python3.7" etg/helpctrl.py --sip --nodoc "/usr/bin/python3.7" etg/htmllbox.py --sip --nodoc "/usr/bin/python3.7" etg/richtextbuffer.py --sip --nodoc "/usr/bin/python3.7" etg/richtextctrl.py --sip --nodoc "/usr/bin/python3.7" etg/richtexthtml.py --sip --nodoc "/usr/bin/python3.7" etg/richtextxml.py --sip --nodoc "/usr/bin/python3.7" etg/richtextprint.py --sip --nodoc "/usr/bin/python3.7" etg/richtextstyles.py --sip --nodoc "/usr/bin/python3.7" etg/richtextstyledlg.py --sip --nodoc "/usr/bin/python3.7" etg/richtextsymboldlg.py --sip --nodoc "/usr/bin/python3.7" etg/richtextformatdlg.py --sip --nodoc Finished command: etg (3m23.287s) Running command: sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpo5m6pizo -b sip/cpp/_core.sbf -X pycode_core:wx/core.py sip/gen/_core.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpgkptlk70 -b sip/cpp/_richtext.sbf -X pycode_richtext:wx/richtext.py sip/gen/_richtext.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpycncoehq -b sip/cpp/_html.sbf -X pycode_html:wx/html.py sip/gen/_html.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpafhfmnrg -b sip/cpp/_html2.sbf -X pycode_html2:wx/html2.py sip/gen/_html2.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpn7ym5y0z -b sip/cpp/_ribbon.sbf -X pycode_ribbon:wx/ribbon.py sip/gen/_ribbon.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpj4_sp4rq -b sip/cpp/_media.sbf -X pycode_media:wx/media.py sip/gen/_media.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpb2inbdgc -b sip/cpp/_webkit.sbf -X pycode_webkit:wx/webkit.py sip/gen/_webkit.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpaixkgu2m -b sip/cpp/_msw.sbf -X pycode_msw:wx/msw.py sip/gen/_msw.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpbutgrwkb -b sip/cpp/_glcanvas.sbf -X pycode_glcanvas:wx/glcanvas.py sip/gen/_glcanvas.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpsqjfurlx -b sip/cpp/_propgrid.sbf -X pycode_propgrid:wx/propgrid.py sip/gen/_propgrid.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpj0f_2jqx -b sip/cpp/_dataview.sbf -X pycode_dataview:wx/dataview.py sip/gen/_dataview.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpcn7xq2c7 -b sip/cpp/_grid.sbf -X pycode_grid:wx/grid.py sip/gen/_grid.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmp7uztmr0e -b sip/cpp/_adv.sbf -X pycode_adv:wx/adv.py sip/gen/_adv.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpdlr2pzqp -b sip/cpp/_aui.sbf -X pycode_aui:wx/aui.py sip/gen/_aui.sip /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpk2tow_1g -b sip/cpp/_xml.sbf -X pycode_xml:wx/xml.py sip/gen/_xml.sip sip_xmlwxXmlDocument.cpp is changed, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmp993r2z96 -b sip/cpp/_stc.sbf -X pycode_stc:wx/stc.py sip/gen/_stc.sip sip_stcwxStyledTextCtrl.cpp is changed, copying... /usr/bin/sip -w -o -g -I /build/wxpython4.0-4.0.4+dfsg/src -I /build/wxpython4.0-4.0.4+dfsg/sip/gen -c /tmp/tmpobp2riob -b sip/cpp/_xrc.sbf -X pycode_xrc:wx/xrc.py sip/gen/_xrc.sip sip_xrcwxXmlResource.cpp is changed, copying... sip_xrcwxXmlResourceHandler.cpp is changed, copying... sip_xrcwxXmlSubclassFactory.cpp is changed, copying... Finished command: sip (3m38.790s) Running command: build_py Checking for /build/wxpython4.0-4.0.4+dfsg/bin/waf-2.0.8... "/usr/bin/python3.7" /build/wxpython4.0-4.0.4+dfsg/bin/waf-2.0.8 --wx_config=wx-config --gtk3 --python="/usr/bin/python3.7" --out=build/waf/3.7/gtk3 configure build Setting top to : /build/wxpython4.0-4.0.4+dfsg Setting out to : /build/wxpython4.0-4.0.4+dfsg/build/waf/3.7/gtk3 Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking for 'g++' (C++ compiler) : /usr/bin/g++ Checking for program 'python' : /usr/bin/python3.7 Checking for python version >= 2.7.0 : 3.7.3 python-config : /usr/bin/python3.7-config Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes Testing pyembed configuration : yes Asking python-config for pyext '--cflags --libs --ldflags' flags : yes Testing pyext configuration : yes Finding libs for WX : yes Finding libs for WXADV : yes Finding libs for WXSTC : yes Finding libs for WXHTML : yes Finding libs for WXGL : yes Finding libs for WXWEBVIEW : yes Finding libs for WXXML : yes Finding libs for WXXRC : yes Finding libs for WXRICHTEXT : yes Finding libs for WXMEDIA : yes Finding libs for WXRIBBON : yes Finding libs for WXPROPGRID : yes Finding libs for WXAUI : yes 'configure' finished successfully (6.174s) Waf: Entering directory `/build/wxpython4.0-4.0.4+dfsg/build/waf/3.7/gtk3' [ 1/856] Compiling sip/cpp/sip_corewxMenuList_iterator.cpp [ 2/856] Compiling sip/cpp/sip_corewxFileSystemWatcher.cpp [ 3/856] Compiling sip/cpp/sip_corewxCommandList.cpp [ 4/856] Compiling sip/cpp/sip_corewxBufferedPaintDC.cpp [ 5/856] Compiling sip/cpp/sip_corewxArrayDouble.cpp [ 6/856] Compiling sip/cpp/sip_corewxAffineMatrix2D.cpp [ 7/856] Compiling sip/cpp/sip_corewxAcceleratorEntry.cpp [ 8/856] Compiling sip/cpp/sip_core_ScrolledWindowBase.cpp [ 9/856] Compiling sip/cpp/sip_corewxMenuList.cpp [ 10/856] Compiling sip/cpp/sip_corewxMenuItemList_iterator.cpp [ 11/856] Compiling sip/cpp/sip_corewxMenuItemList.cpp [ 12/856] Compiling sip/cpp/sip_corewxMenuEvent.cpp [ 13/856] Compiling sip/cpp/sip_corewxMemoryDC.cpp [ 14/856] Compiling sip/cpp/sip_corewxLongLong.cpp [ 15/856] Compiling sip/cpp/sip_corewxLogWindow.cpp [ 16/856] Compiling sip/cpp/sip_corewxArchiveFSHandler.cpp [ 17/856] Compiling sip/cpp/sip_corewxFileDirPickerEvent.cpp [ 18/856] Compiling sip/cpp/sip_corewxLogStderr.cpp [ 19/856] Compiling sip/cpp/sip_corewxFileDialog.cpp [ 20/856] Compiling sip/cpp/sip_corewxLogTextCtrl.cpp [ 21/856] Compiling sip/cpp/sip_corewxLogRecordInfo.cpp [ 22/856] Compiling sip/cpp/sip_corewxLogNull.cpp [ 23/856] Compiling sip/cpp/sip_corewxFileDataObject.cpp [ 24/856] Compiling sip/cpp/sip_corewxLogInterposerTemp.cpp [ 25/856] Compiling sip/cpp/sip_corewxLogInterposer.cpp [ 26/856] Compiling sip/cpp/sip_corewxComboCtrl.cpp [ 27/856] Compiling sip/cpp/sip_corewxComboBox.cpp [ 28/856] Compiling sip/cpp/sip_corewxBrush.cpp [ 29/856] Compiling sip/cpp/sip_corewxLogGui.cpp [ 30/856] Compiling sip/cpp/sip_corewxLogFormatter.cpp [ 31/856] Compiling sip/cpp/sip_corewxFileCtrl.cpp [ 32/856] Compiling sip/cpp/sip_corewxFileCtrlEvent.cpp [ 33/856] Compiling sip/cpp/sip_corewxLogChain.cpp [ 34/856] Compiling sip/cpp/sip_corewxXPMHandler.cpp [ 35/856] Compiling sip/cpp/sip_corewxLogBuffer.cpp [ 36/856] Compiling sip/cpp/sip_corewxFileConfig.cpp [ 37/856] Compiling sip/cpp/sip_corewxColourPickerEvent.cpp ../../../../sip/cpp/sip_corewxComboCtrl.cpp: In function 'PyObject* meth_wxComboCtrl_GetTextIndent(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxComboCtrl.cpp:2191:44: warning: 'wxCoord wxComboCtrlBase::GetTextIndent() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->GetTextIndent(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxComboCtrl.cpp:10: /usr/include/wx-3.0/wx/combo.h:365:27: note: declared here wxDEPRECATED( wxCoord GetTextIndent() const ); ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxComboCtrl.cpp: In function 'PyObject* meth_wxComboCtrl_SetTextIndent(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxComboCtrl.cpp:3210:41: warning: 'void wxComboCtrlBase::SetTextIndent(int)' is deprecated [-Wdeprecated-declarations] sipCpp->SetTextIndent(indent); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxComboCtrl.cpp:10: /usr/include/wx-3.0/wx/combo.h:362:24: note: declared here wxDEPRECATED( void SetTextIndent( int indent ) ); ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [ 38/856] Compiling sip/cpp/sip_corewxWithImages.cpp [ 39/856] Compiling sip/cpp/sip_corewxWindowModalDialogEvent.cpp [ 40/856] Compiling sip/cpp/sip_corewxLog.cpp [ 41/856] Compiling sip/cpp/sip_corewxWindowList_iterator.cpp [ 42/856] Compiling sip/cpp/sip_corewxWindowList.cpp [ 43/856] Compiling sip/cpp/sip_corewxLocale.cpp [ 44/856] Compiling sip/cpp/sip_corewxWrapSizer.cpp [ 45/856] Compiling sip/cpp/sip_corewxFSFile.cpp [ 46/856] Compiling sip/cpp/sip_corewxWindowDisabler.cpp [ 47/856] Compiling sip/cpp/sip_corewxListbook.cpp [ 48/856] Compiling sip/cpp/sip_corewxWindowDestroyEvent.cpp [ 49/856] Compiling sip/cpp/sip_corewxWindowDC.cpp [ 50/856] Compiling sip/cpp/sip_corewxListView.cpp [ 51/856] Compiling sip/cpp/sip_corewxExecuteEnv.cpp [ 52/856] Compiling sip/cpp/sip_corewxWindowIDRef.cpp [ 53/856] Compiling sip/cpp/sip_corewxColourPickerCtrl.cpp [ 54/856] Compiling sip/cpp/sip_corewxAppTraits.cpp [ 55/856] Compiling sip/cpp/sip_corewxActivateEvent.cpp [ 56/856] Compiling sip/cpp/sip_corewxWindowCreateEvent.cpp [ 57/856] Compiling sip/cpp/sip_corewxWindowChildrenRepositioningGuard.cpp [ 58/856] Compiling sip/cpp/sip_corewxListItemAttr.cpp [ 59/856] Compiling sip/cpp/sip_corewxWindowBase.cpp [ 60/856] Compiling sip/cpp/sip_corewxWindow.cpp [ 61/856] Compiling sip/cpp/sip_corewxListItem.cpp [ 62/856] Compiling sip/cpp/sip_corewxEvtHandler.cpp [ 63/856] Compiling sip/cpp/sip_corewxBoxSizer.cpp [ 64/856] Compiling sip/cpp/sip_corewxVideoMode.cpp [ 65/856] Compiling sip/cpp/sip_corewxListEvent.cpp [ 66/856] Compiling sip/cpp/sip_corewxVersionInfo.cpp [ 67/856] Compiling sip/cpp/sip_corewxVisualAttributes.cpp [ 68/856] Compiling sip/cpp/sip_corewxListCtrl.cpp [ 69/856] Compiling sip/cpp/sip_corewxEventLoopBase.cpp [ 70/856] Compiling sip/cpp/sip_corewxColourDialog.cpp [ 71/856] Compiling sip/cpp/sip_corewxVariant.cpp [ 72/856] Compiling sip/cpp/sip_corewxVarVScrollHelper.cpp [ 73/856] Compiling sip/cpp/sip_corewxListBox.cpp [ 74/856] Compiling sip/cpp/sip_corewxVarScrollHelperBase.cpp [ 75/856] Compiling sip/cpp/sip_corewxVarHVScrollHelper.cpp [ 76/856] Compiling sip/cpp/sip_corewxLinuxDistributionInfo.cpp [ 77/856] Compiling sip/cpp/sip_corewxEventLoopActivator.cpp [ 78/856] Compiling sip/cpp/sip_corewxVarHScrollHelper.cpp [ 79/856] Compiling sip/cpp/sip_corewxValidator.cpp [ 80/856] Compiling sip/cpp/sip_corewxLayoutConstraints.cpp [ 81/856] Compiling sip/cpp/sip_corewxVScrolledWindow.cpp [ 82/856] Compiling sip/cpp/sip_corewxVListBox.cpp [ 83/856] Compiling sip/cpp/sip_corewxLanguageInfo.cpp [ 84/856] Compiling sip/cpp/sip_corewxEventFilter.cpp [ 85/856] Compiling sip/cpp/sip_corewxColourDatabase.cpp [ 86/856] Compiling sip/cpp/sip_corewxVariantList.cpp [ 87/856] Compiling sip/cpp/sip_corewxUpdateUIEvent.cpp [ 88/856] Compiling sip/cpp/sip_corewxUniChar.cpp [ 89/856] Compiling sip/cpp/sip_corewxKeyboardState.cpp [ 90/856] Compiling sip/cpp/sip_corewxURLDataObject.cpp [ 91/856] Compiling sip/cpp/sip_corewxULongLong.cpp ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'long unsigned int _wxVScrolledWindow_GetFirstVisibleLine(wxVScrolledWindow*)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:48:42: warning: 'size_t wxVarVScrollLegacyAdaptor::GetFirstVisibleLine() const' is deprecated [-Wdeprecated-declarations] return self->GetFirstVisibleLine(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:574:26: note: declared here wxDEPRECATED( size_t GetFirstVisibleLine() const ); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'long unsigned int _wxVScrolledWindow_GetLastVisibleLine(wxVScrolledWindow*)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:52:41: warning: 'size_t wxVarVScrollLegacyAdaptor::GetLastVisibleLine() const' is deprecated [-Wdeprecated-declarations] return self->GetLastVisibleLine(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:581:26: note: declared here wxDEPRECATED( size_t GetLastVisibleLine() const ); ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'long unsigned int _wxVScrolledWindow_GetLineCount(wxVScrolledWindow*)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:56:35: warning: 'size_t wxVarVScrollLegacyAdaptor::GetLineCount() const' is deprecated [-Wdeprecated-declarations] return self->GetLineCount(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:587:26: note: declared here wxDEPRECATED( size_t GetLineCount() const ); ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'void _wxVScrolledWindow_SetLineCount(wxVScrolledWindow*, long unsigned int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:60:33: warning: 'void wxVarVScrollLegacyAdaptor::SetLineCount(size_t)' is deprecated [-Wdeprecated-declarations] self->SetLineCount(count); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:592:24: note: declared here wxDEPRECATED( void SetLineCount(size_t count) ); ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'void _wxVScrolledWindow_RefreshLine(wxVScrolledWindow*, long unsigned int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:64:31: warning: 'virtual void wxVarVScrollLegacyAdaptor::RefreshLine(size_t)' is deprecated [-Wdeprecated-declarations] self->RefreshLine(line); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:595:32: note: declared here wxDEPRECATED( virtual void RefreshLine(size_t line) ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'void _wxVScrolledWindow_RefreshLines(wxVScrolledWindow*, long unsigned int, long unsigned int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:68:38: warning: 'virtual void wxVarVScrollLegacyAdaptor::RefreshLines(size_t, size_t)' is deprecated [-Wdeprecated-declarations] self->RefreshLines(from_, to_); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:598:32: note: declared here wxDEPRECATED( virtual void RefreshLines(size_t from, size_t to) ); ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'bool _wxVScrolledWindow_ScrollToLine(wxVScrolledWindow*, long unsigned int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:72:39: warning: 'bool wxVarVScrollLegacyAdaptor::ScrollToLine(size_t)' is deprecated [-Wdeprecated-declarations] return self->ScrollToLine(line); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:604:24: note: declared here wxDEPRECATED( bool ScrollToLine(size_t line) ); ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'bool _wxVScrolledWindow_ScrollLines(wxVScrolledWindow*, int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:76:66: warning: 'virtual bool wxVarVScrollLegacyAdaptor::ScrollLines(int)' is deprecated [-Wdeprecated-declarations] return self->wxVarVScrollLegacyAdaptor::ScrollLines(lines); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:607:32: note: declared here wxDEPRECATED( virtual bool ScrollLines(int lines) ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp: In function 'bool _wxVScrolledWindow_ScrollPages(wxVScrolledWindow*, int)': ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:80:66: warning: 'virtual bool wxVarVScrollLegacyAdaptor::ScrollPages(int)' is deprecated [-Wdeprecated-declarations] return self->wxVarVScrollLegacyAdaptor::ScrollPages(pages); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxVScrolledWindow.cpp:10: /usr/include/wx-3.0/wx/vscroll.h:608:32: note: declared here wxDEPRECATED( virtual bool ScrollPages(int pages) ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [ 92/856] Compiling sip/cpp/sip_corewxKeyEvent.cpp [ 93/856] Compiling sip/cpp/sip_corewxEventBlocker.cpp [ 94/856] Compiling sip/cpp/sip_corewxUIntPtr.cpp [ 95/856] Compiling sip/cpp/sip_corewxUIActionSimulator.cpp [ 96/856] Compiling sip/cpp/sip_corewxJoystickEvent.cpp [ 97/856] Compiling sip/cpp/sip_corewxTreebook.cpp [ 98/856] Compiling sip/cpp/sip_corewxTreeItemId.cpp [ 99/856] Compiling sip/cpp/sip_corewxJPEGHandler.cpp [100/856] Compiling sip/cpp/sip_corewxEvent.cpp [101/856] Compiling sip/cpp/sip_corewxColourData.cpp [102/856] Compiling sip/cpp/sip_corewxTreeItemData.cpp [103/856] Compiling sip/cpp/sip_corewxTreeEvent.cpp [104/856] Compiling sip/cpp/sip_corewxItemContainerImmutable.cpp [105/856] Compiling sip/cpp/sip_corewxTreeCtrl.cpp [106/856] Compiling sip/cpp/sip_corewxTranslationsLoader.cpp [107/856] Compiling sip/cpp/sip_corewxItemContainer.cpp [108/856] Compiling sip/cpp/sip_corewxEraseEvent.cpp [109/856] Compiling sip/cpp/sip_corewxTranslations.cpp [110/856] Compiling sip/cpp/sip_corewxTrackable.cpp [111/856] Compiling sip/cpp/sip_corewxInternetFSHandler.cpp [112/856] Compiling sip/cpp/sip_corewxTopLevelWindow.cpp [113/856] Compiling sip/cpp/sip_corewxToolbook.cpp [114/856] Compiling sip/cpp/sip_corewxIntPtr.cpp [115/856] Compiling sip/cpp/sip_corewxDropTarget.cpp [116/856] Compiling sip/cpp/sip_corewxColour.cpp [117/856] Compiling sip/cpp/sip_corewxBookCtrlBase.cpp [118/856] Compiling sip/cpp/sip_corewxAppConsole.cpp [119/856] Compiling sip/cpp/sip_corewxToolTip.cpp [120/856] Compiling sip/cpp/sip_corewxToolBarToolBase.cpp [121/856] Compiling sip/cpp/sip_corewxIntCArrayHolder.cpp [122/856] Compiling sip/cpp/sip_corewxToolBar.cpp [123/856] Compiling sip/cpp/sip_corewxToggleButton.cpp [124/856] Compiling sip/cpp/sip_corewxInputStream.cpp [125/856] Compiling sip/cpp/sip_corewxDropSource.cpp [126/856] Compiling sip/cpp/sip_corewxTipWindow.cpp [127/856] Compiling sip/cpp/sip_corewxTimerRunner.cpp [128/856] Compiling sip/cpp/sip_corewxInitDialogEvent.cpp [129/856] Compiling sip/cpp/sip_corewxTimerEvent.cpp [130/856] Compiling sip/cpp/sip_corewxTimer.cpp [131/856] Compiling sip/cpp/sip_corewxBookCtrlEvent.cpp [132/856] Compiling sip/cpp/sip_corewxDropFilesEvent.cpp [133/856] Compiling sip/cpp/sip_corewxCollapsiblePaneEvent.cpp [134/856] Compiling sip/cpp/sip_corewxTimeSpan.cpp [135/856] Compiling sip/cpp/sip_corewxTextUrlEvent.cpp [136/856] Compiling sip/cpp/sip_corewxIndividualLayoutConstraint.cpp [137/856] Compiling sip/cpp/sip_corewxInfoBar.cpp [138/856] Compiling sip/cpp/sip_corewxTextEntry.cpp [139/856] Compiling sip/cpp/sip_corewxImageRGBValue.cpp [140/856] Compiling sip/cpp/sip_corewxTextEntryDialog.cpp [141/856] Compiling sip/cpp/sip_corewxTextDropTarget.cpp [142/856] Compiling sip/cpp/sip_corewxTextDataObject.cpp [143/856] Compiling sip/cpp/sip_corewxImageList.cpp [144/856] Compiling sip/cpp/sip_corewxTextCtrl.cpp [145/856] Compiling sip/cpp/sip_corewxDragImage.cpp [146/856] Compiling sip/cpp/sip_corewxTextCompleterSimple.cpp [147/856] Compiling sip/cpp/sip_corewxDisplayChangedEvent.cpp [148/856] Compiling sip/cpp/sip_corewxCollapsiblePane.cpp [149/856] Compiling sip/cpp/sip_corewxBitmapToggleButton.cpp [150/856] Compiling sip/cpp/sip_corewxTextCompleter.cpp [151/856] Compiling sip/cpp/sip_corewxTextAttr.cpp [152/856] Compiling sip/cpp/sip_corewxImageHistogram.cpp [153/856] Compiling sip/cpp/sip_corewxImageHandler.cpp [154/856] Compiling sip/cpp/sip_corewxTGAHandler.cpp ../../../../sip/cpp/sip_corewxTextCtrl.cpp: In function 'bool _wxTextCtrl_ShowNativeCaret(wxTextCtrl*, bool)': ../../../../sip/cpp/sip_corewxTextCtrl.cpp:61:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../../../../sip/cpp/sip_corewxTextCtrl.cpp: In function 'bool _wxTextCtrl_HideNativeCaret(wxTextCtrl*)': ../../../../sip/cpp/sip_corewxTextCtrl.cpp:67:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ [155/856] Compiling sip/cpp/sip_corewxImageHSVValue.cpp [156/856] Compiling sip/cpp/sip_corewxDisplay.cpp [157/856] Compiling sip/cpp/sip_corewxSystemSettings.cpp [158/856] Compiling sip/cpp/sip_corewxTIFFHandler.cpp [159/856] Compiling sip/cpp/sip_corewxSystemOptions.cpp [160/856] Compiling sip/cpp/sip_corewxSysColourChangedEvent.cpp [161/856] Compiling sip/cpp/sip_corewxStringCArrayHolder.cpp [162/856] Compiling sip/cpp/sip_corewxImage.cpp [163/856] Compiling sip/cpp/sip_corewxDirPickerCtrl.cpp [164/856] Compiling sip/cpp/sip_corewxCloseEvent.cpp [165/856] Compiling sip/cpp/sip_corewxString.cpp [166/856] Compiling sip/cpp/sip_corewxStreamBase.cpp [167/856] Compiling sip/cpp/sip_corewxImageArray.cpp [168/856] Compiling sip/cpp/sip_corewxStopWatch.cpp [169/856] Compiling sip/cpp/sip_corewxStockPreferencesPage.cpp [170/856] Compiling sip/cpp/sip_corewxIdManager.cpp [171/856] Compiling sip/cpp/sip_corewxDirFilterListCtrl.cpp [172/856] Compiling sip/cpp/sip_corewxStockGDI.cpp [173/856] Compiling sip/cpp/sip_corewxIdleEvent.cpp [174/856] Compiling sip/cpp/sip_corewxStdDialogButtonSizer.cpp [175/856] Compiling sip/cpp/sip_corewxStatusBarPane.cpp [176/856] Compiling sip/cpp/sip_corewxStatusBar.cpp [177/856] Compiling sip/cpp/sip_corewxIconLocation.cpp [178/856] Compiling sip/cpp/sip_corewxDirDialog.cpp [179/856] Compiling sip/cpp/sip_corewxClipboardTextEvent.cpp [180/856] Compiling sip/cpp/sip_corewxBitmapDataObject.cpp [181/856] Compiling sip/cpp/sip_corewxIconizeEvent.cpp [182/856] Compiling sip/cpp/sip_corewxAnyButton.cpp [183/856] Compiling sip/cpp/sip_corecmodule.cpp [184/856] Compiling sip/cpp/sip_corewxStaticText.cpp [185/856] Compiling sip/cpp/sip_corewxStaticLine.cpp [186/856] Compiling sip/cpp/sip_corewxIconBundle.cpp ../../../../sip/cpp/sip_corewxIconizeEvent.cpp: In function 'PyObject* meth_wxIconizeEvent_Iconized(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxIconizeEvent.cpp:148:39: warning: 'bool wxIconizeEvent::Iconized() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->Iconized(); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxIconizeEvent.cpp:10: /usr/include/wx-3.0/wx/event.h:2490:24: note: declared here wxDEPRECATED( bool Iconized() const { return IsIconized(); } ) ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [187/856] Compiling sip/cpp/sip_corewxAccessible.cpp [188/856] Compiling sip/cpp/sip_corewxStaticBox.cpp [189/856] Compiling sip/cpp/sip_corewxStaticBoxSizer.cpp [190/856] Compiling sip/cpp/sip_corewxDialogLayoutAdapter.cpp [191/856] Compiling sip/cpp/sip_corewxStaticBitmap.cpp [192/856] Compiling sip/cpp/sip_corewxStandardPaths.cpp [193/856] Compiling sip/cpp/sip_corewxIFFHandler.cpp [194/856] Compiling sip/cpp/sip_corewxSplitterWindow.cpp [195/856] Compiling sip/cpp/sip_corewxIcon.cpp [196/856] Compiling sip/cpp/sip_corewxHelpProvider.cpp [197/856] Compiling sip/cpp/sip_corewxDialog.cpp [198/856] Compiling sip/cpp/sip_corewxClipboard.cpp [199/856] Compiling sip/cpp/sip_corewxSplitterEvent.cpp [200/856] Compiling sip/cpp/sip_corewxSplitterRenderParams.cpp [201/856] Compiling sip/cpp/sip_corewxSpinEvent.cpp [202/856] Compiling sip/cpp/sip_corewxSpinDoubleEvent.cpp ../../../../sip/cpp/sip_corecmodule.cpp: In function 'PyObject* func_Usleep(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corecmodule.cpp:10476:34: warning: 'void wxUsleep(long unsigned int)' is deprecated [-Wdeprecated-declarations] wxUsleep(milliseconds); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corecmodule.cpp:10: /usr/include/wx-3.0/wx/utils.h:491:37: note: declared here wxDEPRECATED( WXDLLIMPEXP_BASE void wxUsleep(unsigned long milliseconds) ); ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corecmodule.cpp:10476:34: warning: 'void wxUsleep(long unsigned int)' is deprecated [-Wdeprecated-declarations] wxUsleep(milliseconds); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corecmodule.cpp:10: /usr/include/wx-3.0/wx/utils.h:491:37: note: declared here wxDEPRECATED( WXDLLIMPEXP_BASE void wxUsleep(unsigned long milliseconds) ); ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [203/856] Compiling sip/cpp/sip_corewxSpinCtrlDouble.cpp ../../../../sip/cpp/sip_corewxSplitterWindow.cpp: In function 'PyObject* meth_wxSplitterWindow_SetSashSize(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxSplitterWindow.cpp:1586:37: warning: 'void wxSplitterWindow::SetSashSize(int)' is deprecated [-Wdeprecated-declarations] sipCpp->SetSashSize(size); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxSplitterWindow.cpp:10: /usr/include/wx-3.0/wx/generic/splitter.h:225:31: note: declared here wxDEPRECATED_INLINE( void SetSashSize(int WXUNUSED(width)), return; ) ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/generic/splitter.h:225:5: note: in expansion of macro 'wxDEPRECATED_INLINE' wxDEPRECATED_INLINE( void SetSashSize(int WXUNUSED(width)), return; ) ^~~~~~~~~~~~~~~~~~~ [204/856] Compiling sip/cpp/sip_corewxHelpControllerHelpProvider.cpp [205/856] Compiling sip/cpp/sip_corewxDelegateRendererNative.cpp [206/856] Compiling sip/cpp/sip_corewxSpinCtrl.cpp [207/856] Compiling sip/cpp/sip_corewxSpinButton.cpp [208/856] Compiling sip/cpp/sip_corewxHelpControllerBase.cpp [209/856] Compiling sip/cpp/sip_corewxSlider.cpp [210/856] Compiling sip/cpp/sip_corewxSizerItemList_iterator.cpp [211/856] Compiling sip/cpp/sip_corewxHeaderCtrlSimple.cpp [212/856] Compiling sip/cpp/sip_corewxHelpEvent.cpp [213/856] Compiling sip/cpp/sip_corewxClientDataContainer.cpp [214/856] Compiling sip/cpp/sip_corewxBitmapButton.cpp [215/856] Compiling sip/cpp/sip_corewxSizerItemList.cpp [216/856] Compiling sip/cpp/sip_corewxSizerItem.cpp [217/856] Compiling sip/cpp/sip_corewxHeaderCtrlEvent.cpp [218/856] Compiling sip/cpp/sip_corewxSizerFlags.cpp [219/856] Compiling sip/cpp/sip_corewxSizer.cpp [220/856] Compiling sip/cpp/sip_corewxDateTimeTm.cpp [221/856] Compiling sip/cpp/sip_corewxDateTimeTimeZone.cpp [222/856] Compiling sip/cpp/sip_corewxSizeEvent.cpp [223/856] Compiling sip/cpp/sip_corewxSize.cpp [224/856] Compiling sip/cpp/sip_corewxHeaderColumnSimple.cpp [225/856] Compiling sip/cpp/sip_corewxSingleInstanceChecker.cpp [226/856] Compiling sip/cpp/sip_corewxSimplebook.cpp ../../../../sip/cpp/sip_corewxSizer.cpp: In function 'PyObject* meth_wxSizer_SetVirtualSizeHints(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxSizer.cpp:3021:47: warning: 'void wxSizer::SetVirtualSizeHints(wxWindow*)' is deprecated [-Wdeprecated-declarations] sipCpp->SetVirtualSizeHints(window); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxSizer.cpp:10: /usr/include/wx-3.0/wx/sizer.h:666:24: note: declared here wxDEPRECATED( void SetVirtualSizeHints( wxWindow *window ) ); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [227/856] Compiling sip/cpp/sip_corewxHeaderColumn.cpp [228/856] Compiling sip/cpp/sip_corewxDateTime.cpp [229/856] Compiling sip/cpp/sip_corewxHeaderCtrl.cpp [230/856] Compiling sip/cpp/sip_corewxClientData.cpp [231/856] Compiling sip/cpp/sip_corewxShowEvent.cpp [232/856] Compiling sip/cpp/sip_corewxHeaderButtonParams.cpp [233/856] Compiling sip/cpp/sip_corewxSettableHeaderColumn.cpp [234/856] Compiling sip/cpp/sip_corewxSimpleHelpProvider.cpp [235/856] Compiling sip/cpp/sip_corewxHVScrolledWindow.cpp [236/856] Compiling sip/cpp/sip_corewxDateSpan.cpp [237/856] Compiling sip/cpp/sip_corewxSetCursorEvent.cpp [238/856] Compiling sip/cpp/sip_corewxSearchCtrl.cpp [239/856] Compiling sip/cpp/sip_corewxHTMLDataObject.cpp [240/856] Compiling sip/cpp/sip_corewxScrolledCanvas.cpp [241/856] Compiling sip/cpp/sip_corewxScrollWinEvent.cpp [242/856] Compiling sip/cpp/sip_corewxHScrolledWindow.cpp [243/856] Compiling sip/cpp/sip_corewxDataObjectSimple.cpp [244/856] Compiling sip/cpp/sip_corewxScrolledWindow.cpp [245/856] Compiling sip/cpp/sip_corewxClientDC.cpp [246/856] Compiling sip/cpp/sip_corewxAlphaPixelData_Accessor.cpp [247/856] Compiling sip/cpp/sip_corewxScrollEvent.cpp [248/856] Compiling sip/cpp/sip_corewxScrollBar.cpp [249/856] Compiling sip/cpp/sip_corewxGridSizer.cpp [250/856] Compiling sip/cpp/sip_corewxScreenDC.cpp [251/856] Compiling sip/cpp/sip_corewxSVGFileDC.cpp [252/856] Compiling sip/cpp/sip_corewxGridBagSizer.cpp [253/856] Compiling sip/cpp/sip_corewxDataObjectComposite.cpp [254/856] Compiling sip/cpp/sip_corewxRichMessageDialog.cpp [255/856] Compiling sip/cpp/sip_corewxRendererVersion.cpp [256/856] Compiling sip/cpp/sip_corewxBitmap.cpp [257/856] Compiling sip/cpp/sip_corewxRendererNative.cpp ../../../../sip/cpp/sip_corewxSVGFileDC.cpp: In function 'PyObject* meth_wxSVGFileDC_SetClippingRegion(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxSVGFileDC.cpp:582:46: warning: 'void wxDC::SetClippingRegion(const wxRegion&)' is deprecated [-Wdeprecated-declarations] sipCpp->SetClippingRegion(*region); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxSVGFileDC.cpp:10: /usr/include/wx-3.0/wx/dc.h:996:30: note: declared here wxDEPRECATED_INLINE(void SetClippingRegion(const wxRegion& region), ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dc.h:996:5: note: in expansion of macro 'wxDEPRECATED_INLINE' wxDEPRECATED_INLINE(void SetClippingRegion(const wxRegion& region), ^~~~~~~~~~~~~~~~~~~ [258/856] Compiling sip/cpp/sip_corewxRegionIterator.cpp [259/856] Compiling sip/cpp/sip_corewxGraphicsPen.cpp [260/856] Compiling sip/cpp/sip_corewxDataObject.cpp [261/856] Compiling sip/cpp/sip_corewxClassInfo.cpp [262/856] Compiling sip/cpp/sip_corewxRegion.cpp [263/856] Compiling sip/cpp/sip_corewxRefCounter.cpp [264/856] Compiling sip/cpp/sip_corewxGraphicsPath.cpp [265/856] Compiling sip/cpp/sip_corewxRect2DDouble.cpp [266/856] Compiling sip/cpp/sip_corewxRect.cpp [267/856] Compiling sip/cpp/sip_corewxGraphicsObject.cpp [268/856] Compiling sip/cpp/sip_corewxDataFormat.cpp [269/856] Compiling sip/cpp/sip_corewxRearrangeList.cpp [270/856] Compiling sip/cpp/sip_corewxGraphicsRenderer.cpp [271/856] Compiling sip/cpp/sip_corewxGraphicsMatrix.cpp [272/856] Compiling sip/cpp/sip_corewxRearrangeCtrl.cpp [273/856] Compiling sip/cpp/sip_corewxRealPoint.cpp [274/856] Compiling sip/cpp/sip_corewxGraphicsGradientStops.cpp [275/856] Compiling sip/cpp/sip_corewxDashCArrayHolder.cpp [276/856] Compiling sip/cpp/sip_corewxChoicebook.cpp [277/856] Compiling sip/cpp/sip_corewxAutoBufferedPaintDC.cpp [278/856] Compiling sip/cpp/sip_corewxRadioButton.cpp [279/856] Compiling sip/cpp/sip_corewxRadioBox.cpp [280/856] Compiling sip/cpp/sip_corewxGraphicsGradientStop.cpp [281/856] Compiling sip/cpp/sip_corewxQueryNewPaletteEvent.cpp [282/856] Compiling sip/cpp/sip_corewxPyUserData.cpp [283/856] Compiling sip/cpp/sip_corewxRearrangeDialog.cpp [284/856] Compiling sip/cpp/sip_corewxGraphicsFont.cpp [285/856] Compiling sip/cpp/sip_corewxPySingleChoiceDialog.cpp [286/856] Compiling sip/cpp/sip_corewxPyEvent.cpp [287/856] Compiling sip/cpp/sip_corewxGraphicsContext.cpp [288/856] Compiling sip/cpp/sip_corewxDCTextColourChanger.cpp [289/856] Compiling sip/cpp/sip_corewxPyBuffer.cpp [290/856] Compiling sip/cpp/sip_corewxGraphicsBrush.cpp [291/856] Compiling sip/cpp/sip_corewxDCPenChanger.cpp [292/856] Compiling sip/cpp/sip_corewxChoice.cpp [293/856] Compiling sip/cpp/sip_corewxPyCommandEvent.cpp [294/856] Compiling sip/cpp/sip_corewxPyApp.cpp [295/856] Compiling sip/cpp/sip_corewxGraphicsBitmap.cpp [296/856] Compiling sip/cpp/sip_corewxPropagateOnce.cpp [297/856] Compiling sip/cpp/sip_corewxProgressDialog.cpp [298/856] Compiling sip/cpp/sip_corewxGenericProgressDialog.cpp [299/856] Compiling sip/cpp/sip_corewxDCOverlay.cpp [300/856] Compiling sip/cpp/sip_corewxProcessEvent.cpp [301/856] Compiling sip/cpp/sip_corewxPropagationDisabler.cpp [302/856] Compiling sip/cpp/sip_corewxGenericMessageDialog.cpp [303/856] Compiling sip/cpp/sip_corewxProcess.cpp [304/856] Compiling sip/cpp/sip_corewxPrinterDC.cpp [305/856] Compiling sip/cpp/sip_corewxGenericDragImage.cpp [306/856] Compiling sip/cpp/sip_corewxDCFontChanger.cpp [307/856] Compiling sip/cpp/sip_corewxChildFocusEvent.cpp [308/856] Compiling sip/cpp/sip_corewxArtProvider.cpp [309/856] Compiling sip/cpp/sip_corewxAlphaPixelData.cpp [310/856] Compiling sip/cpp/sip_corewxAcceleratorTable.cpp [311/856] Compiling sip/cpp/sip_corewxPrinter.cpp [312/856] Compiling sip/cpp/sip_corewxPrintPreview.cpp [313/856] Compiling sip/cpp/sip_corewxGenericDirCtrl.cpp [314/856] Compiling sip/cpp/sip_corewxPrintout.cpp [315/856] Compiling sip/cpp/sip_corewxPrintDialog.cpp [316/856] Compiling sip/cpp/sip_corewxGauge.cpp ../../../../sip/cpp/sip_corewxArtProvider.cpp: In function 'PyObject* meth_wxArtProvider_Insert(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxArtProvider.cpp:450:31: warning: 'static void wxArtProvider::Insert(wxArtProvider*)' is deprecated [-Wdeprecated-declarations] ::wxArtProvider::Insert(provider); ^~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxArtProvider.cpp:10: /usr/include/wx-3.0/wx/artprov.h:138:31: note: declared here static wxDEPRECATED( void Insert(wxArtProvider *provider) ); ^~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxArtProvider.cpp:450:46: warning: 'static void wxArtProvider::Insert(wxArtProvider*)' is deprecated [-Wdeprecated-declarations] ::wxArtProvider::Insert(provider); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxArtProvider.cpp:10: /usr/include/wx-3.0/wx/artprov.h:138:31: note: declared here static wxDEPRECATED( void Insert(wxArtProvider *provider) ); ^~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxArtProvider.cpp:450:46: warning: 'static void wxArtProvider::Insert(wxArtProvider*)' is deprecated [-Wdeprecated-declarations] ::wxArtProvider::Insert(provider); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxArtProvider.cpp:10: /usr/include/wx-3.0/wx/artprov.h:138:31: note: declared here static wxDEPRECATED( void Insert(wxArtProvider *provider) ); ^~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [317/856] Compiling sip/cpp/sip_corewxDCClipper.cpp [318/856] Compiling sip/cpp/sip_corewxPrintData.cpp [319/856] Compiling sip/cpp/sip_corewxPrintAbortDialog.cpp [320/856] Compiling sip/cpp/sip_corewxGUIEventLoop.cpp [321/856] Compiling sip/cpp/sip_corewxPreviewFrame.cpp [322/856] Compiling sip/cpp/sip_corewxPreviewControlBar.cpp [323/856] Compiling sip/cpp/sip_corewxGIFHandler.cpp [324/856] Compiling sip/cpp/sip_corewxDCBrushChanger.cpp [325/856] Compiling sip/cpp/sip_corewxCheckListBox.cpp [326/856] Compiling sip/cpp/sip_corewxPreviewCanvas.cpp [327/856] Compiling sip/cpp/sip_corewxPreferencesPage.cpp [328/856] Compiling sip/cpp/sip_corewxGDIObject.cpp [329/856] Compiling sip/cpp/sip_corewxPreferencesEditor.cpp [330/856] Compiling sip/cpp/sip_corewxPowerEvent.cpp [331/856] Compiling sip/cpp/sip_corewxGCDC.cpp [332/856] Compiling sip/cpp/sip_corewxDC.cpp [333/856] Compiling sip/cpp/sip_corewxPostScriptDC.cpp [334/856] Compiling sip/cpp/sip_corewxPosition.cpp [335/856] Compiling sip/cpp/sip_corewxPrintDialogData.cpp [336/856] Compiling sip/cpp/sip_corewxPopupWindow.cpp [337/856] Compiling sip/cpp/sip_corewxGBSpan.cpp [338/856] Compiling sip/cpp/sip_corewxGBSizerItem.cpp [339/856] Compiling sip/cpp/sip_corewxCustomDataObject.cpp [340/856] Compiling sip/cpp/sip_corewxCheckBox.cpp [341/856] Compiling sip/cpp/sip_corewxArrayVideoModes.cpp [342/856] Compiling sip/cpp/sip_corewxPointList_iterator.cpp [343/856] Compiling sip/cpp/sip_corewxPointList.cpp [344/856] Compiling sip/cpp/sip_corewxGBPosition.cpp [345/856] Compiling sip/cpp/sip_corewxPoint2DDouble.cpp [346/856] Compiling sip/cpp/sip_corewxPoint.cpp [347/856] Compiling sip/cpp/sip_corewxFrame.cpp [348/856] Compiling sip/cpp/sip_corewxCursor.cpp [349/856] Compiling sip/cpp/sip_corewxPlatformInfo.cpp [350/856] Compiling sip/cpp/sip_corewxPixelDataBase.cpp [351/856] Compiling sip/cpp/sip_corewxFontPickerEvent.cpp [352/856] Compiling sip/cpp/sip_corewxPickerBase.cpp [353/856] Compiling sip/cpp/sip_corewxPenList.cpp [354/856] Compiling sip/cpp/sip_corewxFontPickerCtrl.cpp [355/856] Compiling sip/cpp/sip_corewxControlWithItems.cpp [356/856] Compiling sip/cpp/sip_corewxCharBuffer.cpp [357/856] Compiling sip/cpp/sip_corewxPopupTransientWindow.cpp [358/856] Compiling sip/cpp/sip_corewxPen.cpp [359/856] Compiling sip/cpp/sip_corewxFontMetrics.cpp [360/856] Compiling sip/cpp/sip_corewxPanel.cpp [361/856] Compiling sip/cpp/sip_corewxPaletteChangedEvent.cpp [362/856] Compiling sip/cpp/sip_corewxFontMapper.cpp [363/856] Compiling sip/cpp/sip_corewxControl.cpp [364/856] Compiling sip/cpp/sip_corewxPasswordEntryDialog.cpp [365/856] Compiling sip/cpp/sip_corewxPaintEvent.cpp [366/856] Compiling sip/cpp/sip_corewxFontList.cpp [367/856] Compiling sip/cpp/sip_corewxPaintDC.cpp [368/856] Compiling sip/cpp/sip_corewxPageSetupDialogData.cpp [369/856] Compiling sip/cpp/sip_corewxFontInfo.cpp [370/856] Compiling sip/cpp/sip_corewxContextMenuEvent.cpp [371/856] Compiling sip/cpp/sip_corewxCaret.cpp [372/856] Compiling sip/cpp/sip_corewxArrayString.cpp [373/856] Compiling sip/cpp/sip_corewxAffineMatrix2DBase.cpp [374/856] Compiling sip/cpp/sip_corewxPageSetupDialog.cpp [375/856] Compiling sip/cpp/sip_corewxPNMHandler.cpp [376/856] Compiling sip/cpp/sip_corewxFontEnumerator.cpp [377/856] Compiling sip/cpp/sip_corewxPalette.cpp [378/856] Compiling sip/cpp/sip_corewxPCXHandler.cpp [379/856] Compiling sip/cpp/sip_corewxFontDialog.cpp [380/856] Compiling sip/cpp/sip_corewxContextHelpButton.cpp [381/856] Compiling sip/cpp/sip_corewxOverlay.cpp [382/856] Compiling sip/cpp/sip_corewxOutputStream.cpp [383/856] Compiling sip/cpp/sip_corewxFontData.cpp [384/856] Compiling sip/cpp/sip_corewxObject.cpp [385/856] Compiling sip/cpp/sip_corewxPNGHandler.cpp [386/856] Compiling sip/cpp/sip_corewxNumberEntryDialog.cpp [387/856] Compiling sip/cpp/sip_corewxFont.cpp [388/856] Compiling sip/cpp/sip_corewxButton.cpp [389/856] Compiling sip/cpp/sip_corewxNotifyEvent.cpp [390/856] Compiling sip/cpp/sip_corewxNotebook.cpp [391/856] Compiling sip/cpp/sip_corewxFocusEvent.cpp [392/856] Compiling sip/cpp/sip_corewxNonOwnedWindow.cpp [393/856] Compiling sip/cpp/sip_corewxNavigationKeyEvent.cpp [394/856] Compiling sip/cpp/sip_corewxFlexGridSizer.cpp [395/856] Compiling sip/cpp/sip_corewxConfigPathChanger.cpp [396/856] Compiling sip/cpp/sip_corewxNativePixelData_Accessor.cpp [397/856] Compiling sip/cpp/sip_corewxNativePixelData.cpp [398/856] Compiling sip/cpp/sip_corewxFindReplaceDialog.cpp [399/856] Compiling sip/cpp/sip_corewxNativeFontInfo.cpp [400/856] Compiling sip/cpp/sip_corewxMultiChoiceDialog.cpp [401/856] Compiling sip/cpp/sip_corewxContextHelp.cpp [402/856] Compiling sip/cpp/sip_corewxConfigBase.cpp [403/856] Compiling sip/cpp/sip_corewxBusyInfo.cpp [404/856] Compiling sip/cpp/sip_corewxArrayInt.cpp [405/856] Compiling sip/cpp/sip_corewxMsgCatalog.cpp [406/856] Compiling sip/cpp/sip_corewxMoveEvent.cpp [407/856] Compiling sip/cpp/sip_corewxFindDialogEvent.cpp [408/856] Compiling sip/cpp/sip_corewxMouseState.cpp [409/856] Compiling sip/cpp/sip_corewxMouseEventsManager.cpp [410/856] Compiling sip/cpp/sip_corewxFilterFSHandler.cpp [411/856] Compiling sip/cpp/sip_corewxConfig.cpp [412/856] Compiling sip/cpp/sip_corewxMouseEvent.cpp [413/856] Compiling sip/cpp/sip_corewxMouseCaptureLostEvent.cpp [414/856] Compiling sip/cpp/sip_corewxFileTypeMessageParameters.cpp [415/856] Compiling sip/cpp/sip_corewxMouseCaptureChangedEvent.cpp [416/856] Compiling sip/cpp/sip_corewxModalDialogHook.cpp [417/856] Compiling sip/cpp/sip_corewxFileTypeInfo.cpp [418/856] Compiling sip/cpp/sip_corewxCommandProcessor.cpp [419/856] Compiling sip/cpp/sip_corewxBusyCursor.cpp [420/856] Compiling sip/cpp/sip_corewxMirrorDC.cpp [421/856] Compiling sip/cpp/sip_corewxMiniFrame.cpp [422/856] Compiling sip/cpp/sip_corewxFileType.cpp [423/856] Compiling sip/cpp/sip_corewxMimeTypesManager.cpp [424/856] Compiling sip/cpp/sip_corewxMetafileDC.cpp [425/856] Compiling sip/cpp/sip_corewxFileTranslationsLoader.cpp [426/856] Compiling sip/cpp/sip_corewxCommandList_iterator.cpp [427/856] Compiling sip/cpp/sip_corewxMetafile.cpp [428/856] Compiling sip/cpp/sip_corewxMessageDialogButtonLabel.cpp [429/856] Compiling sip/cpp/sip_corewxFileSystemWatcherEvent.cpp [430/856] Compiling sip/cpp/sip_corewxMessageDialog.cpp [431/856] Compiling sip/cpp/sip_corewxFindReplaceData.cpp [432/856] Compiling sip/cpp/sip_corewxBufferedDC.cpp [433/856] Compiling sip/cpp/sip_corewxBrushList.cpp [434/856] Compiling sip/cpp/sip_corewxComboCtrlFeatures.cpp [435/856] Compiling sip/cpp/sip_corewxCommandEvent.cpp [436/856] Compiling sip/cpp/sip_corewxCommand.cpp [437/856] Compiling sip/cpp/sip_corewxFileDropTarget.cpp [438/856] Compiling sip/cpp/sip_corewxMDIChildFrame.cpp [439/856] Compiling sip/cpp/sip_corewxFileName.cpp [440/856] Compiling sip/cpp/sip_corewxMDIClientWindow.cpp [441/856] Compiling sip/cpp/sip_corewxFileHistory.cpp [442/856] Compiling sip/cpp/sip_corewxFileSystemHandler.cpp [443/856] Compiling sip/cpp/sip_corewxFileSystem.cpp [444/856] Compiling sip/cpp/sip_corewxMemoryFSHandler.cpp [445/856] Compiling sip/cpp/sip_corewxMDIParentFrame.cpp [446/856] Compiling sip/cpp/sip_corewxMask.cpp [447/856] Compiling sip/cpp/sip_corewxMenu.cpp [448/856] Compiling sip/cpp/sip_corewxComboPopup.cpp [449/856] Compiling sip/cpp/sip_corewxFileHistoryMenuList.cpp [450/856] Compiling sip/cpp/sip_corewxMenuItem.cpp [451/856] Compiling sip/cpp/sip_corewxFilePickerCtrl.cpp [452/856] Compiling sip/cpp/sip_corewxMatrix2D.cpp [453/856] Compiling sip/cpp/sip_corewxMaximizeEvent.cpp [454/856] Compiling sip/cpp/sip_corewxMenuBar.cpp [455/856] Compiling sip/cpp/sip_corewxFileHistoryMenuList_iterator.cpp [456/856] Compiling sip/cpp/sip_corewxMemoryBuffer.cpp [457/856] Compiling sip/cpp/sip_advwxWizardPageSimple.cpp ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_GetLabel(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:478:55: warning: 'wxString wxMenuItemBase::GetLabel() const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetLabel()); ^ In file included from /usr/include/wx-3.0/wx/wx.h:56, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:182:17: note: declared here inline wxString wxMenuItemBase::GetLabel() const ^~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_GetName(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:591:54: warning: 'wxString wxMenuItemBase::GetName() const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetName()); ^ In file included from /usr/include/wx-3.0/wx/wx.h:56, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:180:17: note: declared here inline wxString wxMenuItemBase::GetName() const ^~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_GetText(PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:668:54: warning: 'const wxString& wxMenuItemBase::GetText() const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetText()); ^ In file included from /usr/include/wx-3.0/wx/wx.h:56, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:184:24: note: declared here inline const wxString& wxMenuItemBase::GetText() const { return m_text; } ^~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_SetText(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:1459:34: warning: 'virtual void wxMenuItemBase::SetText(const wxString&)' is deprecated [-Wdeprecated-declarations] sipCpp->SetText(*text); ^ In file included from /usr/include/wx-3.0/wx/wx.h:56, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:185:13: note: declared here inline void wxMenuItemBase::SetText(const wxString& text) { SetItemLabel(text); } ^~~~~~~~~~~~~~ ../../../../sip/cpp/sip_corewxMenuItem.cpp: In function 'PyObject* meth_wxMenuItem_GetLabelFromText(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuItem.cpp:1668:53: warning: 'static wxString wxMenuItemBase::GetLabelFromText(const wxString&)' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString( ::wxMenuItem::GetLabelFromText(*text)); ^~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:135:35: note: declared here static wxDEPRECATED( wxString GetLabelFromText(const wxString& text) ); ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxMenuItem.cpp:1668:75: warning: 'static wxString wxMenuItemBase::GetLabelFromText(const wxString&)' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString( ::wxMenuItem::GetLabelFromText(*text)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:135:35: note: declared here static wxDEPRECATED( wxString GetLabelFromText(const wxString& text) ); ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxMenuItem.cpp:1668:75: warning: 'static wxString wxMenuItemBase::GetLabelFromText(const wxString&)' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString( ::wxMenuItem::GetLabelFromText(*text)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuItem.cpp:10: /usr/include/wx-3.0/wx/menuitem.h:135:35: note: declared here static wxDEPRECATED( wxString GetLabelFromText(const wxString& text) ); ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [458/856] Compiling sip/cpp/sip_advwxWizardEvent.cpp [459/856] Compiling sip/cpp/sip_advwxTaskBarIconEvent.cpp [460/856] Compiling sip/cpp/sip_advwxOwnerDrawnComboBox.cpp [461/856] Compiling sip/cpp/sip_advwxAnimationCtrl.cpp [462/856] Compiling sip/cpp/sip_advwxAnimation.cpp [463/856] Compiling sip/cpp/sip_advwxAboutDialogInfo.cpp ../../../../sip/cpp/sip_corewxMenuBar.cpp: In function 'PyObject* meth_wxMenuBar_GetLabelTop(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuBar.cpp:2140:61: warning: 'wxString wxMenuBarBase::GetLabelTop(size_t) const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetLabelTop(pos)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuBar.cpp:10: /usr/include/wx-3.0/wx/menu.h:555:28: note: declared here wxDEPRECATED( wxString GetLabelTop(size_t pos) const ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_corewxMenuBar.cpp: In function 'PyObject* meth_wxMenuBar_SetLabelTop(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_corewxMenuBar.cpp:2694:43: warning: 'void wxMenuBarBase::SetLabelTop(size_t, const wxString&)' is deprecated [-Wdeprecated-declarations] sipCpp->SetLabelTop(pos,*label); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_core.h:19835, from ../../../../sip/cpp/sip_corewxMenuBar.cpp:10: /usr/include/wx-3.0/wx/menu.h:553:24: note: declared here wxDEPRECATED( void SetLabelTop(size_t pos, const wxString& label) ); ^~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [464/856] Compiling sip/cpp/sip_advcmodule.cpp [465/856] Compiling sip/cpp/sip_advwxSplashScreen.cpp [466/856] Compiling sip/cpp/sip_advwxSashEvent.cpp [467/856] Compiling sip/cpp/sip_advwxPropertySheetDialog.cpp [468/856] Compiling sip/cpp/sip_advwxExtHelpController.cpp [469/856] Linking build/waf/3.7/gtk3/_core.cpython-37m-aarch64-linux-gnu.so [470/856] Compiling sip/cpp/sip_advwxDateEvent.cpp [471/856] Compiling sip/cpp/sip_advwxWizardPage.cpp [472/856] Compiling sip/cpp/sip_advwxTimePickerCtrl.cpp [473/856] Compiling sip/cpp/sip_advwxCalendarCtrl.cpp [474/856] Compiling sip/cpp/sip_advwxWizard.cpp [475/856] Compiling sip/cpp/sip_advwxTipProvider.cpp [476/856] Compiling sip/cpp/sip_advwxTaskBarIcon.cpp [477/856] Compiling sip/cpp/sip_advwxSashWindow.cpp [478/856] Compiling sip/cpp/sip_advwxPseudoDC.cpp [479/856] Compiling sip/cpp/sip_advwxSound.cpp [480/856] Compiling sip/cpp/sip_advwxSashLayoutWindow.cpp [481/856] Compiling sip/cpp/sip_advwxQueryLayoutInfoEvent.cpp [482/856] Compiling sip/cpp/sip_advwxRichToolTip.cpp [483/856] Compiling sip/cpp/sip_advwxNotificationMessage.cpp [484/856] Compiling sip/cpp/sip_advwxJoystick.cpp [485/856] Compiling sip/cpp/sip_advwxEditableListBox.cpp [486/856] Compiling sip/cpp/sip_advwxBannerWindow.cpp [487/856] Compiling sip/cpp/sip_advwxLayoutAlgorithm.cpp [488/856] Compiling sip/cpp/sip_advwxHyperlinkEvent.cpp [489/856] Compiling sip/cpp/sip_advwxGenericCalendarCtrl.cpp [490/856] Compiling sip/cpp/sip_advwxHyperlinkCtrl.cpp [491/856] Compiling sip/cpp/sip_advwxDatePickerCtrlGeneric.cpp [492/856] Compiling sip/cpp/sip_advwxCommandLinkButton.cpp [493/856] Compiling sip/cpp/sip_advwxBitmapComboBox.cpp [494/856] Compiling sip/cpp/sip_advwxDatePickerCtrl.cpp [495/856] Compiling sip/cpp/sip_advwxCalendarEvent.cpp [496/856] Compiling sip/cpp/sip_advwxCalculateLayoutEvent.cpp [497/856] Compiling sip/cpp/sip_advwxCalendarDateAttr.cpp [498/856] Compiling sip/cpp/sip_dataviewwxDataViewItem.cpp [499/856] Compiling sip/cpp/sip_dataviewwxDataViewIndexListModel.cpp [500/856] Compiling sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp [501/856] Compiling sip/cpp/sip_dataviewwxDataViewCtrl.cpp [502/856] Compiling sip/cpp/sip_dataviewwxDataViewListStore.cpp [503/856] Compiling sip/cpp/sip_dataviewwxDataViewModelNotifier.cpp [504/856] Compiling sip/cpp/sip_dataviewwxDataViewDateRenderer.cpp [505/856] Compiling sip/cpp/sip_dataviewwxDataViewItemArray.cpp [506/856] Compiling sip/cpp/sip_dataviewwxDataViewIconTextRenderer.cpp [507/856] Compiling sip/cpp/sip_dataviewwxDataViewEvent.cpp ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp: In member function 'virtual bool sipwxDataViewSpinRenderer::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, uint)': ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:311:43: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewSpinRenderer::LeftClick(cursor,cell,model,item,col); ^~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:311:79: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewSpinRenderer::LeftClick(cursor,cell,model,item,col); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp: In member function 'virtual bool sipwxDataViewSpinRenderer::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, uint)': ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:326:43: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewSpinRenderer::Activate(cell,model,item,col); ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:326:71: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewSpinRenderer::Activate(cell,model,item,col); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewSpinRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [508/856] Compiling sip/cpp/sip_dataviewwxDataViewIconText.cpp [509/856] Linking build/waf/3.7/gtk3/_adv.cpython-37m-aarch64-linux-gnu.so [510/856] Compiling sip/cpp/sip_dataviewwxDataViewTextRenderer.cpp [511/856] Compiling sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp [512/856] Compiling sip/cpp/sip_dataviewwxDataViewVirtualListModel.cpp [513/856] Compiling sip/cpp/sip_dataviewwxTreeListCtrl.cpp [514/856] Compiling sip/cpp/sip_dataviewwxDataViewToggleRenderer.cpp [515/856] Compiling sip/cpp/sip_dataviewwxDataViewListModel.cpp [516/856] Compiling sip/cpp/sip_dataviewwxDataViewListCtrl.cpp [517/856] Compiling sip/cpp/sip_dataviewwxDataViewTreeStore.cpp [518/856] Compiling sip/cpp/sip_dataviewwxDVCVariant.cpp ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In member function 'virtual bool sipwxDataViewCustomRenderer::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, uint)': ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:125:45: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewCustomRenderer::Activate(cell,model,item,col); ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:125:73: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewCustomRenderer::Activate(cell,model,item,col); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In member function 'virtual bool sipwxDataViewCustomRenderer::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, uint)': ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:140:45: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewCustomRenderer::LeftClick(cursor,cell,model,item,col); ^~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:140:81: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] return ::wxDataViewCustomRenderer::LeftClick(cursor,cell,model,item,col); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In function 'PyObject* meth_wxDataViewCustomRenderer_LeftClick(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:707:115: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::LeftClick(*cursor,*cell,model,*item,col) : sipCpp->LeftClick(*cursor,*cell,model,*item,col)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:707:166: warning: 'virtual bool wxDataViewCustomRendererBase::LeftClick(wxPoint, wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::LeftClick(*cursor,*cell,model,*item,col) : sipCpp->LeftClick(*cursor,*cell,model,*item,col)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:259:22: note: declared here virtual bool LeftClick(wxPoint WXUNUSED(cursor), ^~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:258:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp: In function 'PyObject* meth_wxDataViewCustomRenderer_Activate(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:758:106: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::Activate(*cell,model,*item,col) : sipCpp->Activate(*cell,model,*item,col)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:758:148: warning: 'virtual bool wxDataViewCustomRendererBase::Activate(wxRect, wxDataViewModel*, const wxDataViewItem&, unsigned int)' is deprecated [-Wdeprecated-declarations] sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewCustomRenderer::Activate(*cell,model,*item,col) : sipCpp->Activate(*cell,model,*item,col)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_dataview.h:1712, from ../../../../sip/cpp/sip_dataviewwxDataViewCustomRenderer.cpp:10: /usr/include/wx-3.0/wx/dvrenderers.h:251:22: note: declared here virtual bool Activate(wxRect WXUNUSED(cell), ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ /usr/include/wx-3.0/wx/dvrenderers.h:250:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE' wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [519/856] Compiling sip/cpp/sip_dataviewwxTreeListItem.cpp [520/856] Compiling sip/cpp/sip_dataviewwxDataViewModel.cpp [521/856] Compiling sip/cpp/sip_dataviewwxDataViewBitmapRenderer.cpp [522/856] Compiling sip/cpp/sip_dataviewcmodule.cpp [523/856] Compiling sip/cpp/sip_dataviewwxVariantVector.cpp [524/856] Compiling sip/cpp/sip_dataviewwxDataViewItemAttr.cpp [525/856] Compiling sip/cpp/sip_dataviewwxDataViewColumn.cpp [526/856] Compiling sip/cpp/sip_dataviewwxDataViewChoiceRenderer.cpp [527/856] Compiling sip/cpp/sip_dataviewwxDataViewProgressRenderer.cpp [528/856] Compiling sip/cpp/sip_dataviewwxDataViewRenderer.cpp [529/856] Compiling sip/cpp/sip_dataviewwxTreeListEvent.cpp [530/856] Compiling sip/cpp/sip_dataviewwxDataViewTreeCtrl.cpp [531/856] Compiling sip/cpp/sip_dataviewwxTreeListItemComparator.cpp [532/856] Compiling sip/cpp/sip_gridwxGridCellAutoWrapStringRenderer.cpp [533/856] Compiling sip/cpp/sip_gridwxGridCellAttrProvider.cpp [534/856] Compiling sip/cpp/sip_gridwxGridCellEnumRenderer.cpp [535/856] Compiling sip/cpp/sip_gridwxGridTableMessage.cpp [536/856] Compiling sip/cpp/sip_gridwxGridCellCoords.cpp [537/856] Compiling sip/cpp/sip_gridwxGridCellChoiceEditor.cpp [538/856] Compiling sip/cpp/sip_gridwxGridCellAttr.cpp [539/856] Compiling sip/cpp/sip_gridwxGridUpdateLocker.cpp [540/856] Compiling sip/cpp/sip_gridwxGridCellBoolEditor.cpp [541/856] Compiling sip/cpp/sip_gridwxGrid.cpp [542/856] Linking build/waf/3.7/gtk3/_dataview.cpython-37m-aarch64-linux-gnu.so [543/856] Compiling sip/cpp/sip_gridwxGridCellBoolRenderer.cpp [544/856] Compiling sip/cpp/sip_gridwxGridCellCoordsArray.cpp [545/856] Compiling sip/cpp/sip_gridwxGridSizeEvent.cpp [546/856] Compiling sip/cpp/sip_gridwxGridRangeSelectEvent.cpp [547/856] Compiling sip/cpp/sip_gridwxGridCellFloatRenderer.cpp [548/856] Compiling sip/cpp/sip_gridwxGridHeaderLabelsRenderer.cpp [549/856] Compiling sip/cpp/sip_gridwxGridCellStringRenderer.cpp [550/856] Compiling sip/cpp/sip_gridwxGridCellEnumEditor.cpp [551/856] Compiling sip/cpp/sip_gridwxGridCellNumberEditor.cpp [552/856] Compiling sip/cpp/sip_gridwxGridCornerHeaderRendererDefault.cpp [553/856] Compiling sip/cpp/sip_gridwxGridCellTextEditor.cpp [554/856] Compiling sip/cpp/sip_gridwxGridColumnHeaderRenderer.cpp [555/856] Compiling sip/cpp/sip_gridwxGridCellAutoWrapStringEditor.cpp [556/856] Compiling sip/cpp/sip_gridcmodule.cpp [557/856] Compiling sip/cpp/sip_gridwxGridSizesInfo.cpp [558/856] Compiling sip/cpp/sip_gridwxGridRowHeaderRenderer.cpp [559/856] Compiling sip/cpp/sip_gridwxGridCellDateTimeRenderer.cpp [560/856] Compiling sip/cpp/sip_gridwxGridStringTable.cpp [561/856] Compiling sip/cpp/sip_gridwxGridRowHeaderRendererDefault.cpp [562/856] Compiling sip/cpp/sip_gridwxGridCellRenderer.cpp [563/856] Compiling sip/cpp/sip_gridwxGridEvent.cpp [564/856] Compiling sip/cpp/sip_gridwxGridTableBase.cpp [565/856] Compiling sip/cpp/sip_gridwxGridColumnHeaderRendererDefault.cpp [566/856] Compiling sip/cpp/sip_gridwxGridCellFloatEditor.cpp [567/856] Compiling sip/cpp/sip_gridwxGridCornerHeaderRenderer.cpp [568/856] Compiling sip/cpp/sip_gridwxGridEditorCreatedEvent.cpp [569/856] Compiling sip/cpp/sip_gridwxGridCellEditor.cpp [570/856] Compiling sip/cpp/sip_gridwxGridCellNumberRenderer.cpp [571/856] Compiling sip/cpp/sip_stccmodule.cpp [572/856] Compiling sip/cpp/sip_stcwxStyledTextEvent.cpp [573/856] Compiling sip/cpp/sip_stcwxStyledTextCtrl.cpp [574/856] Compiling sip/cpp/sip_htmlwxHtmlHelpData.cpp [575/856] Compiling sip/cpp/sip_htmlwxHtmlModalHelp.cpp [576/856] Compiling sip/cpp/sip_htmlwxHtmlHelpWindow.cpp [577/856] Compiling sip/cpp/sip_htmlwxHtmlHelpDialog.cpp [578/856] Compiling sip/cpp/sip_htmlwxHtmlHelpDataItems.cpp [579/856] Compiling sip/cpp/sip_htmlwxHtmlFilter.cpp [580/856] Linking build/waf/3.7/gtk3/_grid.cpython-37m-aarch64-linux-gnu.so [581/856] Compiling sip/cpp/sip_htmlwxHtmlContainerCell.cpp [582/856] Compiling sip/cpp/sip_htmlwxHtmlBookRecord.cpp [583/856] Compiling sip/cpp/sip_htmlwxSimpleHtmlListBox.cpp [584/856] Compiling sip/cpp/sip_htmlwxHtmlWordWithTabsCell.cpp [585/856] Compiling sip/cpp/sip_htmlwxHtmlWidgetCell.cpp [586/856] Compiling sip/cpp/sip_htmlwxHtmlRenderingState.cpp [587/856] Compiling sip/cpp/sip_htmlwxHtmlCell.cpp [588/856] Compiling sip/cpp/sip_htmlwxHtmlSelection.cpp [589/856] Compiling sip/cpp/sip_htmlwxHtmlTagHandler.cpp [590/856] Compiling sip/cpp/sip_htmlwxHtmlTag.cpp [591/856] Compiling sip/cpp/sip_htmlwxHtmlWinTagHandler.cpp [592/856] Compiling sip/cpp/sip_htmlwxHtmlPrintout.cpp [593/856] Compiling sip/cpp/sip_htmlwxHtmlListBox.cpp [594/856] Compiling sip/cpp/sip_htmlwxHtmlFontCell.cpp [595/856] Compiling sip/cpp/sip_htmlwxHtmlHelpFrame.cpp [596/856] Compiling sip/cpp/sip_htmlwxHtmlHelpController.cpp ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp: In function 'PyObject* meth_wxHtmlTag_GetBeginPos(PyObject*, PyObject*)': ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:76:42: warning: 'int wxHtmlTag::GetBeginPos() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->GetBeginPos(); ^ In file included from /usr/include/wx-3.0/wx/html/htmlpars.h:15, from /usr/include/wx-3.0/wx/html/winpars.h:17, from /usr/include/wx-3.0/wx/html/htmlwin.h:19, from /usr/include/wx-3.0/wx/htmllbox.h:15, from ../../../../sip/cpp/sipAPI_html.h:2132, from ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:10: /usr/include/wx-3.0/wx/html/htmltag.h:168:12: note: declared here inline int wxHtmlTag::GetBeginPos() const { return int(m_Begin - m_sourceStart); } ^~~~~~~~~ ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp: In function 'PyObject* meth_wxHtmlTag_GetEndPos1(PyObject*, PyObject*)': ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:116:41: warning: 'int wxHtmlTag::GetEndPos1() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->GetEndPos1(); ^ In file included from /usr/include/wx-3.0/wx/html/htmlpars.h:15, from /usr/include/wx-3.0/wx/html/winpars.h:17, from /usr/include/wx-3.0/wx/html/htmlwin.h:19, from /usr/include/wx-3.0/wx/htmllbox.h:15, from ../../../../sip/cpp/sipAPI_html.h:2132, from ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:10: /usr/include/wx-3.0/wx/html/htmltag.h:169:12: note: declared here inline int wxHtmlTag::GetEndPos1() const { return int(m_End1 - m_sourceStart); } ^~~~~~~~~ ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp: In function 'PyObject* meth_wxHtmlTag_GetEndPos2(PyObject*, PyObject*)': ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:156:41: warning: 'int wxHtmlTag::GetEndPos2() const' is deprecated [-Wdeprecated-declarations] sipRes = sipCpp->GetEndPos2(); ^ In file included from /usr/include/wx-3.0/wx/html/htmlpars.h:15, from /usr/include/wx-3.0/wx/html/winpars.h:17, from /usr/include/wx-3.0/wx/html/htmlwin.h:19, from /usr/include/wx-3.0/wx/htmllbox.h:15, from ../../../../sip/cpp/sipAPI_html.h:2132, from ../../../../sip/cpp/sip_htmlwxHtmlTag.cpp:10: /usr/include/wx-3.0/wx/html/htmltag.h:170:12: note: declared here inline int wxHtmlTag::GetEndPos2() const { return int(m_End2 - m_sourceStart); } ^~~~~~~~~ [597/856] Compiling sip/cpp/sip_htmlwxHtmlLinkInfo.cpp [598/856] Compiling sip/cpp/sip_htmlwxHtmlDCRenderer.cpp [599/856] Compiling sip/cpp/sip_htmlwxHtmlColourCell.cpp [600/856] Compiling sip/cpp/sip_htmlwxHtmlWordCell.cpp [601/856] Compiling sip/cpp/sip_htmlwxHtmlLinkEvent.cpp [602/856] Compiling sip/cpp/sip_htmlwxHtmlEasyPrinting.cpp [603/856] Linking build/waf/3.7/gtk3/_stc.cpython-37m-aarch64-linux-gnu.so [604/856] Compiling sip/cpp/sip_htmlwxHtmlCellEvent.cpp [605/856] Compiling sip/cpp/sip_htmlwxHtmlBookRecArray.cpp [606/856] Compiling sip/cpp/sip_htmlwxHtmlWinParser.cpp [607/856] Compiling sip/cpp/sip_htmlwxHtmlHelpDataItem.cpp [608/856] Compiling sip/cpp/sip_htmlwxHtmlWindow.cpp [609/856] Compiling sip/cpp/sip_htmlwxHtmlParser.cpp [610/856] Compiling sip/cpp/sip_htmlwxHtmlRenderingStyle.cpp [611/856] Compiling sip/cpp/sip_htmlcmodule.cpp [612/856] Compiling sip/cpp/sip_htmlwxHtmlRenderingInfo.cpp [613/856] Compiling sip/cpp/sip_htmlwxHtmlWindowInterface.cpp [614/856] Compiling sip/cpp/sip_glcanvaswxGLContext.cpp [615/856] Compiling sip/cpp/sip_glcanvaswxGLCanvas.cpp [616/856] Compiling sip/cpp/sip_glcanvascmodule.cpp [617/856] Compiling sip/cpp/sip_html2wxWebView.cpp [618/856] Compiling sip/cpp/sip_html2wxWebViewEvent.cpp [619/856] Compiling sip/cpp/sip_html2wxWebViewFactory.cpp [620/856] Compiling sip/cpp/sip_html2wxWebViewHistoryItem.cpp [621/856] Compiling sip/cpp/sip_html2wxWebViewFSHandler.cpp [622/856] Compiling sip/cpp/sip_html2wxWebViewHandler.cpp [623/856] Compiling sip/cpp/sip_html2cmodule.cpp [624/856] Linking build/waf/3.7/gtk3/_html.cpython-37m-aarch64-linux-gnu.so [625/856] Compiling sip/cpp/sip_html2wxWebViewArchiveHandler.cpp [626/856] Linking build/waf/3.7/gtk3/_glcanvas.cpython-37m-aarch64-linux-gnu.so [627/856] Compiling sip/cpp/sip_xmlwxXmlAttribute.cpp [628/856] Compiling sip/cpp/sip_xmlwxXmlDocument.cpp [629/856] Compiling sip/cpp/sip_xmlcmodule.cpp [630/856] Compiling sip/cpp/sip_xmlwxXmlNode.cpp [631/856] Compiling sip/cpp/sip_xrccmodule.cpp [632/856] Compiling sip/cpp/sip_xrcwxAnimation.cpp [633/856] Compiling sip/cpp/sip_xrcwxXmlResource.cpp [634/856] Compiling sip/cpp/sip_xrcwxXmlSubclassFactory.cpp [635/856] Compiling sip/cpp/sip_xrcwxXmlResourceHandler.cpp [636/856] Linking build/waf/3.7/gtk3/_html2.cpython-37m-aarch64-linux-gnu.so [637/856] Compiling sip/cpp/sip_richtextwxRichTextFieldTypeStandard.cpp [638/856] Compiling sip/cpp/sip_richtextwxRichTextTable.cpp [639/856] Compiling sip/cpp/sip_richtextwxRichTextObjectList.cpp [640/856] Compiling sip/cpp/sip_richtextwxRichTextFormattingDialogFactory.cpp [641/856] Compiling sip/cpp/sip_richtextwxRichTextBuffer.cpp [642/856] Compiling sip/cpp/sip_richtextwxRichTextFileHandlerList.cpp [643/856] Linking build/waf/3.7/gtk3/_xml.cpython-37m-aarch64-linux-gnu.so [644/856] Compiling sip/cpp/sip_richtextwxRichTextCtrl.cpp [645/856] Compiling sip/cpp/sip_richtextwxRichTextCell.cpp [646/856] Compiling sip/cpp/sip_richtextwxRichTextFileHandlerList_iterator.cpp [647/856] Compiling sip/cpp/sip_richtextwxTextBoxAttr.cpp [648/856] Compiling sip/cpp/sip_richtextwxRichTextObject.cpp [649/856] Compiling sip/cpp/sip_richtextwxRichTextAttrArray.cpp [650/856] Linking build/waf/3.7/gtk3/_xrc.cpython-37m-aarch64-linux-gnu.so [651/856] Compiling sip/cpp/sip_richtextwxRichTextPrintout.cpp [652/856] Compiling sip/cpp/sip_richtextwxRichTextObjectList_iterator.cpp [653/856] Compiling sip/cpp/sip_richtextwxRichTextRange.cpp [654/856] Compiling sip/cpp/sip_richtextwxRichTextSelection.cpp [655/856] Compiling sip/cpp/sip_richtextwxRichTextObjectList_.cpp [656/856] Compiling sip/cpp/sip_richtextwxRichTextPrinting.cpp [657/856] Compiling sip/cpp/sip_richtextwxRichTextLineList_iterator.cpp [658/856] Compiling sip/cpp/sip_richtextwxRichTextBufferDataObject.cpp [659/856] Compiling sip/cpp/sip_richtextwxRichTextStyleComboCtrl.cpp [660/856] Compiling sip/cpp/sip_richtextwxRichTextImage.cpp [661/856] Compiling sip/cpp/sip_richtextwxRichTextParagraph.cpp [662/856] Compiling sip/cpp/sip_richtextwxRichTextPlainTextHandler.cpp [663/856] Compiling sip/cpp/sip_richtextwxRichTextXMLHandler.cpp [664/856] Compiling sip/cpp/sip_richtextwxTextAttrBorders.cpp [665/856] Compiling sip/cpp/sip_richtextwxRichTextActionList.cpp [666/856] Compiling sip/cpp/sip_richtextwxRichTextEvent.cpp [667/856] Compiling sip/cpp/sip_richtextwxRichTextFileHandler.cpp [668/856] Compiling sip/cpp/sip_richtextwxRichTextLineList.cpp [669/856] Compiling sip/cpp/sip_richtextwxRichTextFloatCollector.cpp [670/856] Compiling sip/cpp/sip_richtextwxRichTextField.cpp [671/856] Compiling sip/cpp/sip_richtextwxRichTextStyleOrganiserDialog.cpp [672/856] Compiling sip/cpp/sip_richtextwxRichTextVariantArray.cpp [673/856] Compiling sip/cpp/sip_richtextcmodule.cpp [674/856] Compiling sip/cpp/sip_richtextwxRichTextImageBlock.cpp [675/856] Compiling sip/cpp/sip_richtextwxTextAttrDimension.cpp [676/856] Compiling sip/cpp/sip_richtextwxRichTextStyleListBox.cpp [677/856] Compiling sip/cpp/sip_richtextwxRichTextStdRenderer.cpp [678/856] Compiling sip/cpp/sip_richtextwxRichTextPlainText.cpp [679/856] Compiling sip/cpp/sip_richtextwxRichTextObjectList__iterator.cpp [680/856] Compiling sip/cpp/sip_richtextwxRichTextLine.cpp [681/856] Compiling sip/cpp/sip_richtextwxSymbolPickerDialog.cpp [682/856] Compiling sip/cpp/sip_richtextwxRichTextObjectAddress.cpp [683/856] Compiling sip/cpp/sip_richtextwxRichTextHTMLHandler.cpp [684/856] Compiling sip/cpp/sip_richtextwxRichTextFontTable.cpp [685/856] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandlerList_iterator.cpp [686/856] Compiling sip/cpp/sip_richtextwxRichTextDrawingContext.cpp [687/856] Compiling sip/cpp/sip_richtextwxRichTextCompositeObject.cpp [688/856] Compiling sip/cpp/sip_richtextwxRichTextActionList_iterator.cpp [689/856] Compiling sip/cpp/sip_richtextwxRichTextAction.cpp [690/856] Compiling sip/cpp/sip_richtextwxRichTextFieldType.cpp [691/856] Compiling sip/cpp/sip_richtextwxRichTextContextMenuPropertiesInfo.cpp [692/856] Compiling sip/cpp/sip_richtextwxRichTextCharacterStyleDefinition.cpp [693/856] Compiling sip/cpp/sip_richtextwxTextAttrBorder.cpp [694/856] Compiling sip/cpp/sip_richtextwxTextAttrDimensions.cpp [695/856] Compiling sip/cpp/sip_richtextwxRichTextStyleListCtrl.cpp [696/856] Compiling sip/cpp/sip_richtextwxRichTextBox.cpp [697/856] Compiling sip/cpp/sip_richtextwxTextAttrSize.cpp [698/856] Compiling sip/cpp/sip_richtextwxRichTextObjectPtrArray.cpp [699/856] Compiling sip/cpp/sip_richtextwxTextAttrDimensionConverter.cpp [700/856] Compiling sip/cpp/sip_richtextwxRichTextStyleSheet.cpp [701/856] Compiling sip/cpp/sip_richtextwxRichTextObjectPtrArrayArray.cpp [702/856] Compiling sip/cpp/sip_richtextwxRichTextStyleDefinition.cpp [703/856] Compiling sip/cpp/sip_richtextwxRichTextHeaderFooterData.cpp [704/856] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandlerList.cpp [705/856] Compiling sip/cpp/sip_richtextwxRichTextAttr.cpp [706/856] Compiling sip/cpp/sip_richtextwxRichTextRangeArray.cpp [707/856] Compiling sip/cpp/sip_richtextwxRichTextParagraphStyleDefinition.cpp [708/856] Compiling sip/cpp/sip_richtextwxRichTextDrawingHandler.cpp [709/856] Compiling sip/cpp/sip_richtextwxRichTextListStyleDefinition.cpp [710/856] Compiling sip/cpp/sip_richtextwxRichTextRenderer.cpp [711/856] Compiling sip/cpp/sip_richtextwxRichTextProperties.cpp [712/856] Compiling sip/cpp/sip_richtextwxRichTextFormattingDialog.cpp [713/856] Compiling sip/cpp/sip_richtextwxRichTextParagraphLayoutBox.cpp [714/856] Compiling sip/cpp/sip_richtextwxRichTextCommand.cpp [715/856] Compiling sip/cpp/sip_mediawxMediaEvent.cpp [716/856] Compiling sip/cpp/sip_mediawxMediaCtrl.cpp [717/856] Compiling sip/cpp/sip_mediacmodule.cpp [718/856] Compiling sip/cpp/sip_ribbonwxRibbonToolBarEvent.cpp [719/856] Compiling sip/cpp/sip_ribbonwxRibbonPageTabInfo.cpp [720/856] Compiling sip/cpp/sip_ribbonwxRibbonButtonBar.cpp [721/856] Compiling sip/cpp/sip_ribbonwxRibbonToolBarToolBase.cpp [722/856] Compiling sip/cpp/sip_ribbonwxRibbonGalleryItem.cpp [723/856] Compiling sip/cpp/sip_ribbonwxRibbonToolBar.cpp [724/856] Compiling sip/cpp/sip_ribbonwxRibbonPageTabInfoArray.cpp [725/856] Compiling sip/cpp/sip_ribbonwxRibbonButtonBarButtonBase.cpp [726/856] Linking build/waf/3.7/gtk3/_media.cpython-37m-aarch64-linux-gnu.so [727/856] Compiling sip/cpp/sip_ribbonwxRibbonPage.cpp [728/856] Compiling sip/cpp/sip_ribbonwxRibbonBar.cpp [729/856] Compiling sip/cpp/sip_ribbonwxRibbonControl.cpp [730/856] Linking build/waf/3.7/gtk3/_richtext.cpython-37m-aarch64-linux-gnu.so [731/856] Compiling sip/cpp/sip_ribbonwxRibbonBarEvent.cpp [732/856] Compiling sip/cpp/sip_ribbonwxRibbonPanel.cpp [733/856] Compiling sip/cpp/sip_ribbonwxRibbonPanelEvent.cpp [734/856] Compiling sip/cpp/sip_ribbonwxRibbonMSWArtProvider.cpp [735/856] Compiling sip/cpp/sip_ribbonwxRibbonAUIArtProvider.cpp [736/856] Compiling sip/cpp/sip_ribbonwxRibbonGallery.cpp [737/856] Compiling sip/cpp/sip_ribbonwxRibbonGalleryEvent.cpp [738/856] Compiling sip/cpp/sip_ribboncmodule.cpp [739/856] Compiling sip/cpp/sip_ribbonwxRibbonButtonBarEvent.cpp [740/856] Compiling sip/cpp/sip_ribbonwxRibbonArtProvider.cpp [741/856] Compiling sip/cpp/sip_propgridwxStringProperty.cpp [742/856] Compiling sip/cpp/sip_propgridwxPropertyGridEvent.cpp [743/856] Compiling sip/cpp/sip_propgridwxPGTextCtrlAndButtonEditor.cpp [744/856] Compiling sip/cpp/sip_propgridwxPGVariant.cpp [745/856] Compiling sip/cpp/sip_propgridwxPGFileDialogAdapter.cpp [746/856] Compiling sip/cpp/sip_propgridwxDateProperty.cpp [747/856] Compiling sip/cpp/sip_propgridcmodule.cpp [748/856] Compiling sip/cpp/sip_propgridwxPGComboBoxEditor.cpp [749/856] Compiling sip/cpp/sip_propgridwxEditEnumProperty.cpp [750/856] Linking build/waf/3.7/gtk3/_ribbon.cpython-37m-aarch64-linux-gnu.so [751/856] Compiling sip/cpp/sip_propgridwxUIntProperty.cpp [752/856] Compiling sip/cpp/sip_propgridwxColourPropertyValue.cpp [753/856] Compiling sip/cpp/sip_propgridwxPGChoiceEditor.cpp [754/856] Compiling sip/cpp/sip_propgridwxPropertyGridIterator.cpp [755/856] Compiling sip/cpp/sip_propgridwxDirProperty.cpp [756/856] Compiling sip/cpp/sip_propgridwxPropertyCategory.cpp [757/856] Compiling sip/cpp/sip_propgridwxPGMultiButton.cpp [758/856] Compiling sip/cpp/sip_propgridwxPGInDialogValidator.cpp [759/856] Compiling sip/cpp/sip_propgridwxFileProperty.cpp [760/856] Compiling sip/cpp/sip_propgridwxPGPropArgCls.cpp [761/856] Compiling sip/cpp/sip_propgridwxCursorProperty.cpp [762/856] Compiling sip/cpp/sip_propgridwxPropertyGridManager.cpp [763/856] Compiling sip/cpp/sip_propgridwxFloatProperty.cpp [764/856] Compiling sip/cpp/sip_propgridwxPGVariantList.cpp [765/856] Compiling sip/cpp/sip_propgridwxPGProperty.cpp [766/856] Compiling sip/cpp/sip_propgridwxFlagsProperty.cpp [767/856] Compiling sip/cpp/sip_propgridwxPGDefaultRenderer.cpp [768/856] Compiling sip/cpp/sip_propgridwxPGEditorDialogAdapter.cpp [769/856] Compiling sip/cpp/sip_propgridwxPropertyGridInterface.cpp [770/856] Compiling sip/cpp/sip_propgridwxPGWindowList.cpp [771/856] Compiling sip/cpp/sip_propgridwxPGChoicesData.cpp [772/856] Compiling sip/cpp/sip_propgridwxPropertyGridPage.cpp [773/856] Compiling sip/cpp/sip_propgridwxArrayStringProperty.cpp [774/856] Compiling sip/cpp/sip_propgridwxPGChoiceEntry.cpp [775/856] Compiling sip/cpp/sip_propgridwxSystemColourProperty.cpp ../../../../sip/cpp/sip_propgridwxPGProperty.cpp: In function 'PyObject* meth_wxPGProperty_AddChild(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_propgridwxPGProperty.cpp:1402:34: warning: 'void wxPGProperty::AddChild(wxPGProperty*)' is deprecated [-Wdeprecated-declarations] sipCpp->AddChild(prop); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_propgrid.h:2971, from ../../../../sip/cpp/sip_propgridwxPGProperty.cpp:10: /usr/include/wx-3.0/wx/propgrid/property.h:2231:24: note: declared here wxDEPRECATED( void AddChild( wxPGProperty* prop ) ); ^~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ ../../../../sip/cpp/sip_propgridwxPGProperty.cpp: In function 'PyObject* meth_wxPGProperty_GetValueString(PyObject*, PyObject*, PyObject*)': ../../../../sip/cpp/sip_propgridwxPGProperty.cpp:3142:69: warning: 'wxString wxPGProperty::GetValueString(int) const' is deprecated [-Wdeprecated-declarations] sipRes = new ::wxString(sipCpp->GetValueString(argFlags)); ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ../../../../wx/include/wxPython/wxpy_api.h:41, from ../../../../sip/cpp/sipAPI_propgrid.h:2971, from ../../../../sip/cpp/sip_propgridwxPGProperty.cpp:10: /usr/include/wx-3.0/wx/propgrid/property.h:1657:28: note: declared here wxDEPRECATED( wxString GetValueString( int argFlags = 0 ) const ); ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED' #define wxDEPRECATED(x) wxDEPRECATED_DECL x ^ [776/856] Compiling sip/cpp/sip_propgridwxPGCellRenderer.cpp [777/856] Compiling sip/cpp/sip_propgridwxPGArrayEditorDialog.cpp [778/856] Compiling sip/cpp/sip_propgridwxIntProperty.cpp [779/856] Compiling sip/cpp/sip_propgridwxLongStringProperty.cpp [780/856] Compiling sip/cpp/sip_propgridwxPropertyGridPageState.cpp [781/856] Compiling sip/cpp/sip_propgridwxPGPaintData.cpp [782/856] Compiling sip/cpp/sip_propgridwxPropertyGrid.cpp [783/856] Compiling sip/cpp/sip_propgridwxPGCheckBoxEditor.cpp [784/856] Compiling sip/cpp/sip_propgridwxPGEditor.cpp [785/856] Compiling sip/cpp/sip_propgridwxEnumProperty.cpp [786/856] Compiling sip/cpp/sip_propgridwxPGCell.cpp [787/856] Compiling sip/cpp/sip_propgridwxMultiChoiceProperty.cpp [788/856] Compiling sip/cpp/sip_propgridwxNumericPropertyValidator.cpp [789/856] Compiling sip/cpp/sip_propgridwxPropertyGridIteratorBase.cpp [790/856] Compiling sip/cpp/sip_propgridwxPropertyGridHitTestResult.cpp [791/856] Compiling sip/cpp/sip_propgridwxColourProperty.cpp [792/856] Compiling sip/cpp/sip_propgridwxArrayPGProperty.cpp [793/856] Compiling sip/cpp/sip_propgridwxImageFileProperty.cpp [794/856] Compiling sip/cpp/sip_propgridwxPGLongStringDialogAdapter.cpp [795/856] Compiling sip/cpp/sip_propgridwxPGValidationInfo.cpp [796/856] Compiling sip/cpp/sip_propgridwxPGChoices.cpp [797/856] Compiling sip/cpp/sip_propgridwxPGArrayStringEditorDialog.cpp [798/856] Compiling sip/cpp/sip_propgridwxPGCellData.cpp [799/856] Compiling sip/cpp/sip_propgridwxPGTextCtrlEditor.cpp [800/856] Compiling sip/cpp/sip_propgridwxPGSpinCtrlEditor.cpp [801/856] Compiling sip/cpp/sip_propgridwxBoolProperty.cpp [802/856] Compiling sip/cpp/sip_propgridwxPGChoiceAndButtonEditor.cpp [803/856] Compiling sip/cpp/sip_propgridwxFontProperty.cpp [804/856] Compiling sip/cpp/sip_propgridwxPGVIterator.cpp [805/856] Compiling sip/cpp/sip_auiwxAuiToolBarItemArray.cpp [806/856] Compiling sip/cpp/sip_auiwxAuiPaneButtonArray.cpp [807/856] Compiling sip/cpp/sip_auiwxAuiNotebookPageArray.cpp [808/856] Compiling sip/cpp/sip_auiwxAuiNotebookPage.cpp [809/856] Compiling sip/cpp/sip_auiwxAuiMDIChildFrame.cpp [810/856] Compiling sip/cpp/sip_auiwxAuiSimpleTabArt.cpp [811/856] Compiling sip/cpp/sip_auicmodule.cpp [812/856] Compiling sip/cpp/sip_auiwxAuiTabArt.cpp [813/856] Compiling sip/cpp/sip_auiwxAuiDockArt.cpp [814/856] Compiling sip/cpp/sip_auiwxAuiManager.cpp [815/856] Linking build/waf/3.7/gtk3/_propgrid.cpython-37m-aarch64-linux-gnu.so [816/856] Compiling sip/cpp/sip_auiwxAuiMDIParentFrame.cpp [817/856] Compiling sip/cpp/sip_auiwxAuiDefaultTabArt.cpp [818/856] Compiling sip/cpp/sip_auiwxAuiManagerEvent.cpp [819/856] Compiling sip/cpp/sip_auiwxAuiDefaultToolBarArt.cpp [820/856] Compiling sip/cpp/sip_auiwxAuiDockInfoPtrArray.cpp [821/856] Compiling sip/cpp/sip_auiwxAuiToolBar.cpp [822/856] Compiling sip/cpp/sip_auiwxAuiToolBarEvent.cpp [823/856] Compiling sip/cpp/sip_auiwxAuiDefaultDockArt.cpp [824/856] Compiling sip/cpp/sip_auiwxAuiTabCtrl.cpp [825/856] Compiling sip/cpp/sip_auiwxAuiDockInfo.cpp [826/856] Compiling sip/cpp/sip_auiwxAuiTabContainerButton.cpp [827/856] Compiling sip/cpp/sip_auiwxAuiPaneInfo.cpp [828/856] Compiling sip/cpp/sip_auiwxAuiDockUIPart.cpp [829/856] Compiling sip/cpp/sip_auiwxAuiPaneInfoArray.cpp [830/856] Compiling sip/cpp/sip_auiwxAuiNotebook.cpp [831/856] Compiling sip/cpp/sip_auiwxAuiTabContainer.cpp [832/856] Compiling sip/cpp/sip_auiwxAuiPaneButton.cpp [833/856] Compiling sip/cpp/sip_auiwxAuiMDIClientWindow.cpp [834/856] Compiling sip/cpp/sip_auiwxAuiTabContainerButtonArray.cpp [835/856] Compiling sip/cpp/sip_auiwxAuiDockUIPartArray.cpp [836/856] Compiling sip/cpp/sip_auiwxAuiDockInfoArray.cpp [837/856] Compiling sip/cpp/sip_auiwxAuiPaneInfoPtrArray.cpp [838/856] Compiling sip/cpp/sip_auiwxAuiToolBarItem.cpp [839/856] Compiling sip/cpp/sip_auiwxAuiToolBarArt.cpp [840/856] Compiling sip/cpp/sip_auiwxAuiNotebookEvent.cpp [841/856] Compiling build/waf/3.7/gtk3/_core.cpython-37m-aarch64-linux-gnu.so [842/856] Compiling build/waf/3.7/gtk3/_adv.cpython-37m-aarch64-linux-gnu.so [843/856] Compiling build/waf/3.7/gtk3/_dataview.cpython-37m-aarch64-linux-gnu.so [844/856] Compiling build/waf/3.7/gtk3/_grid.cpython-37m-aarch64-linux-gnu.so [845/856] Compiling build/waf/3.7/gtk3/_stc.cpython-37m-aarch64-linux-gnu.so [846/856] Compiling build/waf/3.7/gtk3/_html.cpython-37m-aarch64-linux-gnu.so [847/856] Compiling build/waf/3.7/gtk3/_glcanvas.cpython-37m-aarch64-linux-gnu.so [848/856] Compiling build/waf/3.7/gtk3/_html2.cpython-37m-aarch64-linux-gnu.so [849/856] Compiling build/waf/3.7/gtk3/_xml.cpython-37m-aarch64-linux-gnu.so [850/856] Compiling build/waf/3.7/gtk3/_xrc.cpython-37m-aarch64-linux-gnu.so [851/856] Compiling build/waf/3.7/gtk3/_richtext.cpython-37m-aarch64-linux-gnu.so [852/856] Compiling build/waf/3.7/gtk3/_media.cpython-37m-aarch64-linux-gnu.so [853/856] Compiling build/waf/3.7/gtk3/_ribbon.cpython-37m-aarch64-linux-gnu.so [854/856] Compiling build/waf/3.7/gtk3/_propgrid.cpython-37m-aarch64-linux-gnu.so [855/856] Linking build/waf/3.7/gtk3/_aui.cpython-37m-aarch64-linux-gnu.so [856/856] Compiling build/waf/3.7/gtk3/_aui.cpython-37m-aarch64-linux-gnu.so Waf: Leaving directory `/build/wxpython4.0-4.0.4+dfsg/build/waf/3.7/gtk3' 'build' finished successfully (1h30m40.274s) ------------ BUILD FINISHED ------------ To use wxPython from the build folder (without installing): - Set your PYTHONPATH variable to /build/wxpython4.0-4.0.4+dfsg. - You may also need to set your (DY)LD_LIBRARY_PATH to /build/wxpython4.0-4.0.4+dfsg/build/wxbld/gtk3/lib, or wherever the wxWidgets libs have been installed. Finished command: build_py (90m47.589s) Done! fakeroot debian/rules binary dh binary --with python2,python3 --buildsystem=pybuild dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild debian/rules override_dh_auto_install make[1]: Entering directory '/build/wxpython4.0-4.0.4+dfsg' dh_auto_install I: pybuild pybuild:272: mkdir -p /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages I: pybuild base:217: python2.7 -m easy_install -m -d /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages -Z dist/*.egg Processing wxPython-4.0.4-py2.7-linux-arm64.egg creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages/wxPython-4.0.4-py2.7-linux-arm64.egg Extracting wxPython-4.0.4-py2.7-linux-arm64.egg to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing wxdemo script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing img2png script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing pyslices script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing img2py script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing pyslicesshell script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing wxget script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing helpviewer script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing pyshell script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing pycrust script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing wxdocs script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing pywxrc script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installing img2xpm script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages Installed /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python2.7/dist-packages/wxPython-4.0.4-py2.7-linux-arm64.egg Because this distribution was installed --multi-version, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("wxPython") # latest installed version pkg_resources.require("wxPython==4.0.4") # this exact version pkg_resources.require("wxPython>=4.0.4") # this version or higher Note also that the installation directory must be on sys.path at runtime for this to work. (e.g. by being the application's script directory, by being on PYTHONPATH, or by being added to sys.path by your code.) Processing dependencies for wxPython==4.0.4 Finished processing dependencies for wxPython==4.0.4 I: pybuild pybuild:272: mkdir -p /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3.7/dist-packages I: pybuild base:217: python3.7 build.py install_py --destdir=/build/wxpython4.0-4.0.4+dfsg/debian/tmp --extra_setup="--install-layout=deb" running install running build running build_py copying wx/gizmos.py -> build/lib.linux-arm64-3.7/wx copying wx/__init__.py -> build/lib.linux-arm64-3.7/wx copying wx/__version__.py -> build/lib.linux-arm64-3.7/wx copying wx/xrc.py -> build/lib.linux-arm64-3.7/wx copying wx/stc.py -> build/lib.linux-arm64-3.7/wx copying wx/xml.py -> build/lib.linux-arm64-3.7/wx copying wx/aui.py -> build/lib.linux-arm64-3.7/wx copying wx/adv.py -> build/lib.linux-arm64-3.7/wx copying wx/grid.py -> build/lib.linux-arm64-3.7/wx copying wx/dataview.py -> build/lib.linux-arm64-3.7/wx copying wx/propgrid.py -> build/lib.linux-arm64-3.7/wx copying wx/glcanvas.py -> build/lib.linux-arm64-3.7/wx copying wx/msw.py -> build/lib.linux-arm64-3.7/wx copying wx/webkit.py -> build/lib.linux-arm64-3.7/wx copying wx/media.py -> build/lib.linux-arm64-3.7/wx copying wx/ribbon.py -> build/lib.linux-arm64-3.7/wx copying wx/html2.py -> build/lib.linux-arm64-3.7/wx copying wx/html.py -> build/lib.linux-arm64-3.7/wx copying wx/richtext.py -> build/lib.linux-arm64-3.7/wx copying wx/core.py -> build/lib.linux-arm64-3.7/wx creating build/lib.linux-arm64-3.7/wx/lib copying wx/lib/activex.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/sheet.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/rcsizer.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/fancytext.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/gridmovers.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/gestures.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/flashwin.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/docview.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/resizewidget.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/statbmp.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/wordwrap.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/sized_controls.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/flashwin_old.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/pdfwin_old.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/ticker.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/newevent.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/dragscroller.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/graphics.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/softwareupdate.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/msgpanel.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/embeddedimage.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/splitter.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/imageutils.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/colourselect.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/multisash.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/stattext.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/layoutf.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/wxpTag.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/evtmgr.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/iewin.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/inspection.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/dialogs.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/printout.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/scrolledpanel.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/itemspicker.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/filebrowsebutton.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/activexwrapper.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/platebtn.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/buttons.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/expando.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/delayedresult.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/pydocview.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/CDate.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/calendar.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/langlistctrl.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/eventwatcher.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/infoframe.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/ticker_xrc.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/popupctl.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/nvdlg.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/foldmenu.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/__init__.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/imagebrowser.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/progressindicator.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/iewin_old.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/colourutils.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/anchors.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/colourdb.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/combotreebox.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/throbber.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/eventStack.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/busy.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/ClickableHtmlWindow.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/utils.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/pdfwin.py -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/intctrl.py -> build/lib.linux-arm64-3.7/wx/lib creating build/lib.linux-arm64-3.7/wx/tools copying wx/tools/wxget_docs_demo.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/pywxrc.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/wxget.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/img2png.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/dbg.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/img2py.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/helpviewer.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/genaxmodule.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/__init__.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/img2img.py -> build/lib.linux-arm64-3.7/wx/tools copying wx/tools/img2xpm.py -> build/lib.linux-arm64-3.7/wx/tools creating build/lib.linux-arm64-3.7/wx/py copying wx/py/document.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/interpreter.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/editor.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/version.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PySlices.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyWrap.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PySlicesShell.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyFilling.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyCrust.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/path.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/images.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyShell.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/filling.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/crust.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/introspect.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/parse.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/shell.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/dispatcher.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyAlaModeTest.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/crustslices.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/__init__.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/frame.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/magic.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/editwindow.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyAlaCarte.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/sliceshell.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyAlaMode.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/pseudo.py -> build/lib.linux-arm64-3.7/wx/py copying wx/py/buffer.py -> build/lib.linux-arm64-3.7/wx/py creating build/lib.linux-arm64-3.7/wx/lib/editor copying wx/lib/editor/editor.py -> build/lib.linux-arm64-3.7/wx/lib/editor copying wx/lib/editor/selection.py -> build/lib.linux-arm64-3.7/wx/lib/editor copying wx/lib/editor/images.py -> build/lib.linux-arm64-3.7/wx/lib/editor copying wx/lib/editor/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/editor creating build/lib.linux-arm64-3.7/wx/lib/pubsub copying wx/lib/pubsub/pub.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub copying wx/lib/pubsub/policies.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub copying wx/lib/pubsub/setupkwargs.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub copying wx/lib/pubsub/py2and3.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub copying wx/lib/pubsub/setuparg1.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub copying wx/lib/pubsub/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub creating build/lib.linux-arm64-3.7/wx/lib/gizmos copying wx/lib/gizmos/dynamicsash.py -> build/lib.linux-arm64-3.7/wx/lib/gizmos copying wx/lib/gizmos/ledctrl.py -> build/lib.linux-arm64-3.7/wx/lib/gizmos copying wx/lib/gizmos/treelistctrl.py -> build/lib.linux-arm64-3.7/wx/lib/gizmos copying wx/lib/gizmos/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/gizmos creating build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/drawn.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/oglmisc.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/diagram.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/lines.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/bmpshape.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/canvas.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/basic.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/divided.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/composit.py -> build/lib.linux-arm64-3.7/wx/lib/ogl copying wx/lib/ogl/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/ogl creating build/lib.linux-arm64-3.7/wx/lib/art copying wx/lib/art/flagart.py -> build/lib.linux-arm64-3.7/wx/lib/art copying wx/lib/art/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/art copying wx/lib/art/img2pyartprov.py -> build/lib.linux-arm64-3.7/wx/lib/art creating build/lib.linux-arm64-3.7/wx/lib/masked copying wx/lib/masked/timectrl.py -> build/lib.linux-arm64-3.7/wx/lib/masked copying wx/lib/masked/maskededit.py -> build/lib.linux-arm64-3.7/wx/lib/masked copying wx/lib/masked/numctrl.py -> build/lib.linux-arm64-3.7/wx/lib/masked copying wx/lib/masked/ipaddrctrl.py -> build/lib.linux-arm64-3.7/wx/lib/masked copying wx/lib/masked/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/masked copying wx/lib/masked/ctrl.py -> build/lib.linux-arm64-3.7/wx/lib/masked copying wx/lib/masked/textctrl.py -> build/lib.linux-arm64-3.7/wx/lib/masked copying wx/lib/masked/combobox.py -> build/lib.linux-arm64-3.7/wx/lib/masked creating build/lib.linux-arm64-3.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/NavCanvas.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/GUIMode.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/ScreenShot.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/FCObjects.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/Resources.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/FloatCanvas.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas copying wx/lib/floatcanvas/FCEvents.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas creating build/lib.linux-arm64-3.7/wx/lib/wxcairo copying wx/lib/wxcairo/wx_cairocffi.py -> build/lib.linux-arm64-3.7/wx/lib/wxcairo copying wx/lib/wxcairo/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/wxcairo copying wx/lib/wxcairo/wx_pycairo.py -> build/lib.linux-arm64-3.7/wx/lib/wxcairo creating build/lib.linux-arm64-3.7/wx/lib/colourchooser copying wx/lib/colourchooser/intl.py -> build/lib.linux-arm64-3.7/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourchooser.py -> build/lib.linux-arm64-3.7/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourslider.py -> build/lib.linux-arm64-3.7/wx/lib/colourchooser copying wx/lib/colourchooser/pypalette.py -> build/lib.linux-arm64-3.7/wx/lib/colourchooser copying wx/lib/colourchooser/canvas.py -> build/lib.linux-arm64-3.7/wx/lib/colourchooser copying wx/lib/colourchooser/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/colourchooser copying wx/lib/colourchooser/pycolourbox.py -> build/lib.linux-arm64-3.7/wx/lib/colourchooser creating build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/genericmessagedialog.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/artmanager.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/piectrl.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/flatmenu.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/pybusyinfo.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/zoombar.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/toasterbox.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/floatspin.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/gradientbutton.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/peakmeter.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/labelbook.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/shapedbutton.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/pyprogress.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/knobctrl.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/pygauge.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/cubecolourdialog.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/buttonpanel.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/balloontip.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/thumbnailctrl.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/ultimatelistctrl.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/fmcustomizedlg.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/hypertreelist.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/speedmeter.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/xlsgrid.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/fmresources.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/infobar.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/customtreectrl.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/aquabutton.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/supertooltip.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/hyperlink.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/flatnotebook.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/pycollapsiblepane.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/rulerctrl.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/multidirdialog.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/fourwaysplitter.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/shortcuteditor.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/advancedsplash.py -> build/lib.linux-arm64-3.7/wx/lib/agw copying wx/lib/agw/foldpanelbar.py -> build/lib.linux-arm64-3.7/wx/lib/agw creating build/lib.linux-arm64-3.7/wx/lib/plot copying wx/lib/plot/plotcanvas.py -> build/lib.linux-arm64-3.7/wx/lib/plot copying wx/lib/plot/polyobjects.py -> build/lib.linux-arm64-3.7/wx/lib/plot copying wx/lib/plot/__main__.py -> build/lib.linux-arm64-3.7/wx/lib/plot copying wx/lib/plot/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/plot copying wx/lib/plot/utils.py -> build/lib.linux-arm64-3.7/wx/lib/plot creating build/lib.linux-arm64-3.7/wx/lib/pdfviewer copying wx/lib/pdfviewer/viewer.py -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer copying wx/lib/pdfviewer/buttonpanel.py -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer copying wx/lib/pdfviewer/images.py -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer copying wx/lib/pdfviewer/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer creating build/lib.linux-arm64-3.7/wx/lib/mixins copying wx/lib/mixins/grid.py -> build/lib.linux-arm64-3.7/wx/lib/mixins copying wx/lib/mixins/inspection.py -> build/lib.linux-arm64-3.7/wx/lib/mixins copying wx/lib/mixins/listctrl.py -> build/lib.linux-arm64-3.7/wx/lib/mixins copying wx/lib/mixins/rubberband.py -> build/lib.linux-arm64-3.7/wx/lib/mixins copying wx/lib/mixins/imagelist.py -> build/lib.linux-arm64-3.7/wx/lib/mixins copying wx/lib/mixins/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/mixins copying wx/lib/mixins/gridlabelrenderer.py -> build/lib.linux-arm64-3.7/wx/lib/mixins copying wx/lib/mixins/treemixin.py -> build/lib.linux-arm64-3.7/wx/lib/mixins creating build/lib.linux-arm64-3.7/wx/lib/analogclock copying wx/lib/analogclock/setup.py -> build/lib.linux-arm64-3.7/wx/lib/analogclock copying wx/lib/analogclock/helpers.py -> build/lib.linux-arm64-3.7/wx/lib/analogclock copying wx/lib/analogclock/styles.py -> build/lib.linux-arm64-3.7/wx/lib/analogclock copying wx/lib/analogclock/analogclock.py -> build/lib.linux-arm64-3.7/wx/lib/analogclock copying wx/lib/analogclock/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/analogclock creating build/lib.linux-arm64-3.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/exchandling.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/topictreeprinter.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/xmltopicdefnprovider.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/misc.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/utils copying wx/lib/pubsub/utils/notification.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/utils creating build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/treeconfig.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicdefnprovider.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/weakmethod.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/callables.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/publisherbase.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicobj.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicmgr.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/imp2.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/listenerbase.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicexc.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topictreetraverser.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/validatedefnargs.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicargspec.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/itopicdefnprovider.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/topicutils.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/notificationmgr.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core copying wx/lib/pubsub/core/listener.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core creating build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/publisher.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/datamsg.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/listenerimpl.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/topicargspecimpl.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/publishermixin.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs copying wx/lib/pubsub/core/kwargs/topicmgrimpl.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs creating build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/publisher.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/listenerimpl.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/topicargspecimpl.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/publishermixin.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1 copying wx/lib/pubsub/core/arg1/topicmgrimpl.py -> build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1 creating build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/BBox.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/GUI.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities copying wx/lib/floatcanvas/Utilities/Colors.py -> build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities creating build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/panel.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_internal.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_default.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_aui.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/toolbar.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_msw.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/page.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/control.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art_osx.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/art.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/gallery.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/buttonbar.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon copying wx/lib/agw/ribbon/bar.py -> build/lib.linux-arm64-3.7/wx/lib/agw/ribbon creating build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/auibook.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/tabart.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/tabmdi.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/dockart.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/framemanager.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/auibar.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/aui_utilities.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/aui_constants.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui copying wx/lib/agw/aui/aui_switcherdialog.py -> build/lib.linux-arm64-3.7/wx/lib/agw/aui creating build/lib.linux-arm64-3.7/wx/lib/agw/persist copying wx/lib/agw/persist/persistencemanager.py -> build/lib.linux-arm64-3.7/wx/lib/agw/persist copying wx/lib/agw/persist/persist_constants.py -> build/lib.linux-arm64-3.7/wx/lib/agw/persist copying wx/lib/agw/persist/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/agw/persist copying wx/lib/agw/persist/persist_handlers.py -> build/lib.linux-arm64-3.7/wx/lib/agw/persist creating build/lib.linux-arm64-3.7/wx/lib/plot/examples copying wx/lib/plot/examples/demo.py -> build/lib.linux-arm64-3.7/wx/lib/plot/examples copying wx/lib/plot/examples/simple_example.py -> build/lib.linux-arm64-3.7/wx/lib/plot/examples copying wx/lib/plot/examples/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/plot/examples creating build/lib.linux-arm64-3.7/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/fontselect.py -> build/lib.linux-arm64-3.7/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/__init__.py -> build/lib.linux-arm64-3.7/wx/lib/analogclock/lib_setup copying wx/lib/analogclock/lib_setup/buttontreectrlpanel.py -> build/lib.linux-arm64-3.7/wx/lib/analogclock/lib_setup running egg_info writing wxPython.egg-info/PKG-INFO writing dependency_links to wxPython.egg-info/dependency_links.txt writing entry points to wxPython.egg-info/entry_points.txt writing requirements to wxPython.egg-info/requires.txt writing top-level names to wxPython.egg-info/top_level.txt reading manifest file 'wxPython.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/sphinx/build' warning: no previously-included files matching '.git' found under directory 'wx' warning: no previously-included files matching '*.pyc' found under directory 'wx' warning: no previously-included files matching '__pycache__' found under directory 'wx' writing manifest file 'wxPython.egg-info/SOURCES.txt' copying wx/adv.pyi -> build/lib.linux-arm64-3.7/wx copying wx/aui.pyi -> build/lib.linux-arm64-3.7/wx copying wx/core.pyi -> build/lib.linux-arm64-3.7/wx copying wx/dataview.pyi -> build/lib.linux-arm64-3.7/wx copying wx/glcanvas.pyi -> build/lib.linux-arm64-3.7/wx copying wx/grid.pyi -> build/lib.linux-arm64-3.7/wx copying wx/html.pyi -> build/lib.linux-arm64-3.7/wx copying wx/html2.pyi -> build/lib.linux-arm64-3.7/wx copying wx/media.pyi -> build/lib.linux-arm64-3.7/wx copying wx/msw.pyi -> build/lib.linux-arm64-3.7/wx copying wx/propgrid.pyi -> build/lib.linux-arm64-3.7/wx copying wx/ribbon.pyi -> build/lib.linux-arm64-3.7/wx copying wx/richtext.pyi -> build/lib.linux-arm64-3.7/wx copying wx/stc.pyi -> build/lib.linux-arm64-3.7/wx copying wx/webkit.pyi -> build/lib.linux-arm64-3.7/wx copying wx/xml.pyi -> build/lib.linux-arm64-3.7/wx copying wx/xrc.pyi -> build/lib.linux-arm64-3.7/wx creating build/lib.linux-arm64-3.7/wx/include creating build/lib.linux-arm64-3.7/wx/include/wxPython copying wx/include/wxPython/wxpy_api.h -> build/lib.linux-arm64-3.7/wx/include/wxPython creating build/lib.linux-arm64-3.7/wx/locale creating build/lib.linux-arm64-3.7/wx/locale/af creating build/lib.linux-arm64-3.7/wx/locale/af/LC_MESSAGES copying wx/locale/af/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/af/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/an creating build/lib.linux-arm64-3.7/wx/locale/an/LC_MESSAGES copying wx/locale/an/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/an/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ar creating build/lib.linux-arm64-3.7/wx/locale/ar/LC_MESSAGES copying wx/locale/ar/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ar/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ca creating build/lib.linux-arm64-3.7/wx/locale/ca/LC_MESSAGES copying wx/locale/ca/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ca/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ca@valencia creating build/lib.linux-arm64-3.7/wx/locale/ca@valencia/LC_MESSAGES copying wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ca@valencia/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/cs creating build/lib.linux-arm64-3.7/wx/locale/cs/LC_MESSAGES copying wx/locale/cs/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/cs/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/da creating build/lib.linux-arm64-3.7/wx/locale/da/LC_MESSAGES copying wx/locale/da/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/da/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/de creating build/lib.linux-arm64-3.7/wx/locale/de/LC_MESSAGES copying wx/locale/de/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/de/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/el creating build/lib.linux-arm64-3.7/wx/locale/el/LC_MESSAGES copying wx/locale/el/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/el/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/es creating build/lib.linux-arm64-3.7/wx/locale/es/LC_MESSAGES copying wx/locale/es/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/es/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/eu creating build/lib.linux-arm64-3.7/wx/locale/eu/LC_MESSAGES copying wx/locale/eu/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/eu/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/fi creating build/lib.linux-arm64-3.7/wx/locale/fi/LC_MESSAGES copying wx/locale/fi/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/fi/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/fr creating build/lib.linux-arm64-3.7/wx/locale/fr/LC_MESSAGES copying wx/locale/fr/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/fr/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/gl_ES creating build/lib.linux-arm64-3.7/wx/locale/gl_ES/LC_MESSAGES copying wx/locale/gl_ES/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/gl_ES/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/hi creating build/lib.linux-arm64-3.7/wx/locale/hi/LC_MESSAGES copying wx/locale/hi/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/hi/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/hu creating build/lib.linux-arm64-3.7/wx/locale/hu/LC_MESSAGES copying wx/locale/hu/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/hu/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/id creating build/lib.linux-arm64-3.7/wx/locale/id/LC_MESSAGES copying wx/locale/id/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/id/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/it creating build/lib.linux-arm64-3.7/wx/locale/it/LC_MESSAGES copying wx/locale/it/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/it/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ja creating build/lib.linux-arm64-3.7/wx/locale/ja/LC_MESSAGES copying wx/locale/ja/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ja/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ko_KR creating build/lib.linux-arm64-3.7/wx/locale/ko_KR/LC_MESSAGES copying wx/locale/ko_KR/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ko_KR/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/lt creating build/lib.linux-arm64-3.7/wx/locale/lt/LC_MESSAGES copying wx/locale/lt/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/lt/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/lv creating build/lib.linux-arm64-3.7/wx/locale/lv/LC_MESSAGES copying wx/locale/lv/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/lv/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ms creating build/lib.linux-arm64-3.7/wx/locale/ms/LC_MESSAGES copying wx/locale/ms/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ms/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/nb creating build/lib.linux-arm64-3.7/wx/locale/nb/LC_MESSAGES copying wx/locale/nb/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/nb/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ne creating build/lib.linux-arm64-3.7/wx/locale/ne/LC_MESSAGES copying wx/locale/ne/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ne/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/nl creating build/lib.linux-arm64-3.7/wx/locale/nl/LC_MESSAGES copying wx/locale/nl/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/nl/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/pl creating build/lib.linux-arm64-3.7/wx/locale/pl/LC_MESSAGES copying wx/locale/pl/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/pl/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/pt creating build/lib.linux-arm64-3.7/wx/locale/pt/LC_MESSAGES copying wx/locale/pt/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/pt/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/pt_BR creating build/lib.linux-arm64-3.7/wx/locale/pt_BR/LC_MESSAGES copying wx/locale/pt_BR/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/pt_BR/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ro creating build/lib.linux-arm64-3.7/wx/locale/ro/LC_MESSAGES copying wx/locale/ro/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ro/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ru creating build/lib.linux-arm64-3.7/wx/locale/ru/LC_MESSAGES copying wx/locale/ru/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ru/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/sk creating build/lib.linux-arm64-3.7/wx/locale/sk/LC_MESSAGES copying wx/locale/sk/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/sk/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/sl creating build/lib.linux-arm64-3.7/wx/locale/sl/LC_MESSAGES copying wx/locale/sl/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/sl/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/sq creating build/lib.linux-arm64-3.7/wx/locale/sq/LC_MESSAGES copying wx/locale/sq/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/sq/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/sv creating build/lib.linux-arm64-3.7/wx/locale/sv/LC_MESSAGES copying wx/locale/sv/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/sv/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/ta creating build/lib.linux-arm64-3.7/wx/locale/ta/LC_MESSAGES copying wx/locale/ta/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/ta/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/tr creating build/lib.linux-arm64-3.7/wx/locale/tr/LC_MESSAGES copying wx/locale/tr/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/tr/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/uk creating build/lib.linux-arm64-3.7/wx/locale/uk/LC_MESSAGES copying wx/locale/uk/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/uk/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/vi creating build/lib.linux-arm64-3.7/wx/locale/vi/LC_MESSAGES copying wx/locale/vi/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/vi/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/zh_CN creating build/lib.linux-arm64-3.7/wx/locale/zh_CN/LC_MESSAGES copying wx/locale/zh_CN/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/zh_CN/LC_MESSAGES creating build/lib.linux-arm64-3.7/wx/locale/zh_TW creating build/lib.linux-arm64-3.7/wx/locale/zh_TW/LC_MESSAGES copying wx/locale/zh_TW/LC_MESSAGES/wxstd.mo -> build/lib.linux-arm64-3.7/wx/locale/zh_TW/LC_MESSAGES copying wx/lib/myole4ax.idl -> build/lib.linux-arm64-3.7/wx/lib copying wx/lib/myole4ax.tlb -> build/lib.linux-arm64-3.7/wx/lib copying wx/py/CHANGES.txt -> build/lib.linux-arm64-3.7/wx/py copying wx/py/Py.ico -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyCrust.ico -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyCrust_16.png -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PyCrust_32.png -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PySlices.ico -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PySlices_16.png -> build/lib.linux-arm64-3.7/wx/py copying wx/py/PySlices_32.png -> build/lib.linux-arm64-3.7/wx/py copying wx/py/README.txt -> build/lib.linux-arm64-3.7/wx/py creating build/lib.linux-arm64-3.7/wx/py/tests copying wx/py/tests/test_interpreter.py -> build/lib.linux-arm64-3.7/wx/py/tests copying wx/py/tests/test_introspect.py -> build/lib.linux-arm64-3.7/wx/py/tests copying wx/py/tests/test_pseudo.py -> build/lib.linux-arm64-3.7/wx/py/tests copying wx/py/tests/test_version.py -> build/lib.linux-arm64-3.7/wx/py/tests copying wx/py/tests/testall.py -> build/lib.linux-arm64-3.7/wx/py/tests copying wx/lib/editor/README.txt -> build/lib.linux-arm64-3.7/wx/lib/editor copying wx/lib/pubsub/LICENSE_BSD_Simple.txt -> build/lib.linux-arm64-3.7/wx/lib/pubsub copying wx/lib/pubsub/README_WxPython.txt -> build/lib.linux-arm64-3.7/wx/lib/pubsub copying wx/lib/pubsub/RELEASE_NOTES.txt -> build/lib.linux-arm64-3.7/wx/lib/pubsub creating build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_1.png -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_1_thumb.png -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_2.png -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_2_thumb.png -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_3.png -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_3_thumb.png -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_4.png -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/ShortcutEditor_4_thumb.png -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/agw/data/default_help_text.html -> build/lib.linux-arm64-3.7/wx/lib/agw/data copying wx/lib/plot/CHANGELOG.md -> build/lib.linux-arm64-3.7/wx/lib/plot copying wx/lib/plot/README.md -> build/lib.linux-arm64-3.7/wx/lib/plot creating build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ArrowLeft.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ArrowRight.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/DirectionH.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/DirectionV.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerFirst.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerLast.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerNext.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/PlayerPrev.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/Printer.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ReadMe.txt -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/Save.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ZoomIn.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/ZoomOut.png -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps copying wx/lib/pdfviewer/bitmaps/encode_bitmaps.py -> build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps running install_lib creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3 creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/zh_TW creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/zh_TW/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/zh_TW/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/zh_TW/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/zh_CN creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/zh_CN/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/zh_CN/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/zh_CN/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/vi creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/vi/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/vi/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/vi/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/uk creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/uk/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/uk/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/uk/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/tr creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/tr/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/tr/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/tr/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ta creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ta/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ta/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ta/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sv creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sv/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/sv/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sv/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sq creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sq/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/sq/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sq/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sl creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sl/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/sl/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sl/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sk creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sk/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/sk/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/sk/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ru creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ru/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ru/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ru/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ro creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ro/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ro/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ro/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pt_BR creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pt_BR/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/pt_BR/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pt_BR/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pt creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pt/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/pt/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pt/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pl creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pl/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/pl/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/pl/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/nl creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/nl/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/nl/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/nl/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ne creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ne/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ne/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ne/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/nb creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/nb/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/nb/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/nb/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ms creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ms/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ms/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ms/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/lv creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/lv/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/lv/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/lv/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/lt creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/lt/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/lt/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/lt/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ko_KR creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ko_KR/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ko_KR/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ko_KR/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ja creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ja/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ja/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ja/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/it creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/it/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/it/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/it/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/id creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/id/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/id/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/id/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/hu creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/hu/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/hu/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/hu/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/hi creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/hi/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/hi/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/hi/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/gl_ES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/gl_ES/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/gl_ES/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/gl_ES/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/fr creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/fr/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/fr/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/fr/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/fi creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/fi/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/fi/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/fi/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/eu creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/eu/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/eu/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/eu/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/es creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/es/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/es/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/es/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/el creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/el/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/el/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/el/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/de creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/de/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/de/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/de/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/da creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/da/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/da/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/da/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/cs creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/cs/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/cs/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/cs/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ca@valencia creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ca@valencia/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ca@valencia/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ca creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ca/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ca/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ca/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ar creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ar/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/ar/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/ar/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/an creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/an/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/an/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/an/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/af creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/af/LC_MESSAGES copying build/lib.linux-arm64-3.7/wx/locale/af/LC_MESSAGES/wxstd.mo -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/locale/af/LC_MESSAGES creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/include creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/include/wxPython copying build/lib.linux-arm64-3.7/wx/include/wxPython/wxpy_api.h -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/include/wxPython copying build/lib.linux-arm64-3.7/wx/xrc.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/xml.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/webkit.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/stc.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/richtext.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/ribbon.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/propgrid.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/msw.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/media.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/html2.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/html.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/grid.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/glcanvas.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/dataview.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/core.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/aui.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/adv.pyi -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests copying build/lib.linux-arm64-3.7/wx/py/tests/testall.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests copying build/lib.linux-arm64-3.7/wx/py/tests/test_version.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests copying build/lib.linux-arm64-3.7/wx/py/tests/test_pseudo.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests copying build/lib.linux-arm64-3.7/wx/py/tests/test_introspect.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests copying build/lib.linux-arm64-3.7/wx/py/tests/test_interpreter.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests copying build/lib.linux-arm64-3.7/wx/py/README.txt -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PySlices_32.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PySlices_16.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PySlices.ico -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyCrust_32.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyCrust_16.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyCrust.ico -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/Py.ico -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/CHANGES.txt -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/buffer.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/pseudo.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyAlaMode.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/sliceshell.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyAlaCarte.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/editwindow.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/magic.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/frame.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/crustslices.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyAlaModeTest.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/dispatcher.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/shell.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/parse.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/introspect.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/crust.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/filling.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyShell.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/images.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/path.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyCrust.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyFilling.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PySlicesShell.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PyWrap.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/PySlices.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/version.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/editor.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/interpreter.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py copying build/lib.linux-arm64-3.7/wx/py/document.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/img2xpm.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/img2img.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/genaxmodule.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/helpviewer.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/img2py.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/dbg.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/img2png.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/wxget.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/pywxrc.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools copying build/lib.linux-arm64-3.7/wx/tools/wxget_docs_demo.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/myole4ax.tlb -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/myole4ax.idl -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/lib_setup copying build/lib.linux-arm64-3.7/wx/lib/analogclock/lib_setup/buttontreectrlpanel.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/lib_setup copying build/lib.linux-arm64-3.7/wx/lib/analogclock/lib_setup/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/lib_setup copying build/lib.linux-arm64-3.7/wx/lib/analogclock/lib_setup/fontselect.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/lib_setup copying build/lib.linux-arm64-3.7/wx/lib/analogclock/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock copying build/lib.linux-arm64-3.7/wx/lib/analogclock/analogclock.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock copying build/lib.linux-arm64-3.7/wx/lib/analogclock/styles.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock copying build/lib.linux-arm64-3.7/wx/lib/analogclock/helpers.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock copying build/lib.linux-arm64-3.7/wx/lib/analogclock/setup.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins copying build/lib.linux-arm64-3.7/wx/lib/mixins/treemixin.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins copying build/lib.linux-arm64-3.7/wx/lib/mixins/gridlabelrenderer.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins copying build/lib.linux-arm64-3.7/wx/lib/mixins/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins copying build/lib.linux-arm64-3.7/wx/lib/mixins/imagelist.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins copying build/lib.linux-arm64-3.7/wx/lib/mixins/rubberband.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins copying build/lib.linux-arm64-3.7/wx/lib/mixins/listctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins copying build/lib.linux-arm64-3.7/wx/lib/mixins/inspection.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins copying build/lib.linux-arm64-3.7/wx/lib/mixins/grid.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/encode_bitmaps.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/ZoomOut.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/ZoomIn.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/Save.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/ReadMe.txt -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/Printer.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/PlayerPrev.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/PlayerNext.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/PlayerLast.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/PlayerFirst.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/DirectionV.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/DirectionH.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/ArrowRight.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/bitmaps/ArrowLeft.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/images.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/buttonpanel.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer copying build/lib.linux-arm64-3.7/wx/lib/pdfviewer/viewer.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot copying build/lib.linux-arm64-3.7/wx/lib/plot/README.md -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot copying build/lib.linux-arm64-3.7/wx/lib/plot/CHANGELOG.md -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/examples copying build/lib.linux-arm64-3.7/wx/lib/plot/examples/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/examples copying build/lib.linux-arm64-3.7/wx/lib/plot/examples/simple_example.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/examples copying build/lib.linux-arm64-3.7/wx/lib/plot/examples/demo.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/examples copying build/lib.linux-arm64-3.7/wx/lib/plot/utils.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot copying build/lib.linux-arm64-3.7/wx/lib/plot/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot copying build/lib.linux-arm64-3.7/wx/lib/plot/__main__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot copying build/lib.linux-arm64-3.7/wx/lib/plot/polyobjects.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot copying build/lib.linux-arm64-3.7/wx/lib/plot/plotcanvas.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/default_help_text.html -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/ShortcutEditor_4_thumb.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/ShortcutEditor_4.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/ShortcutEditor_3_thumb.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/ShortcutEditor_3.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/ShortcutEditor_2_thumb.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/ShortcutEditor_2.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/ShortcutEditor_1_thumb.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data copying build/lib.linux-arm64-3.7/wx/lib/agw/data/ShortcutEditor_1.png -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/data creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist copying build/lib.linux-arm64-3.7/wx/lib/agw/persist/persist_handlers.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist copying build/lib.linux-arm64-3.7/wx/lib/agw/persist/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist copying build/lib.linux-arm64-3.7/wx/lib/agw/persist/persist_constants.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist copying build/lib.linux-arm64-3.7/wx/lib/agw/persist/persistencemanager.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/aui_switcherdialog.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/aui_constants.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/aui_utilities.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/auibar.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/framemanager.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/dockart.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/tabmdi.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/tabart.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui copying build/lib.linux-arm64-3.7/wx/lib/agw/aui/auibook.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/bar.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/buttonbar.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/gallery.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/art.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/art_osx.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/control.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/page.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/art_msw.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/toolbar.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/art_aui.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/art_default.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/art_internal.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/ribbon/panel.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon copying build/lib.linux-arm64-3.7/wx/lib/agw/foldpanelbar.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/advancedsplash.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/shortcuteditor.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/fourwaysplitter.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/multidirdialog.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/rulerctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/pycollapsiblepane.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/flatnotebook.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/hyperlink.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/supertooltip.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/aquabutton.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/customtreectrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/infobar.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/fmresources.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/xlsgrid.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/speedmeter.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/hypertreelist.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/fmcustomizedlg.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/ultimatelistctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/thumbnailctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/balloontip.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/buttonpanel.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/cubecolourdialog.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/pygauge.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/knobctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/pyprogress.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/shapedbutton.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/labelbook.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/peakmeter.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/gradientbutton.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/floatspin.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/toasterbox.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/zoombar.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/pybusyinfo.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/flatmenu.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/piectrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/artmanager.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw copying build/lib.linux-arm64-3.7/wx/lib/agw/genericmessagedialog.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser copying build/lib.linux-arm64-3.7/wx/lib/colourchooser/pycolourbox.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser copying build/lib.linux-arm64-3.7/wx/lib/colourchooser/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser copying build/lib.linux-arm64-3.7/wx/lib/colourchooser/canvas.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser copying build/lib.linux-arm64-3.7/wx/lib/colourchooser/pypalette.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser copying build/lib.linux-arm64-3.7/wx/lib/colourchooser/pycolourslider.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser copying build/lib.linux-arm64-3.7/wx/lib/colourchooser/pycolourchooser.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser copying build/lib.linux-arm64-3.7/wx/lib/colourchooser/intl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wxcairo copying build/lib.linux-arm64-3.7/wx/lib/wxcairo/wx_pycairo.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wxcairo copying build/lib.linux-arm64-3.7/wx/lib/wxcairo/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wxcairo copying build/lib.linux-arm64-3.7/wx/lib/wxcairo/wx_cairocffi.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wxcairo creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities/Colors.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities/GUI.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Utilities/BBox.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/FCEvents.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/FloatCanvas.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/Resources.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/FCObjects.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/ScreenShot.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/GUIMode.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas copying build/lib.linux-arm64-3.7/wx/lib/floatcanvas/NavCanvas.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked copying build/lib.linux-arm64-3.7/wx/lib/masked/combobox.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked copying build/lib.linux-arm64-3.7/wx/lib/masked/textctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked copying build/lib.linux-arm64-3.7/wx/lib/masked/ctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked copying build/lib.linux-arm64-3.7/wx/lib/masked/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked copying build/lib.linux-arm64-3.7/wx/lib/masked/ipaddrctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked copying build/lib.linux-arm64-3.7/wx/lib/masked/numctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked copying build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked copying build/lib.linux-arm64-3.7/wx/lib/masked/timectrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/art copying build/lib.linux-arm64-3.7/wx/lib/art/img2pyartprov.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/art copying build/lib.linux-arm64-3.7/wx/lib/art/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/art copying build/lib.linux-arm64-3.7/wx/lib/art/flagart.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/art creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/composit.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/divided.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/basic.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/canvas.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/bmpshape.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/lines.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/diagram.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/oglmisc.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl copying build/lib.linux-arm64-3.7/wx/lib/ogl/drawn.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos copying build/lib.linux-arm64-3.7/wx/lib/gizmos/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos copying build/lib.linux-arm64-3.7/wx/lib/gizmos/treelistctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos copying build/lib.linux-arm64-3.7/wx/lib/gizmos/ledctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos copying build/lib.linux-arm64-3.7/wx/lib/gizmos/dynamicsash.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub copying build/lib.linux-arm64-3.7/wx/lib/pubsub/RELEASE_NOTES.txt -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub copying build/lib.linux-arm64-3.7/wx/lib/pubsub/README_WxPython.txt -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub copying build/lib.linux-arm64-3.7/wx/lib/pubsub/LICENSE_BSD_Simple.txt -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1/topicmgrimpl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1/publishermixin.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1/topicargspecimpl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1/listenerimpl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1 copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/arg1/publisher.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1 creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs/topicmgrimpl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs/publishermixin.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs/topicargspecimpl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs/listenerimpl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs/datamsg.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/kwargs/publisher.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/listener.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/notificationmgr.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicutils.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/itopicdefnprovider.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicargspec.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/validatedefnargs.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topictreetraverser.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicexc.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/listenerbase.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/imp2.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicmgr.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicobj.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/publisherbase.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/callables.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/weakmethod.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicdefnprovider.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core copying build/lib.linux-arm64-3.7/wx/lib/pubsub/core/treeconfig.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils copying build/lib.linux-arm64-3.7/wx/lib/pubsub/utils/notification.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils copying build/lib.linux-arm64-3.7/wx/lib/pubsub/utils/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils copying build/lib.linux-arm64-3.7/wx/lib/pubsub/utils/misc.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils copying build/lib.linux-arm64-3.7/wx/lib/pubsub/utils/xmltopicdefnprovider.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils copying build/lib.linux-arm64-3.7/wx/lib/pubsub/utils/topictreeprinter.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils copying build/lib.linux-arm64-3.7/wx/lib/pubsub/utils/exchandling.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils copying build/lib.linux-arm64-3.7/wx/lib/pubsub/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub copying build/lib.linux-arm64-3.7/wx/lib/pubsub/setuparg1.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub copying build/lib.linux-arm64-3.7/wx/lib/pubsub/py2and3.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub copying build/lib.linux-arm64-3.7/wx/lib/pubsub/setupkwargs.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub copying build/lib.linux-arm64-3.7/wx/lib/pubsub/policies.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub copying build/lib.linux-arm64-3.7/wx/lib/pubsub/pub.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub creating /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor copying build/lib.linux-arm64-3.7/wx/lib/editor/README.txt -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor copying build/lib.linux-arm64-3.7/wx/lib/editor/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor copying build/lib.linux-arm64-3.7/wx/lib/editor/images.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor copying build/lib.linux-arm64-3.7/wx/lib/editor/selection.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor copying build/lib.linux-arm64-3.7/wx/lib/editor/editor.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor copying build/lib.linux-arm64-3.7/wx/lib/intctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/pdfwin.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/utils.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/ClickableHtmlWindow.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/busy.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/eventStack.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/throbber.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/combotreebox.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/colourdb.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/anchors.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/colourutils.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/iewin_old.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/progressindicator.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/imagebrowser.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/foldmenu.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/nvdlg.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/popupctl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/ticker_xrc.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/infoframe.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/eventwatcher.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/langlistctrl.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/calendar.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/CDate.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/pydocview.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/delayedresult.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/expando.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/buttons.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/platebtn.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/activexwrapper.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/filebrowsebutton.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/itemspicker.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/scrolledpanel.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/printout.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/dialogs.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/inspection.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/iewin.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/evtmgr.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/wxpTag.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/layoutf.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/stattext.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/multisash.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/colourselect.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/imageutils.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/splitter.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/embeddedimage.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/msgpanel.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/softwareupdate.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/graphics.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/dragscroller.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/newevent.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/ticker.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/pdfwin_old.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/flashwin_old.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/sized_controls.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/wordwrap.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/statbmp.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/resizewidget.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/docview.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/flashwin.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/gestures.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/gridmovers.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/fancytext.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/rcsizer.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/sheet.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/lib/activex.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib copying build/lib.linux-arm64-3.7/wx/core.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/richtext.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/html.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/html2.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/ribbon.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/media.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/webkit.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/msw.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/glcanvas.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/propgrid.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/dataview.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/grid.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/adv.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/aui.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/xml.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/stc.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/xrc.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/__version__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/__init__.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/gizmos.py -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_aui.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_propgrid.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_ribbon.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_media.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_richtext.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_xrc.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_xml.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_html2.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_glcanvas.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_html.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_stc.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_grid.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_dataview.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_adv.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx copying build/lib.linux-arm64-3.7/wx/_core.cpython-37m-aarch64-linux-gnu.so -> /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests/testall.py to testall.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests/test_version.py to test_version.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests/test_pseudo.py to test_pseudo.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests/test_introspect.py to test_introspect.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/tests/test_interpreter.py to test_interpreter.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/buffer.py to buffer.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/pseudo.py to pseudo.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PyAlaMode.py to PyAlaMode.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/sliceshell.py to sliceshell.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PyAlaCarte.py to PyAlaCarte.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/editwindow.py to editwindow.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/magic.py to magic.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/frame.py to frame.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/crustslices.py to crustslices.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PyAlaModeTest.py to PyAlaModeTest.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/dispatcher.py to dispatcher.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/shell.py to shell.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/parse.py to parse.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/introspect.py to introspect.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/crust.py to crust.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/filling.py to filling.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PyShell.py to PyShell.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/images.py to images.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/path.py to path.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PyCrust.py to PyCrust.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PyFilling.py to PyFilling.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PySlicesShell.py to PySlicesShell.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PyWrap.py to PyWrap.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/PySlices.py to PySlices.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/version.py to version.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/editor.py to editor.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/interpreter.py to interpreter.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/py/document.py to document.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/img2xpm.py to img2xpm.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/img2img.py to img2img.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/genaxmodule.py to genaxmodule.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/helpviewer.py to helpviewer.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/img2py.py to img2py.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/dbg.py to dbg.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/img2png.py to img2png.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/wxget.py to wxget.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/pywxrc.py to pywxrc.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/tools/wxget_docs_demo.py to wxget_docs_demo.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/lib_setup/buttontreectrlpanel.py to buttontreectrlpanel.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/lib_setup/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/lib_setup/fontselect.py to fontselect.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/analogclock.py to analogclock.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/styles.py to styles.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/helpers.py to helpers.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/analogclock/setup.py to setup.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins/treemixin.py to treemixin.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins/gridlabelrenderer.py to gridlabelrenderer.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins/imagelist.py to imagelist.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins/rubberband.py to rubberband.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins/listctrl.py to listctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins/inspection.py to inspection.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/mixins/grid.py to grid.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/bitmaps/encode_bitmaps.py to encode_bitmaps.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/images.py to images.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/buttonpanel.py to buttonpanel.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfviewer/viewer.py to viewer.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/examples/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/examples/simple_example.py to simple_example.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/examples/demo.py to demo.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/utils.py to utils.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/__main__.py to __main__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/polyobjects.py to polyobjects.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/plot/plotcanvas.py to plotcanvas.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist/persist_handlers.py to persist_handlers.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist/persist_constants.py to persist_constants.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/persist/persistencemanager.py to persistencemanager.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/aui_switcherdialog.py to aui_switcherdialog.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/aui_constants.py to aui_constants.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/aui_utilities.py to aui_utilities.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/auibar.py to auibar.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/framemanager.py to framemanager.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/dockart.py to dockart.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/tabmdi.py to tabmdi.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/tabart.py to tabart.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aui/auibook.py to auibook.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/bar.py to bar.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/buttonbar.py to buttonbar.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/gallery.py to gallery.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/art.py to art.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/art_osx.py to art_osx.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/control.py to control.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/page.py to page.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/art_msw.py to art_msw.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/toolbar.py to toolbar.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/art_aui.py to art_aui.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/art_default.py to art_default.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/art_internal.py to art_internal.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ribbon/panel.py to panel.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/foldpanelbar.py to foldpanelbar.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/advancedsplash.py to advancedsplash.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/shortcuteditor.py to shortcuteditor.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/fourwaysplitter.py to fourwaysplitter.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/multidirdialog.py to multidirdialog.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/rulerctrl.py to rulerctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/pycollapsiblepane.py to pycollapsiblepane.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/flatnotebook.py to flatnotebook.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/hyperlink.py to hyperlink.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/supertooltip.py to supertooltip.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/aquabutton.py to aquabutton.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/customtreectrl.py to customtreectrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/infobar.py to infobar.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/fmresources.py to fmresources.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/xlsgrid.py to xlsgrid.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/speedmeter.py to speedmeter.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/hypertreelist.py to hypertreelist.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/fmcustomizedlg.py to fmcustomizedlg.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/ultimatelistctrl.py to ultimatelistctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/thumbnailctrl.py to thumbnailctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/balloontip.py to balloontip.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/buttonpanel.py to buttonpanel.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/cubecolourdialog.py to cubecolourdialog.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/pygauge.py to pygauge.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/knobctrl.py to knobctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/pyprogress.py to pyprogress.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/shapedbutton.py to shapedbutton.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/labelbook.py to labelbook.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/peakmeter.py to peakmeter.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/gradientbutton.py to gradientbutton.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/floatspin.py to floatspin.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/toasterbox.py to toasterbox.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/zoombar.py to zoombar.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/pybusyinfo.py to pybusyinfo.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/flatmenu.py to flatmenu.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/piectrl.py to piectrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/artmanager.py to artmanager.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/agw/genericmessagedialog.py to genericmessagedialog.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser/pycolourbox.py to pycolourbox.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser/canvas.py to canvas.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser/pypalette.py to pypalette.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser/pycolourslider.py to pycolourslider.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser/pycolourchooser.py to pycolourchooser.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourchooser/intl.py to intl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wxcairo/wx_pycairo.py to wx_pycairo.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wxcairo/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wxcairo/wx_cairocffi.py to wx_cairocffi.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities/Colors.py to Colors.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities/GUI.py to GUI.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Utilities/BBox.py to BBox.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/FCEvents.py to FCEvents.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/FloatCanvas.py to FloatCanvas.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/Resources.py to Resources.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/FCObjects.py to FCObjects.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/ScreenShot.py to ScreenShot.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/GUIMode.py to GUIMode.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/floatcanvas/NavCanvas.py to NavCanvas.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked/combobox.py to combobox.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked/textctrl.py to textctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked/ctrl.py to ctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked/ipaddrctrl.py to ipaddrctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked/numctrl.py to numctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked/maskededit.py to maskededit.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/masked/timectrl.py to timectrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/art/img2pyartprov.py to img2pyartprov.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/art/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/art/flagart.py to flagart.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/composit.py to composit.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/divided.py to divided.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/basic.py to basic.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/canvas.py to canvas.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/bmpshape.py to bmpshape.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/lines.py to lines.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/diagram.py to diagram.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/oglmisc.py to oglmisc.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ogl/drawn.py to drawn.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos/treelistctrl.py to treelistctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos/ledctrl.py to ledctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gizmos/dynamicsash.py to dynamicsash.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1/topicmgrimpl.py to topicmgrimpl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1/publishermixin.py to publishermixin.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1/topicargspecimpl.py to topicargspecimpl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1/listenerimpl.py to listenerimpl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/arg1/publisher.py to publisher.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs/topicmgrimpl.py to topicmgrimpl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs/publishermixin.py to publishermixin.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs/topicargspecimpl.py to topicargspecimpl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs/listenerimpl.py to listenerimpl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs/datamsg.py to datamsg.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/kwargs/publisher.py to publisher.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/listener.py to listener.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/notificationmgr.py to notificationmgr.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/topicutils.py to topicutils.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/itopicdefnprovider.py to itopicdefnprovider.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/topicargspec.py to topicargspec.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/validatedefnargs.py to validatedefnargs.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/topictreetraverser.py to topictreetraverser.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/topicexc.py to topicexc.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/listenerbase.py to listenerbase.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/imp2.py to imp2.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/topicmgr.py to topicmgr.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/topicobj.py to topicobj.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/publisherbase.py to publisherbase.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/callables.py to callables.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/weakmethod.py to weakmethod.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/topicdefnprovider.py to topicdefnprovider.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/core/treeconfig.py to treeconfig.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils/notification.py to notification.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils/misc.py to misc.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils/xmltopicdefnprovider.py to xmltopicdefnprovider.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils/topictreeprinter.py to topictreeprinter.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/utils/exchandling.py to exchandling.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/setuparg1.py to setuparg1.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/py2and3.py to py2and3.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/setupkwargs.py to setupkwargs.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/policies.py to policies.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pubsub/pub.py to pub.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor/images.py to images.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor/selection.py to selection.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/editor/editor.py to editor.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/intctrl.py to intctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfwin.py to pdfwin.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/utils.py to utils.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ClickableHtmlWindow.py to ClickableHtmlWindow.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/busy.py to busy.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/eventStack.py to eventStack.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/throbber.py to throbber.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/combotreebox.py to combotreebox.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourdb.py to colourdb.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/anchors.py to anchors.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourutils.py to colourutils.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/iewin_old.py to iewin_old.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/progressindicator.py to progressindicator.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/imagebrowser.py to imagebrowser.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/foldmenu.py to foldmenu.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/nvdlg.py to nvdlg.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/popupctl.py to popupctl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ticker_xrc.py to ticker_xrc.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/infoframe.py to infoframe.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/eventwatcher.py to eventwatcher.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/langlistctrl.py to langlistctrl.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/calendar.py to calendar.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/CDate.py to CDate.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pydocview.py to pydocview.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/delayedresult.py to delayedresult.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/expando.py to expando.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/buttons.py to buttons.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/platebtn.py to platebtn.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/activexwrapper.py to activexwrapper.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/filebrowsebutton.py to filebrowsebutton.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/itemspicker.py to itemspicker.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/scrolledpanel.py to scrolledpanel.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/printout.py to printout.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/dialogs.py to dialogs.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/inspection.py to inspection.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/iewin.py to iewin.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/evtmgr.py to evtmgr.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wxpTag.py to wxpTag.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/layoutf.py to layoutf.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/stattext.py to stattext.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/multisash.py to multisash.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/colourselect.py to colourselect.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/imageutils.py to imageutils.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/splitter.py to splitter.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/embeddedimage.py to embeddedimage.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/msgpanel.py to msgpanel.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/softwareupdate.py to softwareupdate.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/graphics.py to graphics.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/dragscroller.py to dragscroller.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/newevent.py to newevent.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/ticker.py to ticker.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/pdfwin_old.py to pdfwin_old.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/flashwin_old.py to flashwin_old.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/sized_controls.py to sized_controls.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/wordwrap.py to wordwrap.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/statbmp.py to statbmp.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/resizewidget.py to resizewidget.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/docview.py to docview.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/flashwin.py to flashwin.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gestures.py to gestures.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/gridmovers.py to gridmovers.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/fancytext.py to fancytext.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/rcsizer.py to rcsizer.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/sheet.py to sheet.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/lib/activex.py to activex.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/core.py to core.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/richtext.py to richtext.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/html.py to html.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/html2.py to html2.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/ribbon.py to ribbon.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/media.py to media.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/webkit.py to webkit.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/msw.py to msw.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/glcanvas.py to glcanvas.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/propgrid.py to propgrid.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/dataview.py to dataview.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/grid.py to grid.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/adv.py to adv.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/aui.py to aui.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/xml.py to xml.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/stc.py to stc.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/xrc.py to xrc.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/__version__.py to __version__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/__init__.py to __init__.cpython-37.pyc byte-compiling /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wx/gizmos.py to gizmos.cpython-37.pyc running install_egg_info Copying wxPython.egg-info to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/lib/python3/dist-packages/wxPython-4.0.4.egg-info Skipping SOURCES.txt running install_scripts Installing helpviewer script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing img2png script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing img2py script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing img2xpm script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing pycrust script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing pyshell script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing pyslices script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing pyslicesshell script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing pywxrc script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing wxdemo script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing wxdocs script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Installing wxget script to /build/wxpython4.0-4.0.4+dfsg/debian/tmp/usr/bin Will build using: "/usr/bin/python3.7" 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] Python's architecture is 64bit cfg.VERSION: 4.0.4 Running command: install_py "/usr/bin/python3.7" setup.py install --skip-build --root=/build/wxpython4.0-4.0.4+dfsg/debian/tmp --install-layout=deb Finished command: install_py (0m9.141s) Done! dh_auto_test I: pybuild pybuild:272: mv wx wx.orig I: pybuild base:217: PYTHONPATH=build/lib.linux-arm64-2.7 PYTHONDONTWRITEBYTECODE=1 xvfb-run -a python2.7 -m pytest -v --boxed --timeout=60 -k 'not (display_Tests or glcanvas_Tests or mousemanager_Tests or numdlg_Tests or uiaction_MouseTests or uiaction_KeyboardTests or unichar_Tests or valtext_Tests or test_frameRestore or test_grid_pi)' unittests || true ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 -- /usr/bin/python2.7 cachedir: .pytest_cache rootdir: /build/wxpython4.0-4.0.4+dfsg, inifile: plugins: xdist-1.26.1, timeout-1.3.3, forked-1.0.1 timeout: 60.0s timeout method: signal timeout func_only: False collecting ... collected 1734 items / 21 deselected unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric FAILED [ 0%] unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgNative FAILED [ 0%] unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgProperties FAILED [ 0%] unittests/test_accel.py::accel_Tests::test_accelEntry1 FAILED [ 0%] unittests/test_accel.py::accel_Tests::test_accelEntry2 PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelFlags PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelNullObj PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelTable1 FAILED [ 0%] unittests/test_accel.py::accel_Tests::test_accelTable2 FAILED [ 0%] unittests/test_access.py::access_Tests::test_access1 FAILED [ 0%] unittests/test_affinematrix2d.py::affinematrix2d_Tests::test_affinematrix2d1 PASSED [ 0%] unittests/test_animate.py::animate_Tests::test_animate1 PASSED [ 0%] unittests/test_animate.py::animate_Tests::test_animate2 PASSED [ 0%] unittests/test_app.py::App::test_App FAILED [ 0%] unittests/test_app.py::App::test_App_OnInit FAILED [ 0%] unittests/test_app.py::App::test_CallAfter PASSED [ 0%] unittests/test_app.py::App::test_PySimpleApp PASSED [ 0%] unittests/test_app.py::App::test_version PASSED [ 1%] unittests/test_apptrait.py::AppTraitsTests::test_AppTraits PASSED [ 1%] unittests/test_arrayint.py::ArrayInt::test_ArrayIntTypemapErrors PASSED [ 1%] unittests/test_arrayint.py::ArrayInt::test_ArrayIntTypemaps PASSED [ 1%] unittests/test_arraystring.py::ArrayString::test_ArrayStringTypemapErrors PASSED [ 1%] unittests/test_arraystring.py::ArrayString::test_ArrayStringTypemaps PASSED [ 1%] unittests/test_artprov.py::artprov_Tests::test_artprovConstants PASSED [ 1%] unittests/test_artprov.py::artprov_Tests::test_artprovGetBitmap FAILED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts1 FAILED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts2 PASSED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts3 FAILED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar01 FAILED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar02 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar03 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar04 FAILED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar05 FAILED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar06 FAILED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar07 PASSED [ 2%] unittests/test_auibar.py::auibar_Tests::test_auibar08 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook01 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook02 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook03 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook04 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook05 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook06 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook07 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook08 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook09 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook10 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook11 FAILED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart01 FAILED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart02 FAILED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart03 PASSED [ 2%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager01 PASSED [ 2%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager02 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager03 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager04 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager05 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager06 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager07 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager08 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager09 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager10 FAILED [ 3%] unittests/test_auitabmdi.py::auitabmdi_Tests::test_auitabmdi01 FAILED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase1 SKIPPED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase2 SKIPPED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase3 SKIPPED [ 3%] unittests/test_bannerwindow.py::bannerwindow_Tests::test_bannerwindow1 FAILED [ 3%] unittests/test_bannerwindow.py::bannerwindow_Tests::test_bannerwindow2 FAILED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor1 FAILED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor2 FAILED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor3 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor4 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor5 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor6 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapMask PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapMaskWithPalette SKIPPED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapNullBitmap FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapSetMaskColour FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_Bitmap__nonzero__ FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_EmptyBitmapFactory PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory1 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory2 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory3 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory4 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory5 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer1 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer2 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer3 PASSED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer1 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer2 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer3 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapEmptyFactory1 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapEmptyFactory2 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapFormatConstants FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapHandle FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapSetSize PASSED [ 5%] unittests/test_bmpbuttn.py::BitmapButtonTests::test_BitmapButtonCtor PASSED [ 5%] unittests/test_bmpbuttn.py::BitmapButtonTests::test_BitmapButtonDefaultCtor PASSED [ 5%] unittests/test_bmpcbox.py::bmpcbox_Tests::test_bmpcbox1 FAILED [ 5%] unittests/test_bmpcbox.py::bmpcbox_Tests::test_bmpcbox2 FAILED [ 5%] unittests/test_bookctrl.py::panel_Tests::test_bookctrl1 PASSED [ 5%] unittests/test_bookctrl.py::panel_Tests::test_bookctrl2 PASSED [ 5%] unittests/test_brush.py::BrushTests::test_BrushCtors PASSED [ 5%] unittests/test_brush.py::BrushTests::test_BrushOperators PASSED [ 5%] unittests/test_brush.py::BrushTests::test_StockBrushesExist PASSED [ 6%] unittests/test_brush.py::BrushTests::test_StockBrushesInitialized PASSED [ 6%] unittests/test_brush.py::BrushTests::test_brushOldStyleNames FAILED [ 6%] unittests/test_brush.py::BrushTests::test_nonzero FAILED [ 6%] unittests/test_busyinfo.py::busyinfo_Tests::test_busyinfo1 PASSED [ 6%] unittests/test_busyinfo.py::busyinfo_Tests::test_busyinfo2 FAILED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonCtors FAILED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonDefaultCtor FAILED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonProperties FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl1 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl2 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl3 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl4 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calevt1 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calevt2 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl2 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl3 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl4 FAILED [ 7%] unittests/test_caret.py::caret_Tests::test_caret1 FAILED [ 7%] unittests/test_caret.py::caret_Tests::test_caret2 FAILED [ 7%] unittests/test_checkbox.py::checkbox_Tests::test_checkboxCtors FAILED [ 7%] unittests/test_checkbox.py::checkbox_Tests::test_checkboxDefaultCtor FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_CheckBoxCtors FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_CheckListBoxDefaultCtor FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyMethods1 FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyMethods2 FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyProperties FAILED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgMulti FAILED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgSingle FAILED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgSingleFunc FAILED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceCtors FAILED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceDefaultCtor FAILED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceProperties FAILED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk1 FAILED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk2 FAILED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk3 FAILED [ 8%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk4 PASSED [ 8%] unittests/test_clipbrd.py::clipbrd_Tests::test_clipbrd1 PASSED [ 8%] unittests/test_clipbrd.py::clipbrd_Tests::test_clpbrd2 PASSED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr1 FAILED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr2 FAILED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr3 FAILED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc1 FAILED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc2 FAILED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc3 FAILED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_PD_PaperSize FAILED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_cmndataClassConstructors FAILED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_cppMethods FAILED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_nonzero FAILED [ 8%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneCtors FAILED [ 8%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneDefaultCtor FAILED [ 8%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneProperties FAILED [ 8%] unittests/test_colordlg.py::colordlg_Tests::test_colordlg1 FAILED [ 9%] unittests/test_colordlg.py::colordlg_Tests::test_colordlg2 FAILED [ 9%] unittests/test_colour.py::Colour::test_ColourTypemaps FAILED [ 9%] unittests/test_colour.py::Colour::test_GetIM FAILED [ 9%] unittests/test_colour.py::Colour::test_GetPixel PASSED [ 9%] unittests/test_colour.py::Colour::test_converters PASSED [ 9%] unittests/test_colour.py::Colour::test_copy_ctor PASSED [ 9%] unittests/test_colour.py::Colour::test_default_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_numpy_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_rgb_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_rgba_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_seq_ctor1 PASSED [ 9%] unittests/test_colour.py::Colour::test_seq_ctor2 FAILED [ 9%] unittests/test_combo.py::combo_Tests::test_combo1 FAILED [ 9%] unittests/test_combo.py::combo_Tests::test_comboConstants PASSED [ 9%] unittests/test_combobox.py::ComboBoxTests::test_ComboBoxCtors FAILED [ 9%] unittests/test_combobox.py::ComboBoxTests::test_ComboBoxDefaultCtor PASSED [ 9%] unittests/test_combobox.py::ComboBoxTests::test_comboboxHasCut PASSED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_comboboxSetSelection PASSED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_comboboxTextSelection PASSED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton1 FAILED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton2 FAILED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton3 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config1 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config2 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config3 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config4 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config5 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config6 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_ConfigEnums FAILED [ 10%] unittests/test_control.py::ControlTests::test_ControlCtors FAILED [ 10%] unittests/test_control.py::ControlTests::test_ControlDefaultCtor FAILED [ 10%] unittests/test_cshelp.py::cshelp_Tests::test_cshelp1 FAILED [ 10%] unittests/test_cshelp.py::cshelp_Tests::test_cshelp2 FAILED [ 10%] unittests/test_cursor.py::CursorTests::test_CursorCtors FAILED [ 11%] unittests/test_cursor.py::CursorTests::test_CursorStockIDsExist FAILED [ 11%] unittests/test_cursor.py::CursorTests::test_Cursor__nonzero__ PASSED [ 11%] unittests/test_cursor.py::CursorTests::test_NullCursor PASSED [ 11%] unittests/test_cursor.py::CursorTests::test_StockCursorsExist FAILED [ 11%] unittests/test_cursor.py::CursorTests::test_StockCursorsInitialized FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_BitmapDataObject FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_CustomDataObject FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataFormat PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataFormatIDsExist PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObject PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObject2 FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectComposite PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectGetAllFormats PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple1 FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple2 FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple3 FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_FileDataObject FAILED [ 12%] unittests/test_dataobj.py::DataObjTests::test_HTMLDataObject FAILED [ 12%] unittests/test_dataobj.py::DataObjTests::test_TextDataObject PASSED [ 12%] unittests/test_dataobj.py::DataObjTests::test_TextDataObjectClipboard PASSED [ 12%] unittests/test_dataobj.py::DataObjTests::test_URLDataObject PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewColumn FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewConst FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewCtrl1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewEvt1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewEvt2 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewHitTest FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIconText1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIconText2 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIndexListModel1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIndexListModel2 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem2 PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem3 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem4 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem5 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem6 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem7 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem8 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItemAttr1 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItemAttr2 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewListCtrl1 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewListCtrl2 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModel1 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModel2 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModelNotifier1 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModelNotifier2 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer01 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer02 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer03 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer04 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer05 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer06 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer07 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer08 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer09 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer10 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer11 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer12 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewTreeCtrl1 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewTreeCtrl2 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewVirtualListModel1 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewVirtualModel2 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_datectrl1 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_datectrl2 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_genericdatectrl1 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_genericdatectrl2 FAILED [ 14%] unittests/test_dateevt.py::dateevt_Tests::test_dateevt1 FAILED [ 15%] unittests/test_dateevt.py::dateevt_Tests::test_dateevt2 FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_ConstantsExist FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCBrushChanger FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCClipper FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCFontChanger FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCPenChanger FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCTextColourChanger FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_FontMetrics FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeGTKHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeMacHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeWinHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcContextManager FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcFullTextExtents FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcPointLists FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcTextExtents FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_trickyStuff FAILED [ 15%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawElipseLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawLineLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPloygonLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPointArray FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPointLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawRectangleArray FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawRectangleLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawTextLists FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_0_CheckKeepReference FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_AutoBufferedPaintDC FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCConstantsExist FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCCtors FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCDefaultCtor PASSED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedPaintDC PASSED [ 16%] unittests/test_dcclient.py::ClientDCTests::test_ClientDC PASSED [ 16%] unittests/test_dcclient.py::ClientDCTests::test_PaintDC PASSED [ 16%] unittests/test_dcclient.py::ClientDCTests::test_WindowDC PASSED [ 16%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC1 PASSED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC2 FAILED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC3 SKIPPED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC4 PASSED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC1 PASSED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC2 FAILED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC3 FAILED [ 17%] unittests/test_dcmirror.py::MirrorDCTests::test_MirrorDC1 PASSED [ 17%] unittests/test_dcprint.py::dcprint_tests::test_PrinterDC1 SKIPPED [ 17%] unittests/test_dcps.py::dcps_tests::test_PostscriptDC1 FAILED [ 17%] unittests/test_dcscreen.py::ScreenDCTests::test_ScreenDC1 PASSED [ 17%] unittests/test_dcsvg.py::SvgDCTests::test_SvgDC1 FAILED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobjException FAILED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobj__nonzero__1 FAILED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobj__nonzero__2 FAILED [ 17%] unittests/test_debug.py::debug_Tests::test_debug1 FAILED [ 17%] unittests/test_defs.py::defs_Tests::test_constants1 FAILED [ 17%] unittests/test_defs.py::defs_Tests::test_constants2 FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialog1 FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialog2 FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialogDefaultCtor FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialogTextSizer FAILED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlCtor FAILED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlDefaultCtor FAILED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlFlags FAILED [ 18%] unittests/test_dirdlg.py::dirdlg_Tests::test_dirdlg FAILED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dnd1 PASSED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dndDropSource FAILED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dndDropTarget PASSED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag1 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag2 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag3 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag4 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag5 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag6 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag1 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag2 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag3 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag4 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag5 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag6 FAILED [ 19%] unittests/test_dtor.py::dtor_Tests::test_dtor FAILED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox1 FAILED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox2 FAILED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox3 PASSED [ 19%] unittests/test_event.py::Events::test_ActivateEvent_ctor PASSED [ 19%] unittests/test_event.py::Events::test_ChildFocusEvent_ctor FAILED [ 19%] unittests/test_event.py::Events::test_ClientData1 FAILED [ 19%] unittests/test_event.py::Events::test_ClientData2 FAILED [ 19%] unittests/test_event.py::Events::test_ClipboardTextEvent_ctor FAILED [ 19%] unittests/test_event.py::Events::test_CloseEvent_ctor FAILED [ 19%] unittests/test_event.py::Events::test_CommandEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_ContextMenuEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_DisplayChangedEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_DropFilesEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_DropFilesEvent_tweaks FAILED [ 20%] unittests/test_event.py::Events::test_EraseEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_EventCategory FAILED [ 20%] unittests/test_event.py::Events::test_Event_ctor FAILED [ 20%] unittests/test_event.py::Events::test_FocusEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_HelpEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_IconizeEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_IdleEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_InitDialogEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_JoystickEvent_ctor PASSED [ 20%] unittests/test_event.py::Events::test_KeyEvent_GetUnicodeKey FAILED [ 20%] unittests/test_event.py::Events::test_KeyEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_MaximizeEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_MenuEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_MouseCaptureChangedEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_MouseCaptureLostEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_MouseEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_MoveEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_NavigationKeyEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_NotifyEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_PaintEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_PaletteChangedEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_QueryNewPaletteEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_ScrollEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_ScrollWinEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_SetCursorEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_ShowEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_SizeEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_SysColourChangedEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_UpdateUIEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_WindowCreateEvent_ctor FAILED [ 22%] unittests/test_event.py::Events::test_WindowDestroyEvent_ctor FAILED [ 22%] unittests/test_event.py::Events::test_eventBinding FAILED [ 22%] unittests/test_event.py::Events::test_eventUnbinding1 FAILED [ 22%] unittests/test_event.py::Events::test_eventUnbinding2 FAILED [ 22%] unittests/test_event.py::Events::test_eventUnbinding3 FAILED [ 22%] unittests/test_event.py::Events::test_eventUnbinding4 FAILED [ 22%] unittests/test_event.py::Events::test_evtHandlerSubclass PASSED [ 22%] unittests/test_eventfilter.py::eventfilter_Tests::test_EventFilter_ctor FAILED [ 22%] unittests/test_eventfilter.py::eventfilter_Tests::test_EventFilter_subclass FAILED [ 22%] unittests/test_fdrepdlg.py::fdrepdlg_Tests::test_fdrepdlgConstants FAILED [ 22%] unittests/test_fdrepdlg.py::fdrepdlg_Tests::test_fdrepdlgDlg FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl1 PASSED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl2 FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl3 PASSED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl4 FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl5 FAILED [ 22%] unittests/test_filedlg.py::filedlg_Tests::test_filedlg FAILED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgFlags FAILED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgProperties FAILED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgTweaks FAILED [ 23%] unittests/test_filehistory.py::filehistory_Tests::test_filehistory1 FAILED [ 23%] unittests/test_filehistory.py::filehistory_Tests::test_filehistory2 FAILED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys02 PASSED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys03 PASSED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys04 FAILED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesysClasses PASSED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesysMemoryFSHandler FAILED [ 23%] unittests/test_font.py::font_Tests::test_font FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontEquality FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFixedWidth FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFlags FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFlagsOld FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFontinfo1 FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFontinfo2 PASSED [ 23%] unittests/test_font.py::font_Tests::test_fontOk FAILED [ 24%] unittests/test_font.py::font_Tests::test_fontOldStyleNames FAILED [ 24%] unittests/test_font.py::font_Tests::test_fontProperties FAILED [ 24%] unittests/test_font.py::font_Tests::test_stockFonts FAILED [ 24%] unittests/test_fontdlg.py::fontdlg_Tests::test_fontdlg1 FAILED [ 24%] unittests/test_fontdlg.py::fontdlg_Tests::test_fontdlg2 FAILED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum1 FAILED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum2 FAILED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum3 FAILED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap1 PASSED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap2 FAILED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap3 FAILED [ 24%] unittests/test_fontutil.py::fontutil_Tests::test_fontutil FAILED [ 24%] unittests/test_fontutil.py::fontutil_Tests::test_fontutilProperties FAILED [ 24%] unittests/test_frame.py::frame_Tests::test_frameCtors FAILED [ 24%] unittests/test_frame.py::frame_Tests::test_frameProperties FAILED [ 24%] unittests/test_frame.py::frame_Tests::test_frameStyles FAILED [ 24%] unittests/test_frame.py::frame_Tests::test_frameTopLevelTweaks FAILED [ 25%] unittests/test_fswatcher.py::fswatcher_Tests::test_fswatcher1 PASSED [ 25%] unittests/test_gauge.py::gauge_Tests::test_gauge FAILED [ 25%] unittests/test_gauge.py::gauge_Tests::test_gaugeProperties FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_GetIM_position FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_GetIM_span FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos1 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos2 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos3 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos4 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer1 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer2 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer3 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span1 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span2 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span3 PASSED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span4 PASSED [ 25%] unittests/test_gdicmn.py::TestPoint::test_DefaultPosition PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_FullySpecified PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_Get PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_GetIM PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_RealPoint_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_bogus_ctor1 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_bogus_ctor2 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_converters PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_copy_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_default_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_floatingMultiply PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_magic PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_math PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_numpy_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_operators PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_operators2 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_seq_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_xy PASSED [ 27%] unittests/test_gdicmn.py::TestPoint::test_xy_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DecBy PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DecTo PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DefaultSize PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_FullySpecified PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_GetIM PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_GetSet PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_IncBy PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_IncTo PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_SetDefaults PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_bogus_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_converters PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_copy_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_default_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_floatingMultiply PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_magic PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_operators PASSED [ 28%] unittests/test_gdicmn.py::TestSize::test_properties PASSED [ 28%] unittests/test_gdicmn.py::TestSize::test_wh_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_GetIM PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_Point_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_copy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_default_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_floatingMultiply PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_properties PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_xy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_GetIM PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_converters PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_default_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_kwargs_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_numpy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_possize_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_seq_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_size_ctor PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_tlbr_ctor PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_tlbr_ctor2 PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_xywh_ctor PASSED [ 29%] unittests/test_gdicmn.py::intersectRect_Tests::test_intersectRect01 FAILED [ 29%] unittests/test_gdicmn.py::intersectRect_Tests::test_intersectRect02 FAILED [ 29%] unittests/test_geometry.py::Point2D::test_GetIM PASSED [ 29%] unittests/test_geometry.py::Point2D::test_copy_ctor PASSED [ 29%] unittests/test_geometry.py::Point2D::test_default_ctor PASSED [ 29%] unittests/test_geometry.py::Point2D::test_xy_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_GetIM PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_copy_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_default_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_xywh_ctor PASSED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate1 FAILED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate2 FAILED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate3 PASSED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate4 FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateBitmap PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateBrush FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateFont PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateMatrix PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreatePath FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreatePen FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcDrawLines PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcGradientStops FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcNullObjects PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines1 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines2 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines3 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcTextExtents FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_GetIM PASSED [ 30%] unittests/test_grid.py::grid_Tests::test_grid00 FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_grid01 FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_grid02 PASSED [ 30%] unittests/test_grid.py::grid_Tests::test_grid03 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid04 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid05 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid06 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid07 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid08 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid09 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid10 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid11 PASSED [ 31%] unittests/test_grid.py::grid_Tests::test_grid12 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid13 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid14 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid15 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid16 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid17 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid17a FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid18 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid18a PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid19 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid20 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid21 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid22 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid23 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid24 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid25 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid26 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid27 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid28 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid29 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid30 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid31 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid32 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid33 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid34 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid35 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid36 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid37 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid38 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid39 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid40 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid41 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid42 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid43 PASSED [ 33%] unittests/test_grid.py::grid_Tests::test_grid44 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid45 PASSED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolAbsClass1 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolAbsClass2 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolConstants FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolCtor1 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolCtor2 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolProperties PASSED [ 33%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl1 PASSED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl2 PASSED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl3 PASSED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl4 FAILED [ 34%] unittests/test_help.py::help_Tests::test_help1 PASSED [ 34%] unittests/test_helpctrl.py::helpctrl_Tests::test_helpctrl1 PASSED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata1 FAILED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata2 FAILED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata3 PASSED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata4 FAILED [ 34%] unittests/test_helpdlg.py::helpdlg_Tests::test_helpdlg1 PASSED [ 34%] unittests/test_helpext.py::helpext_Tests::test_helpext1 PASSED [ 34%] unittests/test_helpfrm.py::helpfrm_Tests::test_helpfrm1 PASSED [ 34%] unittests/test_helpwnd.py::helpwnd_Tests::test_helpwnd1 PASSED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell1 PASSED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell2 FAILED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell3 FAILED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell4 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell5 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell6 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell7 PASSED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell8 PASSED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell9 FAILED [ 35%] unittests/test_htmldefs.py::htmldefs_Tests::test_htmldefs1 PASSED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox1 FAILED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox2 PASSED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox3 FAILED [ 35%] unittests/test_htmlpars.py::htmlpars_Tests::test_htmlpars1 PASSED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint1 PASSED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint2 PASSED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint3 FAILED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin1 PASSED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin2 FAILED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin3 FAILED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin4 FAILED [ 36%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin5 FAILED [ 36%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin6 FAILED [ 36%] unittests/test_htmlwinpars.py::htmlwinpars_Tests::test_htmlwinpars1 FAILED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink1 FAILED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink2 FAILED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink3 PASSED [ 36%] unittests/test_icon.py::icon_Tests::test_icon1 FAILED [ 36%] unittests/test_icon.py::icon_Tests::test_icon2 PASSED [ 36%] unittests/test_icon.py::icon_Tests::test_icon3 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl1 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl2 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl3 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl4 PASSED [ 36%] unittests/test_iconloc.py::iconloc_Tests::test_iconloc1 PASSED [ 36%] unittests/test_iconloc.py::iconloc_Tests::test_iconloc2 PASSED [ 36%] unittests/test_image.py::image_Tests::test_imageCtor1 PASSED [ 36%] unittests/test_image.py::image_Tests::test_imageCtor2 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor3 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4 PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4b FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4c FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor5 PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor5b FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor6 PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor7 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor8 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor9 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageGetAlpha PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageGetAlphaDataBuffer PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageGetData PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageGetDataBuffer PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerDerivation FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerStandardDerivations FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerStandardDerivationsDerivation FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageMethodChain PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageNestedClasses FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageOtherStuff FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageProperties PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageRGBHSV PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetAlpha1 PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetAlphaBuffer PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetData1 PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetData2 FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageSetDataBuffer1 FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageSetDataBuffer2 PASSED [ 38%] unittests/test_imaglist.py::image_Tests::test_imaglist PASSED [ 38%] unittests/test_imaglist.py::image_Tests::test_imaglistConstants PASSED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobar1 PASSED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobar2 FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobarCtor FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobarDefaultCtor PASSED [ 38%] unittests/test_intl.py::intl_Tests::test_intlConstants FAILED [ 39%] unittests/test_intl.py::intl_Tests::test_intlGetLocaleFunc FAILED [ 39%] unittests/test_intl.py::intl_Tests::test_intlGetString FAILED [ 39%] unittests/test_intl.py::intl_Tests::test_intlLanguageInfo FAILED [ 39%] unittests/test_intl.py::intl_Tests::test_intlLocale FAILED [ 39%] unittests/test_joystick.py::joystick_Tests::test_joystick1 PASSED [ 39%] unittests/test_joystick.py::joystick_Tests::test_joystick2 PASSED [ 39%] unittests/test_kbdstate.py::KeyboardState::test_KeyboardState PASSED [ 39%] unittests/test_layout.py::layout_Tests::test_layout PASSED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin1 PASSED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin2 FAILED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin3 FAILED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin4 PASSED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin5 FAILED [ 39%] unittests/test_lib_agw_advancedsplash.py::lib_agw_advancedsplash_Tests::test_lib_agw_advancedsplashConstantsExist FAILED [ 39%] unittests/test_lib_agw_advancedsplash.py::lib_agw_advancedsplash_Tests::test_lib_agw_advancedsplashCtor FAILED [ 39%] unittests/test_lib_agw_aquabutton.py::lib_agw_aquabutton_Tests::test_lib_agw_aquabuttonCtor PASSED [ 39%] unittests/test_lib_agw_aquabutton.py::lib_agw_aquabutton_Tests::test_lib_agw_aquabuttonMethods PASSED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_Tests::test_lib_agw_auiCtor FAILED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_auiConstantsExist FAILED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_auiEvents PASSED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_aui_ToolbarCtor PASSED [ 40%] unittests/test_lib_agw_aui_dockart.py::lib_agw_aui_dockart_Tests::test_lib_agw_aui_dockartCtor PASSED [ 40%] unittests/test_lib_agw_aui_tabart.py::lib_agw_aui_tabart_Tests::test_lib_agw_aui_tabartCtor PASSED [ 40%] unittests/test_lib_agw_aui_utilities.py::lib_agw_aui_utilities_Tests::test_lib_agw_aui_utilititiesCtor PASSED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipConstantsExist PASSED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipCtor FAILED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipMethods FAILED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelConstantsExist PASSED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelCtor PASSED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelMethods PASSED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogConstantsExist PASSED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogCtor FAILED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogMethods PASSED [ 40%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlConstantsExist FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlCtor FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlEventsExist PASSED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlGetSelections PASSED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlItemCheck PASSED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlSetWindow FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItem FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItemData PASSED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItemPyData FAILED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuConstantsExist PASSED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuCtor FAILED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuEvents FAILED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuOpen FAILED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookConstantsExist PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookCtor PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookDeletePages PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookEvents FAILED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookMethods FAILED [ 42%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookPages PASSED [ 42%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookTabStyles PASSED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinConstantsExist PASSED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinCtor FAILED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinEvents PASSED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinMethods FAILED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspin_fixedpoint FAILED [ 42%] unittests/test_lib_agw_fmcustomizedlg.py::lib_agw_fmcustomizedlg_Tests::test_lib_agw_fmcustomizedlgCtor FAILED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarConstantsExist FAILED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarCtor PASSED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarEvents PASSED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarMethods FAILED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterConstantsExist PASSED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterCtor PASSED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterEvents FAILED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterMethods PASSED [ 42%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogConstantsExist PASSED [ 43%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogCtor FAILED [ 43%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogMethods FAILED [ 43%] unittests/test_lib_agw_gradientbutton.py::lib_agw_gradientbutton_Tests::test_lib_agw_gradientbuttonCtor FAILED [ 43%] unittests/test_lib_agw_gradientbutton.py::lib_agw_gradientbutton_Tests::test_lib_agw_gradientbuttonMethods FAILED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkCtor PASSED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkEvents FAILED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkMethods FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistColumns FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistConstantsExist FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistCtor FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistEvents PASSED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistTreeItem PASSED [ 43%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobar1 FAILED [ 43%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobar2 FAILED [ 43%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobarCtor PASSED [ 43%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlConstantsExist PASSED [ 43%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlCtor FAILED [ 44%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlEvents FAILED [ 44%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlMethods FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookConstantsExist PASSED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookCtor FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookDeletePages FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookEvents FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookPages PASSED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookTabPosition FAILED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogConstantsExist PASSED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogCtor PASSED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogMethods FAILED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterConstantsExist FAILED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterCtor PASSED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterMethods PASSED [ 44%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerConstantsExist PASSED [ 44%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerCtor FAILED [ 44%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerPersistValue FAILED [ 45%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore FAILED [ 45%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerZZZZCleanup FAILED [ 45%] unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlCtor PASSED [ 45%] INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 184, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 224, in _main INTERNALERROR> config.hook.pytest_runtestloop(session=session) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/hooks.py", line 284, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/manager.py", line 67, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/manager.py", line 61, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 81, in get_result INTERNALERROR> _reraise(*ex) # noqa INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 245, in pytest_runtestloop INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/hooks.py", line 284, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/manager.py", line 67, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/manager.py", line 61, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 81, in get_result INTERNALERROR> _reraise(*ex) # noqa INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pytest_forked/__init__.py", line 35, in pytest_runtest_protocol INTERNALERROR> reports = forked_run_report(item) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pytest_forked/__init__.py", line 56, in forked_run_report INTERNALERROR> result = ff.waitfinish() INTERNALERROR> File "/usr/lib/python2.7/dist-packages/py/_process/forkedfunc.py", line 82, in waitfinish INTERNALERROR> pid, systemstatus = waiter(self.pid, 0) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pytest_timeout.py", line 140, in handler INTERNALERROR> timeout_sigalrm(item, params.timeout) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pytest_timeout.py", line 313, in timeout_sigalrm INTERNALERROR> pytest.fail('Timeout >%ss' % timeout) INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/outcomes.py", line 113, in fail INTERNALERROR> raise Failed(msg=msg, pytrace=pytrace) INTERNALERROR> Failed: Timeout >60.0s 456 failed, 312 passed, 6 skipped, 21 deselected, 1 warnings in 824.56 seconds I: pybuild pybuild:298: mv wx.orig wx I: pybuild pybuild:272: mv wx wx.orig I: pybuild base:217: PYTHONPATH=build/lib.linux-arm64-3.7 PYTHONDONTWRITEBYTECODE=1 xvfb-run -a python3.7 -m pytest -v --boxed --timeout=60 -k 'not (display_Tests or glcanvas_Tests or mousemanager_Tests or numdlg_Tests or uiaction_MouseTests or uiaction_KeyboardTests or unichar_Tests or valtext_Tests or test_frameRestore or test_grid_pi)' unittests || true ============================= test session starts ============================== platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 -- /usr/bin/python3.7 cachedir: .pytest_cache rootdir: /build/wxpython4.0-4.0.4+dfsg, inifile: plugins: xdist-1.26.1, timeout-1.3.3, forked-1.0.1 timeout: 60.0s timeout method: signal timeout func_only: False collecting ... collected 1734 items / 21 deselected unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric PASSED [ 0%] unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgNative FAILED [ 0%] unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgProperties FAILED [ 0%] unittests/test_accel.py::accel_Tests::test_accelEntry1 FAILED [ 0%] unittests/test_accel.py::accel_Tests::test_accelEntry2 FAILED [ 0%] unittests/test_accel.py::accel_Tests::test_accelFlags FAILED [ 0%] unittests/test_accel.py::accel_Tests::test_accelNullObj FAILED [ 0%] unittests/test_accel.py::accel_Tests::test_accelTable1 PASSED [ 0%] unittests/test_accel.py::accel_Tests::test_accelTable2 FAILED [ 0%] unittests/test_access.py::access_Tests::test_access1 FAILED [ 0%] unittests/test_affinematrix2d.py::affinematrix2d_Tests::test_affinematrix2d1 PASSED [ 0%] unittests/test_animate.py::animate_Tests::test_animate1 FAILED [ 0%] unittests/test_animate.py::animate_Tests::test_animate2 PASSED [ 0%] unittests/test_app.py::App::test_App FAILED [ 0%] unittests/test_app.py::App::test_App_OnInit FAILED [ 0%] unittests/test_app.py::App::test_CallAfter FAILED [ 0%] unittests/test_app.py::App::test_PySimpleApp PASSED [ 0%] unittests/test_app.py::App::test_version PASSED [ 1%] unittests/test_apptrait.py::AppTraitsTests::test_AppTraits FAILED [ 1%] unittests/test_arrayint.py::ArrayInt::test_ArrayIntTypemapErrors PASSED [ 1%] unittests/test_arrayint.py::ArrayInt::test_ArrayIntTypemaps PASSED [ 1%] unittests/test_arraystring.py::ArrayString::test_ArrayStringTypemapErrors PASSED [ 1%] unittests/test_arraystring.py::ArrayString::test_ArrayStringTypemaps PASSED [ 1%] unittests/test_artprov.py::artprov_Tests::test_artprovConstants FAILED [ 1%] unittests/test_artprov.py::artprov_Tests::test_artprovGetBitmap FAILED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts1 PASSED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts2 FAILED [ 1%] unittests/test_asserts.py::asserts_Tests::test_asserts3 FAILED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar01 FAILED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar02 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar03 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar04 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar05 FAILED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar06 PASSED [ 1%] unittests/test_auibar.py::auibar_Tests::test_auibar07 PASSED [ 2%] unittests/test_auibar.py::auibar_Tests::test_auibar08 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook01 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook02 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook03 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook04 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook05 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook06 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook07 PASSED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook08 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook09 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook10 FAILED [ 2%] unittests/test_auibook.py::auibook_Tests::test_auibook11 FAILED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart01 PASSED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart02 FAILED [ 2%] unittests/test_auidockart.py::auidockart_Tests::test_auidockart03 FAILED [ 2%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager01 FAILED [ 2%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager02 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager03 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager04 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager05 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager06 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager07 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager08 FAILED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager09 PASSED [ 3%] unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager10 FAILED [ 3%] unittests/test_auitabmdi.py::auitabmdi_Tests::test_auitabmdi01 FAILED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase1 SKIPPED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase2 SKIPPED [ 3%] unittests/test_axbase.py::axbase_Tests::test_axbase3 SKIPPED [ 3%] unittests/test_bannerwindow.py::bannerwindow_Tests::test_bannerwindow1 PASSED [ 3%] unittests/test_bannerwindow.py::bannerwindow_Tests::test_bannerwindow2 FAILED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor1 FAILED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor2 FAILED [ 3%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor3 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor4 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor5 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapCtor6 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapMask FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapMaskWithPalette SKIPPED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapNullBitmap FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_BitmapSetMaskColour PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_Bitmap__nonzero__ FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_EmptyBitmapFactory FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory1 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory2 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory3 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory4 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapBufferFactory5 PASSED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer1 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer2 FAILED [ 4%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyFromBuffer3 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer1 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer2 PASSED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapCopyToBuffer3 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapEmptyFactory1 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapEmptyFactory2 FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapFormatConstants FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapHandle FAILED [ 5%] unittests/test_bitmap.py::BitmapTests::test_bitmapSetSize FAILED [ 5%] unittests/test_bmpbuttn.py::BitmapButtonTests::test_BitmapButtonCtor PASSED [ 5%] unittests/test_bmpbuttn.py::BitmapButtonTests::test_BitmapButtonDefaultCtor FAILED [ 5%] unittests/test_bmpcbox.py::bmpcbox_Tests::test_bmpcbox1 PASSED [ 5%] unittests/test_bmpcbox.py::bmpcbox_Tests::test_bmpcbox2 FAILED [ 5%] unittests/test_bookctrl.py::panel_Tests::test_bookctrl1 PASSED [ 5%] unittests/test_bookctrl.py::panel_Tests::test_bookctrl2 FAILED [ 5%] unittests/test_brush.py::BrushTests::test_BrushCtors FAILED [ 5%] unittests/test_brush.py::BrushTests::test_BrushOperators FAILED [ 5%] unittests/test_brush.py::BrushTests::test_StockBrushesExist FAILED [ 6%] unittests/test_brush.py::BrushTests::test_StockBrushesInitialized FAILED [ 6%] unittests/test_brush.py::BrushTests::test_brushOldStyleNames FAILED [ 6%] unittests/test_brush.py::BrushTests::test_nonzero FAILED [ 6%] unittests/test_busyinfo.py::busyinfo_Tests::test_busyinfo1 FAILED [ 6%] unittests/test_busyinfo.py::busyinfo_Tests::test_busyinfo2 FAILED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonCtors FAILED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonDefaultCtor FAILED [ 6%] unittests/test_button.py::ButtonTests::test_ButtonProperties FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl1 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl2 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl3 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calctrl4 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calevt1 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_calevt2 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl2 PASSED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl3 FAILED [ 6%] unittests/test_calctrl.py::calctrl_Tests::test_genericcalctrl4 FAILED [ 7%] unittests/test_caret.py::caret_Tests::test_caret1 FAILED [ 7%] unittests/test_caret.py::caret_Tests::test_caret2 FAILED [ 7%] unittests/test_checkbox.py::checkbox_Tests::test_checkboxCtors PASSED [ 7%] unittests/test_checkbox.py::checkbox_Tests::test_checkboxDefaultCtor FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_CheckBoxCtors FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_CheckListBoxDefaultCtor PASSED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyMethods1 FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyMethods2 FAILED [ 7%] unittests/test_checklst.py::CheckListBoxTests::test_pyProperties FAILED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgMulti FAILED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgSingle PASSED [ 7%] unittests/test_choicdlg.py::choicdlg_Tests::test_choicdlgSingleFunc FAILED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceCtors FAILED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceDefaultCtor FAILED [ 7%] unittests/test_choice.py::ChoiceTests::test_ChoiceProperties PASSED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk1 FAILED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk2 PASSED [ 7%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk3 FAILED [ 8%] unittests/test_choicebk.py::choicebk_Tests::test_choicebk4 FAILED [ 8%] unittests/test_clipbrd.py::clipbrd_Tests::test_clipbrd1 FAILED [ 8%] unittests/test_clipbrd.py::clipbrd_Tests::test_clpbrd2 PASSED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr1 FAILED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr2 FAILED [ 8%] unittests/test_clntdatactnr.py::clntdatactnr_Tests::test_clntdatactnr3 PASSED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc1 FAILED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc2 FAILED [ 8%] unittests/test_cmdproc.py::cmdproc_Tests::test_cmdproc3 FAILED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_PD_PaperSize FAILED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_cmndataClassConstructors PASSED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_cppMethods PASSED [ 8%] unittests/test_cmndata.py::cmndata_tests::test_nonzero FAILED [ 8%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneCtors PASSED [ 8%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneDefaultCtor FAILED [ 8%] unittests/test_collpane.py::CollapsiblePaneTests::test_CollPaneProperties FAILED [ 8%] unittests/test_colordlg.py::colordlg_Tests::test_colordlg1 FAILED [ 9%] unittests/test_colordlg.py::colordlg_Tests::test_colordlg2 FAILED [ 9%] unittests/test_colour.py::Colour::test_ColourTypemaps FAILED [ 9%] unittests/test_colour.py::Colour::test_GetIM FAILED [ 9%] unittests/test_colour.py::Colour::test_GetPixel FAILED [ 9%] unittests/test_colour.py::Colour::test_converters FAILED [ 9%] unittests/test_colour.py::Colour::test_copy_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_default_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_numpy_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_rgb_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_rgba_ctor FAILED [ 9%] unittests/test_colour.py::Colour::test_seq_ctor1 FAILED [ 9%] unittests/test_colour.py::Colour::test_seq_ctor2 FAILED [ 9%] unittests/test_combo.py::combo_Tests::test_combo1 PASSED [ 9%] unittests/test_combo.py::combo_Tests::test_comboConstants FAILED [ 9%] unittests/test_combobox.py::ComboBoxTests::test_ComboBoxCtors FAILED [ 9%] unittests/test_combobox.py::ComboBoxTests::test_ComboBoxDefaultCtor PASSED [ 9%] unittests/test_combobox.py::ComboBoxTests::test_comboboxHasCut PASSED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_comboboxSetSelection FAILED [ 10%] unittests/test_combobox.py::ComboBoxTests::test_comboboxTextSelection FAILED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton1 PASSED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton2 FAILED [ 10%] unittests/test_commandlinkbutton.py::commandlinkbutton_Tests::test_commandlinkbutton3 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config1 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config2 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config3 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config4 FAILED [ 10%] unittests/test_config.py::ConfigTests::test_Config5 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_Config6 PASSED [ 10%] unittests/test_config.py::ConfigTests::test_ConfigEnums FAILED [ 10%] unittests/test_control.py::ControlTests::test_ControlCtors FAILED [ 10%] unittests/test_control.py::ControlTests::test_ControlDefaultCtor FAILED [ 10%] unittests/test_cshelp.py::cshelp_Tests::test_cshelp1 FAILED [ 10%] unittests/test_cshelp.py::cshelp_Tests::test_cshelp2 PASSED [ 10%] unittests/test_cursor.py::CursorTests::test_CursorCtors FAILED [ 11%] unittests/test_cursor.py::CursorTests::test_CursorStockIDsExist PASSED [ 11%] unittests/test_cursor.py::CursorTests::test_Cursor__nonzero__ PASSED [ 11%] unittests/test_cursor.py::CursorTests::test_NullCursor FAILED [ 11%] unittests/test_cursor.py::CursorTests::test_StockCursorsExist FAILED [ 11%] unittests/test_cursor.py::CursorTests::test_StockCursorsInitialized PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_BitmapDataObject FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_CustomDataObject FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataFormat FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataFormatIDsExist PASSED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObject FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObject2 FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectComposite FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectGetAllFormats FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple1 FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple2 FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_DataObjectSimple3 FAILED [ 11%] unittests/test_dataobj.py::DataObjTests::test_FileDataObject FAILED [ 12%] unittests/test_dataobj.py::DataObjTests::test_HTMLDataObject FAILED [ 12%] unittests/test_dataobj.py::DataObjTests::test_TextDataObject FAILED [ 12%] unittests/test_dataobj.py::DataObjTests::test_TextDataObjectClipboard FAILED [ 12%] unittests/test_dataobj.py::DataObjTests::test_URLDataObject FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewColumn FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewConst FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewCtrl1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewEvt1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewEvt2 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewHitTest PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIconText1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIconText2 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIndexListModel1 PASSED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewIndexListModel2 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem1 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem2 FAILED [ 12%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem3 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem4 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem5 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem6 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem7 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItem8 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItemAttr1 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewItemAttr2 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewListCtrl1 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewListCtrl2 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModel1 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModel2 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModelNotifier1 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewModelNotifier2 PASSED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer01 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer02 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer03 FAILED [ 13%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer04 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer05 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer06 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer07 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer08 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer09 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer10 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer11 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewRenderer12 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewTreeCtrl1 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewTreeCtrl2 PASSED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewVirtualListModel1 FAILED [ 14%] unittests/test_dataview.py::dataview_Tests::test_dataviewVirtualModel2 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_datectrl1 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_datectrl2 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_genericdatectrl1 FAILED [ 14%] unittests/test_datectrl.py::datectrl_Tests::test_genericdatectrl2 FAILED [ 14%] unittests/test_dateevt.py::dateevt_Tests::test_dateevt1 FAILED [ 15%] unittests/test_dateevt.py::dateevt_Tests::test_dateevt2 PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_ConstantsExist FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCBrushChanger FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCClipper FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCFontChanger FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCPenChanger FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_DCTextColourChanger FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_FontMetrics FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeGTKHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeMacHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_NativeWinHandle FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcContextManager FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcFullTextExtents FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcPointLists FAILED [ 15%] unittests/test_dc.py::dc_Tests::test_dcTextExtents PASSED [ 15%] unittests/test_dc.py::dc_Tests::test_trickyStuff FAILED [ 15%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawElipseLists PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawLineLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPloygonLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPointArray PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawPointLists FAILED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawRectangleArray PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawRectangleLists PASSED [ 16%] unittests/test_dcDrawLists.py::dcDrawLists_Tests::test_dcDrawTextLists PASSED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_0_CheckKeepReference PASSED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_AutoBufferedPaintDC FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCConstantsExist FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCCtors FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedDCDefaultCtor FAILED [ 16%] unittests/test_dcbuffer.py::BufferedDCTests::test_BufferedPaintDC FAILED [ 16%] unittests/test_dcclient.py::ClientDCTests::test_ClientDC FAILED [ 16%] unittests/test_dcclient.py::ClientDCTests::test_PaintDC PASSED [ 16%] unittests/test_dcclient.py::ClientDCTests::test_WindowDC PASSED [ 16%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC1 FAILED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC2 FAILED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC3 SKIPPED [ 17%] unittests/test_dcgraph.py::dcgraph_tests::test_GCDC4 FAILED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC1 PASSED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC2 FAILED [ 17%] unittests/test_dcmemory.py::MemoryDCTests::test_MemoryDC3 FAILED [ 17%] unittests/test_dcmirror.py::MirrorDCTests::test_MirrorDC1 FAILED [ 17%] unittests/test_dcprint.py::dcprint_tests::test_PrinterDC1 SKIPPED [ 17%] unittests/test_dcps.py::dcps_tests::test_PostscriptDC1 PASSED [ 17%] unittests/test_dcscreen.py::ScreenDCTests::test_ScreenDC1 FAILED [ 17%] unittests/test_dcsvg.py::SvgDCTests::test_SvgDC1 FAILED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobjException FAILED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobj__nonzero__1 PASSED [ 17%] unittests/test_deadobj.py::deadobj_Tests::test_deadobj__nonzero__2 FAILED [ 17%] unittests/test_debug.py::debug_Tests::test_debug1 PASSED [ 17%] unittests/test_defs.py::defs_Tests::test_constants1 FAILED [ 17%] unittests/test_defs.py::defs_Tests::test_constants2 FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialog1 FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialog2 FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialogDefaultCtor FAILED [ 18%] unittests/test_dialog.py::dialog_Tests::test_dialogTextSizer FAILED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlCtor FAILED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlDefaultCtor FAILED [ 18%] unittests/test_dirctrl.py::dirctrl_Tests::test_dirctrlFlags FAILED [ 18%] unittests/test_dirdlg.py::dirdlg_Tests::test_dirdlg FAILED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dnd1 FAILED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dndDropSource FAILED [ 18%] unittests/test_dnd.py::dnd_Tests::test_dndDropTarget PASSED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag1 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag2 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag3 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag4 FAILED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag5 PASSED [ 18%] unittests/test_dragimag.py::dragimag_Tests::test_dragimag6 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag1 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag2 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag3 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag4 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag5 FAILED [ 19%] unittests/test_dragimag.py::dragimag_Tests::test_genericdragimag6 FAILED [ 19%] unittests/test_dtor.py::dtor_Tests::test_dtor FAILED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox1 FAILED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox2 FAILED [ 19%] unittests/test_editlbox.py::editlbox_Tests::test_editlbox3 FAILED [ 19%] unittests/test_event.py::Events::test_ActivateEvent_ctor FAILED [ 19%] unittests/test_event.py::Events::test_ChildFocusEvent_ctor FAILED [ 19%] unittests/test_event.py::Events::test_ClientData1 FAILED [ 19%] unittests/test_event.py::Events::test_ClientData2 FAILED [ 19%] unittests/test_event.py::Events::test_ClipboardTextEvent_ctor FAILED [ 19%] unittests/test_event.py::Events::test_CloseEvent_ctor FAILED [ 19%] unittests/test_event.py::Events::test_CommandEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_ContextMenuEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_DisplayChangedEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_DropFilesEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_DropFilesEvent_tweaks FAILED [ 20%] unittests/test_event.py::Events::test_EraseEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_EventCategory FAILED [ 20%] unittests/test_event.py::Events::test_Event_ctor FAILED [ 20%] unittests/test_event.py::Events::test_FocusEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_HelpEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_IconizeEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_IdleEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_InitDialogEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_JoystickEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_KeyEvent_GetUnicodeKey FAILED [ 20%] unittests/test_event.py::Events::test_KeyEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_MaximizeEvent_ctor FAILED [ 20%] unittests/test_event.py::Events::test_MenuEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_MouseCaptureChangedEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_MouseCaptureLostEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_MouseEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_MoveEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_NavigationKeyEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_NotifyEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_PaintEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_PaletteChangedEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_QueryNewPaletteEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_ScrollEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_ScrollWinEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_SetCursorEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_ShowEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_SizeEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_SysColourChangedEvent_ctor FAILED [ 21%] unittests/test_event.py::Events::test_UpdateUIEvent_ctor PASSED [ 21%] unittests/test_event.py::Events::test_WindowCreateEvent_ctor PASSED [ 22%] unittests/test_event.py::Events::test_WindowDestroyEvent_ctor FAILED [ 22%] unittests/test_event.py::Events::test_eventBinding PASSED [ 22%] unittests/test_event.py::Events::test_eventUnbinding1 FAILED [ 22%] unittests/test_event.py::Events::test_eventUnbinding2 FAILED [ 22%] unittests/test_event.py::Events::test_eventUnbinding3 FAILED [ 22%] unittests/test_event.py::Events::test_eventUnbinding4 PASSED [ 22%] unittests/test_event.py::Events::test_evtHandlerSubclass FAILED [ 22%] unittests/test_eventfilter.py::eventfilter_Tests::test_EventFilter_ctor FAILED [ 22%] unittests/test_eventfilter.py::eventfilter_Tests::test_EventFilter_subclass FAILED [ 22%] unittests/test_fdrepdlg.py::fdrepdlg_Tests::test_fdrepdlgConstants FAILED [ 22%] unittests/test_fdrepdlg.py::fdrepdlg_Tests::test_fdrepdlgDlg FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl1 FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl2 FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl3 FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl4 FAILED [ 22%] unittests/test_filectrl.py::filectrl_Tests::test_filectrl5 FAILED [ 22%] unittests/test_filedlg.py::filedlg_Tests::test_filedlg FAILED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgFlags FAILED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgProperties FAILED [ 23%] unittests/test_filedlg.py::filedlg_Tests::test_filedlgTweaks FAILED [ 23%] unittests/test_filehistory.py::filehistory_Tests::test_filehistory1 FAILED [ 23%] unittests/test_filehistory.py::filehistory_Tests::test_filehistory2 FAILED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys02 FAILED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys03 FAILED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesys04 FAILED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesysClasses FAILED [ 23%] unittests/test_filesys.py::filesys_Tests::test_filesysMemoryFSHandler FAILED [ 23%] unittests/test_font.py::font_Tests::test_font FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontEquality FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFixedWidth FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFlags FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFlagsOld FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFontinfo1 FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontFontinfo2 FAILED [ 23%] unittests/test_font.py::font_Tests::test_fontOk FAILED [ 24%] unittests/test_font.py::font_Tests::test_fontOldStyleNames FAILED [ 24%] unittests/test_font.py::font_Tests::test_fontProperties FAILED [ 24%] unittests/test_font.py::font_Tests::test_stockFonts FAILED [ 24%] unittests/test_fontdlg.py::fontdlg_Tests::test_fontdlg1 FAILED [ 24%] unittests/test_fontdlg.py::fontdlg_Tests::test_fontdlg2 PASSED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum1 PASSED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum2 FAILED [ 24%] unittests/test_fontenum.py::fontenum_Tests::test_fontenum3 FAILED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap1 FAILED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap2 FAILED [ 24%] unittests/test_fontmap.py::fontmap_Tests::test_fontmap3 FAILED [ 24%] unittests/test_fontutil.py::fontutil_Tests::test_fontutil FAILED [ 24%] unittests/test_fontutil.py::fontutil_Tests::test_fontutilProperties PASSED [ 24%] unittests/test_frame.py::frame_Tests::test_frameCtors FAILED [ 24%] unittests/test_frame.py::frame_Tests::test_frameProperties FAILED [ 24%] unittests/test_frame.py::frame_Tests::test_frameStyles FAILED [ 24%] unittests/test_frame.py::frame_Tests::test_frameTopLevelTweaks FAILED [ 25%] unittests/test_fswatcher.py::fswatcher_Tests::test_fswatcher1 FAILED [ 25%] unittests/test_gauge.py::gauge_Tests::test_gauge FAILED [ 25%] unittests/test_gauge.py::gauge_Tests::test_gaugeProperties FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_GetIM_position FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_GetIM_span FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos1 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos2 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos3 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_pos4 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer1 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer2 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_sizer3 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span1 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span2 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span3 FAILED [ 25%] unittests/test_gbsizer.py::gbsizer_Tests::test_gbsizer_span4 FAILED [ 25%] unittests/test_gdicmn.py::TestPoint::test_DefaultPosition PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_FullySpecified PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_Get PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_GetIM PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_RealPoint_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_bogus_ctor1 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_bogus_ctor2 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_converters PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_copy_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_default_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_floatingMultiply PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_magic PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_math PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_numpy_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_operators PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_operators2 PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_seq_ctor PASSED [ 26%] unittests/test_gdicmn.py::TestPoint::test_xy PASSED [ 27%] unittests/test_gdicmn.py::TestPoint::test_xy_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DecBy PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DecTo PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_DefaultSize PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_FullySpecified PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_GetIM PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_GetSet PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_IncBy PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_IncTo PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_SetDefaults PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_bogus_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_converters PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_copy_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_default_ctor PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_floatingMultiply PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_magic PASSED [ 27%] unittests/test_gdicmn.py::TestSize::test_operators PASSED [ 28%] unittests/test_gdicmn.py::TestSize::test_properties PASSED [ 28%] unittests/test_gdicmn.py::TestSize::test_wh_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_GetIM PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_Point_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_copy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_default_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_floatingMultiply PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_properties PASSED [ 28%] unittests/test_gdicmn.py::TestRealPoint::test_xy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_GetIM PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_converters PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_default_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_kwargs_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_numpy_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_possize_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_seq_ctor PASSED [ 28%] unittests/test_gdicmn.py::TestRect::test_size_ctor PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_tlbr_ctor PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_tlbr_ctor2 PASSED [ 29%] unittests/test_gdicmn.py::TestRect::test_xywh_ctor PASSED [ 29%] unittests/test_gdicmn.py::intersectRect_Tests::test_intersectRect01 FAILED [ 29%] unittests/test_gdicmn.py::intersectRect_Tests::test_intersectRect02 PASSED [ 29%] unittests/test_geometry.py::Point2D::test_GetIM PASSED [ 29%] unittests/test_geometry.py::Point2D::test_copy_ctor PASSED [ 29%] unittests/test_geometry.py::Point2D::test_default_ctor PASSED [ 29%] unittests/test_geometry.py::Point2D::test_xy_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_GetIM PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_copy_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_default_ctor PASSED [ 29%] unittests/test_geometry.py::Rect2D::test_xywh_ctor PASSED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate1 FAILED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate2 FAILED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate3 PASSED [ 29%] unittests/test_graphics.py::graphics_Tests::test_gcCreate4 FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateBitmap FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateBrush PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateFont FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreateMatrix FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreatePath FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcCreatePen FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcDrawLines FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcGradientStops FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcNullObjects FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines1 FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines2 PASSED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcStrokeLines3 FAILED [ 30%] unittests/test_graphics.py::graphics_Tests::test_gcTextExtents FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_GetIM FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_grid00 FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_grid01 FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_grid02 FAILED [ 30%] unittests/test_grid.py::grid_Tests::test_grid03 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid04 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid05 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid06 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid07 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid08 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid09 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid10 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid11 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid12 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid13 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid14 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid15 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid16 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid17 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid17a FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid18 FAILED [ 31%] unittests/test_grid.py::grid_Tests::test_grid18a FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid19 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid20 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid21 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid22 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid23 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid24 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid25 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid26 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid27 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid28 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid29 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid30 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid31 PASSED [ 32%] unittests/test_grid.py::grid_Tests::test_grid32 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid33 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid34 FAILED [ 32%] unittests/test_grid.py::grid_Tests::test_grid35 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid36 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid37 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid38 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid39 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid40 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid41 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid42 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid43 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid44 FAILED [ 33%] unittests/test_grid.py::grid_Tests::test_grid45 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolAbsClass1 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolAbsClass2 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolConstants FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolCtor1 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolCtor2 FAILED [ 33%] unittests/test_headercol.py::headercol_Tests::test_headercolProperties FAILED [ 33%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl1 FAILED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl2 FAILED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl3 FAILED [ 34%] unittests/test_headerctrl.py::headerctrl_Tests::test_headerctrl4 FAILED [ 34%] unittests/test_help.py::help_Tests::test_help1 FAILED [ 34%] unittests/test_helpctrl.py::helpctrl_Tests::test_helpctrl1 PASSED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata1 FAILED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata2 FAILED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata3 FAILED [ 34%] unittests/test_helpdata.py::helpdata_Tests::test_helpdata4 PASSED [ 34%] unittests/test_helpdlg.py::helpdlg_Tests::test_helpdlg1 PASSED [ 34%] unittests/test_helpext.py::helpext_Tests::test_helpext1 FAILED [ 34%] unittests/test_helpfrm.py::helpfrm_Tests::test_helpfrm1 FAILED [ 34%] unittests/test_helpwnd.py::helpwnd_Tests::test_helpwnd1 PASSED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell1 FAILED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell2 FAILED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell3 FAILED [ 34%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell4 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell5 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell6 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell7 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell8 FAILED [ 35%] unittests/test_htmlcell.py::htmlcell_Tests::test_htmlcell9 FAILED [ 35%] unittests/test_htmldefs.py::htmldefs_Tests::test_htmldefs1 FAILED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox1 FAILED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox2 FAILED [ 35%] unittests/test_htmllbox.py::htmllbox_Tests::test_htmllbox3 PASSED [ 35%] unittests/test_htmlpars.py::htmlpars_Tests::test_htmlpars1 FAILED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint1 FAILED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint2 FAILED [ 35%] unittests/test_htmlprint.py::htmlprint_Tests::test_htmlprint3 FAILED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin1 FAILED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin2 FAILED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin3 FAILED [ 35%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin4 PASSED [ 36%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin5 FAILED [ 36%] unittests/test_htmlwin.py::htmlwin_Tests::test_htmlwin6 FAILED [ 36%] unittests/test_htmlwinpars.py::htmlwinpars_Tests::test_htmlwinpars1 FAILED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink1 FAILED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink2 FAILED [ 36%] unittests/test_hyperlink.py::hyperlink_Tests::test_hyperlink3 FAILED [ 36%] unittests/test_icon.py::icon_Tests::test_icon1 FAILED [ 36%] unittests/test_icon.py::icon_Tests::test_icon2 FAILED [ 36%] unittests/test_icon.py::icon_Tests::test_icon3 PASSED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl1 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl2 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl3 FAILED [ 36%] unittests/test_iconbndl.py::iconbndl_Tests::test_iconbndl4 PASSED [ 36%] unittests/test_iconloc.py::iconloc_Tests::test_iconloc1 FAILED [ 36%] unittests/test_iconloc.py::iconloc_Tests::test_iconloc2 FAILED [ 36%] unittests/test_image.py::image_Tests::test_imageCtor1 FAILED [ 36%] unittests/test_image.py::image_Tests::test_imageCtor2 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor3 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4b FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor4c FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor5 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor5b FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor6 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor7 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor8 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageCtor9 FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageGetAlpha FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageGetAlphaDataBuffer FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageGetData PASSED [ 37%] unittests/test_image.py::image_Tests::test_imageGetDataBuffer FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerDerivation FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerStandardDerivations FAILED [ 37%] unittests/test_image.py::image_Tests::test_imageHandlerStandardDerivationsDerivation PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageMethodChain FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageNestedClasses FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageOtherStuff FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageProperties FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageRGBHSV FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageSetAlpha1 FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageSetAlphaBuffer PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetData1 FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageSetData2 PASSED [ 38%] unittests/test_image.py::image_Tests::test_imageSetDataBuffer1 FAILED [ 38%] unittests/test_image.py::image_Tests::test_imageSetDataBuffer2 FAILED [ 38%] unittests/test_imaglist.py::image_Tests::test_imaglist FAILED [ 38%] unittests/test_imaglist.py::image_Tests::test_imaglistConstants FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobar1 FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobar2 FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobarCtor FAILED [ 38%] unittests/test_infobar.py::infobar_Tests::test_infobarDefaultCtor PASSED [ 38%] unittests/test_intl.py::intl_Tests::test_intlConstants PASSED [ 39%] unittests/test_intl.py::intl_Tests::test_intlGetLocaleFunc PASSED [ 39%] unittests/test_intl.py::intl_Tests::test_intlGetString FAILED [ 39%] unittests/test_intl.py::intl_Tests::test_intlLanguageInfo FAILED [ 39%] unittests/test_intl.py::intl_Tests::test_intlLocale FAILED [ 39%] unittests/test_joystick.py::joystick_Tests::test_joystick1 PASSED [ 39%] unittests/test_joystick.py::joystick_Tests::test_joystick2 PASSED [ 39%] unittests/test_kbdstate.py::KeyboardState::test_KeyboardState PASSED [ 39%] unittests/test_layout.py::layout_Tests::test_layout FAILED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin1 FAILED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin2 FAILED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin3 FAILED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin4 FAILED [ 39%] unittests/test_laywin.py::laywin_Tests::test_laywin5 FAILED [ 39%] unittests/test_lib_agw_advancedsplash.py::lib_agw_advancedsplash_Tests::test_lib_agw_advancedsplashConstantsExist FAILED [ 39%] unittests/test_lib_agw_advancedsplash.py::lib_agw_advancedsplash_Tests::test_lib_agw_advancedsplashCtor FAILED [ 39%] unittests/test_lib_agw_aquabutton.py::lib_agw_aquabutton_Tests::test_lib_agw_aquabuttonCtor FAILED [ 39%] unittests/test_lib_agw_aquabutton.py::lib_agw_aquabutton_Tests::test_lib_agw_aquabuttonMethods FAILED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_Tests::test_lib_agw_auiCtor FAILED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_auiConstantsExist PASSED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_auiEvents FAILED [ 40%] unittests/test_lib_agw_aui.py::lib_agw_aui_additional_Tests::test_lib_agw_aui_ToolbarCtor FAILED [ 40%] unittests/test_lib_agw_aui_dockart.py::lib_agw_aui_dockart_Tests::test_lib_agw_aui_dockartCtor FAILED [ 40%] unittests/test_lib_agw_aui_tabart.py::lib_agw_aui_tabart_Tests::test_lib_agw_aui_tabartCtor FAILED [ 40%] unittests/test_lib_agw_aui_utilities.py::lib_agw_aui_utilities_Tests::test_lib_agw_aui_utilititiesCtor FAILED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipConstantsExist FAILED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipCtor FAILED [ 40%] unittests/test_lib_agw_balloontip.py::lib_agw_balloontip_Tests::test_lib_agw_balloontipMethods FAILED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelConstantsExist FAILED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelCtor FAILED [ 40%] unittests/test_lib_agw_buttonpanel.py::lib_agw_buttonpanel_Tests::test_lib_agw_buttonpanelMethods FAILED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogConstantsExist PASSED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogCtor PASSED [ 40%] unittests/test_lib_agw_cubecolourdialog.py::lib_agw_cubecolourdialog_Tests::test_lib_agw_cubecolourdialogMethods FAILED [ 40%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlConstantsExist PASSED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlCtor FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlEventsExist FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlGetSelections FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlItemCheck FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlSetWindow FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItem PASSED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItemData FAILED [ 41%] unittests/test_lib_agw_customtreectrl.py::lib_agw_customtreectrl_Tests::test_lib_agw_customtreectrlTreeItemPyData FAILED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuConstantsExist PASSED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuCtor FAILED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuEvents PASSED [ 41%] unittests/test_lib_agw_flatmenu.py::lib_agw_flatmenu_Tests::test_lib_agw_flatmenuOpen PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookConstantsExist PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookCtor FAILED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookDeletePages FAILED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookEvents PASSED [ 41%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookMethods FAILED [ 42%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookPages PASSED [ 42%] unittests/test_lib_agw_flatnotebook.py::lib_agw_flatnotebook_Tests::test_lib_agw_flatnotebookTabStyles FAILED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinConstantsExist FAILED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinCtor FAILED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinEvents FAILED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspinMethods PASSED [ 42%] unittests/test_lib_agw_floatspin.py::lib_agw_floatspin_Tests::test_lib_agw_floatspin_fixedpoint FAILED [ 42%] unittests/test_lib_agw_fmcustomizedlg.py::lib_agw_fmcustomizedlg_Tests::test_lib_agw_fmcustomizedlgCtor PASSED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarConstantsExist FAILED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarCtor FAILED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarEvents PASSED [ 42%] unittests/test_lib_agw_foldpanelbar.py::lib_agw_foldpanelbar_Tests::test_lib_agw_foldpanelbarMethods FAILED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterConstantsExist FAILED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterCtor FAILED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterEvents FAILED [ 42%] unittests/test_lib_agw_fourwaysplitter.py::lib_agw_fourwaysplitter_Tests::test_lib_agw_fourwaysplitterMethods FAILED [ 42%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogConstantsExist PASSED [ 43%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogCtor PASSED [ 43%] unittests/test_lib_agw_genericmessagedialog.py::lib_agw_genericmessagedialog_Tests::test_lib_agw_genericmessagedialogMethods FAILED [ 43%] unittests/test_lib_agw_gradientbutton.py::lib_agw_gradientbutton_Tests::test_lib_agw_gradientbuttonCtor FAILED [ 43%] unittests/test_lib_agw_gradientbutton.py::lib_agw_gradientbutton_Tests::test_lib_agw_gradientbuttonMethods FAILED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkCtor FAILED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkEvents FAILED [ 43%] unittests/test_lib_agw_hyperlink.py::lib_agw_hyperlink_Tests::test_lib_agw_hyperlinkMethods FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistColumns PASSED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistConstantsExist PASSED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistCtor FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistEvents FAILED [ 43%] unittests/test_lib_agw_hypertreelist.py::lib_agw_hypertreelist_Tests::test_lib_agw_hypertreelistTreeItem FAILED [ 43%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobar1 FAILED [ 43%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobar2 FAILED [ 43%] unittests/test_lib_agw_infobar.py::lib_agw_infobar_Tests::test_lib_agw_infobarCtor FAILED [ 43%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlConstantsExist FAILED [ 43%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlCtor PASSED [ 44%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlEvents FAILED [ 44%] unittests/test_lib_agw_knobctrl.py::lib_agw_knobctrl_Tests::test_lib_agw_knobctrlMethods FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookConstantsExist FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookCtor FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookDeletePages FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookEvents FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookPages FAILED [ 44%] unittests/test_lib_agw_labelbook.py::lib_agw_labelbook_Tests::test_lib_agw_labelbookTabPosition FAILED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogConstantsExist FAILED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogCtor FAILED [ 44%] unittests/test_lib_agw_multidirdialog.py::lib_agw_multidirdialog_Tests::test_lib_agw_multidirdialogMethods FAILED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterConstantsExist FAILED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterCtor FAILED [ 44%] unittests/test_lib_agw_peakmeter.py::lib_agw_peakmeter_Tests::test_lib_agw_peakmeterMethods FAILED [ 44%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerConstantsExist FAILED [ 44%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerCtor FAILED [ 44%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerPersistValue FAILED [ 45%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore FAILED [ 45%] unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerZZZZCleanup FAILED [ 45%] unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlCtor FAILED [ 45%] unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlMethods FAILED [ 45%] unittests/test_lib_agw_pybusyinfo.py::lib_agw_pybusyinfo_Tests::test_lib_agw_pybusyinfoCtor FAILED [ 45%] unittests/test_lib_agw_pycollapsiblepane.py::lib_agw_pycollapsiblepane_Tests::test_lib_agw_pycollapsiblepaneConstantsExist FAILED [ 45%] unittests/test_lib_agw_pycollapsiblepane.py::lib_agw_pycollapsiblepane_Tests::test_lib_agw_pycollapsiblepaneCtor PASSED [ 45%] unittests/test_lib_agw_pycollapsiblepane.py::lib_agw_pycollapsiblepane_Tests::test_lib_agw_pycollapsiblepaneEvents FAILED [ 45%] unittests/test_lib_agw_pycollapsiblepane.py::lib_agw_pycollapsiblepane_Tests::test_lib_agw_pycollapsiblepaneMethods FAILED [ 45%] unittests/test_lib_agw_pygauge.py::lib_agw_pygauge_Tests::test_lib_agw_pygaugeCtor FAILED [ 45%] unittests/test_lib_agw_pygauge.py::lib_agw_pygauge_Tests::test_lib_agw_pygaugeMethods FAILED [ 45%] unittests/test_lib_agw_pyprogress.py::lib_agw_pyprogress_Tests::test_lib_agw_pyprogressConstantsExists FAILED [ 45%] unittests/test_lib_agw_pyprogress.py::lib_agw_pyprogress_Tests::test_lib_agw_pyprogressCtor FAILED [ 45%] unittests/test_lib_agw_pyprogress.py::lib_agw_pyprogress_Tests::test_lib_agw_pyprogressMethods FAILED [ 45%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_pyprogressConstantsExists FAILED [ 45%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonArtProviders FAILED [ 45%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonControlCtor FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonCtor FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonEvents FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonGalleryCtor FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonPageCtor FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonPanelCtor FAILED [ 46%] unittests/test_lib_agw_ribbonbar.py::lib_agw_ribbon_Tests::test_lib_agw_ribbonStyles FAILED [ 46%] unittests/test_lib_agw_rulerctrl.py::lib_agw_rulerctrl_Tests::test_lib_agw_rulerctrlCtor FAILED [ 46%] unittests/test_lib_agw_rulerctrl.py::lib_agw_rulerctrl_Tests::test_lib_agw_rulerctrlEvents FAILED [ 46%] unittests/test_lib_agw_rulerctrl.py::lib_agw_rulerctrl_Tests::test_lib_agw_rulerctrlMethods PASSED [ 46%] unittests/test_lib_agw_shapedbutton.py::lib_agw_shapedbuttons_Tests::test_lib_agw_shapedbutton1 PASSED [ 46%] unittests/test_lib_agw_shapedbutton.py::lib_agw_shapedbuttons_Tests::test_lib_agw_shapedbutton2 PASSED [ 46%] unittests/test_lib_agw_shortcuteditor.py::lib_agw_shortcuteditor_Tests::test_lib_agw_rulerctrlCtor FAILED [ 46%] unittests/test_lib_agw_shortcuteditor.py::lib_agw_shortcuteditor_Tests::test_lib_agw_shortcuteditorEvents PASSED [ 46%] unittests/test_lib_agw_speedmeter.py::lib_agw_speedmeter_Tests::test_lib_agw_peakmeterConstantsExist FAILED [ 46%] unittests/test_lib_agw_speedmeter.py::lib_agw_speedmeter_Tests::test_lib_agw_speedmeterCtor FAILED [ 46%] unittests/test_lib_agw_speedmeter.py::lib_agw_speedmeter_Tests::test_lib_agw_speedmeterMethods FAILED [ 46%] unittests/test_lib_agw_speedmeter.py::lib_agw_speedmeter_Tests::test_lib_agw_speedmeterSizerLayout FAILED [ 46%] unittests/test_lib_agw_supertooltip.py::lib_agw_supertooltip_Tests::test_lib_agw_supertooltipCtor FAILED [ 47%] unittests/test_lib_agw_thumbnailctrl.py::lib_agw_thumbnailctrl_Tests::test_lib_agw_thumbnailctrlCtor FAILED [ 47%] unittests/test_lib_agw_thumbnailctrl.py::lib_agw_thumbnailctrl_Tests::test_lib_agw_thumbnailctrlEvents FAILED [ 47%] unittests/test_lib_agw_toasterbox.py::lib_agw_toasterbox_Tests::test_lib_agw_thumbnailctrlStyles PASSED [ 47%] unittests/test_lib_agw_toasterbox.py::lib_agw_toasterbox_Tests::test_lib_agw_toasterboxCtor SKIPPED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_thumbnailctrlStyles PASSED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlCtorIcon FAILED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlCtorList FAILED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlCtorReport FAILED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlCtorVirtual FAILED [ 47%] unittests/test_lib_agw_ultimatelistctrl.py::lib_agw_ultimatelistctrl_Tests::test_lib_agw_ultimatelistctrlEvents FAILED [ 47%] unittests/test_lib_agw_xlsgrid.py::lib_agw_xlsgrid_Tests::test_lib_agw_xlsgridCtor FAILED [ 47%] unittests/test_lib_agw_zoombar.py::lib_agw_zoombar_Tests::test_lib_agw_thumbnailctrlEvents FAILED [ 47%] unittests/test_lib_agw_zoombar.py::lib_agw_zoombar_Tests::test_lib_agw_zoombarCtor FAILED [ 47%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy1 FAILED [ 47%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy2 FAILED [ 47%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy3 FAILED [ 47%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy4 FAILED [ 48%] unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy5 FAILED [ 48%] unittests/test_lib_buttons.py::lib_buttons_Tests::test_lib_buttons1 PASSED [ 48%] unittests/test_lib_buttons.py::lib_buttons_Tests::test_lib_buttons2 PASSED [ 48%] unittests/test_lib_calendar.py::lib_calendar_Tests::test_lib_calendar_CalenDlgCtor FAILED [ 48%] unittests/test_lib_calendar.py::lib_calendar_Tests::test_lib_calendar_CalendarCtor FAILED [ 48%] unittests/test_lib_calendar.py::lib_calendar_Tests::test_lib_calendar_CalendarSetDate PASSED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_DateCtor FAILED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_Dayofweek FAILED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_IsleapFalse FAILED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_IsleapTrue FAILED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_Julianday FAILED [ 48%] unittests/test_lib_cdate.py::lib_cdate_Tests::test_lib_cdate_NowCtor FAILED [ 48%] unittests/test_lib_colourdb.py::lib_colourdb_Tests::test_lib_colourdb1 FAILED [ 48%] unittests/test_lib_colourselect.py::lib_colourselect_Tests::test_lib_colourselect1 PASSED [ 48%] unittests/test_lib_expando.py::lib_expando_Tests::test_lib_expando1 FAILED [ 48%] unittests/test_lib_fancytext.py::lib_fancytext_Tests::test_lib_fancytext_DateCtor FAILED [ 48%] unittests/test_lib_fancytext.py::lib_fancytext_Tests::test_lib_fancytext_Methods FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testArrayConstruction FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testCreates FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testDataType FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testMinMax FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testMinMax2 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testMinMax3 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testMinMax4 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testShape FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testShape2 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testShape3 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testCreator::testType FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testAsBBox::testPassArray FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testAsBBox::testPassArray2 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testAsBBox::testPassThrough FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testAsBBox::testPassThrough2 FAILED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testAbove PASSED [ 49%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testBelow FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testCorner FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testInside FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testLeft FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testLowerLeft FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testLowerRight FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testOutside PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testRight PASSED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testSame FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testTouch FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testUpperLeft FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testUpperRight FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testZeroSize FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testZeroSize2 FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testZeroSize3 FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testIntersect::testZeroSize4 FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testIdentical FAILED [ 50%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testNotSame FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testSame FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testWithArray FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testEquality::testWithArray2 FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testAbove FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testBelow PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testLeft PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testLowerLeft PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testLowerRight PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testPoint PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testPointOutside FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testRight FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testSame FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testUpperLeft PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testInside::testUpperRight PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testAbove FAILED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testBelow PASSED [ 51%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testLeft FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testLowerLeft FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testLowerRight FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointIn FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointLeftTopLine PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnBottomLine PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnBottomRight FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnLeft FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnRight PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testPointOnTopLine FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testRight PASSED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testUpperLeft FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testPointInside::testUpperRight FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testFromPoints::testCreate FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testFromPoints::testCreateInts FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testFromPoints::testListTuples FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testFromPoints::testSinglePoint FAILED [ 52%] unittests/test_lib_floatcanvas_bbox.py::testMerge::testDownLeft FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testMerge::testFullOutside PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testMerge::testInside FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testMerge::testUpRight PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testWidthHeight::testSetH FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testWidthHeight::testSetW PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testWidthHeight::testWidth FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testCenter::testCenter PASSED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testCenter::testSetCenter FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testBBarray::testJoin FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testEquals FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testIsNull FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testMerge FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testNotEquals FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testNotEquals2 FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testOverlaps FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testOverlaps2 FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testNullBBox::testValues FAILED [ 53%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testEquals FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testMerge PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testMerge2 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testNotEquals FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testNotEquals2 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps2 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps3 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps4 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testOverlaps5 FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testInfBBox::testValues FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testSides::testBottom FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testSides::testLeft FAILED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testSides::testRight PASSED [ 54%] unittests/test_lib_floatcanvas_bbox.py::testSides::testTop FAILED [ 54%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_arc FAILED [ 54%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_arrow FAILED [ 54%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_arrowline FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_bitmap FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_circle FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_line FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_point FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_pointset FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_polygon FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_rectangle FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_recteclips FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_scaledbitmap PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_scaledbitmap2 FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_scaledtext FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_scaledtextbox PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_spline FAILED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_squarepoint PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_fc_text PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_floatcanvasCtor PASSED [ 55%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_floatcanvasEvents FAILED [ 56%] unittests/test_lib_floatcanvas_floatcanvas.py::lib_floatcanvas_floatcanvas_Tests::test_lib_floatcanvas_navcanvasCtor FAILED [ 56%] unittests/test_lib_gizmos_ledctrl.py::lib_gizmos_ledctrl_Tests::test_defaultCtor PASSED [ 56%] unittests/test_lib_gizmos_ledctrl.py::lib_gizmos_ledctrl_Tests::test_normalCtor FAILED [ 56%] unittests/test_lib_imagebrowser.py::imagebrowser_Tests::test_imagebrowserDlg FAILED [ 56%] unittests/test_lib_imagebrowser.py::imagebrowser_Tests::test_imagebrowserDlgChangeTypes FAILED [ 56%] unittests/test_lib_imagebrowser.py::imagebrowser_Tests::test_imagebrowserDlgGetters FAILED [ 56%] unittests/test_lib_imageutils.py::lib_imageutils_Tests::test_lib_imageutils1 FAILED [ 56%] unittests/test_lib_intctrl.py::IntCtrlTests::test_canSetValueToNone FAILED [ 56%] unittests/test_lib_intctrl.py::IntCtrlTests::test_intctrlCtor FAILED [ 56%] unittests/test_lib_langlistctrl.py::langlistctrl_Tests::test_langlistctrlCtor FAILED [ 56%] unittests/test_lib_masked.py::MaskedComboBoxTests::test_ComboBoxCtors FAILED [ 56%] unittests/test_lib_masked.py::MaskedTextCtrlTests::test_textctrlCtor PASSED [ 56%] unittests/test_lib_masked.py::MaskedTextCtrlTests::test_textctrlProperties FAILED [ 56%] unittests/test_lib_masked.py::MaskedNumCtrlTests::test_numctrlCtor FAILED [ 56%] unittests/test_lib_masked.py::MaskedNumCtrlTests::test_numctrlProperties FAILED [ 56%] unittests/test_lib_masked.py::MaskedTimeCtrlTests::test_timectrlCtor FAILED [ 56%] unittests/test_lib_masked.py::MaskedTimeCtrlTests::test_timectrlIsValid FAILED [ 57%] unittests/test_lib_masked.py::MaskedTimeCtrlTests::test_timectrlProperties PASSED [ 57%] unittests/test_lib_masked.py::MaskedIpAddrCtrlTests::test_ipaddrctrlCtor FAILED [ 57%] unittests/test_lib_masked.py::MaskedIpAddrCtrlTests::test_ipaddrctrlProperties FAILED [ 57%] unittests/test_lib_mixins_inspection.py::wit_TestCase::test_App FAILED [ 57%] unittests/test_lib_mixins_inspection.py::wit_TestCase::test_App_OnInit FAILED [ 57%] unittests/test_lib_mixins_inspection.py::wit_TestCase::test_Wit_Mixin PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglCircle FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglCompositeShape FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglCtor PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglDivisonShape PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglEllipseShape FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglLineShape FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglPolygonShape FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglRectangle FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglShapeRegion PASSED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_oglTextShape FAILED [ 57%] unittests/test_lib_ogl.py::lib_ogl_Tests::test_lib_ogl_Constants FAILED [ 58%] unittests/test_lib_pdfviewer_pdfviewer.py::lib_pdfviewer_pdfviewer_Tests::test_lib_pdfviewer_loadFile SKIPPED [ 58%] unittests/test_lib_pdfviewer_pdfviewer.py::lib_pdfviewer_pdfviewer_Tests::test_lib_pdfviewer_pdfviewerButtonPanelCtor SKIPPED [ 58%] unittests/test_lib_pdfviewer_pdfviewer.py::lib_pdfviewer_pdfviewer_Tests::test_lib_pdfviewer_pdfviewerPdfViewerCtor SKIPPED [ 58%] unittests/test_lib_plot.py::lib_plot_PlotCanvas_Tests::test_lib_plot_plotcanvasCtor FAILED [ 58%] unittests/test_lib_plot.py::lib_plot_Tests::test_lib_plot_tempstyle_contextmanager FAILED [ 58%] unittests/test_lib_plot.py::lib_plot_Tests::test_lib_plot_tempstyle_decorator FAILED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testAcceptAllArgs PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testArgSpecDerivation PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testDOAListenerPubsub PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testDeadListener PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testMissingReqdArgs PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testSendForUndefinedTopic PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testSendTopicWithMessage PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testSubscribe PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testTopicUnspecifiedError PASSED [ 58%] unittests/test_lib_pubsub_api3.py::lib_pubsub_Except::testUnsubAll PASSED [ 58%] unittests/test_lib_pubsub_defaultlog.py::lib_pubsub_DefaultLog::testNotifications PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testHandleExcept1a PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testHandleExcept1b PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testHandleExcept2 PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testNoExceptionHandling1 PASSED [ 59%] unittests/test_lib_pubsub_except.py::lib_pubsub_Except::testNoExceptionHandling2 PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test0_ArgsInfo PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test10_weakMethod PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test11_testNaming PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test2_Validation0 PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test2_Validation1 PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test3_IsCallable PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test4_WantTopic PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test5_DOAListeners PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test6_ListenerEq PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test7_DyingListenersClass PASSED [ 59%] unittests/test_lib_pubsub_listener.py::lib_pubsub_ArgsInfo::test8_getArgsBadListener PASSED [ 59%] unittests/test_lib_pubsub_notify.py::lib_pubsub_Notify::testNotifyByPrint PASSED [ 60%] unittests/test_lib_pubsub_notify2.py::lib_pubsub_Notify2::test0_NotificationTopics PASSED [ 60%] unittests/test_lib_pubsub_notify2_1.py::lib_pubsub_Notify2_1::test1_SubscribeNotify PASSED [ 60%] unittests/test_lib_pubsub_notify2_2.py::lib_pubsub_Notify2_2::test2_SendNotify PASSED [ 60%] unittests/test_lib_pubsub_notify3.py::lib_pubsub_NotifyFlagChanges::testFlagChanges PASSED [ 60%] unittests/test_lib_pubsub_notify4.py::lib_pubsub_NotifyN::testNotifications PASSED [ 60%] unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 FAILED [ 60%] unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test2_import_export_no_change SKIPPED [ 60%] unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test_module_as_class PASSED [ 60%] unittests/test_lib_pubsub_spec.py::lib_pubsub_Specs::test1_create PASSED [ 60%] unittests/test_lib_pubsub_spec.py::lib_pubsub_Specs::test2_update PASSED [ 60%] unittests/test_lib_pubsub_spec.py::lib_pubsub_Specs::test3_filter PASSED [ 60%] unittests/test_lib_pubsub_topic.py::lib_pubsub_Topic::test0_CreateRoot PASSED [ 60%] unittests/test_lib_pubsub_topic.py::lib_pubsub_Topic::test1_SubUnsub PASSED [ 60%] unittests/test_lib_pubsub_topic.py::lib_pubsub_Topic::test2_CreateChild PASSED [ 60%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr0_Basic::test10_BadTopicNames PASSED [ 60%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr0_Basic::test10_GoodTopicNames PASSED [ 60%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr1_GetOrCreate_NoDefnProv::test10_NoProtoListener PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr1_GetOrCreate_NoDefnProv::test20_WithProtoListener PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr2_GetOrCreate_DefnProv::test10_DefnProvider PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr2_GetOrCreate_DefnProv::test20_UseProvider PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr2_GetOrCreate_DefnProv::test30_DelTopic PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr3_TreeTraverser::test1 PASSED [ 61%] unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr3_TreeTraverser::test2 PASSED [ 61%] unittests/test_lib_resizewidget.py::lib_resizewidget_Tests::test_lib_resizewidget FAILED [ 61%] unittests/test_lib_resizewidget.py::lib_resizewidget_Tests::test_lib_resizewidget_Constants PASSED [ 61%] unittests/test_lib_scrolledpanel.py::lib_scrolledpanel_Tests::test_lib_scrolled1 PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedFrame_Tests::test_frameCtors PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedFrame_Tests::test_frameProperties PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedFrame_Tests::test_frameStyles FAILED [ 61%] unittests/test_lib_sized_controls.py::sizedDialog_Tests::test_dialog1 FAILED [ 61%] unittests/test_lib_sized_controls.py::sizedDialog_Tests::test_dialog2 PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedDialog_Tests::test_dialogTextSizer PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedPanel_Tests::test_panelCtor PASSED [ 61%] unittests/test_lib_sized_controls.py::sizedScrolledPanel_Tests::test_panelCtor PASSED [ 61%] unittests/test_lib_splitter.py::splitter_Tests::test_splitterCtor FAILED [ 62%] unittests/test_lib_splitter.py::splitter_Tests::test_splitterMulti FAILED [ 62%] unittests/test_lib_statbmp.py::lib_statbmp_Tests::test_lib_statbmp1 FAILED [ 62%] unittests/test_lib_stattext.py::lib_stattext_Tests::test_lib_stattext1 FAILED [ 62%] unittests/test_lib_throbber.py::lib_throbber_Tests::test_lib_throbber FAILED [ 62%] unittests/test_lib_throbber.py::lib_throbber_Tests::test_lib_throbber_Events PASSED [ 62%] unittests/test_lib_ticker.py::lib_ticker_Tests::test_lib_ticker FAILED [ 62%] unittests/test_listbook.py::listbook_Tests::test_listbook1 PASSED [ 62%] unittests/test_listbook.py::listbook_Tests::test_listbook2 FAILED [ 62%] unittests/test_listbook.py::listbook_Tests::test_listbook3 FAILED [ 62%] unittests/test_listbox.py::listbox_Tests::test_ComboBoxCtors PASSED [ 62%] unittests/test_listbox.py::listbox_Tests::test_ComboBoxDefaultCtor FAILED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlConstants FAILED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlCtor PASSED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlDefaultCtor FAILED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlDeleteAllColumns PASSED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlEvent PASSED [ 62%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlEventTypes PASSED [ 63%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlItemData01 FAILED [ 63%] unittests/test_listctrl.py::listctrl_Tests::test_listctrlItemData02 FAILED [ 63%] unittests/test_log.py::log_Tests::test_log FAILED [ 63%] unittests/test_longlong.py::longlong_Tests::test_longlong PASSED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiChildFrame1 PASSED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiChildFrame2 PASSED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiClientWindow FAILED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiParentFrame1 FAILED [ 63%] unittests/test_mdi.py::mdi_Tests::test_mdiParentFrame2 FAILED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl1 PASSED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl2 FAILED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl3 FAILED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl4 FAILED [ 63%] unittests/test_mediactrl.py::mediactrl_Tests::test_mediactrl5 FAILED [ 63%] unittests/test_menu.py::menu_Tests::test_menu1 FAILED [ 63%] unittests/test_menu.py::menu_Tests::test_menu2 PASSED [ 63%] unittests/test_menu.py::menu_Tests::test_menu3 FAILED [ 64%] unittests/test_menu.py::menu_Tests::test_menuBar1 FAILED [ 64%] unittests/test_menu.py::menu_Tests::test_menuBar2 FAILED [ 64%] unittests/test_menu.py::menu_Tests::test_menuBar3 FAILED [ 64%] unittests/test_menuitem.py::menuitem_Tests::test_menuitemCtor PASSED [ 64%] unittests/test_menuitem.py::menuitem_Tests::test_menuitemKinds FAILED [ 64%] unittests/test_menuitem.py::menuitem_Tests::test_menuitemProperties PASSED [ 64%] unittests/test_metafile.py::MetafileDCTests::test_MetafileDC1 SKIPPED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype1 FAILED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype2 FAILED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype3 FAILED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype4 FAILED [ 64%] unittests/test_mimetype.py::mimetype_Tests::test_mimetype5 FAILED [ 64%] unittests/test_minifram.py::minifram_Tests::test_minifram1 FAILED [ 64%] unittests/test_minifram.py::minifram_Tests::test_minifram2 PASSED [ 64%] unittests/test_modalhook.py::modalhook_Tests::test_modalhook1 FAILED [ 64%] unittests/test_mousestate.py::MouseState::test_MouseState PASSED [ 64%] unittests/test_msgdlg.py::msgdlg_Tests::test_gmsgdlg1 FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_gmsgdlg2 PASSED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_gmsgdlg3 FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlg1 FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlg2 FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlg3 FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlgIconConstants FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlgLabels1 FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlgLabels2 FAILED [ 65%] unittests/test_msgdlg.py::msgdlg_Tests::test_msgdlgProperties FAILED [ 65%] unittests/test_mustHaveApp.py::TestMustHaveApp::test_mustHaveApp0 PASSED [ 65%] unittests/test_mustHaveApp.py::TestMustHaveApp::test_mustHaveApp1 FAILED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookCtor FAILED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookDefaultCtor FAILED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookEventTypes FAILED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookPages PASSED [ 65%] unittests/test_notebook.py::notebook_Tests::test_notebookStyles PASSED [ 65%] unittests/test_notifmsg.py::notifmsg_Tests::test_notifmsg1 PASSED [ 66%] unittests/test_odcombo.py::odcombo_Tests::test_odcombo1 FAILED [ 66%] unittests/test_odcombo.py::odcombo_Tests::test_odcombo2 FAILED [ 66%] unittests/test_overlay.py::overlay_Tests::test_overlay1 FAILED [ 66%] unittests/test_palette.py::palette_Tests::test_nullPalette FAILED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCreate1 FAILED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCreate2 FAILED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCtor1 FAILED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCtor2 FAILED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCtor3 FAILED [ 66%] unittests/test_palette.py::palette_Tests::test_paletteCtor4 FAILED [ 66%] unittests/test_panel.py::panel_Tests::test_panelCtor FAILED [ 66%] unittests/test_panel.py::panel_Tests::test_panelDefaultCtor FAILED [ 66%] unittests/test_pen.py::pen_Tests::test_penConstants FAILED [ 66%] unittests/test_pen.py::pen_Tests::test_penCtor1 PASSED [ 66%] unittests/test_pen.py::pen_Tests::test_penCtor2 FAILED [ 66%] unittests/test_pen.py::pen_Tests::test_penCtor3 FAILED [ 66%] unittests/test_pen.py::pen_Tests::test_penDashes PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penNonzero FAILED [ 67%] unittests/test_pen.py::pen_Tests::test_penNull FAILED [ 67%] unittests/test_pen.py::pen_Tests::test_penOldStyleNames PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penProperties PASSED [ 67%] unittests/test_pen.py::pen_Tests::test_penStock FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant1 PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant2 PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant3 FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant4 FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant5 FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant6 FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant7 PASSED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant8 FAILED [ 67%] unittests/test_pgvariant.py::pgvariant_Tests::test_pgvariant9 FAILED [ 67%] unittests/test_pi_import.py::PIImportTest::test_adv_pi FAILED [ 67%] unittests/test_pi_import.py::PIImportTest::test_core_pi PASSED [ 67%] unittests/test_pi_import.py::PIImportTest::test_dataview_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_glcanvas_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_html2_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_html_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_media_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_msw_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_propgrid_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_ribbon_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_richtext_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_stc_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_webkit_pi SKIPPED [ 68%] unittests/test_pi_import.py::PIImportTest::test_xml_pi FAILED [ 68%] unittests/test_pi_import.py::PIImportTest::test_xrc_pi FAILED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersColour FAILED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersColourConstants FAILED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersDir FAILED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersFile FAILED [ 68%] unittests/test_pickers.py::pickers_Tests::test_pickersFileConstants FAILED [ 69%] unittests/test_pickers.py::pickers_Tests::test_pickersFont FAILED [ 69%] unittests/test_pickers.py::pickers_Tests::test_pickersFontConstatnt FAILED [ 69%] unittests/test_platinfo.py::platinfo_Tests::test_platinfo FAILED [ 69%] unittests/test_platinfo.py::platinfo_Tests::test_platinfoFlags PASSED [ 69%] unittests/test_platinfo.py::platinfo_Tests::test_platinfoProperties FAILED [ 69%] unittests/test_popupwin.py::popupwin_Tests::test_popuptranswinCtor PASSED [ 69%] unittests/test_popupwin.py::popupwin_Tests::test_popupwinCtor FAILED [ 69%] unittests/test_popupwin.py::popupwin_Tests::test_popupwinDefaultCtor PASSED [ 69%] unittests/test_position.py::position_Tests::test_GetIM FAILED [ 69%] unittests/test_position.py::position_Tests::test_positionCopyCtor FAILED [ 69%] unittests/test_position.py::position_Tests::test_positionCtors FAILED [ 69%] unittests/test_position.py::position_Tests::test_positionMath1 FAILED [ 69%] unittests/test_position.py::position_Tests::test_positionMath2 PASSED [ 69%] unittests/test_position.py::position_Tests::test_positionProperties1 FAILED [ 69%] unittests/test_position.py::position_Tests::test_positionProperties2 FAILED [ 69%] unittests/test_power.py::power_Tests::test_power1 PASSED [ 69%] unittests/test_preferences.py::preferences_Tests::test_preferences1 FAILED [ 69%] unittests/test_printdlg.py::printdlg_Tests::test_printdlg1 PASSED [ 70%] unittests/test_printdlg.py::printdlg_Tests::test_printdlg2 PASSED [ 70%] unittests/test_printfw.py::printfw_Tests::test_printfw1 FAILED [ 70%] unittests/test_printfw.py::printfw_Tests::test_printfw2 FAILED [ 70%] unittests/test_process.py::process_Tests::test_process1 FAILED [ 70%] unittests/test_process.py::process_Tests::test_process2 FAILED [ 70%] unittests/test_progdlg.py::progdlg_Tests::test_progdlg1 FAILED [ 70%] unittests/test_progdlg.py::progdlg_Tests::test_progdlg2 PASSED [ 70%] unittests/test_propdlg.py::propdlg_Tests::test_propdlg1 FAILED [ 70%] unittests/test_propdlg.py::propdlg_Tests::test_propgrid2 FAILED [ 70%] unittests/test_propdlg.py::propdlg_Tests::test_propgrid3 FAILED [ 70%] unittests/test_propdlg.py::propdlg_Tests::test_propgrid4 FAILED [ 70%] unittests/test_propgrid.py::propgrid_Tests::test_propgrid01 PASSED [ 70%] unittests/test_propgrid.py::propgrid_Tests::test_propgrid02 FAILED [ 70%] unittests/test_propgrid.py::propgrid_Tests::test_propgrid03 FAILED [ 70%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops01 FAILED [ 70%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops02 FAILED [ 70%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops03 FAILED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops04 PASSED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops05 PASSED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops06 PASSED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops07 FAILED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops08 FAILED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops09 FAILED [ 71%] unittests/test_propgridadvprops.py::propgridadvprops_Tests::test_propgridadvprops10 FAILED [ 71%] unittests/test_propgriddefs.py::propgriddefs_Tests::test_propgriddefs1 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors01 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors02 PASSED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors03 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors04 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors05 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors06 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors07 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors08 FAILED [ 71%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors09 FAILED [ 72%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors10 FAILED [ 72%] unittests/test_propgrideditors.py::propgrideditors_Tests::test_propgrideditors11 FAILED [ 72%] unittests/test_propgridiface.py::propgridiface_Tests::test_propgridiface01 PASSED [ 72%] unittests/test_propgridiface.py::propgridiface_Tests::test_propgridiface02 FAILED [ 72%] unittests/test_propgridiface.py::propgridiface_Tests::test_propgridiface03 FAILED [ 72%] unittests/test_propgridmanager.py::propgridmanager_Tests::test_propgridmanager01 PASSED [ 72%] unittests/test_propgridmanager.py::propgridmanager_Tests::test_propgridmanager02 PASSED [ 72%] unittests/test_propgridpagestate.py::propgridpagestate_Tests::test_propgridpagestate01 FAILED [ 72%] unittests/test_propgridpagestate.py::propgridpagestate_Tests::test_propgridpagestate02 FAILED [ 72%] unittests/test_propgridpagestate.py::propgridpagestate_Tests::test_propgridpagestate03 FAILED [ 72%] unittests/test_propgridpagestate.py::propgridpagestate_Tests::test_propgridpagestate04 FAILED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty01 FAILED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty02 FAILED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty03 FAILED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty04 FAILED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty05 PASSED [ 72%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty06 FAILED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty08 FAILED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty09 FAILED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty10 PASSED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty11 FAILED [ 73%] unittests/test_propgridproperty.py::property_Tests::test_propgridproperty12 PASSED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops01 PASSED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops02 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops03 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops04 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops05 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops06 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops07 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops08 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops09 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops10 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops11 FAILED [ 73%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops12 FAILED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops13 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops14 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops15 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops16 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops17 PASSED [ 74%] unittests/test_propgridprops.py::propgridprops_Tests::test_propgridprops18 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc01 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc02 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc03 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc04 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc05 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc06 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc07 PASSED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc08 PASSED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc09 FAILED [ 74%] unittests/test_pseudodc.py::pseudodc_Tests::test_pseudodc10 PASSED [ 74%] unittests/test_py_introspect.py::py_introspect_Tests::test_getAutoCompleteList PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_CppClone PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_CppCloneDerived PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_CppCloneRefCounts SKIPPED [ 75%] unittests/test_pyevent.py::PyEvents::test_PyCommandEvent PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_PyEvent PASSED [ 75%] unittests/test_pyevent.py::PyEvents::test_PyEvtCloneRefCounts PASSED [ 75%] unittests/test_pyevent.py::SendingPyEvents::test_PyCommandEventDerivedClone FAILED [ 75%] unittests/test_pyevent.py::SendingPyEvents::test_PyEventDerivedClone FAILED [ 75%] unittests/test_pyevent.py::SendingPyEvents::test_PyEventDerivedPostEvent FAILED [ 75%] unittests/test_pyevent.py::SendingPyEvents::test_PyEventDerivedProcessEvent FAILED [ 75%] unittests/test_radiobox.py::radiobox_Tests::test_radioboxCtor FAILED [ 75%] unittests/test_radiobox.py::radiobox_Tests::test_radioboxDefaultCtor FAILED [ 75%] unittests/test_radiobox.py::radiobox_Tests::test_radioboxTweaks FAILED [ 75%] unittests/test_radiobut.py::radiobut_Tests::test_radiobutCtors PASSED [ 75%] unittests/test_radiobut.py::radiobut_Tests::test_radiobutDefaultCtor FAILED [ 75%] unittests/test_radiobut.py::radiobut_Tests::test_radiobutValue PASSED [ 75%] unittests/test_rawbmp.py::rawbmp_Tests::test_rawbmp1 FAILED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl1 FAILED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl2 PASSED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl3 FAILED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl4 PASSED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl5 FAILED [ 76%] unittests/test_rearrangectrl.py::rearrangectrl_Tests::test_rearrangectrl6 FAILED [ 76%] unittests/test_region.py::region_Tests::test_regionCtors PASSED [ 76%] unittests/test_region.py::region_Tests::test_regionIterator1 FAILED [ 76%] unittests/test_region.py::region_Tests::test_regionIterator2 FAILED [ 76%] unittests/test_region.py::region_Tests::test_regionOtherRandomStuff FAILED [ 76%] unittests/test_renderer.py::renderer_Tests::test_renderer1 FAILED [ 76%] unittests/test_renderer.py::renderer_Tests::test_renderer2 FAILED [ 76%] unittests/test_renderer.py::renderer_Tests::test_renderer3 PASSED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art1 FAILED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art2 PASSED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art3 FAILED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art4 FAILED [ 76%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art5 FAILED [ 77%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art6 FAILED [ 77%] unittests/test_ribbon_art.py::ribbon_art_Tests::test_ribbon_art7 FAILED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar1 FAILED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar2 FAILED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar3 FAILED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar4 FAILED [ 77%] unittests/test_ribbon_bar.py::ribbon_bar_Tests::test_ribbon_bar5 FAILED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar1 FAILED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar2 FAILED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar3 PASSED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar4 FAILED [ 77%] unittests/test_ribbon_buttonbar.py::ribbon_buttonbar_Tests::test_ribbon_buttonbar5 PASSED [ 77%] unittests/test_ribbon_control.py::ribbon_control_Tests::test_ribbon_control1 PASSED [ 77%] unittests/test_ribbon_control.py::ribbon_control_Tests::test_ribbon_control2 FAILED [ 77%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery1 PASSED [ 77%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery2 FAILED [ 77%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery3 FAILED [ 78%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery4 FAILED [ 78%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery5 FAILED [ 78%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery6 FAILED [ 78%] unittests/test_ribbon_gallery.py::ribbon_gallery_Tests::test_ribbon_gallery7 FAILED [ 78%] unittests/test_ribbon_page.py::ribbon_page_Tests::test_ribbon_page1 FAILED [ 78%] unittests/test_ribbon_page.py::ribbon_page_Tests::test_ribbon_page2 FAILED [ 78%] unittests/test_ribbon_panel.py::ribbon_panel_Tests::test_ribbon_panel1 PASSED [ 78%] unittests/test_ribbon_panel.py::ribbon_panel_Tests::test_ribbon_panel2 PASSED [ 78%] unittests/test_ribbon_panel.py::ribbon_panel_Tests::test_ribbon_panel3 FAILED [ 78%] unittests/test_ribbon_panel.py::ribbon_panel_Tests::test_ribbon_panel4 FAILED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar1 FAILED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar2 FAILED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar3 PASSED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar4 FAILED [ 78%] unittests/test_ribbon_toolbar.py::ribbon_toolbar_Tests::test_ribbon_toolbar5 PASSED [ 78%] unittests/test_richmsgdlg.py::richmsgdlg_Tests::test_richmsgdlg1 FAILED [ 78%] unittests/test_richmsgdlg.py::richmsgdlg_Tests::test_richmsgdlg2 PASSED [ 79%] unittests/test_richmsgdlg.py::richmsgdlg_Tests::test_richmsgdlg3 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_GetIM FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer01 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer02 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer03 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer04 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer05 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer06 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer07 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer08 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer09 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer10 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer11 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer12 PASSED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer13 FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14a FAILED [ 79%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14b PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14c FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14d FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer14e PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer15 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer16 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer17 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer18 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer19 PASSED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer20 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer21 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer22 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer23 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer24 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer25 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer26 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer27 FAILED [ 80%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer28 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer29 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer30 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer31 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer32 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer33 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer34 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer35 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer36 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer37 PASSED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer38 FAILED [ 81%] unittests/test_richtextbuffer.py::richtextbuffer_Tests::test_richtextbuffer39 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl1 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl2 PASSED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl3 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl4 FAILED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl5 PASSED [ 81%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl6 PASSED [ 82%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl7 PASSED [ 82%] unittests/test_richtextctrl.py::richtextctrl_Tests::test_richtextctrl8 FAILED [ 82%] unittests/test_richtextformatdlg.py::richtextformatdlg_Tests::test_richtextformatdlg1 FAILED [ 82%] unittests/test_richtextformatdlg.py::richtextformatdlg_Tests::test_richtextformatdlg2 FAILED [ 82%] unittests/test_richtexthtml.py::richtexthtml_Tests::test_richtexthtml1 FAILED [ 82%] unittests/test_richtextprint.py::richtextprint_Tests::test_richtextprint1 FAILED [ 82%] unittests/test_richtextprint.py::richtextprint_Tests::test_richtextprint2 FAILED [ 82%] unittests/test_richtextprint.py::richtextprint_Tests::test_richtextprint3 FAILED [ 82%] unittests/test_richtextprint.py::richtextprint_Tests::test_richtextprint4 FAILED [ 82%] unittests/test_richtextstyledlg.py::richtextstyledlg_Tests::test_richtextstyledlg1 FAILED [ 82%] unittests/test_richtextstyledlg.py::richtextstyledlg_Tests::test_richtextstyledlg2 FAILED [ 82%] unittests/test_richtextstyledlg.py::richtextstyledlg_Tests::test_richtextstyledlg3 FAILED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles01 FAILED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles02 PASSED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles03 FAILED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles04 FAILED [ 82%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles05 FAILED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles06 FAILED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles07 PASSED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles08 FAILED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles09 FAILED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles10 FAILED [ 83%] unittests/test_richtextstyles.py::richtextstyles_Tests::test_richtextstyles6 FAILED [ 83%] unittests/test_richtextsymboldlg.py::richtextsymboldlg_Tests::test_richtextsymboldlg1 PASSED [ 83%] unittests/test_richtextsymboldlg.py::richtextsymboldlg_Tests::test_richtextsymboldlg2 FAILED [ 83%] unittests/test_richtextxml.py::richtextxml_Tests::test_richtextxml1 FAILED [ 83%] unittests/test_richtooltip.py::richtooltip_Tests::test_richtooltip1 PASSED [ 83%] unittests/test_richtooltip.py::richtooltip_Tests::test_richtooltip2 PASSED [ 83%] unittests/test_sashwin.py::sashwin_Tests::test_sashwin1 FAILED [ 83%] unittests/test_sashwin.py::sashwin_Tests::test_sashwin2 PASSED [ 83%] unittests/test_sashwin.py::sashwin_Tests::test_sashwin3 PASSED [ 83%] unittests/test_scrolbar.py::scrolbar_Tests::test_scrolbarCtor FAILED [ 83%] unittests/test_scrolbar.py::scrolbar_Tests::test_scrolbarDefaultCtor PASSED [ 83%] unittests/test_scrolbar.py::scrolbar_Tests::test_scrolbarEvents FAILED [ 84%] unittests/test_scrolbar.py::scrolbar_Tests::test_scrolbarProperties PASSED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_SetFocusIgnoringChildren FAILED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolcvsCtor FAILED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolcvsDefaultCtor FAILED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolwinCtor FAILED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolwinDefaultCtor PASSED [ 84%] unittests/test_scrolwin.py::scrolwin_Tests::test_scrolwinOnDraw FAILED [ 84%] unittests/test_settings.py::settings_Tests::test_settingsConstants FAILED [ 84%] unittests/test_settings.py::settings_Tests::test_settingsGetColour PASSED [ 84%] unittests/test_settings.py::settings_Tests::test_settingsGetFont FAILED [ 84%] unittests/test_settings.py::settings_Tests::test_settingsGetMetric FAILED [ 84%] unittests/test_simplebook.py::simplebook_Tests::test_simplebook01 FAILED [ 84%] unittests/test_simplebook.py::simplebook_Tests::test_simplebook02 FAILED [ 84%] unittests/test_simplebook.py::simplebook_Tests::test_simplebook03 FAILED [ 84%] unittests/test_sizer.py::sizer_Tests::test_iter FAILED [ 84%] unittests/test_sizer.py::sizer_Tests::test_sizer2 PASSED [ 84%] unittests/test_sizer.py::sizer_Tests::test_sizerAddMany FAILED [ 84%] unittests/test_sizer.py::sizer_Tests::test_sizerBool FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerBox FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerFlags PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerFlexGrid FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerFlexGrid2 PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerGrid FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerOrientation FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers1 FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers2 FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers3 FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers4 FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers5 FAILED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerSpacers6 PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerStatBox PASSED [ 85%] unittests/test_sizer.py::sizer_Tests::test_sizerUserData FAILED [ 85%] unittests/test_slider.py::slider_Tests::test_sliderCtor FAILED [ 85%] unittests/test_slider.py::slider_Tests::test_sliderDefaultCtor PASSED [ 85%] unittests/test_slider.py::slider_Tests::test_sliderFlags FAILED [ 86%] unittests/test_slider.py::slider_Tests::test_sliderProperties FAILED [ 86%] unittests/test_slider.py::slider_Tests::test_sliderRange FAILED [ 86%] unittests/test_slider.py::slider_Tests::test_sliderRange2 FAILED [ 86%] unittests/test_snglinst.py::snglinst_Tests::test_snglinstCtor FAILED [ 86%] unittests/test_snglinst.py::snglinst_Tests::test_snglinstDefaultCtor FAILED [ 86%] unittests/test_sound.py::sound_Tests::test_sound1 FAILED [ 86%] unittests/test_sound.py::sound_Tests::test_sound2 FAILED [ 86%] unittests/test_sound.py::sound_Tests::test_sound3 PASSED [ 86%] unittests/test_sound.py::sound_Tests::test_sound4 FAILED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinbuttCtor FAILED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinbuttDefaultCtor FAILED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinbuttOther FAILED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinctrlProperties PASSED [ 86%] unittests/test_spinbutt.py::spinbutt_Tests::test_spinctrlPropertiesInAction FAILED [ 86%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlCtor FAILED [ 86%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlDefaultCtor PASSED [ 86%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlDoubleCtor FAILED [ 87%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlDoubleDefaultCtor PASSED [ 87%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlDoubleProperties PASSED [ 87%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlOther FAILED [ 87%] unittests/test_spinctrl.py::spinctrl_Tests::test_spinctrlProperties PASSED [ 87%] unittests/test_splash.py::splash_Tests::test_splash1 FAILED [ 87%] unittests/test_splash.py::splash_Tests::test_splash2 FAILED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterCtor PASSED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterDefaultCtor FAILED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterEventTypes FAILED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterFlags FAILED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterProperties PASSED [ 87%] unittests/test_splitter.py::splitter_Tests::test_splitterSplits FAILED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlCtor FAILED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlDefaultCtor FAILED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlEventBinding FAILED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlGetSetValue FAILED [ 87%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlHasTextCtrlMethods FAILED [ 88%] unittests/test_srchctrl.py::srchctrl_Tests::test_srchctrlProperties FAILED [ 88%] unittests/test_statbmp.py::statbmp_Tests::test_statbmpCtor FAILED [ 88%] unittests/test_statbmp.py::statbmp_Tests::test_statbmpDefaultCtor PASSED [ 88%] unittests/test_statbmp.py::statbmp_Tests::test_statbmpProperties PASSED [ 88%] unittests/test_statbox.py::statbox_Tests::test_statboxCtor FAILED [ 88%] unittests/test_statbox.py::statbox_Tests::test_statboxDefaultCtor PASSED [ 88%] unittests/test_statbox.py::statbox_Tests::test_statboxGetBordersForSizer FAILED [ 88%] unittests/test_statline.py::statline_Tests::test_statlineCtor FAILED [ 88%] unittests/test_statline.py::statline_Tests::test_statlineDefaultCtor FAILED [ 88%] unittests/test_stattext.py::stattext_Tests::test_stattextCtor FAILED [ 88%] unittests/test_stattext.py::stattext_Tests::test_stattextDefaultCtor FAILED [ 88%] unittests/test_stattext.py::stattext_Tests::test_stattextFlags FAILED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarCtor FAILED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarDefaultCtor PASSED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarFlags PASSED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarFrameUse1 FAILED [ 88%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarFrameUse2 FAILED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarFrameUse3 FAILED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarGetFielRect FAILED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarStatusBarPane FAILED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarStyles PASSED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarWidths1 FAILED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarWidths2 FAILED [ 89%] unittests/test_statusbar.py::statusbar_Tests::test_statusbarWidths3 FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcCtor FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcDefaultCtor FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcEvent PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcEventBinderssExist PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcEventConstantsExist PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcHasTextCtrlMethods PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl1 FAILED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl2 PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl3 PASSED [ 89%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl5 FAILED [ 90%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl6 FAILED [ 90%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrl8 FAILED [ 90%] unittests/test_stc.py::stc_Tests::test_stcStyleTextCtrlConstantsExist PASSED [ 90%] unittests/test_stdpaths.py::stdpaths_Tests::test_stdpaths FAILED [ 90%] unittests/test_stockgdi.py::stockgdi_Tests::test_stockgdi1 PASSED [ 90%] unittests/test_stockgdi.py::stockgdi_Tests::test_stockgdi2 FAILED [ 90%] unittests/test_stockgdi.py::stockgdi_Tests::test_stockgdi3 FAILED [ 90%] unittests/test_stockitem.py::stockitem_Tests::test_stockitem1 xfail [ 90%] unittests/test_stopwatch.py::stopwatch_Tests::test_stopwatch1 PASSED [ 90%] unittests/test_stream.py::stream_Tests::test_inputStreamParam FAILED [ 90%] unittests/test_stream.py::stream_Tests::test_outputStreamParam FAILED [ 90%] unittests/test_string.py::String::test_StringTypemapsPy3 PASSED [ 90%] unittests/test_sysopt.py::sysopt_Tests::test_sysopt1 FAILED [ 90%] unittests/test_taskbar.py::taskbar_Tests::test_taskbar1 PASSED [ 90%] unittests/test_taskbar.py::taskbar_Tests::test_taskbar2 FAILED [ 90%] unittests/test_textcompleter.py::testcompleter_Tests::test_textCompleter1 PASSED [ 90%] unittests/test_textcompleter.py::testcompleter_Tests::test_textCompleterSimple PASSED [ 91%] unittests/test_textcompleter.py::testcompleter_Tests::test_textcompleterClasses PASSED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlCtor FAILED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlDefaultCtor PASSED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlFlags FAILED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlNativeCaret FAILED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlProperties FAILED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlTextAttr FAILED [ 91%] unittests/test_textctrl.py::textctrl_Tests::test_textctrlTextAttrProperties FAILED [ 91%] unittests/test_textdlg.py::textdlg_Tests::test_textdlg1 FAILED [ 91%] unittests/test_textdlg.py::textdlg_Tests::test_textdlg2 FAILED [ 91%] unittests/test_tglbtn.py::tglbtn_Tests::test_ButtonDefaultCtor FAILED [ 91%] unittests/test_tglbtn.py::tglbtn_Tests::test_ButtonDefaultEvt FAILED [ 91%] unittests/test_tglbtn.py::tglbtn_Tests::test_tglbtnCtors PASSED [ 91%] unittests/test_timectrl.py::timectrl_Tests::test_timectrl1 FAILED [ 91%] unittests/test_timer.py::timer_Tests::test_timerCallLater1 PASSED [ 91%] unittests/test_timer.py::timer_Tests::test_timerCallLater2 FAILED [ 91%] unittests/test_timer.py::timer_Tests::test_timerDerivedClass FAILED [ 92%] unittests/test_timer.py::timer_Tests::test_timerOwner1 FAILED [ 92%] unittests/test_timer.py::timer_Tests::test_timerOwner2 PASSED [ 92%] unittests/test_timer.py::timer_Tests::test_timerPyTimer FAILED [ 92%] unittests/test_tipdlg.py::tipdlg_Tests::test_tipdlg1 PASSED [ 92%] unittests/test_tipdlg.py::tipdlg_Tests::test_tipdlg2 FAILED [ 92%] unittests/test_tipwin.py::tipwin_Tests::test_tipwinCtor FAILED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbar1 PASSED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbar2 PASSED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarClientData1 PASSED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarClientData2 FAILED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarStyles FAILED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarTools1 FAILED [ 92%] unittests/test_toolbar.py::toolbar_Tests::test_toolbarTools2 FAILED [ 92%] unittests/test_toolbook.py::toolbook_Tests::test_toolbook1 PASSED [ 92%] unittests/test_toolbook.py::toolbook_Tests::test_toolbook2 PASSED [ 92%] unittests/test_toolbook.py::toolbook_Tests::test_toolbook3 FAILED [ 92%] unittests/test_tooltip.py::tooltip_Tests::test_tooltip FAILED [ 92%] unittests/test_tooltip.py::tooltip_Tests::test_tooltipStatics FAILED [ 93%] unittests/test_translation.py::translation_Tests::test_translation1 FAILED [ 93%] unittests/test_treebook.py::treebook_Tests::test_treebook1 FAILED [ 93%] unittests/test_treebook.py::treebook_Tests::test_treebook2 PASSED [ 93%] unittests/test_treebook.py::treebook_Tests::test_treebook3 FAILED [ 93%] unittests/test_treebook.py::treebook_Tests::test_treebook4 PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treeEventsExist FAILED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlConstantsExist FAILED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlCtor FAILED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlDefaultCtor FAILED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlGetFirstNext PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlGetSelections FAILED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemData PASSED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemId01 FAILED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemId02 FAILED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemId03 FAILED [ 93%] unittests/test_treectrl.py::treectrl_Tests::test_treectrlTreeItemPyData FAILED [ 93%] unittests/test_treelist.py::treelist_Tests::test_treelist1 FAILED [ 94%] unittests/test_treelist.py::treelist_Tests::test_treelist2 FAILED [ 94%] unittests/test_treelist.py::treelist_Tests::test_treelist3 FAILED [ 94%] unittests/test_treelist.py::treelist_Tests::test_treelist4 FAILED [ 94%] unittests/test_treelist.py::treelist_Tests::test_treelistitem_hashable FAILED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsBusyCursor FAILED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsBusyCursor2 FAILED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsBusyCursor3 FAILED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsSomeOtherStuff FAILED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsVersionInfo FAILED [ 94%] unittests/test_utils.py::utils_Tests::test_utilsWindowDisabler FAILED [ 94%] unittests/test_validate.py::validate_Tests::test_validateDefault FAILED [ 94%] unittests/test_validate.py::validate_Tests::test_validateTransfer FAILED [ 94%] unittests/test_variant.py::variant_Tests::test_variant1 PASSED [ 94%] unittests/test_variant.py::variant_Tests::test_variant2 FAILED [ 94%] unittests/test_variant.py::variant_Tests::test_variant3 FAILED [ 94%] unittests/test_variant.py::variant_Tests::test_variantArrayString1 FAILED [ 94%] unittests/test_variant.py::variant_Tests::test_variantArrayString2 FAILED [ 95%] unittests/test_variant.py::variant_Tests::test_variantDateTime1 FAILED [ 95%] unittests/test_variant.py::variant_Tests::test_variantDateTime2 FAILED [ 95%] unittests/test_variant.py::variant_Tests::test_variantNone FAILED [ 95%] unittests/test_variant.py::variant_Tests::test_variantPyObject PASSED [ 95%] unittests/test_vidmode.py::vidmode_Tests::test_defaultVidmode PASSED [ 95%] unittests/test_vidmode.py::vidmode_Tests::test_vidmode FAILED [ 95%] unittests/test_virtualOverride.py::virtualOverride_Tests::test_virtualOverride FAILED [ 95%] unittests/test_vlbox.py::vlbox_Tests::test_vlbox1 FAILED [ 95%] unittests/test_vlbox.py::vlbox_Tests::test_vlbox2 PASSED [ 95%] unittests/test_vlbox.py::vlbox_Tests::test_vlbox3 PASSED [ 95%] unittests/test_vlbox.py::vlbox_Tests::test_vlbox4 FAILED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_HScrolledWindow1 FAILED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_HScrolledWindow2 PASSED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_HVScrolledWindow1 FAILED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_HVScrolledWindow2 FAILED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_VScrolledWindow1 FAILED [ 95%] unittests/test_vscroll.py::vscroll_Tests::test_vscroll_VScrolledWindow2 FAILED [ 96%] unittests/test_wacky_ints.py::wacky_ints_Tests::test_wacky1 PASSED [ 96%] unittests/test_wacky_ints.py::wacky_ints_Tests::test_wacky2 PASSED [ 96%] unittests/test_wacky_ints.py::wacky_ints_Tests::test_wacky3 PASSED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit01 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit02 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit03 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit04 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit05 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit06 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit07 SKIPPED [ 96%] unittests/test_webkit.py::webkit_Tests::test_webkit08 SKIPPED [ 96%] unittests/test_webview.py::webview_Tests::test_webview1 FAILED [ 96%] unittests/test_webview.py::webview_Tests::test_webview2 FAILED [ 96%] unittests/test_webview.py::webview_Tests::test_webview3 PASSED [ 96%] unittests/test_webview.py::webview_Tests::test_webview5 PASSED [ 96%] unittests/test_webview.py::webview_Tests::test_webview6 FAILED [ 96%] unittests/test_window.py::WindowTests::test_DLG_UNIT FAILED [ 97%] unittests/test_window.py::WindowTests::test_SimpleWindowCtor FAILED [ 97%] unittests/test_window.py::WindowTests::test_windowCoordConvFunctions FAILED [ 97%] unittests/test_window.py::WindowTests::test_windowFunctions PASSED [ 97%] unittests/test_window.py::WindowTests::test_windowHandle FAILED [ 97%] unittests/test_window.py::WindowTests::test_windowProperties PASSED [ 97%] unittests/test_windowid.py::IdManagerTest::test_WindowIDRef01 FAILED [ 97%] unittests/test_windowid.py::IdManagerTest::test_WindowIDRef02 FAILED [ 97%] unittests/test_windowid.py::IdManagerTest::test_idManager PASSED [ 97%] unittests/test_windowid.py::IdManagerTest::test_newIdRef01 FAILED [ 97%] unittests/test_windowid.py::IdManagerTest::test_newIdRef02 FAILED [ 97%] unittests/test_windowid.py::IdManagerTest::test_newIdRef03 FAILED [ 97%] unittests/test_windowid.py::IdManagerTest::test_newIdRef04 FAILED [ 97%] unittests/test_windowlist.py::WindowList::test_WindowList_GetChildren FAILED [ 97%] unittests/test_windowlist.py::WindowList::test_WindowList_GetTLW1 FAILED [ 97%] unittests/test_windowlist.py::WindowList::test_WindowList_repr FAILED [ 97%] unittests/test_wizard.py::wizard_Tests::test_wizard1 FAILED [ 97%] unittests/test_wizard.py::wizard_Tests::test_wizard2 FAILED [ 98%] unittests/test_wizard.py::wizard_Tests::test_wizard3 FAILED [ 98%] unittests/test_wizard.py::wizard_Tests::test_wizard4 FAILED [ 98%] unittests/test_wrapsizer.py::wrapsizer_Tests::test_wrapsize FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetime1 PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetime2 FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetime3 FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetime4 PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeConvertFromPyDate PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeConvertFromPyDatetime FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeConvertHelpers FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeFormatParse FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeGetAmPm FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDate1 FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDate2 PASSED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDate3 FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDateTime1 FAILED [ 98%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDateTime2 FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseDateTime3 FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseFormat1 FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseFormat2 FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseRfc822Date FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeParseTime1 FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeProperties FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeSet FAILED [ 99%] unittests/test_wxdatetime.py::datetime_Tests::test_datetimeTm FAILED [ 99%] unittests/test_xml.py::xml_Tests::test_xml1 FAILED [ 99%] unittests/test_xml.py::xml_Tests::test_xml2 FAILED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc1 FAILED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc2 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc3 FAILED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc4 PASSED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc5 FAILED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc6 FAILED [ 99%] unittests/test_xrc.py::xrc_Tests::test_xrc7 FAILED [100%] =================================== FAILURES =================================== ______________________ aboutdlg_Tests.test_aboutdlgNative ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ aboutdlg_Tests.test_aboutdlgProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ accel_Tests.test_accelEntry1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ accel_Tests.test_accelEntry2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ accel_Tests.test_accelFlags __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ accel_Tests.test_accelNullObj _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ accel_Tests.test_accelTable2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ access_Tests.test_access1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ animate_Tests.test_animate1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________________ App.test_App _________________________________ self = def test_App(self): > app = wx.App() unittests/test_app.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ App.test_App_OnInit ______________________________ self = def test_App_OnInit(self): class MyApp(wx.App): def OnInit(self): self.onInit_called = True return True > app = MyApp() unittests/test_app.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .MyApp object at 0xffff7553d168> redirect = False, filename = None, useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________________ App.test_CallAfter ______________________________ self = def test_CallAfter(self): class MyApp(wx.App): def OnInit(self): self.callAfter_called = False self.frame = wx.Frame(None, title="testing CallAfter") self.frame.Show() wx.CallAfter(self.doAfter, 1, 2, 3) return True def doAfter(self, a, b, c): self.callAfter_called = True self.frame.Close() > app = MyApp() unittests/test_app.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .MyApp object at 0xffff7553f168> redirect = False, filename = None, useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ AppTraitsTests.test_AppTraits _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ artprov_Tests.test_artprovConstants ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ artprov_Tests.test_artprovGetBitmap ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ asserts_Tests.test_asserts2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ asserts_Tests.test_asserts3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ auibar_Tests.test_auibar01 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ auibar_Tests.test_auibar05 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ auibar_Tests.test_auibar08 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ auibook_Tests.test_auibook01 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ auibook_Tests.test_auibook02 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ auibook_Tests.test_auibook03 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ auibook_Tests.test_auibook04 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ auibook_Tests.test_auibook08 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ auibook_Tests.test_auibook09 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ auibook_Tests.test_auibook10 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ auibook_Tests.test_auibook11 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ auidockart_Tests.test_auidockart02 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ auidockart_Tests.test_auidockart03 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ auiframemanager_Tests.test_auiframemanager01 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ auiframemanager_Tests.test_auiframemanager03 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ auiframemanager_Tests.test_auiframemanager04 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ auiframemanager_Tests.test_auiframemanager05 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ auiframemanager_Tests.test_auiframemanager06 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ auiframemanager_Tests.test_auiframemanager07 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ auiframemanager_Tests.test_auiframemanager08 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ auiframemanager_Tests.test_auiframemanager10 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ auitabmdi_Tests.test_auitabmdi01 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ bannerwindow_Tests.test_bannerwindow2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ BitmapTests.test_BitmapCtor1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ BitmapTests.test_BitmapCtor2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ BitmapTests.test_BitmapCtor4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ BitmapTests.test_BitmapMask __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ BitmapTests.test_BitmapNullBitmap _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ BitmapTests.test_Bitmap__nonzero__ ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BitmapTests.test_EmptyBitmapFactory ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ BitmapTests.test_bitmapBufferFactory1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ BitmapTests.test_bitmapBufferFactory2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ BitmapTests.test_bitmapBufferFactory3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ BitmapTests.test_bitmapBufferFactory4 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ BitmapTests.test_bitmapCopyFromBuffer1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ BitmapTests.test_bitmapCopyFromBuffer2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ BitmapTests.test_bitmapCopyFromBuffer3 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BitmapTests.test_bitmapCopyToBuffer1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BitmapTests.test_bitmapCopyToBuffer3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BitmapTests.test_bitmapEmptyFactory1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BitmapTests.test_bitmapEmptyFactory2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ BitmapTests.test_bitmapFormatConstants ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ BitmapTests.test_bitmapHandle _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ BitmapTests.test_bitmapSetSize ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ BitmapButtonTests.test_BitmapButtonDefaultCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ bmpcbox_Tests.test_bmpcbox2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ panel_Tests.test_bookctrl2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ BrushTests.test_BrushCtors __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ BrushTests.test_BrushOperators ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ BrushTests.test_StockBrushesExist _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ BrushTests.test_StockBrushesInitialized ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ BrushTests.test_brushOldStyleNames ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ BrushTests.test_nonzero ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ busyinfo_Tests.test_busyinfo1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ busyinfo_Tests.test_busyinfo2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ ButtonTests.test_ButtonCtors _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ButtonTests.test_ButtonDefaultCtor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ButtonTests.test_ButtonProperties _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ calctrl_Tests.test_calctrl2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ calctrl_Tests.test_calctrl3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ calctrl_Tests.test_calctrl4 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ calctrl_Tests.test_calevt1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ calctrl_Tests.test_calevt2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ calctrl_Tests.test_genericcalctrl3 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ calctrl_Tests.test_genericcalctrl4 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ caret_Tests.test_caret1 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ caret_Tests.test_caret2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ checkbox_Tests.test_checkboxDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ CheckListBoxTests.test_CheckBoxCtors _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ CheckListBoxTests.test_pyMethods1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ CheckListBoxTests.test_pyMethods2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ CheckListBoxTests.test_pyProperties ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ choicdlg_Tests.test_choicdlgMulti _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ choicdlg_Tests.test_choicdlgSingleFunc ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ ChoiceTests.test_ChoiceCtors _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ChoiceTests.test_ChoiceDefaultCtor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ choicebk_Tests.test_choicebk1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ choicebk_Tests.test_choicebk3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ choicebk_Tests.test_choicebk4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ clipbrd_Tests.test_clipbrd1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ clntdatactnr_Tests.test_clntdatactnr1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ clntdatactnr_Tests.test_clntdatactnr2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ cmdproc_Tests.test_cmdproc1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ cmdproc_Tests.test_cmdproc2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ cmdproc_Tests.test_cmdproc3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ cmndata_tests.test_PD_PaperSize ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ cmndata_tests.test_nonzero __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ CollapsiblePaneTests.test_CollPaneDefaultCtor _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ CollapsiblePaneTests.test_CollPaneProperties _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ colordlg_Tests.test_colordlg1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ colordlg_Tests.test_colordlg2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Colour.test_ColourTypemaps __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________________ Colour.test_GetIM _______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ Colour.test_GetPixel _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_converters ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_copy_ctor _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ Colour.test_default_ctor ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_numpy_ctor ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ Colour.test_rgb_ctor _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_rgba_ctor _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_seq_ctor1 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Colour.test_seq_ctor2 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ combo_Tests.test_comboConstants ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ ComboBoxTests.test_ComboBoxCtors _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ ComboBoxTests.test_comboboxSetSelection ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ ComboBoxTests.test_comboboxTextSelection ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ commandlinkbutton_Tests.test_commandlinkbutton2 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ ConfigTests.test_Config3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ ConfigTests.test_Config4 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ ConfigTests.test_ConfigEnums _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ ControlTests.test_ControlCtors ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ ControlTests.test_ControlDefaultCtor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ cshelp_Tests.test_cshelp1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ CursorTests.test_CursorCtors _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ CursorTests.test_NullCursor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ CursorTests.test_StockCursorsExist ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ DataObjTests.test_BitmapDataObject ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ DataObjTests.test_CustomDataObject ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ DataObjTests.test_DataFormat _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ DataObjTests.test_DataObject _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ DataObjTests.test_DataObject2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ DataObjTests.test_DataObjectComposite _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ DataObjTests.test_DataObjectGetAllFormats ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ DataObjTests.test_DataObjectSimple1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ DataObjTests.test_DataObjectSimple2 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ DataObjTests.test_DataObjectSimple3 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ DataObjTests.test_FileDataObject _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ DataObjTests.test_HTMLDataObject _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ DataObjTests.test_TextDataObject _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ DataObjTests.test_TextDataObjectClipboard ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ DataObjTests.test_URLDataObject ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewColumn ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewConst _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewCtrl1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ dataview_Tests.test_dataviewEvt1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ dataview_Tests.test_dataviewEvt2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewIconText1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewIconText2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ dataview_Tests.test_dataviewIndexListModel2 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewItem1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewItem2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewItem3 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewItem5 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewItem6 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewItem7 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewItemAttr1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewItemAttr2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewListCtrl1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewListCtrl2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewModel1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dataview_Tests.test_dataviewModel2 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer01 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer02 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer03 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer04 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer05 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer07 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer08 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewRenderer12 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dataview_Tests.test_dataviewTreeCtrl1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ dataview_Tests.test_dataviewVirtualListModel1 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ dataview_Tests.test_dataviewVirtualModel2 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datectrl_Tests.test_datectrl1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datectrl_Tests.test_datectrl2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ datectrl_Tests.test_genericdatectrl1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ datectrl_Tests.test_genericdatectrl2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ dateevt_Tests.test_dateevt1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ dc_Tests.test_ConstantsExist _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ dc_Tests.test_DCBrushChanger _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ dc_Tests.test_DCClipper ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ dc_Tests.test_DCFontChanger __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dc_Tests.test_DCPenChanger __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dc_Tests.test_DCTextColourChanger _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dc_Tests.test_FontMetrics ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dc_Tests.test_NativeGTKHandle _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dc_Tests.test_NativeHandle __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dc_Tests.test_NativeMacHandle _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dc_Tests.test_NativeWinHandle _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dc_Tests.test_dcContextManager ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ dc_Tests.test_dcFullTextExtents ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dc_Tests.test_dcPointLists __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dc_Tests.test_trickyStuff ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dcDrawLists_Tests.test_dcDrawLineLists ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ dcDrawLists_Tests.test_dcDrawPloygonLists ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ dcDrawLists_Tests.test_dcDrawPointLists ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ BufferedDCTests.test_AutoBufferedPaintDC ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ BufferedDCTests.test_BufferedDCConstantsExist _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BufferedDCTests.test_BufferedDCCtors _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ BufferedDCTests.test_BufferedDCDefaultCtor __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ BufferedDCTests.test_BufferedPaintDC _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ ClientDCTests.test_ClientDC __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ dcgraph_tests.test_GCDC1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ dcgraph_tests.test_GCDC2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ dcgraph_tests.test_GCDC4 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ MemoryDCTests.test_MemoryDC2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ MemoryDCTests.test_MemoryDC3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ MirrorDCTests.test_MirrorDC1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ ScreenDCTests.test_ScreenDC1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ SvgDCTests.test_SvgDC1 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ deadobj_Tests.test_deadobjException ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ deadobj_Tests.test_deadobj__nonzero__2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ defs_Tests.test_constants1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ defs_Tests.test_constants2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dialog_Tests.test_dialog1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ dialog_Tests.test_dialog2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ dialog_Tests.test_dialogDefaultCtor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ dialog_Tests.test_dialogTextSizer _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dirctrl_Tests.test_dirctrlCtor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ dirctrl_Tests.test_dirctrlDefaultCtor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ dirctrl_Tests.test_dirctrlFlags ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ dirdlg_Tests.test_dirdlg ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ dnd_Tests.test_dnd1 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ dnd_Tests.test_dndDropSource _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dragimag_Tests.test_dragimag1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dragimag_Tests.test_dragimag2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dragimag_Tests.test_dragimag3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dragimag_Tests.test_dragimag4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ dragimag_Tests.test_dragimag6 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ dragimag_Tests.test_genericdragimag1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ dragimag_Tests.test_genericdragimag2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ dragimag_Tests.test_genericdragimag3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ dragimag_Tests.test_genericdragimag4 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ dragimag_Tests.test_genericdragimag5 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ dragimag_Tests.test_genericdragimag6 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ dtor_Tests.test_dtor _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ editlbox_Tests.test_editlbox1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ editlbox_Tests.test_editlbox2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ editlbox_Tests.test_editlbox3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ Events.test_ActivateEvent_ctor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ Events.test_ChildFocusEvent_ctor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ Events.test_ClientData1 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ Events.test_ClientData2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ Events.test_ClipboardTextEvent_ctor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_CloseEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ Events.test_CommandEvent_ctor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ Events.test_ContextMenuEvent_ctor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ Events.test_DisplayChangedEvent_ctor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ Events.test_DropFilesEvent_ctor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ Events.test_DropFilesEvent_tweaks _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_EraseEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_EventCategory ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ Events.test_Event_ctor ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_FocusEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_HelpEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ Events.test_IconizeEvent_ctor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_IdleEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ Events.test_InitDialogEvent_ctor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ Events.test_JoystickEvent_ctor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ Events.test_KeyEvent_GetUnicodeKey ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_KeyEvent_ctor ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ Events.test_MaximizeEvent_ctor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_MenuEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ Events.test_MouseCaptureChangedEvent_ctor ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ Events.test_MouseCaptureLostEvent_ctor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_MouseEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_MoveEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ Events.test_NavigationKeyEvent_ctor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_NotifyEvent_ctor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ Events.test_PaletteChangedEvent_ctor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ Events.test_QueryNewPaletteEvent_ctor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_ScrollEvent_ctor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ Events.test_ScrollWinEvent_ctor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_ShowEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ Events.test_SizeEvent_ctor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ Events.test_SysColourChangedEvent_ctor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ Events.test_WindowDestroyEvent_ctor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_eventUnbinding1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_eventUnbinding2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ Events.test_eventUnbinding3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ Events.test_evtHandlerSubclass ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ eventfilter_Tests.test_EventFilter_ctor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ eventfilter_Tests.test_EventFilter_subclass __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ fdrepdlg_Tests.test_fdrepdlgConstants _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ fdrepdlg_Tests.test_fdrepdlgDlg ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ filectrl_Tests.test_filectrl1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ filectrl_Tests.test_filectrl2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ filectrl_Tests.test_filectrl3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ filectrl_Tests.test_filectrl4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ filectrl_Tests.test_filectrl5 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ filedlg_Tests.test_filedlg __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ filedlg_Tests.test_filedlgFlags ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ filedlg_Tests.test_filedlgProperties _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ filedlg_Tests.test_filedlgTweaks _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ filehistory_Tests.test_filehistory1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ filehistory_Tests.test_filehistory2 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ filesys_Tests.test_filesys02 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ filesys_Tests.test_filesys03 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ filesys_Tests.test_filesys04 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ filesys_Tests.test_filesysClasses _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ filesys_Tests.test_filesysMemoryFSHandler ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ font_Tests.test_font _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ font_Tests.test_fontEquality _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ font_Tests.test_fontFixedWidth ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ font_Tests.test_fontFlags ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ font_Tests.test_fontFlagsOld _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ font_Tests.test_fontFontinfo1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ font_Tests.test_fontFontinfo2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ font_Tests.test_fontOk ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ font_Tests.test_fontOldStyleNames _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ font_Tests.test_fontProperties ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ font_Tests.test_stockFonts __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ fontdlg_Tests.test_fontdlg1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ fontenum_Tests.test_fontenum2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ fontenum_Tests.test_fontenum3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ fontmap_Tests.test_fontmap1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ fontmap_Tests.test_fontmap2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ fontmap_Tests.test_fontmap3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ fontutil_Tests.test_fontutil _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ frame_Tests.test_frameCtors __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ frame_Tests.test_frameProperties _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ frame_Tests.test_frameStyles _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ frame_Tests.test_frameTopLevelTweaks _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ fswatcher_Tests.test_fswatcher1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ gauge_Tests.test_gauge ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gauge_Tests.test_gaugeProperties _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ gbsizer_Tests.test_GetIM_position _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ gbsizer_Tests.test_GetIM_span _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gbsizer_Tests.test_gbsizer_pos1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gbsizer_Tests.test_gbsizer_pos2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gbsizer_Tests.test_gbsizer_pos3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gbsizer_Tests.test_gbsizer_pos4 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ gbsizer_Tests.test_gbsizer_sizer1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ gbsizer_Tests.test_gbsizer_sizer2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ gbsizer_Tests.test_gbsizer_sizer3 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gbsizer_Tests.test_gbsizer_span1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gbsizer_Tests.test_gbsizer_span2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gbsizer_Tests.test_gbsizer_span3 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ gbsizer_Tests.test_gbsizer_span4 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ intersectRect_Tests.test_intersectRect01 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ graphics_Tests.test_gcCreate1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ graphics_Tests.test_gcCreate2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ graphics_Tests.test_gcCreate4 _________________________ self = def test_gcCreate4(self): class MyPanel(wx.Panel): def __init__(self, parent): super(MyPanel, self).__init__(parent) self.SetBackgroundStyle(wx.BG_STYLE_PAINT) self.Bind(wx.EVT_PAINT, self.OnPaint) self.painted = False self.gcIsOk = False def OnPaint(self, evt): dc = wx.AutoBufferedPaintDC(self) gc = wx.GraphicsContext.Create(dc) self.gcIsOk = gc.IsOk() self.painted = True panel = MyPanel(self.frame) self.myUpdate(panel) > self.assertTrue(panel.painted) E AssertionError: False is not true unittests/test_graphics.py:43: AssertionError ______________________ graphics_Tests.test_gcCreateBitmap ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ graphics_Tests.test_gcCreateFont _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ graphics_Tests.test_gcCreateMatrix ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ graphics_Tests.test_gcCreatePath _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ graphics_Tests.test_gcCreatePen ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ graphics_Tests.test_gcDrawLines ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ graphics_Tests.test_gcGradientStops ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ graphics_Tests.test_gcNullObjects _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ graphics_Tests.test_gcStrokeLines1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ graphics_Tests.test_gcStrokeLines3 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ graphics_Tests.test_gcTextExtents _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_GetIM _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid00 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid01 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid02 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid03 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid04 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid05 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid06 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid07 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid08 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid09 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid10 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid11 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid12 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid13 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid14 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid15 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid16 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid17 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ grid_Tests.test_grid17a ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid18 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ grid_Tests.test_grid18a ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid19 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid22 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid23 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid24 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid27 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid28 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid29 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid30 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid32 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid33 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid34 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid35 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid36 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid37 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid38 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid39 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid40 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid41 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid42 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid43 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid44 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ grid_Tests.test_grid45 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ headercol_Tests.test_headercolAbsClass1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ headercol_Tests.test_headercolAbsClass2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ headercol_Tests.test_headercolConstants ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ headercol_Tests.test_headercolCtor1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ headercol_Tests.test_headercolCtor2 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ headercol_Tests.test_headercolProperties ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ headerctrl_Tests.test_headerctrl1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ headerctrl_Tests.test_headerctrl2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ headerctrl_Tests.test_headerctrl3 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ headerctrl_Tests.test_headerctrl4 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ help_Tests.test_help1 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ helpdata_Tests.test_helpdata1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ helpdata_Tests.test_helpdata2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ helpdata_Tests.test_helpdata3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ helpext_Tests.test_helpext1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ helpfrm_Tests.test_helpfrm1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell5 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell6 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell7 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell8 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlcell_Tests.test_htmlcell9 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmldefs_Tests.test_htmldefs1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmllbox_Tests.test_htmllbox1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmllbox_Tests.test_htmllbox2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ htmlpars_Tests.test_htmlpars1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ htmlprint_Tests.test_htmlprint1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ htmlprint_Tests.test_htmlprint2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ htmlprint_Tests.test_htmlprint3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ htmlwin_Tests.test_htmlwin1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ htmlwin_Tests.test_htmlwin2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ htmlwin_Tests.test_htmlwin3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ htmlwin_Tests.test_htmlwin5 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ htmlwin_Tests.test_htmlwin6 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ htmlwinpars_Tests.test_htmlwinpars1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ hyperlink_Tests.test_hyperlink1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ hyperlink_Tests.test_hyperlink2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ hyperlink_Tests.test_hyperlink3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ icon_Tests.test_icon1 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ icon_Tests.test_icon2 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ iconbndl_Tests.test_iconbndl1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ iconbndl_Tests.test_iconbndl2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ iconbndl_Tests.test_iconbndl3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ iconloc_Tests.test_iconloc1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ iconloc_Tests.test_iconloc2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor4 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor4b _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor4c _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor5 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor5b _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor6 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor7 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor8 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageCtor9 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ image_Tests.test_imageGetAlpha ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ image_Tests.test_imageGetAlphaDataBuffer ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ image_Tests.test_imageGetDataBuffer ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ image_Tests.test_imageHandlerDerivation ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ image_Tests.test_imageHandlerStandardDerivations _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ image_Tests.test_imageMethodChain _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ image_Tests.test_imageNestedClasses ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ image_Tests.test_imageOtherStuff _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ image_Tests.test_imageProperties _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ image_Tests.test_imageRGBHSV _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ image_Tests.test_imageSetAlpha1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ image_Tests.test_imageSetData1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ image_Tests.test_imageSetDataBuffer1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ image_Tests.test_imageSetDataBuffer2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ image_Tests.test_imaglist ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ image_Tests.test_imaglistConstants ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ infobar_Tests.test_infobar1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ infobar_Tests.test_infobar2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ infobar_Tests.test_infobarCtor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ intl_Tests.test_intlGetString _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ intl_Tests.test_intlLanguageInfo _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ intl_Tests.test_intlLocale __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ layout_Tests.test_layout ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ laywin_Tests.test_laywin1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ laywin_Tests.test_laywin2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ laywin_Tests.test_laywin3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ laywin_Tests.test_laywin4 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ laywin_Tests.test_laywin5 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_advancedsplash_Tests.test_lib_agw_advancedsplashConstantsExist ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_advancedsplash_Tests.test_lib_agw_advancedsplashCtor _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_aquabutton_Tests.test_lib_agw_aquabuttonCtor _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_aquabutton_Tests.test_lib_agw_aquabuttonMethods ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ lib_agw_aui_Tests.test_lib_agw_auiCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_aui_additional_Tests.test_lib_agw_auiEvents ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_aui_additional_Tests.test_lib_agw_aui_ToolbarCtor ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_agw_aui_dockart_Tests.test_lib_agw_aui_dockartCtor ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_aui_tabart_Tests.test_lib_agw_aui_tabartCtor _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_aui_utilities_Tests.test_lib_agw_aui_utilititiesCtor _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_agw_balloontip_Tests.test_lib_agw_balloontipConstantsExist ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_balloontip_Tests.test_lib_agw_balloontipCtor _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_balloontip_Tests.test_lib_agw_balloontipMethods ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_buttonpanel_Tests.test_lib_agw_buttonpanelConstantsExist _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_agw_buttonpanel_Tests.test_lib_agw_buttonpanelCtor ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_buttonpanel_Tests.test_lib_agw_buttonpanelMethods ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_cubecolourdialog_Tests.test_lib_agw_cubecolourdialogMethods ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlCtor _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlEventsExist ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlGetSelections _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlItemCheck _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlSetWindow _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlTreeItemData _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_customtreectrl_Tests.test_lib_agw_customtreectrlTreeItemPyData ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ lib_agw_flatmenu_Tests.test_lib_agw_flatmenuCtor _______________ self = def setUp(self): ''' Monkey patch some methods which don't behave well without a MainLoop. We could restore them in tearDown, but there's no need because self.frame will be destroyed in tearDown. ''' > super(lib_agw_flatmenu_Tests, self).setUp() unittests/test_lib_agw_flatmenu.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_flatnotebook_Tests.test_lib_agw_flatnotebookCtor ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_flatnotebook_Tests.test_lib_agw_flatnotebookDeletePages ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_flatnotebook_Tests.test_lib_agw_flatnotebookMethods __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_agw_flatnotebook_Tests.test_lib_agw_flatnotebookTabStyles _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_floatspin_Tests.test_lib_agw_floatspinConstantsExist _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_floatspin_Tests.test_lib_agw_floatspinCtor ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_floatspin_Tests.test_lib_agw_floatspinEvents _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_floatspin_Tests.test_lib_agw_floatspin_fixedpoint ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_agw_foldpanelbar_Tests.test_lib_agw_foldpanelbarConstantsExist ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_foldpanelbar_Tests.test_lib_agw_foldpanelbarCtor ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_foldpanelbar_Tests.test_lib_agw_foldpanelbarMethods __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___ lib_agw_fourwaysplitter_Tests.test_lib_agw_fourwaysplitterConstantsExist ___ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_agw_fourwaysplitter_Tests.test_lib_agw_fourwaysplitterCtor ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_fourwaysplitter_Tests.test_lib_agw_fourwaysplitterEvents _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_agw_fourwaysplitter_Tests.test_lib_agw_fourwaysplitterMethods _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _ lib_agw_genericmessagedialog_Tests.test_lib_agw_genericmessagedialogMethods __ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_gradientbutton_Tests.test_lib_agw_gradientbuttonCtor _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_gradientbutton_Tests.test_lib_agw_gradientbuttonMethods ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_hyperlink_Tests.test_lib_agw_hyperlinkCtor ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_hyperlink_Tests.test_lib_agw_hyperlinkEvents _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_agw_hyperlink_Tests.test_lib_agw_hyperlinkMethods _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_hypertreelist_Tests.test_lib_agw_hypertreelistCtor __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_hypertreelist_Tests.test_lib_agw_hypertreelistEvents _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_agw_hypertreelist_Tests.test_lib_agw_hypertreelistTreeItem ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ lib_agw_infobar_Tests.test_lib_agw_infobar1 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ lib_agw_infobar_Tests.test_lib_agw_infobar2 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_agw_infobar_Tests.test_lib_agw_infobarCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_knobctrl_Tests.test_lib_agw_knobctrlConstantsExist __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_knobctrl_Tests.test_lib_agw_knobctrlEvents ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_knobctrl_Tests.test_lib_agw_knobctrlMethods ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_labelbook_Tests.test_lib_agw_labelbookConstantsExist _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_labelbook_Tests.test_lib_agw_labelbookCtor ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_labelbook_Tests.test_lib_agw_labelbookDeletePages ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_labelbook_Tests.test_lib_agw_labelbookEvents _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_labelbook_Tests.test_lib_agw_labelbookPages ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_labelbook_Tests.test_lib_agw_labelbookTabPosition ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_multidirdialog_Tests.test_lib_agw_multidirdialogConstantsExist ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_multidirdialog_Tests.test_lib_agw_multidirdialogCtor _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_multidirdialog_Tests.test_lib_agw_multidirdialogMethods ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_peakmeter_Tests.test_lib_agw_peakmeterConstantsExist _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_peakmeter_Tests.test_lib_agw_peakmeterCtor ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_agw_peakmeter_Tests.test_lib_agw_peakmeterMethods _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused lib_agw_persist_persistencemanager_Tests.test_persistencemanagerConstantsExist self = def setUp(self): > super(lib_agw_persist_persistencemanager_Tests, self).setUp() unittests/test_lib_agw_persist_persistencemanager.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_persist_persistencemanager_Tests.test_persistencemanagerCtor _____ self = def setUp(self): > super(lib_agw_persist_persistencemanager_Tests, self).setUp() unittests/test_lib_agw_persist_persistencemanager.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _ lib_agw_persist_persistencemanager_Tests.test_persistencemanagerPersistValue _ self = def setUp(self): > super(lib_agw_persist_persistencemanager_Tests, self).setUp() unittests/test_lib_agw_persist_persistencemanager.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___ lib_agw_persist_persistencemanager_Tests.test_persistencemanagerRestore ____ self = def setUp(self): > super(lib_agw_persist_persistencemanager_Tests, self).setUp() unittests/test_lib_agw_persist_persistencemanager.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _ lib_agw_persist_persistencemanager_Tests.test_persistencemanagerZZZZCleanup __ self = def setUp(self): > super(lib_agw_persist_persistencemanager_Tests, self).setUp() unittests/test_lib_agw_persist_persistencemanager.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_agw_piectrl_Tests.test_lib_agw_piectrlCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_piectrl_Tests.test_lib_agw_piectrlMethods _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_pybusyinfo_Tests.test_lib_agw_pybusyinfoCtor _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _ lib_agw_pycollapsiblepane_Tests.test_lib_agw_pycollapsiblepaneConstantsExist _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_pycollapsiblepane_Tests.test_lib_agw_pycollapsiblepaneEvents _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_pycollapsiblepane_Tests.test_lib_agw_pycollapsiblepaneMethods _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_agw_pygauge_Tests.test_lib_agw_pygaugeCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_pygauge_Tests.test_lib_agw_pygaugeMethods _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_agw_pyprogress_Tests.test_lib_agw_pyprogressConstantsExists ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_pyprogress_Tests.test_lib_agw_pyprogressCtor _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_pyprogress_Tests.test_lib_agw_pyprogressMethods ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_ribbon_Tests.test_lib_agw_pyprogressConstantsExists __________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_ribbon_Tests.test_lib_agw_ribbonArtProviders _____________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_ribbon_Tests.test_lib_agw_ribbonControlCtor ______________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ lib_agw_ribbon_Tests.test_lib_agw_ribbonCtor _________________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_agw_ribbon_Tests.test_lib_agw_ribbonEvents ________________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_ribbon_Tests.test_lib_agw_ribbonGalleryCtor ______________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ lib_agw_ribbon_Tests.test_lib_agw_ribbonPageCtor _______________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_ribbon_Tests.test_lib_agw_ribbonPanelCtor _______________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_agw_ribbon_Tests.test_lib_agw_ribbonStyles ________________ self = def setUp(self): > super(lib_agw_ribbon_Tests, self).setUp() unittests/test_lib_agw_ribbonbar.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_agw_rulerctrl_Tests.test_lib_agw_rulerctrlCtor ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_rulerctrl_Tests.test_lib_agw_rulerctrlEvents _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_shortcuteditor_Tests.test_lib_agw_rulerctrlCtor ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_agw_speedmeter_Tests.test_lib_agw_peakmeterConstantsExist _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________ lib_agw_speedmeter_Tests.test_lib_agw_speedmeterCtor _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_speedmeter_Tests.test_lib_agw_speedmeterMethods ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_speedmeter_Tests.test_lib_agw_speedmeterSizerLayout __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________ lib_agw_supertooltip_Tests.test_lib_agw_supertooltipCtor ___________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________ lib_agw_thumbnailctrl_Tests.test_lib_agw_thumbnailctrlCtor __________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________ lib_agw_thumbnailctrl_Tests.test_lib_agw_thumbnailctrlEvents _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_ultimatelistctrl_Tests.test_lib_agw_ultimatelistctrlCtorIcon _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_agw_ultimatelistctrl_Tests.test_lib_agw_ultimatelistctrlCtorList _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____ lib_agw_ultimatelistctrl_Tests.test_lib_agw_ultimatelistctrlCtorReport ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___ lib_agw_ultimatelistctrl_Tests.test_lib_agw_ultimatelistctrlCtorVirtual ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_agw_ultimatelistctrl_Tests.test_lib_agw_ultimatelistctrlEvents ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_agw_xlsgrid_Tests.test_lib_agw_xlsgridCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_agw_zoombar_Tests.test_lib_agw_thumbnailctrlEvents ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_agw_zoombar_Tests.test_lib_agw_zoombarCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ lib_busy_Tests.test_lib_busy1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ lib_busy_Tests.test_lib_busy2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ lib_busy_Tests.test_lib_busy3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ lib_busy_Tests.test_lib_busy4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ lib_busy_Tests.test_lib_busy5 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_calendar_Tests.test_lib_calendar_CalenDlgCtor _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ lib_calendar_Tests.test_lib_calendar_CalendarCtor _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ lib_cdate_Tests.test_lib_cdate_DateCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ lib_cdate_Tests.test_lib_cdate_Dayofweek ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ lib_cdate_Tests.test_lib_cdate_IsleapFalse __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ lib_cdate_Tests.test_lib_cdate_IsleapTrue ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ lib_cdate_Tests.test_lib_cdate_Julianday ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ lib_cdate_Tests.test_lib_cdate_NowCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ lib_colourdb_Tests.test_lib_colourdb1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ lib_expando_Tests.test_lib_expando1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ lib_fancytext_Tests.test_lib_fancytext_DateCtor ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ lib_fancytext_Tests.test_lib_fancytext_Methods ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ testCreator.testArrayConstruction _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testCreator.testCreates ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testCreator.testDataType ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testCreator.testMinMax ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testCreator.testMinMax2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testCreator.testMinMax3 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testCreator.testMinMax4 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testCreator.testShape _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testCreator.testShape2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testCreator.testShape3 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testCreator.testType _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testAsBBox.testPassArray ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testAsBBox.testPassArray2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testAsBBox.testPassThrough __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testAsBBox.testPassThrough2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testIntersect.testBelow ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testIntersect.testCorner ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testIntersect.testInside ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testIntersect.testLeft ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testIntersect.testLowerLeft __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testIntersect.testLowerRight _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testIntersect.testSame ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testIntersect.testTouch ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testIntersect.testUpperLeft __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testIntersect.testUpperRight _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testIntersect.testZeroSize __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testIntersect.testZeroSize2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testIntersect.testZeroSize3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testIntersect.testZeroSize4 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testEquality.testIdentical __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testEquality.testNotSame ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testEquality.testSame _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testEquality.testWithArray __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testEquality.testWithArray2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testInside.testAbove _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testInside.testPointOutside __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testInside.testRight _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testInside.testSame ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testPointInside.testAbove ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testPointInside.testLeft ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testPointInside.testLowerLeft _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testPointInside.testLowerRight ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testPointInside.testPointIn __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ testPointInside.testPointOnBottomRight ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ testPointInside.testPointOnLeft ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ testPointInside.testPointOnTopLine ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testPointInside.testUpperLeft _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testPointInside.testUpperRight ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testFromPoints.testCreate ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testFromPoints.testCreateInts _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testFromPoints.testListTuples _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ testFromPoints.testSinglePoint ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testMerge.testDownLeft ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testMerge.testInside _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testWidthHeight.testSetH ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testWidthHeight.testWidth ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testCenter.testSetCenter ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testBBarray.testJoin _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testNullBBox.testEquals ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testNullBBox.testIsNull ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testNullBBox.testMerge ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testNullBBox.testNotEquals __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ testNullBBox.testNotEquals2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testNullBBox.testOverlaps ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testNullBBox.testOverlaps2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testNullBBox.testValues ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testInfBBox.testEquals ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testInfBBox.testMerge2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testNotEquals ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testNotEquals2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ testInfBBox.testOverlaps ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testOverlaps2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testOverlaps3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testOverlaps4 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ testInfBBox.testOverlaps5 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ testInfBBox.testValues ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ testSides.testBottom _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________________ testSides.testLeft ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________________ testSides.testTop _______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_arc _________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_arrow ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_arrowline ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_bitmap _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_circle _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_line ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_point ________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_pointset ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_polygon _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_rectangle ______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_recteclips _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_scaledbitmap2 ____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_scaledtext _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_fc_spline _______ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_floatcanvasEvents ___ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____ lib_floatcanvas_floatcanvas_Tests.test_lib_floatcanvas_navcanvasCtor _____ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ lib_gizmos_ledctrl_Tests.test_normalCtor ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ imagebrowser_Tests.test_imagebrowserDlg ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ imagebrowser_Tests.test_imagebrowserDlgChangeTypes ______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ imagebrowser_Tests.test_imagebrowserDlgGetters ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ lib_imageutils_Tests.test_lib_imageutils1 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ IntCtrlTests.test_canSetValueToNone ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ IntCtrlTests.test_intctrlCtor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ langlistctrl_Tests.test_langlistctrlCtor ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ MaskedComboBoxTests.test_ComboBoxCtors ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ MaskedTextCtrlTests.test_textctrlProperties __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ MaskedNumCtrlTests.test_numctrlCtor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ MaskedNumCtrlTests.test_numctrlProperties ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ MaskedTimeCtrlTests.test_timectrlCtor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ MaskedTimeCtrlTests.test_timectrlIsValid ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ MaskedIpAddrCtrlTests.test_ipaddrctrlCtor ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ MaskedIpAddrCtrlTests.test_ipaddrctrlProperties ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ wit_TestCase.test_App _____________________________ self = def test_App(self): > app = wit.InspectableApp() unittests/test_lib_mixins_inspection.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = redirect = False, filename = None, useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ wit_TestCase.test_App_OnInit _________________________ self = def test_App_OnInit(self): class MyApp(wit.InspectableApp): def OnInit(self): self.onInit_called = True self.ShowInspectionTool() return True > app = MyApp() unittests/test_lib_mixins_inspection.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .MyApp object at 0xffff75352798> redirect = False, filename = None, useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ lib_ogl_Tests.test_lib_oglCircle _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ lib_ogl_Tests.test_lib_oglCompositeShape ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ lib_ogl_Tests.test_lib_oglEllipseShape ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ lib_ogl_Tests.test_lib_oglLineShape ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ lib_ogl_Tests.test_lib_oglPolygonShape ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ lib_ogl_Tests.test_lib_oglRectangle ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ lib_ogl_Tests.test_lib_oglTextShape ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ lib_ogl_Tests.test_lib_ogl_Constants _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_plot_PlotCanvas_Tests.test_lib_plot_plotcanvasCtor ____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________ lib_plot_Tests.test_lib_plot_tempstyle_contextmanager _____________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ lib_plot_Tests.test_lib_plot_tempstyle_decorator _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ lib_pubsub_Except.test1 ____________________________ self = def test1(self): self.pub.addTopicDefnProvider(my_topics, self.pub.TOPIC_TREE_FROM_CLASS) provString = """ class rootTopic1: class subtopic_1: class subsubtopic_11: ''' Sub sub topic 1 of sub topic 1. Only need to doc the extra args. ''' def msgDataSpec(arg1, arg3, arg2=None, arg4=None): ''' - arg3: doc for arg3 - arg4: doc for arg4 ''' pass """ self.pub.addTopicDefnProvider(provString, > format=self.pub.TOPIC_TREE_FROM_STRING) unittests/test_lib_pubsub_provider.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicmgr.py:116: in addDefnProvider provider = TopicDefnProvider(source, format or TOPIC_TREE_FROM_MODULE) build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicdefnprovider.py:349: in __init__ provider.doneIter() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def doneIter(self): self.__modDeserial.doneIter() # remove the temporary module and its compiled version (*.pyc) os.remove(self.__filename) try: # py3.2+ uses special folder/filename for .pyc files from imp import cache_from_source > os.remove(cache_from_source(self.__filename)) E FileNotFoundError: [Errno 2] No such file or directory: '/build/wxpython4.0-4.0.4+dfsg/__pycache__/tmp_export_topics_s2hqghuf.cpython-37.pyc' build/lib.linux-arm64-3.7/wx/lib/pubsub/core/topicdefnprovider.py:301: FileNotFoundError _________________ lib_resizewidget_Tests.test_lib_resizewidget _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ sizedFrame_Tests.test_frameStyles _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizedDialog_Tests.test_dialog1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ splitter_Tests.test_splitterCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ splitter_Tests.test_splitterMulti _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ lib_statbmp_Tests.test_lib_statbmp1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ lib_stattext_Tests.test_lib_stattext1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ lib_throbber_Tests.test_lib_throbber _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ lib_ticker_Tests.test_lib_ticker _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ listbook_Tests.test_listbook2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ listbook_Tests.test_listbook3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ listbox_Tests.test_ComboBoxDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ listctrl_Tests.test_listctrlConstants _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ listctrl_Tests.test_listctrlDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ listctrl_Tests.test_listctrlItemData01 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ listctrl_Tests.test_listctrlItemData02 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________________ log_Tests.test_log ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mdi_Tests.test_mdiClientWindow ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mdi_Tests.test_mdiParentFrame1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mdi_Tests.test_mdiParentFrame2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ mediactrl_Tests.test_mediactrl2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ mediactrl_Tests.test_mediactrl3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ mediactrl_Tests.test_mediactrl4 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ mediactrl_Tests.test_mediactrl5 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ menu_Tests.test_menu1 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ menu_Tests.test_menu3 _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ menu_Tests.test_menuBar1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ menu_Tests.test_menuBar2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ menu_Tests.test_menuBar3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ menuitem_Tests.test_menuitemKinds _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ mimetype_Tests.test_mimetype5 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ minifram_Tests.test_minifram1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ modalhook_Tests.test_modalhook1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ msgdlg_Tests.test_gmsgdlg1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ msgdlg_Tests.test_gmsgdlg3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ msgdlg_Tests.test_msgdlg1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ msgdlg_Tests.test_msgdlg2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ msgdlg_Tests.test_msgdlg3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ msgdlg_Tests.test_msgdlgIconConstants _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ msgdlg_Tests.test_msgdlgLabels1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ msgdlg_Tests.test_msgdlgLabels2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ msgdlg_Tests.test_msgdlgProperties ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ TestMustHaveApp.test_mustHaveApp1 _______________________ self = def test_mustHaveApp1(self): """Create App and then create a frame""" > app = wx.App() unittests/test_mustHaveApp.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ notebook_Tests.test_notebookCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ notebook_Tests.test_notebookDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ notebook_Tests.test_notebookEventTypes ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ odcombo_Tests.test_odcombo1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ odcombo_Tests.test_odcombo2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ overlay_Tests.test_overlay1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ palette_Tests.test_nullPalette ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ palette_Tests.test_paletteCreate1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ palette_Tests.test_paletteCreate2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ palette_Tests.test_paletteCtor1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ palette_Tests.test_paletteCtor2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ palette_Tests.test_paletteCtor3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ palette_Tests.test_paletteCtor4 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ panel_Tests.test_panelCtor __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ panel_Tests.test_panelDefaultCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ pen_Tests.test_penConstants __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ pen_Tests.test_penCtor2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ pen_Tests.test_penCtor3 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ pen_Tests.test_penNonzero ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ pen_Tests.test_penNull ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ pen_Tests.test_penStock ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant4 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant5 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant6 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant8 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ pgvariant_Tests.test_pgvariant9 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ PIImportTest.test_adv_pi ___________________________ self = def test_adv_pi(self): > self.runPI('adv.pyi') unittests/test_pi_import.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "adv.pyi", line 28, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' ________________________ PIImportTest.test_dataview_pi _________________________ self = def test_dataview_pi(self): > self.runPI('dataview.pyi') unittests/test_pi_import.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "dataview.pyi", line 27, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' ________________________ PIImportTest.test_glcanvas_pi _________________________ self = def test_glcanvas_pi(self): > self.runPI('glcanvas.pyi') unittests/test_pi_import.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "glcanvas.pyi", line 25, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' __________________________ PIImportTest.test_html2_pi __________________________ self = def test_html2_pi(self): > self.runPI('html2.pyi') unittests/test_pi_import.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "html2.pyi", line 30, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' __________________________ PIImportTest.test_html_pi ___________________________ self = def test_html_pi(self): > self.runPI('html.pyi') unittests/test_pi_import.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "html.pyi", line 33, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' __________________________ PIImportTest.test_media_pi __________________________ self = def test_media_pi(self): > self.runPI('media.pyi') unittests/test_pi_import.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "media.pyi", line 28, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' ________________________ PIImportTest.test_propgrid_pi _________________________ self = def test_propgrid_pi(self): > self.runPI('propgrid.pyi') unittests/test_pi_import.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "propgrid.pyi", line 21, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' _________________________ PIImportTest.test_ribbon_pi __________________________ self = def test_ribbon_pi(self): > self.runPI('ribbon.pyi') unittests/test_pi_import.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "ribbon.pyi", line 29, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' ________________________ PIImportTest.test_richtext_pi _________________________ self = def test_richtext_pi(self): > self.runPI('richtext.pyi') unittests/test_pi_import.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "richtext.pyi", line 31, in \n import wx.xml\nModuleNotFoundError: No module named \'wx\'\n' ___________________________ PIImportTest.test_stc_pi ___________________________ self = def test_stc_pi(self): > self.runPI('stc.pyi') unittests/test_pi_import.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "stc.pyi", line 27, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' ___________________________ PIImportTest.test_xml_pi ___________________________ self = def test_xml_pi(self): > self.runPI('xml.pyi') unittests/test_pi_import.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "xml.pyi", line 28, in \n import wx\nModuleNotFoundError: No module named \'wx\'\n' ___________________________ PIImportTest.test_xrc_pi ___________________________ self = def test_xrc_pi(self): > self.runPI('xrc.pyi') unittests/test_pi_import.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/test_pi_import.py:32: in runPI self.assertEqual(sp.returncode, 0, stdout) E AssertionError: 1 != 0 : b'Traceback (most recent call last):\n File "xrc.pyi", line 24, in \n import wx.xml\nModuleNotFoundError: No module named \'wx\'\n' _______________________ pickers_Tests.test_pickersColour _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ pickers_Tests.test_pickersColourConstants ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pickers_Tests.test_pickersDir _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pickers_Tests.test_pickersFile ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ pickers_Tests.test_pickersFileConstants ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pickers_Tests.test_pickersFont ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ pickers_Tests.test_pickersFontConstatnt ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ platinfo_Tests.test_platinfo _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ platinfo_Tests.test_platinfoProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ popupwin_Tests.test_popupwinCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ position_Tests.test_GetIM ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ position_Tests.test_positionCopyCtor _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ position_Tests.test_positionCtors _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ position_Tests.test_positionMath1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ position_Tests.test_positionProperties1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ position_Tests.test_positionProperties2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ preferences_Tests.test_preferences1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ printfw_Tests.test_printfw1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ printfw_Tests.test_printfw2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ process_Tests.test_process1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ process_Tests.test_process2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ progdlg_Tests.test_progdlg1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ propdlg_Tests.test_propdlg1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ propdlg_Tests.test_propgrid2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ propdlg_Tests.test_propgrid3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ propdlg_Tests.test_propgrid4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ propgrid_Tests.test_propgrid02 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ propgrid_Tests.test_propgrid03 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops01 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops02 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops03 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops07 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops08 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops09 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ propgridadvprops_Tests.test_propgridadvprops10 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ propgriddefs_Tests.test_propgriddefs1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors01 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors03 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors04 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors05 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors06 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors07 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors08 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors09 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors10 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ propgrideditors_Tests.test_propgrideditors11 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridiface_Tests.test_propgridiface02 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridiface_Tests.test_propgridiface03 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ propgridpagestate_Tests.test_propgridpagestate01 _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ propgridpagestate_Tests.test_propgridpagestate02 _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ propgridpagestate_Tests.test_propgridpagestate03 _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ propgridpagestate_Tests.test_propgridpagestate04 _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty01 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty02 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty03 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty04 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty06 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty08 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty09 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ property_Tests.test_propgridproperty11 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops02 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops03 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops04 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops05 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops06 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops07 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops08 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops09 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops10 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops11 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops12 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ propgridprops_Tests.test_propgridprops18 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc01 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc02 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc03 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc04 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc05 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc06 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ pseudodc_Tests.test_pseudodc09 ________________________ self = def setUp(self): > super(pseudodc_Tests, self).setUp() unittests/test_pseudodc.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ SendingPyEvents.test_PyCommandEventDerivedClone ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ SendingPyEvents.test_PyEventDerivedClone ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ SendingPyEvents.test_PyEventDerivedPostEvent _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ SendingPyEvents.test_PyEventDerivedProcessEvent ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ radiobox_Tests.test_radioboxCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ radiobox_Tests.test_radioboxDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ radiobox_Tests.test_radioboxTweaks ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ radiobut_Tests.test_radiobutDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ rawbmp_Tests.test_rawbmp1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ rearrangectrl_Tests.test_rearrangectrl1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ rearrangectrl_Tests.test_rearrangectrl3 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ rearrangectrl_Tests.test_rearrangectrl5 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ rearrangectrl_Tests.test_rearrangectrl6 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ region_Tests.test_regionIterator1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ region_Tests.test_regionIterator2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ region_Tests.test_regionOtherRandomStuff ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ renderer_Tests.test_renderer1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ renderer_Tests.test_renderer2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_art_Tests.test_ribbon_art1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_art_Tests.test_ribbon_art3 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_art_Tests.test_ribbon_art4 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_art_Tests.test_ribbon_art5 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_art_Tests.test_ribbon_art6 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_art_Tests.test_ribbon_art7 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_bar_Tests.test_ribbon_bar1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_bar_Tests.test_ribbon_bar2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_bar_Tests.test_ribbon_bar3 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_bar_Tests.test_ribbon_bar4 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ ribbon_bar_Tests.test_ribbon_bar5 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ ribbon_buttonbar_Tests.test_ribbon_buttonbar1 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ ribbon_buttonbar_Tests.test_ribbon_buttonbar2 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ ribbon_buttonbar_Tests.test_ribbon_buttonbar4 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_control_Tests.test_ribbon_control2 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery2 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery3 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery4 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery5 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery6 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_gallery_Tests.test_ribbon_gallery7 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ ribbon_page_Tests.test_ribbon_page1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ ribbon_page_Tests.test_ribbon_page2 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ ribbon_panel_Tests.test_ribbon_panel3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ ribbon_panel_Tests.test_ribbon_panel4 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_toolbar_Tests.test_ribbon_toolbar1 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_toolbar_Tests.test_ribbon_toolbar2 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ ribbon_toolbar_Tests.test_ribbon_toolbar4 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ richmsgdlg_Tests.test_richmsgdlg1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ richtextbuffer_Tests.test_GetIM ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer01 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer02 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer03 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer05 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer06 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer07 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer10 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer11 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer13 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ richtextbuffer_Tests.test_richtextbuffer14a __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ richtextbuffer_Tests.test_richtextbuffer14c __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ richtextbuffer_Tests.test_richtextbuffer14d __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer15 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer16 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer17 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer20 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer21 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer22 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer23 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer24 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer25 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer26 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer27 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer28 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer29 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer30 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer31 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer32 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer33 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer36 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer38 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextbuffer_Tests.test_richtextbuffer39 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl4 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtextctrl_Tests.test_richtextctrl8 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ richtextformatdlg_Tests.test_richtextformatdlg1 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ richtextformatdlg_Tests.test_richtextformatdlg2 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ richtexthtml_Tests.test_richtexthtml1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ richtextprint_Tests.test_richtextprint1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ richtextprint_Tests.test_richtextprint2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ richtextprint_Tests.test_richtextprint3 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ richtextprint_Tests.test_richtextprint4 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ richtextstyledlg_Tests.test_richtextstyledlg1 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ richtextstyledlg_Tests.test_richtextstyledlg2 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ richtextstyledlg_Tests.test_richtextstyledlg3 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles01 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles03 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles04 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles05 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles06 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles08 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles09 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles10 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ richtextstyles_Tests.test_richtextstyles6 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________ richtextsymboldlg_Tests.test_richtextsymboldlg2 ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ richtextxml_Tests.test_richtextxml1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ sashwin_Tests.test_sashwin1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ scrolbar_Tests.test_scrolbarCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ scrolbar_Tests.test_scrolbarEvents ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ scrolwin_Tests.test_SetFocusIgnoringChildren _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ scrolwin_Tests.test_scrolcvsCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ scrolwin_Tests.test_scrolcvsDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ scrolwin_Tests.test_scrolwinCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ scrolwin_Tests.test_scrolwinOnDraw ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ settings_Tests.test_settingsConstants _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ settings_Tests.test_settingsGetFont ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ settings_Tests.test_settingsGetMetric _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ simplebook_Tests.test_simplebook01 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ simplebook_Tests.test_simplebook02 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ simplebook_Tests.test_simplebook03 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ sizer_Tests.test_iter _____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerAddMany _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ sizer_Tests.test_sizerBool __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ sizer_Tests.test_sizerBox ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerFlexGrid ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ sizer_Tests.test_sizerGrid __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ sizer_Tests.test_sizerOrientation _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerSpacers1 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerSpacers2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerSpacers3 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerSpacers4 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerSpacers5 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ sizer_Tests.test_sizerUserData ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ slider_Tests.test_sliderCtor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ slider_Tests.test_sliderFlags _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ slider_Tests.test_sliderProperties ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ slider_Tests.test_sliderRange _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ slider_Tests.test_sliderRange2 ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ snglinst_Tests.test_snglinstCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ snglinst_Tests.test_snglinstDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ sound_Tests.test_sound1 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ sound_Tests.test_sound2 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ sound_Tests.test_sound4 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ spinbutt_Tests.test_spinbuttCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ spinbutt_Tests.test_spinbuttDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ spinbutt_Tests.test_spinbuttOther _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ spinbutt_Tests.test_spinctrlPropertiesInAction ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ spinctrl_Tests.test_spinctrlCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ spinctrl_Tests.test_spinctrlDoubleCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ spinctrl_Tests.test_spinctrlOther _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ splash_Tests.test_splash1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ splash_Tests.test_splash2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ splitter_Tests.test_splitterDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ splitter_Tests.test_splitterEventTypes ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ splitter_Tests.test_splitterFlags _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ splitter_Tests.test_splitterSplits ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ srchctrl_Tests.test_srchctrlCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ srchctrl_Tests.test_srchctrlDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ srchctrl_Tests.test_srchctrlEventBinding ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ srchctrl_Tests.test_srchctrlGetSetValue ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ srchctrl_Tests.test_srchctrlHasTextCtrlMethods ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ srchctrl_Tests.test_srchctrlProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ statbmp_Tests.test_statbmpCtor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ statbox_Tests.test_statboxCtor ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ statbox_Tests.test_statboxGetBordersForSizer _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ statline_Tests.test_statlineCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ statline_Tests.test_statlineDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stattext_Tests.test_stattextCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ stattext_Tests.test_stattextDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ stattext_Tests.test_stattextFlags _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ statusbar_Tests.test_statusbarCtor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ statusbar_Tests.test_statusbarFrameUse1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ statusbar_Tests.test_statusbarFrameUse2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ statusbar_Tests.test_statusbarFrameUse3 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ statusbar_Tests.test_statusbarGetFielRect ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ statusbar_Tests.test_statusbarStatusBarPane __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ statusbar_Tests.test_statusbarWidths1 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ statusbar_Tests.test_statusbarWidths2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ statusbar_Tests.test_statusbarWidths3 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________________ stc_Tests.test_stcCtor ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ stc_Tests.test_stcDefaultCtor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stc_Tests.test_stcStyleTextCtrl1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stc_Tests.test_stcStyleTextCtrl5 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stc_Tests.test_stcStyleTextCtrl6 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ stc_Tests.test_stcStyleTextCtrl8 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ stdpaths_Tests.test_stdpaths _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ stockgdi_Tests.test_stockgdi2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ stockgdi_Tests.test_stockgdi3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ stream_Tests.test_inputStreamParam ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ stream_Tests.test_outputStreamParam ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ sysopt_Tests.test_sysopt1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ taskbar_Tests.test_taskbar2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ textctrl_Tests.test_textctrlCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ textctrl_Tests.test_textctrlFlags _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ textctrl_Tests.test_textctrlNativeCaret ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ textctrl_Tests.test_textctrlProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ textctrl_Tests.test_textctrlTextAttr _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________ textctrl_Tests.test_textctrlTextAttrProperties ________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ textdlg_Tests.test_textdlg1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ textdlg_Tests.test_textdlg2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ tglbtn_Tests.test_ButtonDefaultCtor ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ tglbtn_Tests.test_ButtonDefaultEvt ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ timectrl_Tests.test_timectrl1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ timer_Tests.test_timerCallLater2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ timer_Tests.test_timerDerivedClass ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ timer_Tests.test_timerOwner1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ timer_Tests.test_timerPyTimer _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ tipdlg_Tests.test_tipdlg2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ tipwin_Tests.test_tipwinCtor _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ toolbar_Tests.test_toolbarClientData2 _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ toolbar_Tests.test_toolbarStyles _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ toolbar_Tests.test_toolbarTools1 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ toolbar_Tests.test_toolbarTools2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ toolbook_Tests.test_toolbook3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ tooltip_Tests.test_tooltip __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ tooltip_Tests.test_tooltipStatics _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ translation_Tests.test_translation1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ treebook_Tests.test_treebook1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ treebook_Tests.test_treebook3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ treectrl_Tests.test_treeEventsExist ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ treectrl_Tests.test_treectrlConstantsExist __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ treectrl_Tests.test_treectrlCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ treectrl_Tests.test_treectrlDefaultCtor ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ treectrl_Tests.test_treectrlGetSelections ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ treectrl_Tests.test_treectrlTreeItemId01 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ treectrl_Tests.test_treectrlTreeItemId02 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ treectrl_Tests.test_treectrlTreeItemId03 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ treectrl_Tests.test_treectrlTreeItemPyData __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ treelist_Tests.test_treelist1 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ treelist_Tests.test_treelist2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ treelist_Tests.test_treelist3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ treelist_Tests.test_treelist4 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ treelist_Tests.test_treelistitem_hashable ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ utils_Tests.test_utilsBusyCursor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ utils_Tests.test_utilsBusyCursor2 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ utils_Tests.test_utilsBusyCursor3 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ utils_Tests.test_utilsSomeOtherStuff _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ utils_Tests.test_utilsVersionInfo _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ utils_Tests.test_utilsWindowDisabler _____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ validate_Tests.test_validateDefault ______________________ self = def setUp(self): > super(validate_Tests, self).setUp() unittests/test_validate.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ validate_Tests.test_validateTransfer _____________________ self = def setUp(self): > super(validate_Tests, self).setUp() unittests/test_validate.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ variant_Tests.test_variant2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ variant_Tests.test_variant3 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ variant_Tests.test_variantArrayString1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ variant_Tests.test_variantArrayString2 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ variant_Tests.test_variantDateTime1 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ variant_Tests.test_variantDateTime2 ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ variant_Tests.test_variantNone ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ vidmode_Tests.test_vidmode __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ virtualOverride_Tests.test_virtualOverride __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ vlbox_Tests.test_vlbox1 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________________ vlbox_Tests.test_vlbox4 ____________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ vscroll_Tests.test_vscroll_HScrolledWindow1 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ vscroll_Tests.test_vscroll_HVScrolledWindow1 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ vscroll_Tests.test_vscroll_HVScrolledWindow2 _________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ vscroll_Tests.test_vscroll_VScrolledWindow1 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ vscroll_Tests.test_vscroll_VScrolledWindow2 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ webview_Tests.test_webview1 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ webview_Tests.test_webview2 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________________ webview_Tests.test_webview6 __________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ WindowTests.test_DLG_UNIT ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ WindowTests.test_SimpleWindowCtor _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ WindowTests.test_windowCoordConvFunctions ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ WindowTests.test_windowHandle _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ IdManagerTest.test_WindowIDRef01 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ IdManagerTest.test_WindowIDRef02 _______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ IdManagerTest.test_newIdRef01 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ IdManagerTest.test_newIdRef02 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ IdManagerTest.test_newIdRef03 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ IdManagerTest.test_newIdRef04 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ WindowList.test_WindowList_GetChildren ____________________ self = def setUp(self): > super(WindowList, self).setUp() unittests/test_windowlist.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________________ WindowList.test_WindowList_GetTLW1 ______________________ self = def setUp(self): > super(WindowList, self).setUp() unittests/test_windowlist.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ WindowList.test_WindowList_repr ________________________ self = def setUp(self): > super(WindowList, self).setUp() unittests/test_windowlist.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ wizard_Tests.test_wizard1 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ wizard_Tests.test_wizard2 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ wizard_Tests.test_wizard3 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________________ wizard_Tests.test_wizard4 ___________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ wrapsizer_Tests.test_wrapsize _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datetime_Tests.test_datetime2 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datetime_Tests.test_datetime3 _________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ______________ datetime_Tests.test_datetimeConvertFromPyDatetime _______________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ datetime_Tests.test_datetimeConvertHelpers __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ datetime_Tests.test_datetimeFormatParse ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________ datetime_Tests.test_datetimeGetAmPm ______________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ datetime_Tests.test_datetimeParseDate1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ datetime_Tests.test_datetimeParseDate3 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ datetime_Tests.test_datetimeParseDateTime1 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ datetime_Tests.test_datetimeParseDateTime2 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused __________________ datetime_Tests.test_datetimeParseDateTime3 __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ datetime_Tests.test_datetimeParseFormat1 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ___________________ datetime_Tests.test_datetimeParseFormat2 ___________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _________________ datetime_Tests.test_datetimeParseRfc822Date __________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ datetime_Tests.test_datetimeParseTime1 ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ____________________ datetime_Tests.test_datetimeProperties ____________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _______________________ datetime_Tests.test_datetimeSet ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused ________________________ datetime_Tests.test_datetimeTm ________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ xml_Tests.test_xml1 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ xml_Tests.test_xml2 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ xrc_Tests.test_xrc1 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ xrc_Tests.test_xrc3 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ xrc_Tests.test_xrc5 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ xrc_Tests.test_xrc6 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused _____________________________ xrc_Tests.test_xrc7 ______________________________ unittests/wtc.py:16: in setUp self.app = wx.App() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , redirect = False, filename = None useBestVisual = False, clearSigInt = True def __init__(self, redirect=False, filename=None, useBestVisual=False, clearSigInt=True): """ Construct a ``wx.App`` object. :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be redirected? Defaults to False. If ``filename`` is None then output will be redirected to a window that pops up as needed. (You can control what kind of window is created for the output by resetting the class variable ``outputWindowClass`` to a class of your choosing.) :param filename: The name of a file to redirect output to, if redirect is True. :param useBestVisual: Should the app try to use the best available visual provided by the system (only relevant on systems that have more than one visual.) This parameter must be used instead of calling `SetUseBestVisual` later on because it must be set before the underlying GUI toolkit is initialized. :param clearSigInt: Should SIGINT be cleared? This allows the app to terminate upon a Ctrl-C in the console like other GUI apps will. :note: You should override OnInit to do application initialization to ensure that the system, toolkit and wxWidgets are fully initialized. """ PyApp.__init__(self) # make sure we can create a GUI if not self.IsDisplayAvailable(): if wx.Port == "__WXMAC__": msg = "This program needs access to the screen. Please run with a\n" \ "Framework build of python, and only when you are logged in\n" \ "on the main display of your Mac." elif wx.Port == "__WXGTK__": msg ="Unable to access the X Display, is $DISPLAY set properly?" else: msg = "Unable to create GUI" # TODO: more description is needed for wxMSW... raise SystemExit(msg) # This has to be done before OnInit self.SetUseBestVisual(useBestVisual) # Set the default handler for SIGINT. This fixes a problem # where if Ctrl-C is pressed in the console that started this # app then it will not appear to do anything, (not even send # KeyboardInterrupt???) but will later segfault on exit. By # setting the default handler then the app will exit, as # expected (depending on platform.) if clearSigInt: try: import signal signal.signal(signal.SIGINT, signal.SIG_DFL) except: pass # Save and redirect the stdio to a window? self.stdioWin = None self.saveStdio = (_sys.stdout, _sys.stderr) if redirect: self.RedirectStdio(filename) # Use Python's install prefix as the default prefix = _sys.prefix if isinstance(prefix, (bytes, bytearray)): prefix = prefix.decode(_sys.getfilesystemencoding()) wx.StandardPaths.Get().SetInstallPrefix(prefix) # Until the new native control for wxMac is up to par, still use the generic one. wx.SystemOptions.SetOption("mac.listctrl.always_use_generic", 1) # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class > self._BootstrapApp() E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?) build/lib.linux-arm64-3.7/wx/core.py:2137: SystemError ----------------------------- Captured stderr call ----------------------------- Unable to init server: Could not connect: Connection refused =============================== warnings summary =============================== build/lib.linux-arm64-3.7/wx/lib/agw/aui/framemanager.py:3934 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/agw/aui/framemanager.py:3934: DeprecationWarning: invalid escape sequence \` """ build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:909 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:909: DeprecationWarning: invalid escape sequence \d hours = '(0\d| \d|1[012])' build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:946 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:946: DeprecationWarning: invalid escape sequence \( 'validRegex': "^\(\d{3}\) \d{3}-\d{4}", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:952 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:952: DeprecationWarning: invalid escape sequence \d 'validRegex': "^\d{3}-\d{3}-\d{4}", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:958 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:958: DeprecationWarning: invalid escape sequence \( 'validRegex': "^\(\d{3}\) \d{3}-\d{4}", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:964 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:964: DeprecationWarning: invalid escape sequence \d 'validRegex': "^\d{3}-\d{3}-\d{4}", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:988 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:988: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4} ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:995 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:995: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' + '\d{4} ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1001 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1001: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4} ' + milhours + ':' + minutes + ':' + seconds, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1007 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1007: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' + '\d{4} ' + milhours + ':' + minutes + ':' + seconds, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1014 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1014: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4} ' + hours + ':' + minutes + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1020 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1020: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4} ' + milhours + ':' + minutes, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1027 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1027: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' + '\d{4} ' + hours + ':' + minutes + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1033 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1033: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' + '\d{4} ' + milhours + ':' + minutes, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1039 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1039: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/' + '\d{4}', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1045 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1045: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '/' + days + '/\d\d', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1051 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1051: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + months + '-' + days + '-' +'\d{4}', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1058 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1058: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '/' + months + '/' + days, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1064 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1064: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1070 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1070: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4}', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1076 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1076: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4}', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1082 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1082: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + charmonths + '.' + '\d{4}', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1088 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1088: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + charmonths + '/' + '\d{4}', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1096 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1096: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '/' + months + '/' + days + ' ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1103 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1103: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days + ' ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1110 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1110: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4} ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1117 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1117: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4} ' + hours + ':' + minutes + ':' + seconds + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1125 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1125: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '/' + months + '/' + days + ' ' + hours + ':' + minutes + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1132 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1132: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days + ' ' + hours + ':' + minutes + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1139 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1139: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4} ' + hours + ':' + minutes + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1146 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1146: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4} ' + hours + ':' + minutes + ' (A|P)M', build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1153 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1153: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '/' + months + '/' + days + ' ' + milhours + ':' + minutes + ':' + seconds, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1159 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1159: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days + ' ' + milhours + ':' + minutes + ':' + seconds, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1165 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1165: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4} ' + milhours + ':' + minutes + ':' + seconds, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1171 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1171: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4} ' + milhours + ':' + minutes + ':' + seconds, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1176 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1176: DeprecationWarning: invalid escape sequence \d 'formatcodes': 'DF','validRegex': '^' + '\d{4}'+ '/' + months + '/' + days + ' ' + milhours + ':' + minutes, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1182 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1182: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + '\d{4}'+ '.' + months + '.' + days + ' ' + milhours + ':' + minutes, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1188 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1188: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '/' + months + '/' + '\d{4} ' + milhours + ':' + minutes, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1194 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1194: DeprecationWarning: invalid escape sequence \d 'validRegex': '^' + days + '.' + months + '.' + '\d{4} ' + milhours + ':' + minutes, build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1227 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1227: DeprecationWarning: invalid escape sequence \d 'validRegex': "\d{3}-\d{2}-\d{4}", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1233 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1233: DeprecationWarning: invalid escape sequence \d 'validRegex': "\d{4}-\d{4}-\d{4}-\d{4}", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1239 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1239: DeprecationWarning: invalid escape sequence \d 'validRegex': "^" + months + "/\d\d", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1245 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1245: DeprecationWarning: invalid escape sequence \d 'validRegex': "^\d{5}", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1251 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1251: DeprecationWarning: invalid escape sequence \d 'validRegex': "\d{5}-(\s{4}|\d{4})", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1257 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1257: DeprecationWarning: invalid escape sequence \d 'validRegex': "^0.\d\d", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1270 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1270: DeprecationWarning: invalid escape sequence \w 'validRegex': "^\w+([\-\.]\w+)*@((([a-zA-Z0-9]+(\-[a-zA-Z0-9]+)*\.)+)[a-zA-Z]{2,4}|\[(\d|\d\d|(1\d\d|2[0-4]\d|25[0-5]))(\.(\d|\d\d|(1\d\d|2[0-4]\d|25[0-5]))){3}\]) *$", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1276 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:1276: DeprecationWarning: invalid escape sequence \d 'validRegex': "( \d| \d\d|(1\d\d|2[0-4]\d|25[0-5]))(\.( \d| \d\d|(1\d\d|2[0-4]\d|25[0-5]))){3}", build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:2260 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:2260: DeprecationWarning: invalid escape sequence \{ rex = re.compile('([' + "".join(maskchars) + '])\{(\d+)\}') build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6458 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6458: DeprecationWarning: invalid escape sequence \. filter = re.compile("[ ]?[#]+\.[#]+\n") build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6581 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6581: DeprecationWarning: invalid escape sequence \( ("Phone No", "(###) ###-#### x:###", "", 'F!^-R', "^\(\d\d\d\) \d\d\d-\d\d\d\d", (),[],''), build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6584 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6584: DeprecationWarning: invalid escape sequence \d ("Social Sec#", "###-##-####", "", 'F', "\d{3}-\d{2}-\d{4}", (),[],''), build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6585 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6585: DeprecationWarning: invalid escape sequence \d ("U.S. Zip+4", "#{5}-#{4}", "", 'F', "\d{5}-(\s{4}|\d{4})",(),[],''), build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6587 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6587: DeprecationWarning: invalid escape sequence \C ("Customer No", "\CAA-###", "", 'F!', "C[A-Z]{2}-\d{3}", (),[],''), /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6587: DeprecationWarning: invalid escape sequence \d ("Customer No", "\CAA-###", "", 'F!', "C[A-Z]{2}-\d{3}", (),[],''), build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6594 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/maskededit.py:6594: DeprecationWarning: invalid escape sequence \d ("fraction selector","#/##", "", 'F', "^\d\/\d\d?", (), build/lib.linux-arm64-3.7/wx/lib/masked/numctrl.py:399 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/numctrl.py:399: DeprecationWarning: invalid escape sequence \* """ build/lib.linux-arm64-3.7/wx/lib/masked/timectrl.py:585 /build/wxpython4.0-4.0.4+dfsg/build/lib.linux-arm64-3.7/wx/lib/masked/timectrl.py:585: DeprecationWarning: invalid escape sequence \d hourfield = Field(formatcodes='0r../wxpython4.0_4.0.4+dfsg-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/24411/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/24411/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/24411 and its subdirectories I: Current time: Fri Sep 17 21:24:46 +14 2021 I: pbuilder-time-stamp: 1631863486