* Package: dev-tex/dot2tex-2.11.3 * Repository: gentoo * Maintainer: tex@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/1f7ec267854aaf1873f66ef379f14c1f68afabab (Sun May 22 04:31:45 UTC 2022) @@@@@ END @@@@@ @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This ebuild was merged (directly or as a dependency) because of the following commit: https://github.com/gentoo/gentoo/commit/1f7ec267854aaf1873f66ef379f14c1f68afabab @@@@@ END @@@@@ ################## # emerge --info: # ################## Portage 3.0.30 (python 3.10.4-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.35-r5, 4.19.174-gentoo x86_64) ================================================================= System uname: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.35 KiB Mem: 264046488 total, 36961888 free KiB Swap: 0 total, 0 free sh bash 5.1_p16 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.8.13_p2::gentoo, 3.9.13::gentoo, 3.10.4_p1::gentoo dev-util/cmake: 3.23.1::gentoo dev-util/meson: 0.62.1::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.17-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* MIT" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" DISTDIR="/var/tmp/portage/dev-tex/dot2tex-2.11.3/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j44" PKGDIR="/root/tbci/binpkg" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="acl amd64 bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_8 python3_9 python3_10" USERLAND="GNU" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ############################## # emerge history (qlop -mv): # ############################## 2022-05-22T06:41:57 >>> dev-libs/fribidi-1.0.12 2022-05-22T06:41:59 >>> media-libs/libjpeg-turbo-2.1.3 2022-05-22T06:42:01 >>> dev-python/iniconfig-1.1.1-r1 2022-05-22T06:42:03 >>> dev-python/pluggy-1.0.0-r2 2022-05-22T06:42:05 >>> dev-python/py-1.11.0-r1 2022-05-22T06:42:07 >>> dev-python/zope-interface-5.4.0-r2 2022-05-22T06:42:09 >>> dev-lang/nasm-2.15.05 2022-05-22T06:42:11 >>> x11-libs/libXft-2.3.4 2022-05-22T06:42:42 >>> dev-python/attrs-21.4.0-r1 2022-05-22T06:42:45 >>> virtual/jpeg-100-r1 2022-05-22T06:42:49 >>> x11-libs/pango-1.50.7 2022-05-22T06:42:57 >>> dev-python/pytest-7.1.2 2022-05-22T06:43:00 >>> media-libs/gd-2.3.3-r1 2022-05-22T06:43:14 >>> media-gfx/graphviz-2.50.0 2022-05-22T06:43:22 >>> dev-python/pydot-1.4.2-r3 ####################################### # installed packages (qlist -ICvUSS): # ####################################### acct-group/audio-0-r1:0 acct-group/cdrom-0-r1:0 acct-group/dialout-0-r1:0 acct-group/disk-0-r1:0 acct-group/input-0-r1:0 acct-group/kmem-0-r1:0 acct-group/kvm-0-r1:0 acct-group/lp-0-r1:0 acct-group/man-0-r1:0 acct-group/messagebus-0-r1:0 acct-group/polkitd-0-r1:0 acct-group/portage-0:0 acct-group/render-0-r1:0 acct-group/sgx-0:0 acct-group/sshd-0-r1:0 acct-group/tape-0-r1:0 acct-group/tty-0-r1:0 acct-group/video-0-r1:0 acct-user/man-1-r1:0 acct-user/messagebus-0-r1:0 acct-user/polkitd-0-r1:0 acct-user/portage-0:0 acct-user/sshd-0-r1:0 app-admin/eselect-1.4.20:0 -doc -emacs -vim-syntax app-admin/perl-cleaner-2.30:0 app-arch/bzip2-1.0.8-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static -static-libs -verify-sig app-arch/gzip-1.12:0 -pic -static -verify-sig app-arch/libarchive-3.6.1:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs -verify-sig xattr -zstd app-arch/tar-1.34:0 acl -minimal nls -selinux -verify-sig xattr app-arch/unzip-6.0_p26:0 bzip2 -natspec unicode app-arch/xz-utils-5.2.5-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 extra-filters nls split-usr -static-libs -verify-sig app-arch/zstd-1.5.2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 -static-libs threads app-crypt/gnupg-2.3.6:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server app-crypt/gpgme-1.17.1:1/11.6.15 -common-lisp cxx -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -qt5 -static-libs -test -verify-sig app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs app-crypt/libmd-1.0.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 app-crypt/pinentry-1.2.0:0 -caps -efl -emacs -gnome-keyring -gtk ncurses -qt5 app-crypt/rhash-1.4.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug nls ssl -static-libs app-editors/nano-6.3:0 -debug -justify -magic -minimal ncurses nls spell split-usr -static unicode app-eselect/eselect-fontconfig-20220403:0 app-eselect/eselect-iptables-20220320:0 app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 app-eselect/eselect-pinentry-0.7.2:0 app-i18n/man-pages-ja-20180315-r1:0 app-i18n/man-pages-l10n-4.12.1-r2:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_sr l10n_sv app-i18n/man-pages-ru-5.03.2390.2390.20191017-r1:0 app-i18n/man-pages-zh_CN-1.6.3.6:0 app-misc/c_rehash-1.7-r1:0 app-misc/ca-certificates-20211016.3.77:0 -cacert app-misc/editor-wrapper-4-r1:0 app-misc/mime-types-2.1.53:0 -nginx app-misc/pax-utils-1.3.4:0 -caps -debug -python -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 seccomp app-misc/tmux-3.2a:0 -debug -selinux -utempter -vim-syntax app-portage/eix-0.36.2:0 -debug -doc nls -sqlite app-portage/elt-patches-20211104:0 app-portage/gemato-16.2:0 gpg python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test -tools app-portage/gentoolkit-0.5.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test app-portage/portage-utils-0.93.3:0 nls openmp qmanifest qtegrity -static app-shells/bash-5.1_p16:0 -afs -bashlogger -examples -mem-scramble net nls -plugins readline -verify-sig app-shells/bash-completion-2.11:0 eselect -test app-shells/gentoo-bashcomp-20190211:0 app-shells/push-3.4:0 app-shells/quoter-4.2:0 app-text/ansifilter-2.18:0 -qt5 app-text/build-docbook-catalog-2.3:0 app-text/docbook-xml-dtd-4.5-r2:4.5 app-text/docbook-xml-dtd-4.4-r3:4.4 app-text/docbook-xml-dtd-4.2-r3:4.2 app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 app-text/docbook-xsl-stylesheets-1.79.1-r2:0 -ruby app-text/manpager-1:0 app-text/opensp-1.5.2-r7:0 -doc nls -static-libs -test app-text/po4a-0.66:0 -test -test app-text/sgml-common-0.6.3-r7:0 app-text/xmlto-0.0.28-r8:0 -latex text dev-db/sqlite-3.38.5:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools dev-lang/duktape-2.7.0-r1:0/2.7.0 dev-lang/nasm-2.15.05:0 -doc dev-lang/perl-5.34.1-r3:0/5.34 -berkdb -debug -doc gdbm ithreads -minimal -quadmath dev-lang/python-3.10.4_p1:3.10 -bluetooth -build -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst xml dev-lang/python-3.9.13:3.9 -bluetooth -build -examples gdbm -hardened -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst xml dev-lang/python-3.8.13_p2:3.8 -bluetooth -build -examples gdbm -hardened ncurses readline sqlite ssl -test -tk -verify-sig -wininst xml dev-lang/python-exec-2.4.9:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-lang/python-exec-conf-2.4.6:2 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 dev-lang/tcl-8.6.12:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug threads dev-libs/boehm-gc-8.0.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx large -static-libs threads dev-libs/elfutils-0.187:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma nls -static-libs -test -threads utils -valgrind -verify-sig -zstd dev-libs/expat-2.4.8:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples -static-libs unicode dev-libs/fribidi-1.0.12:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test dev-libs/glib-2.72.1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus -debug elf -fam -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr dev-libs/gmp-6.2.1-r2:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cxx -doc -pic -static-libs dev-libs/gobject-introspection-1.72.0:0 -doctool -gtk-doc -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -test dev-libs/gobject-introspection-common-1.72.0:0 dev-libs/isl-0.24-r2:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/jsoncpp-1.9.5:0/25 -doc -test dev-libs/libassuan-2.5.5:0 dev-libs/libatomic_ops-7.6.12:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 dev-libs/libbsd-0.11.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig dev-libs/libevent-2.1.12:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime -debug -malloc-replacement ssl -static-libs -test threads -verbose-debug dev-libs/libffi-3.4.2-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -exec-static-trampoline -experimental-loong -pax-kernel -static-libs -test dev-libs/libffi-compat-3.3-r2:7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -pax-kernel -test dev-libs/libgcrypt-1.10.1:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc -static-libs -verify-sig dev-libs/libgpg-error-1.45:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs -test dev-libs/libksba-1.6.0:0 -static-libs dev-libs/libltdl-2.4.7:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/libpcre-8.45-r1:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 cxx jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode zlib dev-libs/libpcre2-10.40:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode -verify-sig zlib dev-libs/libpipeline-1.5.6:0 -test dev-libs/libtasn1-4.18.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -valgrind dev-libs/libunistring-1.0:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs dev-libs/libuv-1.44.1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 dev-libs/libxml2-2.9.14-r1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples -icu -lzma python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 readline -static-libs -test dev-libs/libxslt-1.1.35:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt -debug -examples -static-libs dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs dev-libs/mpc-1.2.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/mpfr-4.1.0_p13-r1:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/nettle-3.7.3:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_neon cpu_flags_x86_aes -cpu_flags_x86_sha -doc gmp -static-libs -test dev-libs/npth-1.6-r1:0 -test dev-libs/openssl-1.1.1o:0/1.1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -rfc3779 -sctp -sslv3 -static-libs -test -tls-compression -tls-heartbeat -vanilla -verify-sig -verify-sig -weak-ssl-ciphers dev-libs/popt-1.18:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs dev-perl/Devel-CheckLib-1.140.0:0 -test dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test dev-perl/Encode-HanExtra-0.230.0-r3:0 dev-perl/Encode-Locale-1.50.0-r1:0 -test dev-perl/File-BaseDir-0.90.0:0 -test dev-perl/File-DesktopEntry-0.220.0-r1:0 -test dev-perl/File-Listing-6.140.0:0 -test dev-perl/File-MimeInfo-0.300.0:0 -test dev-perl/HTML-Parser-3.760.0:0 -test dev-perl/HTML-Tagset-3.200.0-r2:0 dev-perl/HTTP-Cookies-6.100.0:0 -test dev-perl/HTTP-Date-6.50.0:0 dev-perl/HTTP-Message-6.330.0:0 -test -test dev-perl/HTTP-Negotiate-6.10.0-r2:0 -test dev-perl/IO-HTML-1.4.0:0 -test dev-perl/IO-Socket-INET6-2.720.0-r2:0 -test dev-perl/IO-Socket-SSL-2.74.0:0 -examples -idn -test dev-perl/IPC-System-Simple-1.300.0:0 -test dev-perl/libwww-perl-6.600.0-r1:0 ssl -test dev-perl/Locale-gettext-1.70.0-r1:0 -test dev-perl/LWP-MediaTypes-6.40.0:0 -test dev-perl/LWP-Protocol-https-6.100.0:0 -test dev-perl/MIME-Charset-1.12.2-r1:0 l10n_ja l10n_zh -test dev-perl/Module-Build-0.423.100:0 -test dev-perl/Mozilla-CA-20999999-r1:0 -test dev-perl/Net-HTTP-6.210.0:0 -minimal -test dev-perl/Net-SSLeay-1.900.0:0 -examples -examples -minimal -test dev-perl/Pod-Parser-1.630.0-r1:0 -test dev-perl/SGMLSpm-1.1-r2:0 -test dev-perl/Socket6-0.290.0:0 -test dev-perl/TermReadKey-2.380.0:0 -examples -test dev-perl/Text-CharWidth-0.40.0-r2:0 -test dev-perl/Text-WrapI18N-0.60.0-r2:0 -test dev-perl/TimeDate-2.330.0-r1:0 -test dev-perl/Try-Tiny-0.310.0:0 -minimal -test dev-perl/Unicode-LineBreak-2019.1.0:0 dev-perl/URI-5.100.0:0 -test dev-perl/WWW-RobotRules-6.20.0-r2:0 -test dev-perl/XML-Parser-2.460.0-r2:0 dev-perl/YAML-Tiny-1.730.0-r1:0 -minimal -test dev-python/appdirs-1.4.4-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 dev-python/attrs-21.4.0-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/certifi-3021.3.16-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/charset_normalizer-2.0.12:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/flit_core-3.7.1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/gpep517-6:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/idna-3.3-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/importlib_metadata-4.11.3:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/importlib_resources-5.7.1:0 -doc python_targets_pypy3 python_targets_python3_8 -test dev-python/iniconfig-1.1.1-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/installer-0.5.1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/jaraco-context-4.1.1-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/jaraco-functools-3.5.0-r2:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/jaraco-text-3.7.0-r2:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/jinja-3.1.2:0 -doc -examples python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/markupsafe-2.1.1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/more-itertools-8.13.0:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/nspektr-0.3.0:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/ordered-set-4.1.0:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/packaging-21.3-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/pluggy-1.0.0-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/py-1.11.0-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/pydot-1.4.2-r3:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/pyparsing-3.0.9:0 -examples python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/pypy3-7.3.9_p1:0/pypy39-pp73 bzip2 gdbm jit ncurses -sqlite -test -tk dev-python/pypy3-exe-bin-7.3.9:3.9-7.3.9 dev-python/PySocks-1.7.1-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 dev-python/pytest-7.1.2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/requests-2.27.1-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -socks5 -test dev-python/setuptools-62.3.2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/setuptools_scm-6.4.2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/tomli-2.0.1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/urllib3-1.26.9-r1:0 -brotli python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/wheel-0.37.1-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/zipp-3.8.0:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/zope-interface-5.4.0-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-util/checkbashisms-2.22.1:0 dev-util/cmake-3.23.1:0 -doc -emacs ncurses -qt5 -test -test -verify-sig dev-util/desktop-file-utils-0.26-r2:0 -emacs dev-util/glib-utils-2.72.1:0 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 dev-util/gperf-3.1:0 dev-util/gtk-doc-am-1.33.2:0 dev-util/intltool-0.51.0-r2:0 dev-util/meson-0.62.1:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 dev-util/ninja-1.11.0:0 -doc -emacs -test -vim-syntax dev-util/pkgconf-1.8.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test dev-util/re2c-2.2:0 -debug -test dev-vcs/git-2.35.1:0 blksha1 -cgi curl -cvs -doc -emacs -gnome-keyring gpg -highlight iconv -mediawiki -mediawiki-experimental nls pcre -perforce -perl -ppcsha1 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -selinux -subversion -test threads -tk webdav -xinetd media-fonts/liberation-fonts-2.1.3:0 -X -X -fontforge media-gfx/graphite2-1.3.14_p20210810-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test media-gfx/graphviz-2.50.0:0 -X cairo -devil -doc -examples -gtk2 -gts -guile -java -java -lasi -lefty nls -pdf -perl -postscript -python -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -qt5 -ruby -svg -tcl -webp media-libs/fontconfig-2.14.0-r1:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs -test media-libs/freetype-2.12.1:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting -debug -doc -fontforge harfbuzz -infinality png -static-libs -svg -utils media-libs/gd-2.3.3-r1:2/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -avif cpu_flags_x86_sse fontconfig -heif jpeg png -static-libs -test -tiff truetype -webp -xpm zlib media-libs/harfbuzz-4.3.0:0/4.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo -debug -doc -experimental glib graphite -icu introspection -test truetype media-libs/libjpeg-turbo-2.1.3:0/0.2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_neon -java -java -static-libs media-libs/libpng-1.6.37-r2:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs net-dns/libidn2-2.3.2:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig net-firewall/iptables-1.8.8-r2:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs net-libs/gnutls-3.7.5:0/30.30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -brotli cxx -dane -doc -examples -guile idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -valgrind -verify-sig zlib -zstd net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig net-libs/libnsl-2.0.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs net-libs/libtirpc-1.3.2:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 ipv6 -kerberos split-usr -static-libs net-libs/nghttp2-1.47.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx -debug -hpack-tools -jemalloc -static-libs -test threads -utils -xml net-misc/curl-7.83.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl ftp -gnutls -gopher -hsts http2 -idn imap ipv6 -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -quiche -rtmp -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -threads -verify-sig -zstd net-misc/dhcpcd-9.4.1:0 -debug embedded ipv6 -privsep udev net-misc/iputils-20211215:0 arping -caps -clockdiff -doc filecaps -idn nls -rarpd -rdisc -static -test -tracepath net-misc/netifrc-0.7.3-r1:0 dhcp net-misc/openssh-9.0_p1-r1:0 -X -X509 -abi_mips_n32 -audit -debug -hpn -kerberos -ldns -libedit -livecd pam pie -sctp -security-key -selinux ssl -static -test -verify-sig -xmss net-misc/rsync-3.2.4-r1:0 acl -examples iconv ipv6 -lz4 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 ssl -stunnel -system-zlib -verify-sig xattr -xxhash -zstd net-misc/wget-1.21.3:0 -cookie-check -debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib perl-core/CPAN-2.290.0-r1:0 perl-core/Encode-3.120.0:0 perl-core/File-Temp-0.231.100:0 perl-core/Scalar-List-Utils-1.560.0:0 sec-keys/openpgp-keys-gentoo-release-20220101:0 -test sys-apps/acl-2.3.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls split-usr -static-libs sys-apps/attr-2.5.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug nls split-usr -static-libs sys-apps/baselayout-2.8:0 -build split-usr sys-apps/coreutils-9.1-r1:0 acl -caps -gmp -hostname -kill -multicall nls -selinux split-usr -static -test -vanilla -verify-sig xattr sys-apps/dbus-1.14.0-r1:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc elogind -selinux -static-libs -systemd -test -test sys-apps/debianutils-5.7:0 installkernel -static sys-apps/diffutils-3.8:0 nls -static -verify-sig sys-apps/file-5.41-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma -python python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -seccomp -static-libs zlib sys-apps/findutils-4.9.0:0 nls -selinux -static -test -verify-sig sys-apps/gawk-5.1.1-r2:0 -mpfr nls readline -verify-sig sys-apps/gentoo-functions-0.15:0 sys-apps/grep-3.7:0 nls pcre -static -verify-sig sys-apps/groff-1.22.4:0 -X -examples -uchardet sys-apps/help2man-1.48.5:0 nls sys-apps/install-xattr-0.8:0 sys-apps/iproute2-5.17.0:0 -atm -berkdb -bpf -caps -elf iptables -libbsd -minimal -selinux sys-apps/kbd-2.4.0:0 nls pam -test sys-apps/kmod-29:0 -debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -static-libs tools zlib -zstd sys-apps/less-590:0 pcre unicode sys-apps/man-db-2.10.2-r1:0 manpager nls seccomp -selinux -static-libs zlib sys-apps/man-pages-5.13:0 l10n_de l10n_es l10n_fr l10n_it l10n_ja l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_zh-CN sys-apps/man-pages-posix-2017a:0 sys-apps/miscfiles-1.5-r4:0 -minimal sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static sys-apps/openrc-0.44.10:0 -audit -bash -debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode sys-apps/portage-3.0.30-r5:0 -apidoc -build -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 rsync-verify -selinux -test xattr sys-apps/sandbox-2.29:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 nnp sys-apps/sed-4.8:0 acl nls -selinux -static -verify-sig sys-apps/shadow-4.11.1:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su xattr sys-apps/systemd-utils-250.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -boot kmod -selinux split-usr -sysusers -test tmpfiles udev sys-apps/sysvinit-3.04:0 -ibm nls -selinux -static -verify-sig sys-apps/texinfo-6.8:0 nls standalone -static sys-apps/util-linux-2.38:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 readline -rtas -selinux -slang split-usr -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig sys-apps/which-2.21:0 sys-auth/elogind-246.10-r2:0 acl -audit cgroup-hybrid -debug -doc pam policykit -selinux -test sys-auth/pambase-20220214:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd -yescrypt sys-auth/passwdqc-2.0.2-r1:0 sys-auth/polkit-0.120_p20220509:0 duktape -examples -gtk introspection -kde pam -selinux -systemd -test sys-devel/autoconf-2.71-r1:2.71 -emacs sys-devel/autoconf-archive-2022.02.11:0 sys-devel/autoconf-wrapper-20220130:0 sys-devel/automake-1.16.5:1.16 -test sys-devel/automake-wrapper-11:0 sys-devel/binutils-2.38-r2:2.38 -cet -default-gold -doc gold -multitarget nls -pgo plugins -static-libs -test -vanilla sys-devel/binutils-config-5.4.1:0 native-symlinks sys-devel/bison-3.8.2:0 -examples nls -static -test -verify-sig sys-devel/flex-2.6.4-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test sys-devel/gcc-11.3.0:11 -ada -cet -custom-cflags cxx -d -debug -doc -fixed-point fortran -go graphite -hardened -jit -libssp lto multilib nls nptl -objc -objc++ -objc-gc openmp -pch -pgo pie sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd sys-devel/gcc-config-2.5-r1:0 cc-wrappers native-symlinks sys-devel/gettext-0.21-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -cvs cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs -verify-sig sys-devel/gnuconfig-20220508:0 sys-devel/libtool-2.4.7:2 -vanilla sys-devel/m4-1.4.19:0 -examples nls -verify-sig sys-devel/make-4.3:0 -guile nls -static -verify-sig sys-devel/patch-2.7.6-r4:0 -static -test -verify-sig xattr sys-fs/e2fsprogs-1.46.5-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cron -fuse -lto nls split-usr -static-libs -test threads tools sys-fs/udev-init-scripts-35:0 sys-kernel/installkernel-gentoo-5:0 -grub sys-kernel/linux-headers-5.17-r1:0 -experimental-loong -headers-only sys-libs/binutils-libs-2.38-r2:0/2.38 -64-bit-bfd -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cet -multitarget nls -static-libs sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs -verify-sig sys-libs/glibc-2.35-r5:2.2 -audit -caps -cet clone3 -compile-locales -crypt -custom-cflags -doc -experimental-loong -gd -headers-only multiarch multilib -multilib-bootstrap -nscd -profile -selinux ssp static-libs -suid -systemd -systemtap -test -vanilla sys-libs/libcap-2.64:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam split-usr -static-libs -tools sys-libs/libseccomp-2.5.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -experimental-loong -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -static-libs -test sys-libs/libxcrypt-4.4.28:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compat split-usr -static-libs system -test sys-libs/ncurses-6.3_p20220423:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx -debug -doc -gpm -minimal -profile split-usr -static-libs -test tinfo -trace -verify-sig sys-libs/pam-1.5.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug filecaps -nis -selinux sys-libs/readline-8.1_p2:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils -verify-sig sys-libs/timezone-data-2022a:0 -leaps-timezone nls -zic-slim sys-libs/zlib-1.2.12-r2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip split-usr -static-libs -verify-sig sys-process/procps-3.3.17-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux split-usr -static-libs -systemd -test unicode sys-process/psmisc-23.4-r1:0 -X ipv6 nls -selinux virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs virtual/awk-1:0 virtual/dev-manager-0-r2:0 virtual/editor-0-r3:0 virtual/jpeg-100-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs virtual/libc-1-r1:0 virtual/libcrypt-2:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs virtual/libelf-3:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libudev-232-r7:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -systemd virtual/man-0-r4:0 virtual/os-headers-0-r2:0 virtual/package-manager-1:0 virtual/pager-0:0 virtual/perl-Carp-1.520.0-r2:0 virtual/perl-Compress-Raw-Bzip2-2.103.0-r2:0 virtual/perl-Compress-Raw-Zlib-2.103.0-r1:0 virtual/perl-CPAN-2.290.0:0 virtual/perl-CPAN-Meta-2.150.10-r6:0 virtual/perl-CPAN-Meta-Requirements-2.140.0-r8:0 virtual/perl-CPAN-Meta-YAML-0.18.0-r8:0 virtual/perl-Data-Dumper-2.179.0:0 virtual/perl-Digest-MD5-2.580.0:0 virtual/perl-Encode-3.120.0:0 virtual/perl-Exporter-5.760.0:0 virtual/perl-ExtUtils-CBuilder-0.280.236:0 virtual/perl-ExtUtils-Install-2.200.0:0 virtual/perl-ExtUtils-MakeMaker-7.620.0:0 virtual/perl-ExtUtils-Manifest-1.730.0:0 virtual/perl-ExtUtils-ParseXS-3.430.0:0 virtual/perl-File-Path-2.180.0:0 virtual/perl-File-Spec-3.800.0:0 virtual/perl-File-Temp-0.231.100:0 virtual/perl-Getopt-Long-2.520.0:0 virtual/perl-IO-1.460.0:0 virtual/perl-IO-Compress-2.103.0-r1:0 virtual/perl-IO-Socket-IP-0.410.0:0 virtual/perl-JSON-PP-4.60.0:0 virtual/perl-libnet-3.130.0:0 ssl virtual/perl-MIME-Base64-3.160.0:0 virtual/perl-Module-Metadata-1.0.37-r1:0 virtual/perl-parent-0.238.0-r1:0 virtual/perl-Parse-CPAN-Meta-2.150.10-r5:0 virtual/perl-Perl-OSType-1.10.0-r5:0 virtual/perl-podlators-4.140.0-r2:0 virtual/perl-Scalar-List-Utils-1.560.0:0 virtual/perl-Test-Harness-3.430.0:0 virtual/perl-Text-ParseWords-3.300.0-r8:0 virtual/perl-Time-Local-1.300.0:0 virtual/perl-version-0.992.800:0 virtual/perl-XSLoader-0.300.0-r4:0 virtual/pkgconfig-2-r1:0 virtual/service-manager-1:0 virtual/ssh-0:0 -minimal virtual/tmpfiles-0-r3:0 virtual/ttf-fonts-1-r1:0 virtual/udev-217-r5:0 virtual/w3m-1:0 virtual/yacc-0:0 www-client/pybugz-0.13-r2:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 www-client/w3m-0.5.3_p20220429:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface x11-apps/xprop-1.2.5:0 x11-apps/xset-1.2.4-r1:0 x11-base/xcb-proto-1.15:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 x11-base/xorg-proto-2022.1:0 -test x11-libs/cairo-1.16.0-r5:0 X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug -gles2-only glib -opengl -static-libs svg -utils -valgrind x11-libs/libICE-1.0.10-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 ipv6 x11-libs/libSM-1.2.3-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc ipv6 uuid x11-libs/libX11-1.7.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc ipv6 -test x11-libs/libXau-1.0.9-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libxcb-1.15:0/1.12 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -doc -selinux -test xkb x11-libs/libXdmcp-1.1.3-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libXext-1.3.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libXft-2.3.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libXmu-1.1.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc ipv6 x11-libs/libXrender-0.9.10-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 x11-libs/libXt-1.2.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test x11-libs/pango-1.50.7:0 X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug introspection -sysprof x11-libs/pixman-0.40.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs -test x11-libs/xtrans-1.4.0:0 -doc x11-misc/compose-tables-1.8:0 x11-misc/shared-mime-info-2.2:0 -test x11-misc/xdg-utils-1.1.3_p20210805:0 -dbus -doc -gnome ####################### # build.log # ####################### >>> Unpacking source... >>> Unpacking dot2tex-2.11.3.tar.gz to /var/tmp/portage/dev-tex/dot2tex-2.11.3/work >>> Source unpacked in /var/tmp/portage/dev-tex/dot2tex-2.11.3/work >>> Preparing source in /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3 ... * Build system packages: * dev-python/setuptools : 62.3.2 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3 ... * python3_8: running distutils-r1_run_phase distutils-r1_python_compile python3.8 setup.py build -j 44 running build running build_py creating /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_8/lib/dot2tex copying dot2tex/__init__.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_8/lib/dot2tex copying dot2tex/dot2tex.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_8/lib/dot2tex copying dot2tex/dotparsing.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_8/lib/dot2tex warning: build_py: byte-compiling is disabled, skipping. running build_scripts creating /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_8/scripts copying and adjusting dot2tex/dot2tex -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_8/scripts changing mode of /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_8/scripts/dot2tex from 644 to 755 * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 44 running build running build_py creating /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_9/lib/dot2tex copying dot2tex/__init__.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_9/lib/dot2tex copying dot2tex/dot2tex.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_9/lib/dot2tex copying dot2tex/dotparsing.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_9/lib/dot2tex warning: build_py: byte-compiling is disabled, skipping. running build_scripts creating /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_9/scripts copying and adjusting dot2tex/dot2tex -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_9/scripts changing mode of /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_9/scripts/dot2tex from 644 to 755 * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 setup.py build -j 44 running build running build_py creating /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_10/lib/dot2tex copying dot2tex/__init__.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_10/lib/dot2tex copying dot2tex/dot2tex.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_10/lib/dot2tex copying dot2tex/dotparsing.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_10/lib/dot2tex warning: build_py: byte-compiling is disabled, skipping. running build_scripts creating /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_10/scripts copying and adjusting dot2tex/dot2tex -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_10/scripts changing mode of /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_10/scripts/dot2tex from 644 to 755 * Using python3.10 in global scope * python3_10: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-tex/dot2tex-2.11.3 * python3_8: running distutils-r1_run_phase python_test python3.8 -m pytest -vv -ra -l -Wdefault --color=no -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown --deselect tests/test_dot2tex.py::MultipleStatements::test_semicolon ============================= test session starts ============================== platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0 -- /usr/bin/python3.8 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3 collecting ... collected 74 items / 1 deselected / 73 selected tests/test_dot2tex.py::InterfaceTest::test_default PASSED [ 1/73] tests/test_dot2tex.py::InterfaceTest::test_pgf PASSED [ 2/73] tests/test_dot2tex.py::InterfaceTest::test_positions PASSED [ 3/73] tests/test_dot2tex.py::InterfaceTest::test_pstricks PASSED [ 4/73] tests/test_dot2tex.py::InterfaceTest::test_tikz PASSED [ 5/73] tests/test_dot2tex.py::UnicodeTest::test_russian PASSED [ 6/73] tests/test_dot2tex.py::UnicodeTest::test_russian2 PASSED [ 7/73] tests/test_dot2tex.py::D2TOptionsTest::test_d2tcommented PASSED [ 8/73] tests/test_dot2tex.py::D2TOptionsTest::test_d2toptions PASSED [ 9/73] tests/test_dot2tex.py::PGF118CompatibilityTest::test_nopgf118option PASSED [10/73] tests/test_dot2tex.py::PGF118CompatibilityTest::test_pgf118option PASSED [11/73] tests/test_dot2tex.py::PGF118CompatibilityTest::test_tikz118option PASSED [12/73] tests/test_dot2tex.py::BuggyGraphTests::test_name_with_parantheses PASSED [13/73] tests/test_dot2tex.py::BuggyGraphTests::test_small_label FAILED [14/73] tests/test_dot2tex.py::NeedsQuotesTests::test_not_numeral_in_label FAILED [15/73] tests/test_dot2tex.py::NeedsQuotesTests::test_numeral PASSED [16/73] tests/test_dot2tex.py::TestPositionsOutputFormat::test_floating_point_coordinates PASSED [17/73] tests/test_dot2tex.py::ErrorHandlingTest::test_module_parse_error PASSED [18/73] tests/test_dot2tex.py::ErrorHandlingTest::test_no_input_file PASSED [19/73] tests/test_dot2tex.py::ErrorHandlingTest::test_parse_error PASSED [20/73] tests/test_dot2tex.py::EdgeLabelsTests::test_edgetexlbl_nolabel_nopreproc PASSED [21/73] tests/test_dot2tex.py::EdgeLabelsTests::test_edgetexlbl_nolabel_preproc FAILED [22/73] tests/test_dot2tex.py::GraphvizInterfaceTests::test_invalid_program PASSED [23/73] tests/test_dot2tex.py::GraphvizInterfaceTests::test_prog_options PASSED [24/73] tests/test_dot2tex.py::AutosizeTests::test__dim_extraction PASSED [25/73] tests/test_dot2tex.py::AutosizeTests::test__dim_extraction_cygwin PASSED [26/73] tests/test_dot2tex.py::TikZTemplateTests::test_point_shape PASSED [27/73] tests/test_dot2tex.py::TestBugs::test_head_and_tail_labels FAILED [28/73] tests/test_dot2tex.py::TestBugs::test_styleonly_tikz_preproc FAILED [29/73] tests/test_dot2tex.py::TestNumberFormatting::test_decimal_places PASSED [30/73] tests/test_dot2tex.py::TestNumberFormatting::test_numbers PASSED [31/73] tests/test_dot2tex.py::PGF210CompatibilityTest::test_pgf210option PASSED [32/73] tests/test_dot2tex.py::PGF210CompatibilityTest::test_tikz210option PASSED [33/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_pgf FAILED [34/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_pgf_duplicate FAILED [35/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_pstricks FAILED [36/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_pstricks_duplicate FAILED [37/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_tikz FAILED [38/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_tikz_duplicate FAILED [39/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_pgf FAILED [40/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_pgf_duplicate FAILED [41/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_pstricks FAILED [42/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_pstricks_duplicate FAILED [43/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_tikz FAILED [44/73] tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_tikz_duplicate FAILED [45/73] tests/test_dot2tex.py::IncludeTest::test_include_1 PASSED [46/73] tests/test_dot2tex.py::IncludeTest::test_include_2 PASSED [47/73] tests/test_dot2tex.py::IncludeTest::test_include_3 PASSED [48/73] tests/test_dot2tex.py::IncludeTest::test_include_4 PASSED [49/73] tests/test_dot2tex.py::Issue23Tests::test_multi_line_preamble PASSED [50/73] tests/test_dot2tex.py::Issue23Tests::test_single_line_preamble PASSED [51/73] tests/test_dot2tex.py::RoundedStyleIssue64Tests::test_draw_statements PASSED [52/73] tests/test_dot2tex.py::NodeNameIssue41Tests::test_parsing1 PASSED [53/73] tests/test_dot2tex.py::NodeNameIssue41Tests::test_parsing2 PASSED [54/73] tests/test_dot2tex.py::MultilineTests::test_is_multiline_function PASSED [55/73] tests/test_dot2tex.py::MultilineTests::test_multiline PASSED [56/73] tests/test_dot2tex.py::MultilineTests::test_multiline_autosize FAILED [57/73] tests/test_dotparsing.py::DotNodeTest::test_cmp PASSED [58/73] tests/test_dotparsing.py::DotNodeTest::test_create PASSED [59/73] tests/test_dotparsing.py::DotNodeTest::test_createwithattributes PASSED [60/73] tests/test_dotparsing.py::DotNodeTest::test_createwithdict PASSED [61/73] tests/test_dotparsing.py::DotNodeTest::test_createwithdictandnamed PASSED [62/73] tests/test_dotparsing.py::DotGraphTest::test_add_edge PASSED [63/73] tests/test_dotparsing.py::DotGraphTest::test_add_node PASSED [64/73] tests/test_dotparsing.py::DotGraphTest::test_add_nonstring_nodes PASSED [65/73] tests/test_dotparsing.py::DotGraphTest::test_addequalnodes PASSED [66/73] tests/test_dotparsing.py::DotGraphTest::test_create PASSED [67/73] tests/test_dotparsing.py::DotGraphTest::test_create_with_attributes PASSED [68/73] tests/test_dotparsing.py::DotSubgraphsTest::test_add_edge_to_subgraph PASSED [69/73] tests/test_dotparsing.py::DotSubgraphsTest::test_add_subgraph PASSED [70/73] tests/test_dotparsing.py::DotDefaultAttrTest::test_add_default PASSED [71/73] tests/test_dotparsing.py::DotDefaultAttrTest::test_add_default_node PASSED [72/73] tests/test_dotparsing.py::DotDefaultAttrTest::test_add_default_node_subgraph PASSED [73/73] =================================== FAILURES =================================== _______________________ BuggyGraphTests.test_small_label _______________________ self = def test_small_label(self): testgraph = """ digraph { "objects" [label="sdfsdf", texlbl="$1$"]; } """ > source = dot2tex.dot2tex(testgraph, debug=True, autosize=True, figonly=True, format='tikz') self = testgraph = ('\n' ' digraph {\n' ' "objects" [label="sdfsdf", texlbl="$1$"];\n' ' }\n' ' ') /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = ('\n' ' digraph {\n' ' "objects" [label="sdfsdf", texlbl="$1$"];\n' ' }\n' ' ') kwargs = {'autosize': True, 'debug': True, 'figonly': True, 'format': 'tikz'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = ('\n' ' digraph {\n' ' "objects" [label="sdfsdf", texlbl="$1$"];\n' ' }\n' ' ') kwargs = {'autosize': True, 'debug': True, 'figonly': True, 'format': 'tikz'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=True, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=True, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = (' digraph {\n' ' "objects" [label="sdfsdf", texlbl="$1$"];\n' ' }\n') extraoptions = [] fmtattr = [] gfmt = None lines = [' digraph {\n', ' "objects" [label="sdfsdf", texlbl="$1$"];\n', ' }\n'] m = None nodebug = False options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=True, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=True, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'tikz' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = (' digraph {\n' ' "objects" [label="sdfsdf", texlbl="$1$"];\n' ' }\n') main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node [draw,ellipse, ] {$1$};\n' counter = 0 graph = name = 'objects' node = pp = self = template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = '$1$' usededges = {} usedgraphs = {} usednodes = {'objects': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node [draw,ellipse, ] {$1$};\n' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {$1$};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3 DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { "objects" [label="sdfsdf", texlbl="$1$"]; } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { objects[label=sdfsdf,texlbl="$1$"]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node [draw,ellipse, ] {$1$};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp/dot2tex.log' __________________ NeedsQuotesTests.test_not_numeral_in_label __________________ self = def test_not_numeral_in_label(self): testgraph = """ digraph { a[label="1.2.3.4"] ; b } """ > source = dot2tex.dot2tex(testgraph, debug=True, figonly=True, format='tikz', autosize=True) self = testgraph = '\n digraph { a[label="1.2.3.4"] ; b }\n ' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = '\n digraph { a[label="1.2.3.4"] ; b }\n ' kwargs = {'autosize': True, 'debug': True, 'figonly': True, 'format': 'tikz'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = '\n digraph { a[label="1.2.3.4"] ; b }\n ' kwargs = {'autosize': True, 'debug': True, 'figonly': True, 'format': 'tikz'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=True, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=True, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = ' digraph { a[label="1.2.3.4"] ; b }\n' extraoptions = [] fmtattr = [] gfmt = None lines = [' digraph { a[label="1.2.3.4"] ; b }\n'] m = None nodebug = False options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=True, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=True, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'tikz' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = ' digraph { a[label="1.2.3.4"] ; b }\n' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node [draw,ellipse, ] {b};\n' counter = 0 graph = name = 'b' node = pp = self = template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {} usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node [draw,ellipse, ] {b};\n' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {1.2.3.4};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {b};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlnszgihp DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a[label="1.2.3.4"] ; b } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a[label="1.2.3.4"]; b; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node [draw,ellipse, ] {1.2.3.4};% \end{preview}% \begin{preview}% \tikz \node [draw,ellipse, ] {b};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g/dot2tex.log' _______________ EdgeLabelsTests.test_edgetexlbl_nolabel_preproc ________________ self = def test_edgetexlbl_nolabel_preproc(self): """Edge labels specified using 'texlbl' should be included when preprocessing the graph""" graph = r'digraph G {a -> b [texlbl="TestLabel"];}' > code = dot2tex.dot2tex(graph, autosize=True) graph = 'digraph G {a -> b [texlbl="TestLabel"];}' self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph G {a -> b [texlbl="TestLabel"];}' kwargs = {'autosize': True} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph G {a -> b [texlbl="TestLabel"];}' kwargs = {'autosize': True} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph G {a -> b [texlbl="TestLabel"];}' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph G {a -> b [texlbl="TestLabel"];}'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pgf' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph G {a -> b [texlbl="TestLabel"];}' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TestLabel};' counter = 1 edge = graph = headlabel = '' label = 'TestLabel' name = 'ab0' node = pp = self = taillabel = '' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TestLabel};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TestLabel};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2_c_pu8g DEBUG dot2tex:dot2tex.py:2993 Input data: digraph G {a -> b [texlbl="TestLabel"];} DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph G{ a -> b [texlbl=TestLabel]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node {a};% \end{preview}% \begin{preview}% \tikz \node {b};% \end{preview}% \begin{preview}% \tikz \node {TestLabel};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q/dot2tex.log' ______________________ TestBugs.test_head_and_tail_labels ______________________ self = def test_head_and_tail_labels(self): """Test for issue 12""" graph = "digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }" > code = dot2tex.dot2tex(graph, format="pgf", autosize=True) graph = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pgf'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pgf'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pgf' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqqbokf3q DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node {a};% \end{preview}% \begin{preview}% \tikz \node {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io/dot2tex.log' _____________________ TestBugs.test_styleonly_tikz_preproc _____________________ self = def test_styleonly_tikz_preproc(self): """Test for a bug in get_node_preproc_code. Used to raise a TypeError""" > code = dot2tex.dot2tex(testgraph, format="tikz", preproc=True, styleonly=True) self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:378: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = '\ndigraph G {\n a_1-> a_2 -> a_3 -> a_1;\n}\n' kwargs = {'format': 'tikz', 'preproc': True, 'styleonly': True} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = '\ndigraph G {\n a_1-> a_2 -> a_3 -> a_1;\n}\n' kwargs = {'format': 'tikz', 'styleonly': True, 'texpreproc': True} options = Namespace(alignstr=None, autosize=False, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=True, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=True, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph G {\n a_1-> a_2 -> a_3 -> a_1;\n}\n' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph G {\n', ' a_1-> a_2 -> a_3 -> a_1;\n', '}\n'] m = None nodebug = True options = Namespace(alignstr=None, autosize=False, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=True, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=True, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'tikz' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph G {\n a_1-> a_2 -> a_3 -> a_1;\n}\n' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node [ ] {a\\_3};\n' counter = 0 edge = graph = name = 'a_3' node = pp = self = template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'a\\_3' usededges = {} usedgraphs = {} usednodes = {'a_1': , 'a_2': , 'a_3': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node [ ] {a\\_3};\n' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node [ ] {a\\_1};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node [ ] {a\\_2};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node [ ] {a\\_3};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texogc476io DEBUG dot2tex:dot2tex.py:2993 Input data: digraph G { a_1-> a_2 -> a_3 -> a_1; } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph G{ a_1 -> a_2 ; a_2 -> a_3 ; a_3 -> a_1 ; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7 DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node [ ] {a\_1};% \end{preview}% \begin{preview}% \tikz \node [ ] {a\_2};% \end{preview}% \begin{preview}% \tikz \node [ ] {a\_3};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7/dot2tex.log' ___________________ HeadAndTailLabelTest.test_head_label_pgf ___________________ self = def test_head_label_pgf(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pgf") self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pgf'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pgf'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pgf' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texfc8zkzz7 DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2 DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node {a};% \end{preview}% \begin{preview}% \tikz \node {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2/dot2tex.log' ______________ HeadAndTailLabelTest.test_head_label_pgf_duplicate ______________ self = def test_head_label_pgf_duplicate(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pgf", duplicate=True) self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:451: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'pgf'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'pgf'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pgf' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlpuhnam2 DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node {a};% \end{preview}% \begin{preview}% \tikz \node {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts/dot2tex.log' ________________ HeadAndTailLabelTest.test_head_label_pstricks _________________ self = def test_head_label_pstricks(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pstricks") self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pstricks'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pstricks'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pstricks', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pstricks', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pstricks' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = 'TAILLABEL' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '% <>\n' '\\usepackage[x11names,svgnames]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{graphicx}\n' '\\usepackage{pstricks}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '%\n' '\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '<>%\n' '%\n' '%\n' '\\end{document}\n' '%\n' '\n' '%\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a/dot2tex.tex' mode='r' encoding='UTF-8'> n = 'TAILLABEL' s = ('\\documentclass{article}\n' '% <>\n' '\\usepackage[x11names,svgnames]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{graphicx}\n' '\\usepackage{pstricks}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '%\n' '\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '\\begin{preview}%\n' 'a%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'b%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'LABEL%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'HEADLABEL%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'TAILLABEL%\n' '\\end{preview}%\n' '%\n' '%\n' '%\n' '\\end{document}\n' '%\n' '\n' '%\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texitlkc3ts DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a/dot2tex.tex \documentclass{article} % <> \usepackage[x11names,svgnames]{xcolor} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{pstricks} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % \begin{preview}% a% \end{preview}% \begin{preview}% b% \end{preview}% \begin{preview}% LABEL% \end{preview}% \begin{preview}% HEADLABEL% \end{preview}% \begin{preview}% TAILLABEL% \end{preview}% % % % \end{document} % % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a/dot2tex.log' ___________ HeadAndTailLabelTest.test_head_label_pstricks_duplicate ____________ self = def test_head_label_pstricks_duplicate(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pstricks", duplicate=True) self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'pstricks'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'pstricks'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pstricks', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pstricks', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pstricks' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = 'TAILLABEL' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '% <>\n' '\\usepackage[x11names,svgnames]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{graphicx}\n' '\\usepackage{pstricks}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '%\n' '\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '<>%\n' '%\n' '%\n' '\\end{document}\n' '%\n' '\n' '%\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_/dot2tex.tex' mode='r' encoding='UTF-8'> n = 'TAILLABEL' s = ('\\documentclass{article}\n' '% <>\n' '\\usepackage[x11names,svgnames]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{graphicx}\n' '\\usepackage{pstricks}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '%\n' '\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '\\begin{preview}%\n' 'a%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'b%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'LABEL%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'HEADLABEL%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'TAILLABEL%\n' '\\end{preview}%\n' '%\n' '%\n' '%\n' '\\end{document}\n' '%\n' '\n' '%\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texct5t7l8a DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_ DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_/dot2tex.tex \documentclass{article} % <> \usepackage[x11names,svgnames]{xcolor} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{pstricks} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % \begin{preview}% a% \end{preview}% \begin{preview}% b% \end{preview}% \begin{preview}% LABEL% \end{preview}% \begin{preview}% HEADLABEL% \end{preview}% \begin{preview}% TAILLABEL% \end{preview}% % % % \end{document} % % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_/dot2tex.log' __________________ HeadAndTailLabelTest.test_head_label_tikz ___________________ self = def test_head_label_tikz(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="tikz") self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'tikz'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'tikz'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'tikz' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxdyb2yq_ DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6 DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node [draw,ellipse, ] {a};% \end{preview}% \begin{preview}% \tikz \node [draw,ellipse, ] {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6/dot2tex.log' _____________ HeadAndTailLabelTest.test_head_label_tikz_duplicate ______________ self = def test_head_label_tikz_duplicate(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="tikz", duplicate=True) self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:455: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'tikz'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'tikz'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'tikz' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbvv5soe6 DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node [draw,ellipse, ] {a};% \end{preview}% \begin{preview}% \tikz \node [draw,ellipse, ] {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj/dot2tex.log' ___________________ HeadAndTailLabelTest.test_tail_label_pgf ___________________ self = def test_tail_label_pgf(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pgf") self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:439: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pgf'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pgf'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pgf' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex3hk7_9hj DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node {a};% \end{preview}% \begin{preview}% \tikz \node {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo/dot2tex.log' ______________ HeadAndTailLabelTest.test_tail_label_pgf_duplicate ______________ self = def test_tail_label_pgf_duplicate(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pgf", duplicate=True) self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:463: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'pgf'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'pgf'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pgf', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pgf' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk61_1qwo DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node {a};% \end{preview}% \begin{preview}% \tikz \node {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw/dot2tex.log' ________________ HeadAndTailLabelTest.test_tail_label_pstricks _________________ self = def test_tail_label_pstricks(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pstricks") self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pstricks'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'pstricks'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pstricks', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pstricks', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pstricks' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = 'TAILLABEL' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '% <>\n' '\\usepackage[x11names,svgnames]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{graphicx}\n' '\\usepackage{pstricks}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '%\n' '\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '<>%\n' '%\n' '%\n' '\\end{document}\n' '%\n' '\n' '%\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg/dot2tex.tex' mode='r' encoding='UTF-8'> n = 'TAILLABEL' s = ('\\documentclass{article}\n' '% <>\n' '\\usepackage[x11names,svgnames]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{graphicx}\n' '\\usepackage{pstricks}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '%\n' '\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '\\begin{preview}%\n' 'a%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'b%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'LABEL%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'HEADLABEL%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'TAILLABEL%\n' '\\end{preview}%\n' '%\n' '%\n' '%\n' '\\end{document}\n' '%\n' '\n' '%\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhnukogjw DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg/dot2tex.tex \documentclass{article} % <> \usepackage[x11names,svgnames]{xcolor} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{pstricks} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % \begin{preview}% a% \end{preview}% \begin{preview}% b% \end{preview}% \begin{preview}% LABEL% \end{preview}% \begin{preview}% HEADLABEL% \end{preview}% \begin{preview}% TAILLABEL% \end{preview}% % % % \end{document} % % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg/dot2tex.log' ___________ HeadAndTailLabelTest.test_tail_label_pstricks_duplicate ____________ self = def test_tail_label_pstricks_duplicate(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pstricks", duplicate=True) self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'pstricks'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'pstricks'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pstricks', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, force=False, format='pstricks', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', runtests=False, straightedges=False, styleonly=False, switchdraworder=False, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'pstricks' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = 'TAILLABEL' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '% <>\n' '\\usepackage[x11names,svgnames]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{graphicx}\n' '\\usepackage{pstricks}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '%\n' '\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '<>%\n' '%\n' '%\n' '\\end{document}\n' '%\n' '\n' '%\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s/dot2tex.tex' mode='r' encoding='UTF-8'> n = 'TAILLABEL' s = ('\\documentclass{article}\n' '% <>\n' '\\usepackage[x11names,svgnames]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{graphicx}\n' '\\usepackage{pstricks}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '%\n' '\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '\\begin{preview}%\n' 'a%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'b%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'LABEL%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'HEADLABEL%\n' '\\end{preview}%\n' '\\begin{preview}%\n' 'TAILLABEL%\n' '\\end{preview}%\n' '%\n' '%\n' '%\n' '\\end{document}\n' '%\n' '\n' '%\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex8cuejbeg DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s/dot2tex.tex \documentclass{article} % <> \usepackage[x11names,svgnames]{xcolor} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{pstricks} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % \begin{preview}% a% \end{preview}% \begin{preview}% b% \end{preview}% \begin{preview}% LABEL% \end{preview}% \begin{preview}% HEADLABEL% \end{preview}% \begin{preview}% TAILLABEL% \end{preview}% % % % \end{document} % % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s/dot2tex.log' __________________ HeadAndTailLabelTest.test_tail_label_tikz ___________________ self = def test_tail_label_tikz(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="tikz") self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:443: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'tikz'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'format': 'tikz'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'tikz' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texr85a1e7s DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node [draw,ellipse, ] {a};% \end{preview}% \begin{preview}% \tikz \node [draw,ellipse, ] {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb/dot2tex.log' _____________ HeadAndTailLabelTest.test_tail_label_tikz_duplicate ______________ self = def test_tail_label_tikz_duplicate(self): > source = dot2tex.dot2tex(self.test_graph, autosize=True, format="tikz", duplicate=True) self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:467: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'tikz'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' kwargs = {'autosize': True, 'duplicate': True, 'format': 'tikz'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' extraoptions = [] fmtattr = [] gfmt = None lines = ['digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=False, crop=False, debug=False, docpreamble=None, duplicate=True, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'tikz' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = 'digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] }' main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node {TAILLABEL};' counter = 1 edge = graph = headlabel = 'HEADLABEL' headlabel_name = 'ab0headlabel' label = 'LABEL' name = 'ab0' node = pp = self = taillabel = 'TAILLABEL' taillabel_name = 'ab0taillabel' template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {'ab0': } usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node {TAILLABEL};' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {b};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {LABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {HEADLABEL};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node {TAILLABEL};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex9vfmtedb DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [headlabel=HEADLABEL,taillabel=TAILLABEL,label=LABEL]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node [draw,ellipse, ] {a};% \end{preview}% \begin{preview}% \tikz \node [draw,ellipse, ] {b};% \end{preview}% \begin{preview}% \tikz \node {LABEL};% \end{preview}% \begin{preview}% \tikz \node {HEADLABEL};% \end{preview}% \begin{preview}% \tikz \node {TAILLABEL};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v/dot2tex.log' ____________________ MultilineTests.test_multiline_autosize ____________________ self = def test_multiline_autosize(self): """There should be three lines""" test_graph = r""" digraph { a -> b [label="line1\nline2\nline3"] } """ > code = dot2tex.dot2tex(test_graph, codeonly=True, format="tikz", autosize=True) self = test_graph = ('\n' ' digraph {\n' ' a -> b [label="line1\\nline2\\nline3"]\n' ' }\n' ' ') /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/tests/test_dot2tex.py:615: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/__init__.py:62: in dot2tex return d2t.convert_graph(dotsource, **kwargs) dotsource = ('\n' ' digraph {\n' ' a -> b [label="line1\\nline2\\nline3"]\n' ' }\n' ' ') kwargs = {'autosize': True, 'codeonly': True, 'format': 'tikz'} /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3125: in convert_graph tex = main(True, dotsource, options) dotsource = ('\n' ' digraph {\n' ' a -> b [label="line1\\nline2\\nline3"]\n' ' }\n' ' ') kwargs = {'autosize': True, 'codeonly': True, 'format': 'tikz'} options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=True, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=, conflict_handler='error', add_help=True) /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:3075: in main s = conv.convert(dotdata) conv = dotdata = (' digraph {\n' ' a -> b [label="line1\\nline2\\nline3"]\n' ' }\n') extraoptions = [] fmtattr = [] gfmt = None lines = [' digraph {\n', ' a -> b [label="line1\\nline2\\nline3"]\n', ' }\n'] m = None nodebug = True options = Namespace(alignstr=None, autosize=True, cache=False, codeonly=True, crop=False, debug=False, docpreamble=None, duplicate=False, edgeoptions=None, encoding='utf8', figonly=False, figpostamble=None, figpreamble=None, flattengraph=True, force=False, format='tikz', graphstyle=None, gvcols=False, inputfile=None, margin='0pt', nodeoptions=None, nominsize=False, outputfile=None, pgf118=False, pgf210=False, printversion=False, prog='dot', progoptions='', rawdim=True, runtests=False, straightedges=False, styleonly=False, switchdraworder=True, templatefile=None, texmode='verbatim', texpreproc=False, tikzedgelabels=False, usepdflatex=False, valignmode='center') output_format = 'tikz' platform = run_as_module = True s = '' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:800: in convert return self.do_preview_preproc() dotdata = (' digraph {\n' ' a -> b [label="line1\\nline2\\nline3"]\n' ' }\n') main_graph = self = /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1053: in do_preview_preproc ok = pp.process() code = '\\tikz \\node [draw,ellipse, ] {b};\n' counter = 0 edge = graph = name = 'ab0' node = pp = self = template = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '<>\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') texlbl = 'b' usededges = {} usedgraphs = {} usednodes = {'a': , 'b': } /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2645: in process self.parse_log_file() f = <_io.TextIOWrapper name='/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox/dot2tex.tex' mode='r' encoding='UTF-8'> n = '\\tikz \\node [draw,ellipse, ] {b};\n' s = ('\\documentclass{article}\n' '\\usepackage[x11names, svgnames, rgb]{xcolor}\n' '\\usepackage[utf8]{inputenc}\n' '\\usepackage{tikz}\n' '\\usetikzlibrary{snakes,arrows,shapes}\n' '\\usepackage{amsmath}\n' '%\n' '\\usepackage[active,auctex]{preview}\n' '%\n' '%\n' '\n' '%\n' '\n' '\\begin{document}\n' '\\pagestyle{empty}\n' '%\n' '%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {a};%\n' '\\end{preview}%\n' '\\begin{preview}%\n' '\\tikz \\node [draw,ellipse, ] {b};%\n' '\\end{preview}%\n' '\n' '%\n' '%\n' '\n' '%\n' '\\end{document}\n' '%\n' '\n' '\n') self = shutil = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def parse_log_file(self): logfilename = os.path.splitext(self.tempfilename)[0] + '.log' tmpdir = os.getcwd() os.chdir(os.path.split(logfilename)[0]) if self.options.get('usepdflatex'): command = 'pdflatex -interaction=nonstopmode %s' % self.tempfilename else: command = 'latex -interaction=nonstopmode %s' % self.tempfilename log.debug('Running command: %s' % command) p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, close_fds=(sys.platform != 'win32')) (stdout, stderr) = (p.stdout, p.stderr) try: data = stdout.read() log.debug("stdout from latex\n %s", data) finally: stdout.close() try: error_data = stderr.read() if error_data: log.debug('latex STDERR %s', error_data) finally: stderr.close() p.kill() p.wait() > with open(logfilename, 'r') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox/dot2tex.tex') data = b'' error_data = b'/bin/sh: line 1: latex: command not found\n' logfilename = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox/dot2tex.log' p = self = stderr = <_io.BufferedReader name=13> stdout = <_io.BufferedReader name=11> tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v' /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2681: FileNotFoundError ------------------------------ Captured log call ------------------------------- INFO dot2tex:dot2tex.py:2924 ------- Start of run ------- INFO dot2tex:dot2tex.py:2925 Dot2tex version 2.11.3 INFO dot2tex:dot2tex.py:2926 System information: Python: sys.version_info(major=3, minor=8, micro=13, releaselevel='final', serial=0) Platform: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 Pyparsing: 3.0.9 INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.8/site-packages/pytest/__main__.py', '-vv', '-ra', '-l', '-Wdefault', '--color=no', '-o', 'console_output_style=count', '-p', 'no:cov', '-p', 'no:flake8', '-p', 'no:flakes', '-p', 'no:pylint', '-p', 'no:markdown', '--deselect', 'tests/test_dot2tex.py::MultipleStatements::test_semicolon'] INFO dot2tex:dot2tex.py:2933 Program started in /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texmahw516v DEBUG dot2tex:dot2tex.py:2993 Input data: digraph { a -> b [label="line1\nline2\nline3"] } DEBUG dot2tex:dot2tex.py:769 Start conversion DEBUG dot2tex:dot2tex.py:247 Parsed graph: digraph { a -> b [label="line1\nline2\nline3"]; } DEBUG dot2tex:dot2tex.py:2632 Creating temporary directroy /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox/dot2tex.tex \documentclass{article} \usepackage[x11names, svgnames, rgb]{xcolor} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{snakes,arrows,shapes} \usepackage{amsmath} % \usepackage[active,auctex]{preview} % % % \begin{document} \pagestyle{empty} % % \begin{preview}% \tikz \node [draw,ellipse, ] {a};% \end{preview}% \begin{preview}% \tikz \node [draw,ellipse, ] {b};% \end{preview}% % % % \end{document} % DEBUG dot2tex:dot2tex.py:2662 Running command: latex -interaction=nonstopmode /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox/dot2tex.tex DEBUG dot2tex:dot2tex.py:2668 stdout from latex b'' DEBUG dot2tex:dot2tex.py:2675 latex STDERR b'/bin/sh: line 1: latex: command not found\n' ERROR dot2tex:dot2tex.py:3101 Failed to process input Traceback (most recent call last): File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 3075, in main s = conv.convert(dotdata) File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 800, in convert return self.do_preview_preproc() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 1053, in do_preview_preproc ok = pp.process() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2645, in process self.parse_log_file() File "/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py", line 2681, in parse_log_file with open(logfilename, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texhmcv5dox/dot2tex.log' =============================== warnings summary =============================== dot2tex/dot2tex.py:900 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:900: DeprecationWarning: invalid escape sequence \i variables['<>'] = "\input{gvcols.tex}" dot2tex/dot2tex.py:1236 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1236: DeprecationWarning: invalid escape sequence \p s += " \psellipse[%s](%sbp,%sbp)(%sbp,%sbp)\n" % (stylestr, smart_float(x), smart_float(y), dot2tex/dot2tex.py:1256 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1256: DeprecationWarning: invalid escape sequence \p s = " \pspolygon[%s]%s\n" % (stylestr, "".join(pp)) dot2tex/dot2tex.py:1262 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1262: DeprecationWarning: invalid escape sequence \p s = " \psline%s\n" % "".join(pp) dot2tex/dot2tex.py:1272 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1272: DeprecationWarning: invalid escape sequence \p return " \psbezier{%s}%s\n" % (arrowstyle, "".join(pp)) dot2tex/dot2tex.py:1313 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1313: DeprecationWarning: invalid escape sequence \p s = " \psset{linecolor=%s}\n" % color dot2tex/dot2tex.py:1306 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1306: DeprecationWarning: invalid escape sequence \p s = " \psset{fillcolor=%s}\n" % color dot2tex/dot2tex.py:1299 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1299: DeprecationWarning: invalid escape sequence \p s = " \psset{linecolor=%s}\n" % color dot2tex/dot2tex.py:1322 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1322: DeprecationWarning: invalid escape sequence \p return " \psset{%s}\n" % psstyle dot2tex/dot2tex.py:1393 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1393: DeprecationWarning: invalid escape sequence \p s += " \psbezier[%s]%s\n" % (stylestr, "".join(pp)) dot2tex/dot2tex.py:1395 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1395: DeprecationWarning: invalid escape sequence \p s += " \psline[%s]%s%s\n" % (stylestr, pp[0], pp[-1]) dot2tex/dot2tex.py:1589 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1589: DeprecationWarning: invalid escape sequence \p dashed='\pgfsetdash{{3pt}{3pt}}{0pt}', dot2tex/dot2tex.py:1590 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1590: DeprecationWarning: invalid escape sequence \p dotted='\pgfsetdash{{\pgflinewidth}{2pt}}{0pt}', dot2tex/dot2tex.py:1591 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1591: DeprecationWarning: invalid escape sequence \p bold='\pgfsetlinewidth{1.2pt}') dot2tex/dot2tex.py:1661 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1661: DeprecationWarning: invalid escape sequence \d s += " \definecolor{fillcol}%s;\n" % ccolor dot2tex/dot2tex.py:1663 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1663: DeprecationWarning: invalid escape sequence \p s += " \pgfsetfillcolor{%s}\n" % ccolor dot2tex/dot2tex.py:1649 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1649: DeprecationWarning: invalid escape sequence \d s += " \definecolor{strokecol}%s;\n" % ccolor dot2tex/dot2tex.py:1651 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1651: DeprecationWarning: invalid escape sequence \p s += " \pgfsetstrokecolor{%s}\n" % ccolor dot2tex/dot2tex.py:1639 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1639: DeprecationWarning: invalid escape sequence \d s += " \definecolor{newcol}%s;\n" % ccolor dot2tex/dot2tex.py:1641 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1641: DeprecationWarning: invalid escape sequence \p s += " \pgfsetcolor{%s}\n" % ccolor dot2tex/dot2tex.py:1707 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1707: DeprecationWarning: invalid escape sequence \% s += " \%s%s (%sbp,%sbp) ellipse (%sbp and %sbp);\n" % (cmd, stylestr, smart_float(x), smart_float(y), dot2tex/dot2tex.py:1723 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1723: DeprecationWarning: invalid escape sequence \% s = " \%s%s %s -- cycle;\n" % (cmd, stylestr, " -- ".join(pp)) dot2tex/dot2tex.py:1730 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1730: DeprecationWarning: invalid escape sequence \d return " \draw%s %s;\n" % (stylestr, " -- ".join(pp)) dot2tex/dot2tex.py:1753 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1753: DeprecationWarning: invalid escape sequence \d s = " \draw (%sbp,%sbp) node%s {%s};\n" % (smart_float(x), smart_float(y), lblstyle, text) dot2tex/dot2tex.py:1765 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1765: DeprecationWarning: invalid escape sequence \d s += " \draw%s %s .. %s;\n" % (stylestr, " .. ".join(pstrs), pp[-1]) dot2tex/dot2tex.py:1860 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1860: DeprecationWarning: invalid escape sequence \d s += " \draw [%s] %s ..%s %s;\n" % (stylestr, " .. ".join(pstrs), extra, pp[-1]) dot2tex/dot2tex.py:1862 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1862: DeprecationWarning: invalid escape sequence \d s += " \draw [%s] %s --%s %s;\n" % (stylestr, pp[0], extra, pp[-1]) dot2tex/dot2tex.py:1857 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:1857: DeprecationWarning: invalid escape sequence \d s += " \draw [%s] %s to[%s]%s %s;\n" % (stylestr, src, dot2tex/dot2tex.py:2110 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2110: DeprecationWarning: invalid escape sequence \p dashed='\pgfsetdash{{3pt}{3pt}}{0pt}', dot2tex/dot2tex.py:2111 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2111: DeprecationWarning: invalid escape sequence \p dotted='\pgfsetdash{{\pgflinewidth}{2pt}}{0pt}', dot2tex/dot2tex.py:2112 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2112: DeprecationWarning: invalid escape sequence \p bold='\pgfsetlinewidth{1.2pt}') dot2tex/dot2tex.py:2140 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2140: DeprecationWarning: invalid escape sequence \d s += " \definecolor{%s}%s;\n" % (colorname, ccolor) dot2tex/dot2tex.py:2351 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2351: DeprecationWarning: invalid escape sequence \d s += " \draw [%s] %s ..%s (%s);\n" % (stylestr, dot2tex/dot2tex.py:2354 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2354: DeprecationWarning: invalid escape sequence \d s += " \draw [%s] (%s) --%s (%s);\n" % (stylestr, src, extra, dst) dot2tex/dot2tex.py:2348 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2348: DeprecationWarning: invalid escape sequence \d s += " \draw [%s] (%s) to[%s]%s (%s);\n" % (stylestr, src, dot2tex/dot2tex.py:2497 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2497: DeprecationWarning: invalid escape sequence \p sn += "\\rput(%s){\\rnode{%s}{\\%s[%s]{\parbox[c][%sin][c]{%sin}{\centering %s}}}}\n" % \ dot2tex/dot2tex.py:2639 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dot2tex.py:2639: DeprecationWarning: invalid escape sequence \e s += "\end{preview}%\n" dot2tex/dotparsing.py:32 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dotparsing.py:32: DeprecationWarning: invalid escape sequence \. id_re_num = re.compile('^-?(\.[0-9]+|[0-9]+(\.[0-9]*)?)$') dot2tex/dotparsing.py:211 /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3/dot2tex/dotparsing.py:211: DeprecationWarning: invalid escape sequence \A "SOFTWARE\AT&T Research Labs\Graphviz", 0, win32con.KEY_QUERY_VALUE) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_dot2tex.py::BuggyGraphTests::test_small_label - FileNotFoun... FAILED tests/test_dot2tex.py::NeedsQuotesTests::test_not_numeral_in_label - F... FAILED tests/test_dot2tex.py::EdgeLabelsTests::test_edgetexlbl_nolabel_preproc FAILED tests/test_dot2tex.py::TestBugs::test_head_and_tail_labels - FileNotFo... FAILED tests/test_dot2tex.py::TestBugs::test_styleonly_tikz_preproc - FileNot... FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_pgf - Fil... FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_pgf_duplicate FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_pstricks FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_pstricks_duplicate FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_tikz - Fi... FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_head_label_tikz_duplicate FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_pgf - Fil... FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_pgf_duplicate FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_pstricks FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_pstricks_duplicate FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_tikz - Fi... FAILED tests/test_dot2tex.py::HeadAndTailLabelTest::test_tail_label_tikz_duplicate FAILED tests/test_dot2tex.py::MultilineTests::test_multiline_autosize - FileN... =========== 18 failed, 55 passed, 1 deselected, 39 warnings in 7.85s =========== * ERROR: dev-tex/dot2tex-2.11.3::gentoo failed (test phase): * pytest failed with python3.8 * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 3347: Called distutils-r1_src_test * environment, line 1605: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 670: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3009: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2552: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2550: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 1006: Called distutils-r1_run_phase 'python_test' * environment, line 1531: Called python_test * environment, line 3314: Called distutils-r1_python_test * environment, line 1482: Called epytest * environment, line 2063: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=dev-tex/dot2tex-2.11.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-tex/dot2tex-2.11.3::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-tex/dot2tex-2.11.3:20220522-044356.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3' * S: '/var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3'