* Package: dev-tex/dot2tex-2.11.3:0 * Repository: gentoo * Maintainer: tex@gentoo.org * USE: abi_x86_64 amd64 elibc_musl 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-mirror/gentoo/commit/33ed3851a34a5dbdb2855e1529edc00e88f39cc5 (Thu Sep 1 01:46:48 UTC 2022) @@@@@ END @@@@@ ################## # emerge --info: # ################## Portage 3.0.35 (python 3.10.6-final-0, default/linux/amd64/17.0/musl/hardened, gcc-12.2.0, musl-1.2.3, 5.10.133-gentoo x86_64) ================================================================= System uname: Linux-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc KiB Mem: 264024340 total, 205708504 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 01 Sep 2022 01:46:48 +0000 sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-lang/perl: 5.36.0::gentoo dev-lang/python: 3.8.13_p6::gentoo, 3.9.13_p4::gentoo, 3.10.6_p2::gentoo, 3.11.0_rc1::gentoo dev-util/cmake: 3.24.1::gentoo dev-util/meson: 0.63.1::gentoo sys-apps/baselayout: 2.8-r2::gentoo sys-apps/openrc: 0.45.2::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: 12.2.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.19::gentoo (virtual/os-headers) sys-libs/musl: 1.2.3::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-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* MIT" CBUILD="x86_64-gentoo-linux-musl" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" CHOST="x86_64-gentoo-linux-musl" 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 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" INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" 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 crypt elogind hardened iconv ipv6 jumbo-build libglvnd libtirpc native-symlinks ncurses nls nptl openmp pam pcre pie readline seccomp split-usr ssl ssp test unicode xattr xtpax zlib" ABI_X86="64" ELIBC="musl" 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, 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-09-01T02:30:16 >>> media-libs/libjpeg-turbo-2.1.4 2022-09-01T02:30:19 >>> dev-python/iniconfig-1.1.1-r1 2022-09-01T02:30:18 >>> dev-libs/fribidi-1.0.12 2022-09-01T02:30:21 >>> dev-python/pluggy-1.0.0-r2 2022-09-01T02:30:23 >>> dev-python/py-1.11.0-r1 2022-09-01T02:30:25 >>> dev-python/zope-interface-5.4.0-r2 2022-09-01T02:30:26 >>> virtual/jpeg-100-r1 2022-09-01T02:30:28 >>> dev-lang/nasm-2.15.05 2022-09-01T02:30:41 >>> x11-libs/pango-1.50.9 2022-09-01T02:31:00 >>> dev-python/attrs-22.1.0 2022-09-01T02:31:09 >>> media-libs/gd-2.3.3-r1 2022-09-01T02:31:25 >>> dev-python/pytest-7.1.2 2022-09-01T02:31:30 >>> media-gfx/graphviz-5.0.1 2022-09-01T02:31:45 >>> 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/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/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_p27:0 bzip2 -natspec unicode app-arch/xz-utils-5.2.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 extra-filters nls split-usr -static-libs -verify-sig app-arch/zstd-1.5.2-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 -lz4 split-usr -static-libs threads app-crypt/gnupg-2.3.7-r1:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server app-crypt/gpgme-1.18.0:1/11.6.15.1 -common-lisp cxx -python python_targets_python3_10 -python_targets_python3_11 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.1:0 -caps -efl -emacs -gnome-keyring -gtk ncurses -qt5 -verify-sig app-crypt/rhash-1.4.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 -debug nls ssl -static-libs app-editors/nano-6.4: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-misc/c_rehash-1.7-r1:0 app-misc/ca-certificates-20211016.3.80:0 -cacert app-misc/editor-wrapper-4-r1:0 app-misc/mime-types-2.1.53:0 -nginx app-misc/pax-utils-1.3.5:0 -caps man -python python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_8 -python_single_target_python3_9 seccomp -test app-misc/tmux-3.3a:0 -debug -selinux -systemd -utempter -vim-syntax app-portage/eix-0.36.5:0 -debug -doc nls -sqlite app-portage/elt-patches-20220831: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.6.1-r3:0 -python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test app-portage/portage-utils-0.94.3:0 openmp qmanifest qtegrity -static app-shells/bash-5.1_p16-r2: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-r1: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-r1: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-r3:0 -ruby app-text/manpager-1:0 app-text/sgml-common-0.6.3-r7:0 app-text/xmlto-0.0.28-r8:0 -latex text dev-db/sqlite-3.39.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 -debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools dev-lang/nasm-2.15.05:0 -doc dev-lang/perl-5.36.0:0/5.36 -berkdb -debug -doc -gdbm ithreads -minimal -quadmath dev-lang/python-3.11.0_rc1:3.11 -bluetooth -build ensurepip -examples gdbm hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig dev-lang/python-3.10.6_p2:3.10 -bluetooth -build ensurepip -examples gdbm hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig xml dev-lang/python-3.9.13_p4:3.9 -bluetooth -build ensurepip -examples gdbm hardened -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig xml dev-lang/python-3.8.13_p6:3.8 -bluetooth -build ensurepip -examples gdbm hardened -lto ncurses -pgo 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.2.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 -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.3: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_11 -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.14: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-r2: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/libgcrypt-1.10.1-r1: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.19.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 -verify-sig 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.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 dev-libs/libxml2-2.10.2: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 ftp -icu -lzma python python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 readline -static-libs -test dev-libs/libxslt-1.1.37: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 -python python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -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.8.1: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_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec cpu_flags_x86_aes cpu_flags_x86_pclmul -cpu_flags_x86_sha -doc gmp -static-libs -verify-sig dev-libs/npth-1.6-r1:0 -test dev-libs/openssl-1.1.1q: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-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.150.0:0 -test -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/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.920.0:0 -examples -examples -minimal -test dev-perl/Socket6-0.290.0:0 -test dev-perl/Sub-Name-0.260.0:0 -suggested -test dev-perl/TimeDate-2.330.0-r1:0 -test dev-perl/Try-Tiny-0.310.0:0 -minimal -test dev-perl/URI-5.110.0:0 -test dev-perl/WWW-RobotRules-6.20.0-r2:0 -test dev-perl/XML-Parser-2.460.0-r2:0 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-22.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/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.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/ensurepip-pip-22.2.2:0 dev-python/ensurepip-setuptools-65.2.0:0 dev-python/ensurepip-wheels-100:0 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-9: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.12.0:0 -python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/importlib_resources-5.9.0:0 -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-r1: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.2: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.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-text-3.8.1:0 -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.14.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.4.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/pypax-0.9.5-r1:0 -ptpax python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 xtpax 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.28.1: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-65.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/setuptools_scm-7.0.5:0 -python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/six-1.16.0-r1:0 -doc -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-r1:0 -python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-python/typing-extensions-4.3.0:0 -python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 dev-python/urllib3-1.26.12: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.1:0 -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.2:0 dev-util/cmake-3.24.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.3:0 python_single_target_python3_10 -python_single_target_python3_11 -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-r3:0 dev-util/meson-0.63.1:0 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test dev-util/meson-format-array-0:0 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 dev-util/ninja-1.11.1:0 -doc -emacs -test 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.37.3:0 blksha1 -cgi curl -cvs -doc -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 safe-directory -selinux -subversion -test threads -tk webdav -xinetd media-fonts/liberation-fonts-2.1.5: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-5.0.1:0 -X cairo -devil -doc -examples -gtk2 -gts -guile -lasi nls -pdf -perl -postscript -python python_single_target_python3_10 -python_single_target_python3_11 -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-5.1.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.4: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.3: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 nls -static-libs -verify-sig net-firewall/iptables-1.8.8-r4:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs net-libs/gnutls-3.7.7: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/nghttp2-1.48.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.84.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 -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-r2: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.5-r1:0 acl -examples iconv -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-r1:0 -cookie-check -debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib perl-core/Compress-Raw-Zlib-2.202.0:0 perl-core/File-Temp-0.231.100:0 sec-keys/openpgp-keys-gentoo-release-20220101:0 -test sys-apps/acl-2.3.1-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 split-usr -static-libs sys-apps/attr-2.5.1-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 -debug nls split-usr -static-libs sys-apps/baselayout-2.8-r2: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-r4: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/elfix-0.9.5:0 -ptpax xtpax sys-apps/file-5.42-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 -verify-sig 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.17: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.49.2:0 nls sys-apps/install-xattr-0.8:0 sys-apps/iproute2-5.19.0-r2:0 -atm -berkdb -bpf -caps -elf iptables -libbsd -minimal -nfs -selinux split-usr sys-apps/kbd-2.5.1:0 nls pam -test sys-apps/kmod-30: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/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.45.2:0 -audit -bash -debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode sys-apps/portage-3.0.35:0 -apidoc -build -doc -gentoo-dev ipc native-extensions -python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 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.12.3:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su -verify-sig xattr sys-apps/systemd-utils-251.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 acl -boot kmod -selinux split-usr -sysusers -test tmpfiles udev sys-apps/sysvinit-3.05:0 -ibm -nls -selinux -static -verify-sig sys-apps/texinfo-6.8:0 nls standalone -static sys-apps/util-linux-2.38.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 -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-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-r1:0 sys-devel/binutils-2.38-r2:2.38 -cet -default-gold -doc -emacs 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-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 nls -static -test sys-devel/gcc-12.2.0:12 -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-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 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.19:0 -headers-only sys-libs/argp-standalone-1.5.0:0 -static-libs 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/fts-standalone-1.2.7:0 -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/libcap-2.65: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/musl-1.2.3:0 -headers-only -verify-sig sys-libs/ncurses-6.3_p20220827: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 -stack-realign -static-libs -test tinfo -trace -verify-sig sys-libs/obstack-standalone-1.2.3:0 -static-libs 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-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 split-usr -static-libs unicode -utils -verify-sig sys-libs/zlib-1.2.12-r3: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-1-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 -static-libs virtual/libelf-3-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 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-r1: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.202.0:0 virtual/perl-CPAN-2.330.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.184.0:0 virtual/perl-Digest-MD5-2.580.0-r1:0 virtual/perl-Encode-3.170.0:0 virtual/perl-Exporter-5.770.0:0 virtual/perl-ExtUtils-CBuilder-0.280.236-r1:0 virtual/perl-ExtUtils-Install-2.200.0-r1:0 virtual/perl-ExtUtils-MakeMaker-7.640.0:0 virtual/perl-ExtUtils-Manifest-1.730.0-r1:0 virtual/perl-ExtUtils-ParseXS-3.450.0:0 virtual/perl-File-Path-2.180.0-r1:0 virtual/perl-File-Spec-3.840.0:0 virtual/perl-File-Temp-0.231.100:0 virtual/perl-Getopt-Long-2.520.0-r1:0 virtual/perl-IO-1.500.0:0 virtual/perl-IO-Compress-2.106.0:0 virtual/perl-IO-Socket-IP-0.410.0-r1:0 virtual/perl-JSON-PP-4.70.0:0 virtual/perl-libnet-3.140.0:0 ssl virtual/perl-MIME-Base64-3.160.0-r1:0 virtual/perl-Module-Metadata-1.0.37-r2:0 virtual/perl-parent-0.238.0-r2:0 virtual/perl-Parse-CPAN-Meta-2.150.10-r6:0 virtual/perl-Perl-OSType-1.10.0-r6:0 virtual/perl-podlators-4.140.0-r3:0 virtual/perl-Scalar-List-Utils-1.620.0:0 virtual/perl-Test-Harness-3.440.0:0 virtual/perl-Text-ParseWords-3.310.0:0 virtual/perl-Time-Local-1.300.0-r1:0 virtual/perl-version-0.992.900:0 virtual/perl-XSLoader-0.310.0:0 virtual/pkgconfig-2-r1:0 virtual/service-manager-1:0 virtual/ssh-0-r1: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_11 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.2:0 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 x11-base/xorg-proto-2022.2: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.8.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/libXau-1.0.10: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-r1: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/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/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.9: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 -test 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.1: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 : 65.3.0 >>> 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 4 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 4 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 4 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 -p no:sugar --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/dot2texk691gvq1/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/dot2texk691gvq1/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk691gvq1/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/dot2texk691gvq1/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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texk691gvq1 DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk691gvq1/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texk691gvq1/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/dot2texk691gvq1/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/dot2texk691gvq1/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/dot2texiowo7yuu/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/dot2texiowo7yuu/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texiowo7yuu/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/dot2texiowo7yuu/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/dot2texk691gvq1' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texk691gvq1 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/dot2texiowo7yuu DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texiowo7yuu/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texiowo7yuu/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/dot2texiowo7yuu/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/dot2texiowo7yuu/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/dot2texjdf5me0a/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/dot2texjdf5me0a/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texjdf5me0a/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/dot2texjdf5me0a/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/dot2texiowo7yuu' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texiowo7yuu 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/dot2texjdf5me0a DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texjdf5me0a/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texjdf5me0a/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/dot2texjdf5me0a/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/dot2texjdf5me0a/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/dot2tex2fxdlnie/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/dot2tex2fxdlnie/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2fxdlnie/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/dot2tex2fxdlnie/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/dot2texjdf5me0a' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texjdf5me0a 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/dot2tex2fxdlnie DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2fxdlnie/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2fxdlnie/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/dot2tex2fxdlnie/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/dot2tex2fxdlnie/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/dot2tex6yj83x0u/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/dot2tex6yj83x0u/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex6yj83x0u/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/dot2tex6yj83x0u/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/dot2tex2fxdlnie' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2tex2fxdlnie 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/dot2tex6yj83x0u DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex6yj83x0u/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex6yj83x0u/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/dot2tex6yj83x0u/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/dot2tex6yj83x0u/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/dot2tex2t_a8jes/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/dot2tex2t_a8jes/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2t_a8jes/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/dot2tex2t_a8jes/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/dot2tex6yj83x0u' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2tex6yj83x0u 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/dot2tex2t_a8jes DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2t_a8jes/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2t_a8jes/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/dot2tex2t_a8jes/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/dot2tex2t_a8jes/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/dot2texqrlfqjwi/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/dot2texqrlfqjwi/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqrlfqjwi/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/dot2texqrlfqjwi/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/dot2tex2t_a8jes' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2tex2t_a8jes 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/dot2texqrlfqjwi DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqrlfqjwi/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texqrlfqjwi/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/dot2texqrlfqjwi/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/dot2texqrlfqjwi/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/dot2tex56wu8qhi/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/dot2tex56wu8qhi/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex56wu8qhi/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/dot2tex56wu8qhi/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/dot2texqrlfqjwi' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texqrlfqjwi 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/dot2tex56wu8qhi DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex56wu8qhi/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex56wu8qhi/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/dot2tex56wu8qhi/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/dot2tex56wu8qhi/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/dot2texo7kpbynk/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/dot2texo7kpbynk/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texo7kpbynk/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/dot2texo7kpbynk/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/dot2tex56wu8qhi' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2tex56wu8qhi 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/dot2texo7kpbynk DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texo7kpbynk/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texo7kpbynk/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/dot2texo7kpbynk/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/dot2texo7kpbynk/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/dot2tex7lg891fr/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/dot2tex7lg891fr/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex7lg891fr/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/dot2tex7lg891fr/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/dot2texo7kpbynk' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texo7kpbynk 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/dot2tex7lg891fr DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex7lg891fr/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex7lg891fr/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/dot2tex7lg891fr/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/dot2tex7lg891fr/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/dot2texuo3telkn/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/dot2texuo3telkn/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texuo3telkn/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/dot2texuo3telkn/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/dot2tex7lg891fr' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2tex7lg891fr 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/dot2texuo3telkn DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texuo3telkn/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texuo3telkn/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/dot2texuo3telkn/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/dot2texuo3telkn/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/dot2texaonvq6fg/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/dot2texaonvq6fg/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texaonvq6fg/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/dot2texaonvq6fg/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/dot2texuo3telkn' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texuo3telkn 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/dot2texaonvq6fg DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texaonvq6fg/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texaonvq6fg/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/dot2texaonvq6fg/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/dot2texaonvq6fg/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/dot2texv67qj55e/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/dot2texv67qj55e/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texv67qj55e/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/dot2texv67qj55e/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/dot2texaonvq6fg' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texaonvq6fg 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/dot2texv67qj55e DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texv67qj55e/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texv67qj55e/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/dot2texv67qj55e/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/dot2texv67qj55e/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/dot2texbmaf6q6v/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/dot2texbmaf6q6v/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbmaf6q6v/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/dot2texbmaf6q6v/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/dot2texv67qj55e' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texv67qj55e 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/dot2texbmaf6q6v DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbmaf6q6v/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texbmaf6q6v/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/dot2texbmaf6q6v/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/dot2texbmaf6q6v/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/dot2texn8mq6872/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/dot2texn8mq6872/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texn8mq6872/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/dot2texn8mq6872/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/dot2texbmaf6q6v' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texbmaf6q6v 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/dot2texn8mq6872 DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texn8mq6872/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texn8mq6872/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/dot2texn8mq6872/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/dot2texn8mq6872/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/dot2texcgjamql5/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/dot2texcgjamql5/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texcgjamql5/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/dot2texcgjamql5/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/dot2texn8mq6872' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texn8mq6872 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/dot2texcgjamql5 DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texcgjamql5/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texcgjamql5/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/dot2texcgjamql5/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/dot2texcgjamql5/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/dot2texuad_3pkl/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/dot2texuad_3pkl/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texuad_3pkl/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/dot2texuad_3pkl/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/dot2texcgjamql5' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texcgjamql5 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/dot2texuad_3pkl DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texuad_3pkl/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texuad_3pkl/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/dot2texuad_3pkl/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/dot2texuad_3pkl/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/dot2texrke0q2vi/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/dot2texrke0q2vi/dot2tex.log' command = ('latex -interaction=nonstopmode ' '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texrke0q2vi/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/dot2texrke0q2vi/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/dot2texuad_3pkl' /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-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc 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', '-p', 'no:sugar', '--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/dot2texuad_3pkl 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/dot2texrke0q2vi DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texrke0q2vi/dot2tex.tex DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texrke0q2vi/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/dot2texrke0q2vi/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/dot2texrke0q2vi/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 15.82s =========== * ERROR: dev-tex/dot2tex-2.11.3::gentoo failed (test phase): * pytest failed with python3.8 * * Call stack: * ebuild.sh, line 122: Called src_test * environment, line 3457: Called distutils-r1_src_test * environment, line 1669: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 740: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3117: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2639: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2637: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 1076: Called distutils-r1_run_phase 'python_test' * environment, line 1592: Called python_test * environment, line 3424: Called distutils-r1_python_test * environment, line 1542: Called epytest * environment, line 2147: 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:20220901-023151.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'