Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 861011 Details for
Bug 905415
dev-tex/dot2tex-2.11.3 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 275.21 KB, created by
Agostino Sarubbo
on 2023-05-01 12:45:10 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2023-05-01 12:45:10 UTC
Size:
275.21 KB
patch
obsolete
> * Package: dev-tex/dot2tex-2.11.3:0 > * Repository: gentoo > * Maintainer: tex@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo/gentoo/commit/efab9eb991eb7cd871324e0637d776e817615f1d (Mon May 1 12:36:37 UTC 2023) >@@@@@ END @@@@@ > > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This ebuild was merged (directly or as a dependency) because of the following commit: >https://github.com/gentoo/gentoo/commit/e5125e3948e90b7a27e03eccba4f02b1e4aa5ac2 >@@@@@ END @@@@@ > > > >################## ># emerge --info: # >################## >Portage 3.0.47 (python 3.11.3-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.37-r2, 5.15.85-gentoo-dist x86_64) >================================================================= >System uname: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 >KiB Mem: 263532996 total, 120844800 free >KiB Swap: 0 total, 0 free >sh bash 5.2_p15-r2 >ld GNU ld (Gentoo 2.40 p4) 2.40.0 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.2_p15-r2::gentoo >dev-lang/perl: 5.36.1::gentoo >dev-lang/python: 3.9.16_p3::gentoo, 3.10.11::gentoo, 3.11.3::gentoo >dev-util/cmake: 3.26.3::gentoo >dev-util/meson: 1.1.0::gentoo >sys-apps/baselayout: 2.13-r1::gentoo >sys-apps/openrc: 0.47.1::gentoo >sys-apps/sandbox: 2.30-r1::gentoo >sys-devel/autoconf: 2.71-r6::gentoo >sys-devel/automake: 1.16.5-r1::gentoo >sys-devel/binutils: 2.40-r4::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/gcc: 13.1.0-r1::gentoo >sys-devel/gcc-config: 2.10::gentoo >sys-devel/libtool: 2.4.7-r1::gentoo >sys-devel/make: 4.4.1::gentoo >sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) >sys-libs/glibc: 2.37-r2::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: True > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* MIT" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -march=x86-64 -pipe -pipe -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 GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" >FCFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" >LANG="en_US.utf8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >LEX="flex" >MAKEOPTS="-j61" >PKGDIR="/root/tbci/binpkg" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl amd64 bzip2 cli crypt debug dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test test-rust unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_9 python3_10 python3_11" USERLAND="GNU" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, 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): # >############################## >2023-05-01T14:42:07 >>> media-libs/libjpeg-turbo-2.1.5.1 >2023-05-01T14:42:08 >>> dev-libs/fribidi-1.0.12 >2023-05-01T14:42:08 >>> dev-python/pathspec-0.11.1 >2023-05-01T14:42:09 >>> dev-python/pluggy-1.0.0-r2 >2023-05-01T14:42:09 >>> dev-python/exceptiongroup-1.1.1 >2023-05-01T14:42:10 >>> dev-python/editables-0.3 >2023-05-01T14:42:10 >>> dev-python/trove-classifiers-2023.4.29 >2023-05-01T14:42:10 >>> dev-lang/nasm-2.16.01 >2023-05-01T14:42:11 >>> dev-python/calver-2022.06.26 >2023-05-01T14:42:11 >>> dev-python/flit_scm-1.7.0 >2023-05-01T14:42:18 >>> x11-libs/pango-1.50.14 >2023-05-01T14:42:28 >>> media-libs/gd-2.3.3-r3 >2023-05-01T14:42:29 >>> dev-python/iniconfig-2.0.0 >2023-05-01T14:42:30 >>> dev-python/hatchling-1.14.1 >2023-05-01T14:42:35 >>> media-gfx/graphviz-8.0.3 >2023-05-01T14:42:39 >>> dev-python/pytest-7.3.1 >2023-05-01T14:42:39 >>> dev-python/hatch-vcs-0.3.0 >2023-05-01T14:42:42 >>> 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/floppy-0:0 >acct-group/input-0-r1:0 >acct-group/kmem-0-r1:0 >acct-group/kvm-0-r1:0 >acct-group/lp-0-r1:0 >acct-group/man-0-r1:0 >acct-group/messagebus-0-r1:0 >acct-group/polkitd-0-r1:0 >acct-group/portage-0:0 >acct-group/render-0-r1:0 >acct-group/root-0: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/usb-0-r1:0 >acct-group/video-0-r1:0 >acct-user/man-1-r1:0 >acct-user/messagebus-0-r1:0 >acct-user/polkitd-0-r1:0 >acct-user/portage-0:0 >acct-user/sshd-0-r1:0 >app-admin/eselect-1.4.22:0 -doc -emacs -vim-syntax >app-admin/perl-cleaner-2.30-r1:0 -pkgcore >app-alternatives/awk-4:0 -busybox gawk -mawk -nawk split-usr >app-alternatives/bc-0:0 -gh gnu >app-alternatives/bzip2-1:0 -lbzip2 -pbzip2 reference split-usr >app-alternatives/cpio-0:0 gnu -libarchive split-usr >app-alternatives/gzip-0:0 -pigz reference split-usr >app-alternatives/lex-0-r1:0 flex -reflex >app-alternatives/sh-0:0 bash -busybox -dash -ksh -lksh -mksh >app-alternatives/tar-0:0 gnu -libarchive split-usr >app-alternatives/yacc-1-r2:0 bison -byacc -reference >app-arch/bzip2-1.0.8-r4: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/cpio-2.13-r5:0 nls >app-arch/gzip-1.12-r4:0 -pic -static -verify-sig >app-arch/libarchive-3.6.2-r1: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-r3:0 acl -minimal nls -selinux -verify-sig xattr >app-arch/unzip-6.0_p27-r1:0 bzip2 -natspec unicode >app-arch/xz-utils-5.4.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc extra-filters nls split-usr -static-libs -verify-sig >app-arch/zstd-1.5.5: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 lzma split-usr -static-libs -test zlib >app-crypt/gnupg-2.4.0:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server >app-crypt/gpgme-1.20.0:1/11.6.15.2 -common-lisp cxx -python python_targets_python3_10 python_targets_python3_11 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/pinentry-1.2.1-r1: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-7.2:0 -debug -justify -magic -minimal ncurses nls spell -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-r1:0 >app-i18n/man-pages-ja-20180315-r1:0 >app-i18n/man-pages-l10n-4.18.1-r1:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi >app-i18n/man-pages-zh_CN-1.6.3.6:0 >app-misc/ca-certificates-20230311.3.89:0 -cacert >app-misc/editor-wrapper-4-r1:0 >app-misc/mime-types-2.1.53:0 -nginx >app-misc/pax-utils-1.3.7:0 -caps -man -python -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_9 -seccomp -test >app-misc/tmux-3.3a-r1:0 debug -selinux -systemd -utempter -vim-syntax >app-portage/eix-0.36.6:0 debug -doc nls -sqlite >app-portage/elt-patches-20221210:0 >app-portage/gemato-20.2:0 gpg -pretty-log python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 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_9 -test >app-portage/portage-utils-0.95:0 openmp qmanifest qtegrity -static >app-shells/bash-5.2_p15-r2:0 -afs -bashlogger -examples -mem-scramble net nls -pgo -plugins readline -verify-sig >app-shells/bash-completion-2.11:0 eselect -test >app-shells/gentoo-bashcomp-20230313:0 >app-shells/push-3.4:0 >app-shells/quoter-4.2:0 >app-text/ansifilter-2.18:0 -qt5 >app-text/asciidoc-10.2.0:0 -python_single_target_pypy3 -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_9 >app-text/build-docbook-catalog-2.4: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-ns-stylesheets-1.79.1:0 -ruby >app-text/docbook-xsl-stylesheets-1.79.1-r4:0 -ruby >app-text/manpager-1:0 >app-text/opensp-1.5.2-r10:0 -doc nls -static-libs -test >app-text/po4a-0.69:0 -test -test >app-text/sgml-common-0.6.3-r7:0 >app-text/xmlto-0.0.28-r10:0 -latex text >dev-db/sqlite-3.41.2-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 debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools >dev-lang/duktape-2.7.0-r3:0/2.7.0 >dev-lang/nasm-2.16.01:0 -doc >dev-lang/perl-5.36.1:0/5.36 -berkdb debug -doc gdbm ithreads -minimal -quadmath >dev-lang/python-3.11.3:3.11 -bluetooth -build ensurepip -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.10.11:3.10 -bluetooth -build ensurepip -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml >dev-lang/python-3.9.16_p3:3.9 -bluetooth -build ensurepip -examples gdbm -hardened -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml >dev-lang/python-exec-2.4.10:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 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_9 >dev-lang/tcl-8.6.13-r1: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-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 -cxx large -static-libs threads >dev-libs/elfutils-0.189-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 nls -static-libs -test utils -valgrind -verify-sig -zstd >dev-libs/expat-2.5.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 -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.76.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 -dbus debug elf -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr >dev-libs/gmp-6.2.1-r5: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 cpudetection cxx -doc -pic -static-libs >dev-libs/gobject-introspection-1.76.1:0 -doctool -gtk-doc -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_9 -test >dev-libs/gobject-introspection-common-1.76.1:0 >dev-libs/isl-0.26: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.8.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 >dev-libs/libevent-2.1.12-r1: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 -verbose-debug >dev-libs/libffi-3.4.4-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -exec-static-trampoline -pax-kernel -static-libs -test >dev-libs/libgcrypt-1.10.2: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 getentropy -static-libs -verify-sig >dev-libs/libgpg-error-1.47: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 -verify-sig >dev-libs/libksba-1.6.3:0 -static-libs -verify-sig >dev-libs/libltdl-2.4.7-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 >dev-libs/libpcre2-10.42-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 bzip2 jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode -verify-sig zlib >dev-libs/libpipeline-1.5.7: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.1-r1:0/5 -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-r1:0/1 >dev-libs/libxml2-2.10.4: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_9 readline -static-libs -test >dev-libs/libxslt-1.1.37-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 crypt debug -examples -python python_targets_python3_10 python_targets_python3_11 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.3.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.2.0_p4: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 -verify-sig >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-3.0.8-r4: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 asm cpu_flags_x86_sse2 -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -verify-sig -weak-ssl-ciphers >dev-libs/popt-1.19: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/Clone-0.460.0:0 -test >dev-perl/Devel-CheckLib-1.160.0:0 -test >dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test >dev-perl/Encode-HanExtra-0.230.0-r3:0 >dev-perl/Encode-Locale-1.50.0-r1:0 -test >dev-perl/ExtUtils-CChecker-0.110.0: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.440.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.81.0:0 -examples -idn -test >dev-perl/IPC-System-Simple-1.300.0:0 -test >dev-perl/libwww-perl-6.600.0-r1:0 ssl -test >dev-perl/Locale-gettext-1.70.0-r1:0 -test >dev-perl/LWP-MediaTypes-6.40.0:0 -test >dev-perl/LWP-Protocol-https-6.100.0:0 -test >dev-perl/MIME-Charset-1.13.1:0 l10n_ja l10n_zh -test >dev-perl/Module-Build-0.423.100:0 -test >dev-perl/Mozilla-CA-20999999-r1:0 -test >dev-perl/Net-HTTP-6.220.0:0 -minimal -test -test >dev-perl/Net-SSLeay-1.920.0:0 -examples -examples -minimal -test >dev-perl/Pod-Parser-1.630.0-r1:0 -test >dev-perl/SGMLSpm-1.1-r2:0 -test >dev-perl/Socket6-0.290.0:0 -test >dev-perl/Sub-Name-0.260.0:0 -suggested -test >dev-perl/Syntax-Keyword-Try-0.270.0:0 -test >dev-perl/TermReadKey-2.380.0-r1:0 -examples -test >dev-perl/Text-CharWidth-0.40.0-r2:0 -test >dev-perl/Text-WrapI18N-0.60.0-r2:0 -test >dev-perl/TimeDate-2.330.0-r1:0 -test >dev-perl/Try-Tiny-0.310.0:0 -minimal -test >dev-perl/Unicode-LineBreak-2019.1.0:0 >dev-perl/URI-5.110.0:0 -test >dev-perl/WWW-RobotRules-6.20.0-r2:0 -test >dev-perl/XML-Parser-2.460.0-r2:0 >dev-perl/XS-Parse-Keyword-0.250.0:0 -test >dev-perl/YAML-Tiny-1.730.0-r1:0 -minimal -test >dev-python/autocommand-2.2.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/calver-2022.06.26:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/certifi-3021.3.16-r3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/charset_normalizer-3.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/cython-0.29.34:0 -doc -emacs python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/editables-0.3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/ensurepip-pip-23.1.2:0 >dev-python/ensurepip-setuptools-67.7.2:0 >dev-python/ensurepip-wheels-100:0 >dev-python/exceptiongroup-1.1.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/flit_core-3.8.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/flit_scm-1.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-python/gentoo-common-1:0 >dev-python/gpep517-13:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/hatch-vcs-0.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/hatchling-1.14.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/idna-3.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/importlib-metadata-6.6.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/inflect-6.0.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/iniconfig-2.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/installer-0.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-context-4.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-functools-3.6.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-text-3.11.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 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_9 -test >dev-python/markupsafe-2.1.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/more-itertools-9.1.0:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 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_9 -test >dev-python/ordered-set-4.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/packaging-23.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pathspec-0.11.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/platformdirs-3.5.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 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_9 -test >dev-python/pydantic-1.10.7:0 native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pydot-1.4.2-r3:0 python_targets_python3_10 python_targets_python3_11 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_9 -test >dev-python/pypy3-7.3.11_p1:0/pypy39-pp73-336 ensurepip gdbm jit ncurses sqlite -tk >dev-python/pypy3-exe-bin-7.3.11:3.9-7.3.11 >dev-python/PySocks-1.7.1-r2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-python/pytest-7.3.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/requests-2.29.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -socks5 -test test-rust >dev-python/setuptools-67.7.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/setuptools-scm-7.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 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_9 -test >dev-python/tomli-2.0.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/trove-classifiers-2023.4.29:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/typing-extensions-4.5.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/urllib3-1.26.15:0 -brotli python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/wheel-0.40.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/zipp-3.15.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-util/checkbashisms-2.22.2:0 >dev-util/cmake-3.26.3:0 -doc -emacs ncurses -qt5 -test -test -verify-sig >dev-util/desktop-file-utils-0.26-r2:0 -emacs >dev-util/glib-utils-2.76.2:0 -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_9 >dev-util/gperf-3.1-r1:0 >dev-util/gtk-doc-am-1.33.2:0 >dev-util/intltool-0.51.0-r3:0 >dev-util/meson-1.1.0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-util/ninja-1.11.1-r2:0 -doc -emacs -test >dev-util/pkgconf-1.8.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 -test >dev-util/re2c-2.2:0 debug -test >dev-vcs/git-2.40.1:0 blksha1 -cgi curl -cvs -doc -gnome-keyring gpg -highlight iconv -mediawiki nls pcre -perforce -perl -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_9 safe-directory -selinux -subversion -test -tk webdav -xinetd >media-fonts/liberation-fonts-2.1.5:0 -X -X -fontforge >media-gfx/graphite2-1.3.14_p20210810-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 -perl -test >media-gfx/graphviz-8.0.3: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_9 -qt5 -ruby -svg -tcl -webp >media-libs/fontconfig-2.14.2-r2: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 nls -test >media-libs/freetype-2.13.0: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-r3: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-7.2.0:0/6.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.5.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 -cpu_flags_arm_neon -java -java -static-libs >media-libs/libpng-1.6.39: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/c-ares-1.19.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 -static-libs -test -verify-sig >net-dns/libidn2-2.3.4: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.9:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs >net-libs/gnutls-3.8.0: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 idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -valgrind -verify-sig zlib -zstd >net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig >net-libs/libnsl-2.0.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >net-libs/libtirpc-1.3.3: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 -kerberos split-usr -static-libs >net-libs/nghttp2-1.52.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 debug -hpack-tools -jemalloc -static-libs -systemd -test -utils -xml >net-misc/curl-8.0.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl -curl_ssl_rustls ftp -gnutls -gopher -hsts http2 -idn imap -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -rtmp -rustls -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -verify-sig -websockets -zstd >net-misc/dhcpcd-10.0.1:0 debug embedded ipv6 -privsep udev >net-misc/iputils-20221126-r1:0 arping -caps -clockdiff -doc filecaps -idn nls -test -tracepath >net-misc/netifrc-0.7.4:0 dhcp >net-misc/openssh-9.3_p1: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.7-r2:0 acl -examples iconv -lz4 -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_9 -rrsync 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-20230329: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.13-r1:0 -build split-usr >sys-apps/coreutils-9.3:0 acl -caps -gmp -hostname -kill -multicall nls openssl -selinux split-usr -static -test -vanilla -verify-sig xattr >sys-apps/dbus-1.15.4-r1:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc elogind -selinux -static-libs -systemd -test -test >sys-apps/debianutils-5.7:0 installkernel -static >sys-apps/diffutils-3.9-r1:0 nls -verify-sig >sys-apps/file-5.44-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 bzip2 -lzip -lzma -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -seccomp -static-libs -verify-sig zlib -zstd >sys-apps/findutils-4.9.0-r2:0 nls -selinux -static -test -verify-sig >sys-apps/gawk-5.2.1:0 -mpfr nls -pma readline -verify-sig >sys-apps/gentoo-functions-0.19:0 >sys-apps/grep-3.10:0 egrep-fgrep nls pcre -static -verify-sig >sys-apps/groff-1.22.4:0 -X -examples -uchardet >sys-apps/help2man-1.49.3:0 nls >sys-apps/install-xattr-0.8-r1:0 >sys-apps/iproute2-6.3.0: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-r1:0 debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -static-libs tools zlib zstd >sys-apps/less-632:0 pcre >sys-apps/man-db-2.11.2:0 manpager nls seccomp -selinux -static-libs zlib >sys-apps/man-pages-6.04:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_ja l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi l10n_zh-CN >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.47.1:0 -audit -bash debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode >sys-apps/portage-3.0.47:0 -apidoc -build -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 rsync-verify -selinux -test xattr >sys-apps/sandbox-2.30-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 nnp >sys-apps/sed-4.9:0 acl nls -selinux -static -verify-sig >sys-apps/shadow-4.13-r3:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su -verify-sig xattr >sys-apps/systemd-utils-252.9: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 -split-usr -sysusers -test tmpfiles udev >sys-apps/sysvinit-3.07:0 -ibm nls -selinux -static -verify-sig >sys-apps/texinfo-7.0.3:0 nls standalone -static >sys-apps/util-linux-2.38.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 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 readline -rtas -selinux -slang split-usr -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig >sys-apps/which-2.21:0 >sys-auth/elogind-246.10-r2:0 acl -audit cgroup-hybrid debug -doc pam policykit -selinux -test >sys-auth/pambase-20220214:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd -yescrypt >sys-auth/passwdqc-2.0.2-r1:0 >sys-auth/polkit-122-r1:0 daemon duktape -examples -gtk introspection -kde pam -selinux -systemd -test >sys-devel/autoconf-2.71-r6:2.71 -emacs >sys-devel/autoconf-archive-2023.02.20:0 >sys-devel/autoconf-wrapper-20221207-r1:0 >sys-devel/automake-1.16.5-r1:1.16 -test >sys-devel/automake-wrapper-20221207:0 >sys-devel/bc-1.07.1-r6:0 -libedit readline -static >sys-devel/binutils-2.40-r4:2.40 -cet -doc -gold -gprofng -multitarget nls -pgo plugins -static-libs -test -vanilla -zstd >sys-devel/binutils-config-5.5:0 native-symlinks >sys-devel/bison-3.8.2-r2:0 -examples nls -static -test -verify-sig >sys-devel/flex-2.6.4-r6: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-13.1.0-r1:13 -ada -cet -custom-cflags cxx -d -debug -default-stack-clash-protection -default-znow -doc -fixed-point fortran -go graphite -hardened -ieee-long-double -jit -libssp lto -modula2 multilib nls nptl -objc -objc++ -objc-gc openmp -pch -pgo pie sanitize -ssp -systemtap -test -valgrind -vanilla -vtv -zstd >sys-devel/gcc-config-2.10:0 cc-wrappers native-symlinks >sys-devel/gettext-0.21.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 acl cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs -verify-sig >sys-devel/gnuconfig-20230121:0 >sys-devel/libtool-2.4.7-r1:2 -vanilla >sys-devel/m4-1.4.19-r1:0 -examples nls -verify-sig >sys-devel/make-4.4.1:0 -guile nls -static -verify-sig >sys-devel/patch-2.7.6-r5:0 -static -test -verify-sig xattr >sys-fs/e2fsprogs-1.47.0-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 nls split-usr -static-libs -test tools >sys-fs/udev-init-scripts-35:0 >sys-kernel/dracut-059:0 -selinux -test >sys-kernel/gentoo-kernel-bin-6.2.13:6.2.13 initramfs -test >sys-kernel/installkernel-gentoo-7:0 -grub >sys-kernel/linux-headers-6.3:0 -headers-only >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 -test -verify-sig >sys-libs/glibc-2.37-r2:2.2 -audit -caps -cet -compile-locales -crypt -custom-cflags -doc -gd -hash-sysv-compat -headers-only multiarch multilib -multilib-bootstrap -nscd -perl -profile -selinux -ssp stack-realign static-libs -suid -systemd -systemtap -test -vanilla >sys-libs/libcap-2.68: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_11 python_targets_python3_9 -static-libs -test >sys-libs/libxcrypt-4.4.33:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compat -headers-only split-usr -static-libs system -test >sys-libs/ncurses-6.4_p20230401: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 -split-usr stack-realign -static-libs -test tinfo -trace -verify-sig >sys-libs/pam-1.5.2-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 -audit -berkdb -debug filecaps -nis -selinux split-usr >sys-libs/readline-8.2_p1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils -verify-sig >sys-libs/timezone-data-2023c:0 -leaps-timezone nls -zic-slim >sys-libs/zlib-1.2.13-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 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.6:0 -X -apparmor nls -selinux -test >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/dev-manager-0-r2:0 >virtual/dist-kernel-6.2.13:0/6.2.13 >virtual/editor-0-r5:0 >virtual/libc-1-r1:0 >virtual/libcrypt-2-r1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/libelf-3-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-r3: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-r1:0 >virtual/ssh-0-r1:0 -minimal >virtual/tmpfiles-0-r3:0 >virtual/ttf-fonts-1-r2:0 >virtual/udev-217-r5:0 >virtual/w3m-1:0 >www-client/pybugz-0.13-r2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >www-client/w3m-0.5.3_p20230121:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface >x11-apps/xprop-1.2.6:0 >x11-apps/xset-1.2.5:0 >x11-base/xcb-proto-1.15.2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >x11-base/xorg-proto-2022.2:0 -test >x11-libs/cairo-1.17.8: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 glib -gtk-doc -test >x11-libs/libICE-1.1.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 >x11-libs/libSM-1.2.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 uuid >x11-libs/libX11-1.8.4-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/libXau-1.0.11: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.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 -doc >x11-libs/libXext-1.3.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXmu-1.1.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/libXrender-0.9.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >x11-libs/libXt-1.3.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 -doc -test >x11-libs/pango-1.50.14: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.42.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 -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.4-r1:0 >x11-misc/shared-mime-info-2.2:0 -test >x11-misc/xdg-utils-1.1.3_p20210805-r1: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 : 67.7.2 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3 ... > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 61 >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 61 >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 > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile >python3.11 setup.py build -j 61 >running build >running build_py >creating /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_11/lib/dot2tex >copying dot2tex/__init__.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_11/lib/dot2tex >copying dot2tex/dot2tex.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_11/lib/dot2tex >copying dot2tex/dotparsing.py -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_11/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_11/scripts >copying and adjusting dot2tex/dot2tex -> /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_11/scripts >changing mode of /var/tmp/portage/dev-tex/dot2tex-2.11.3/work/dot2tex-2.11.3-python3_11/scripts/dot2tex from 644 to 755 > * Using python3.11 in global scope > * python3_11: running distutils-r1_run_phase python_compile_all >>>> Source compiled. >>>> Test phase: dev-tex/dot2tex-2.11.3 > * python3_9: running distutils-r1_run_phase python_test >python3.9 -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 -p no:xvfb -p no:tavern --deselect tests/test_dot2tex.py::MultipleStatements::test_semicolon >============================= test session starts ============================== >platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python3.9 >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 = <test_dot2tex.BuggyGraphTests testMethod=test_small_label> > > 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 = <test_dot2tex.BuggyGraphTests testMethod=test_small_label> >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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=True, codeonly=False, styleonly=False, debug=True, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e707948b0> > 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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=True, codeonly=False, styleonly=False, debug=True, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > output_format = 'tikz' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e7077d940> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e707948b0> >/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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e7077d940> > name = 'objects' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e70791850> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e707940d0> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e707948b0> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = '$1$' > usededges = {} > usedgraphs = {} > usednodes = {'objects': <dot2tex.dotparsing.DotNode object at 0x7f8e70791850>} >/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/dot2teximmytkkt/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e707940d0> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e707940d0> > > 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/dot2teximmytkkt/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2teximmytkkt/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/dot2teximmytkkt/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e707940d0> >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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2teximmytkkt >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2teximmytkkt/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2teximmytkkt/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/dot2teximmytkkt/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/dot2teximmytkkt/dot2tex.log' >__________________ NeedsQuotesTests.test_not_numeral_in_label __________________ > >self = <test_dot2tex.NeedsQuotesTests testMethod=test_not_numeral_in_label> > > 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 = <test_dot2tex.NeedsQuotesTests testMethod=test_not_numeral_in_label> >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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=True, codeonly=False, styleonly=False, debug=True, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e7071d400> > 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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=True, codeonly=False, styleonly=False, debug=True, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > output_format = 'tikz' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e7071d250> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e7071d400> >/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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e7071d250> > name = 'b' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e70672c10> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e7050fbb0> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e7071d400> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e706726a0>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e70672c10>} >/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/dot2texzgebegny/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e7050fbb0> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e7050fbb0> > > 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/dot2texzgebegny/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texzgebegny/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/dot2texzgebegny/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e7050fbb0> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2teximmytkkt' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2teximmytkkt >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/dot2texzgebegny >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texzgebegny/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texzgebegny/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/dot2texzgebegny/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/dot2texzgebegny/dot2tex.log' >_______________ EdgeLabelsTests.test_edgetexlbl_nolabel_preproc ________________ > >self = <test_dot2tex.EdgeLabelsTests testMethod=test_edgetexlbl_nolabel_preproc> > > 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 = <test_dot2tex.EdgeLabelsTests testMethod=test_edgetexlbl_nolabel_preproc> > >/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(format='pgf', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e7077b490> > dotdata = 'digraph G {a -> b [texlbl="TestLabel"];}' > extraoptions = [] > fmtattr = [] > gfmt = None > lines = ['digraph G {a -> b [texlbl="TestLabel"];}'] > m = None > nodebug = True > options = Namespace(format='pgf', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pgf' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e704e82e0> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e7077b490> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e7082b0d0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e704e82e0> > headlabel = '' > label = 'TestLabel' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e70824e50> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e708240a0> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e7077b490> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e7082b0d0>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e70824f10>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e70824e50>} >/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/dot2texetvmvmxb/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e708240a0> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e708240a0> > > 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/dot2texetvmvmxb/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texetvmvmxb/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/dot2texetvmvmxb/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e708240a0> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texzgebegny' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texzgebegny >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/dot2texetvmvmxb >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texetvmvmxb/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texetvmvmxb/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/dot2texetvmvmxb/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/dot2texetvmvmxb/dot2tex.log' >______________________ TestBugs.test_head_and_tail_labels ______________________ > >self = <test_dot2tex.TestBugs testMethod=test_head_and_tail_labels> > > 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 = <test_dot2tex.TestBugs testMethod=test_head_and_tail_labels> > >/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(format='pgf', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e70871160> > 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(format='pgf', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pgf' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e70734e80> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e70871160> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e70520250> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e70734e80> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e707b5a60> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70520f10> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e70871160> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e70520250>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e70701b20>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e707b5a60>} >/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/dot2texd5h_ng9d/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70520f10> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70520f10> > > 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/dot2texd5h_ng9d/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texd5h_ng9d/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/dot2texd5h_ng9d/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70520f10> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texetvmvmxb' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texetvmvmxb >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/dot2texd5h_ng9d >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texd5h_ng9d/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texd5h_ng9d/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/dot2texd5h_ng9d/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/dot2texd5h_ng9d/dot2tex.log' >_____________________ TestBugs.test_styleonly_tikz_preproc _____________________ > >self = <test_dot2tex.TestBugs testMethod=test_styleonly_tikz_preproc> > > 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 = <test_dot2tex.TestBugs testMethod=test_styleonly_tikz_preproc> > >/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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=True, debug=False, texpreproc=True, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=False, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70572be0> > 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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=True, debug=False, texpreproc=True, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=False, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > output_format = 'tikz' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e70435430> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70572be0> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e706bfc10> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e70435430> > name = 'a_3' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e7040b220> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e706bfaf0> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70572be0> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'a\\_3' > usededges = {} > usedgraphs = {} > usednodes = {'a_1': <dot2tex.dotparsing.DotNode object at 0x7f8e70572af0>, > 'a_2': <dot2tex.dotparsing.DotNode object at 0x7f8e7040b7f0>, > 'a_3': <dot2tex.dotparsing.DotNode object at 0x7f8e7040b220>} >/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/dot2tex4rag73az/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e706bfaf0> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e706bfaf0> > > 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/dot2tex4rag73az/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex4rag73az/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/dot2tex4rag73az/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e706bfaf0> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texd5h_ng9d' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texd5h_ng9d >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/dot2tex4rag73az >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex4rag73az/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex4rag73az/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/dot2tex4rag73az/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/dot2tex4rag73az/dot2tex.log' >___________________ HeadAndTailLabelTest.test_head_label_pgf ___________________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_pgf> > > def test_head_label_pgf(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pgf") > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_pgf> > >/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(format='pgf', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e705209d0> > 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(format='pgf', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pgf' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e7080bac0> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e705209d0> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e704838e0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e7080bac0> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e70792070> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70483790> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e705209d0> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e704838e0>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e707941c0>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e70792070>} >/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/dot2tex_w7gfr77/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70483790> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70483790> > > 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/dot2tex_w7gfr77/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex_w7gfr77/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/dot2tex_w7gfr77/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70483790> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex4rag73az' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2tex4rag73az >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/dot2tex_w7gfr77 >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex_w7gfr77/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex_w7gfr77/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/dot2tex_w7gfr77/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/dot2tex_w7gfr77/dot2tex.log' >______________ HeadAndTailLabelTest.test_head_label_pgf_duplicate ______________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_pgf_duplicate> > > def test_head_label_pgf_duplicate(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pgf", duplicate=True) > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_pgf_duplicate> > >/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(format='pgf', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e70791430> > 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(format='pgf', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pgf' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e70779880> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e70791430> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e70791af0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e70779880> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e707917f0> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70791940> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e70791430> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e70791af0>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e704b4d30>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e707917f0>} >/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/dot2tex_kf8zc31/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70791940> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70791940> > > 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/dot2tex_kf8zc31/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex_kf8zc31/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/dot2tex_kf8zc31/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70791940> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex_w7gfr77' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2tex_w7gfr77 >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/dot2tex_kf8zc31 >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex_kf8zc31/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex_kf8zc31/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/dot2tex_kf8zc31/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/dot2tex_kf8zc31/dot2tex.log' >________________ HeadAndTailLabelTest.test_head_label_pstricks _________________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_pstricks> > > def test_head_label_pstricks(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pstricks") > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_pstricks> > >/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(format='pstricks', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e70821a00> > 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(format='pstricks', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pstricks' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e707009a0> > self = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e70821a00> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e705d7dc0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e707009a0> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e70776d90> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e705d7be0> > self = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e70821a00> > taillabel = 'TAILLABEL' > taillabel_name = 'ab0taillabel' > template = ('\\documentclass{article}\n' > '% <<bbox>>\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' > '<<preproccode>>%\n' > '%\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '%\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e705d7dc0>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e707077c0>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e70776d90>} >/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/dot2tex2r656h3k/dot2tex.tex' mode='r' encoding='UTF-8'> > n = 'TAILLABEL' > s = ('\\documentclass{article}\n' > '% <<bbox>>\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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e705d7be0> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e705d7be0> > > 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/dot2tex2r656h3k/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2r656h3k/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/dot2tex2r656h3k/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e705d7be0> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex_kf8zc31' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2tex_kf8zc31 >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/dot2tex2r656h3k >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2r656h3k/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2r656h3k/dot2tex.tex >\documentclass{article} >% <<bbox>> >\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/dot2tex2r656h3k/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/dot2tex2r656h3k/dot2tex.log' >___________ HeadAndTailLabelTest.test_head_label_pstricks_duplicate ____________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_pstricks_duplicate> > > def test_head_label_pstricks_duplicate(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pstricks", duplicate=True) > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_pstricks_duplicate> > >/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(format='pstricks', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e707fc160> > 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(format='pstricks', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pstricks' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e70815fd0> > self = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e707fc160> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e704e88b0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e70815fd0> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e70794910> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704e8370> > self = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e707fc160> > taillabel = 'TAILLABEL' > taillabel_name = 'ab0taillabel' > template = ('\\documentclass{article}\n' > '% <<bbox>>\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' > '<<preproccode>>%\n' > '%\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '%\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e704e88b0>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e70794490>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e70794910>} >/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/dot2texlb_2l4rk/dot2tex.tex' mode='r' encoding='UTF-8'> > n = 'TAILLABEL' > s = ('\\documentclass{article}\n' > '% <<bbox>>\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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704e8370> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704e8370> > > 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/dot2texlb_2l4rk/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlb_2l4rk/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/dot2texlb_2l4rk/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704e8370> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2r656h3k' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2tex2r656h3k >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/dot2texlb_2l4rk >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlb_2l4rk/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlb_2l4rk/dot2tex.tex >\documentclass{article} >% <<bbox>> >\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/dot2texlb_2l4rk/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/dot2texlb_2l4rk/dot2tex.log' >__________________ HeadAndTailLabelTest.test_head_label_tikz ___________________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_tikz> > > def test_head_label_tikz(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="tikz") > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_tikz> > >/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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e707917c0> > 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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > output_format = 'tikz' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e707912e0> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e707917c0> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e704b4d90> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e707912e0> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e7040bb50> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704b4340> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e707917c0> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e704b4d90>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e7082b1f0>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e7040bb50>} >/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/dot2tex2qrdu1gm/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704b4340> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704b4340> > > 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/dot2tex2qrdu1gm/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2qrdu1gm/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/dot2tex2qrdu1gm/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704b4340> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texlb_2l4rk' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texlb_2l4rk >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/dot2tex2qrdu1gm >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2qrdu1gm/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2qrdu1gm/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/dot2tex2qrdu1gm/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/dot2tex2qrdu1gm/dot2tex.log' >_____________ HeadAndTailLabelTest.test_head_label_tikz_duplicate ______________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_tikz_duplicate> > > def test_head_label_tikz_duplicate(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="tikz", duplicate=True) > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_head_label_tikz_duplicate> > >/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(format='tikz', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70782910> > 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(format='tikz', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > output_format = 'tikz' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e70700a30> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70782910> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e70719880> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e70700a30> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e704692e0> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70719400> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70782910> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e70719880>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e70734b80>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e704692e0>} >/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/dot2texc_40jp_t/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70719400> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70719400> > > 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/dot2texc_40jp_t/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texc_40jp_t/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/dot2texc_40jp_t/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70719400> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex2qrdu1gm' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2tex2qrdu1gm >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/dot2texc_40jp_t >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texc_40jp_t/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texc_40jp_t/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/dot2texc_40jp_t/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/dot2texc_40jp_t/dot2tex.log' >___________________ HeadAndTailLabelTest.test_tail_label_pgf ___________________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_pgf> > > def test_tail_label_pgf(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pgf") > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_pgf> > >/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(format='pgf', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e704e8370> > 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(format='pgf', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pgf' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e7070e4c0> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e704e8370> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e70802d60> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e7070e4c0> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e704b4c70> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70802580> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e704e8370> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e70802d60>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e704b4130>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e704b4c70>} >/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/dot2texxw5g3dc4/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70802580> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70802580> > > 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/dot2texxw5g3dc4/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxw5g3dc4/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/dot2texxw5g3dc4/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70802580> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texc_40jp_t' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texc_40jp_t >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/dot2texxw5g3dc4 >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxw5g3dc4/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxw5g3dc4/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/dot2texxw5g3dc4/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/dot2texxw5g3dc4/dot2tex.log' >______________ HeadAndTailLabelTest.test_tail_label_pgf_duplicate ______________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_pgf_duplicate> > > def test_tail_label_pgf_duplicate(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pgf", duplicate=True) > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_pgf_duplicate> > >/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(format='pgf', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e7070d040> > 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(format='pgf', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pgf' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e7080bd00> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e7070d040> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e705d7fa0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e7080bd00> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e705d7c40> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e705d7580> > self = <dot2tex.dot2tex.Dot2PGFConv object at 0x7f8e7070d040> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e705d7fa0>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e7070d490>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e705d7c40>} >/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/dot2texy5ejx7e6/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e705d7580> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e705d7580> > > 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/dot2texy5ejx7e6/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texy5ejx7e6/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/dot2texy5ejx7e6/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e705d7580> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texxw5g3dc4' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texxw5g3dc4 >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/dot2texy5ejx7e6 >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texy5ejx7e6/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texy5ejx7e6/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/dot2texy5ejx7e6/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/dot2texy5ejx7e6/dot2tex.log' >________________ HeadAndTailLabelTest.test_tail_label_pstricks _________________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_pstricks> > > def test_tail_label_pstricks(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pstricks") > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_pstricks> > >/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(format='pstricks', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e70578070> > 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(format='pstricks', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pstricks' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e706727f0> > self = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e70578070> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e70435760> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e706727f0> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e708149d0> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70435e20> > self = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e70578070> > taillabel = 'TAILLABEL' > taillabel_name = 'ab0taillabel' > template = ('\\documentclass{article}\n' > '% <<bbox>>\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' > '<<preproccode>>%\n' > '%\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '%\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e70435760>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e70814ac0>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e708149d0>} >/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/dot2tex5a6lz853/dot2tex.tex' mode='r' encoding='UTF-8'> > n = 'TAILLABEL' > s = ('\\documentclass{article}\n' > '% <<bbox>>\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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70435e20> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70435e20> > > 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/dot2tex5a6lz853/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex5a6lz853/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/dot2tex5a6lz853/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70435e20> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texy5ejx7e6' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texy5ejx7e6 >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/dot2tex5a6lz853 >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex5a6lz853/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex5a6lz853/dot2tex.tex >\documentclass{article} >% <<bbox>> >\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/dot2tex5a6lz853/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/dot2tex5a6lz853/dot2tex.log' >___________ HeadAndTailLabelTest.test_tail_label_pstricks_duplicate ____________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_pstricks_duplicate> > > def test_tail_label_pstricks_duplicate(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="pstricks", duplicate=True) > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_pstricks_duplicate> > >/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(format='pstricks', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e704d23a0> > 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(format='pstricks', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=False, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None) > output_format = 'pstricks' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e70722790> > self = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e704d23a0> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e70702220> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e70722790> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e707948e0> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70793160> > self = <dot2tex.dot2tex.Dot2PSTricksConv object at 0x7f8e704d23a0> > taillabel = 'TAILLABEL' > taillabel_name = 'ab0taillabel' > template = ('\\documentclass{article}\n' > '% <<bbox>>\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' > '<<preproccode>>%\n' > '%\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '%\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e70702220>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e708221c0>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e707948e0>} >/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/dot2texczqws59h/dot2tex.tex' mode='r' encoding='UTF-8'> > n = 'TAILLABEL' > s = ('\\documentclass{article}\n' > '% <<bbox>>\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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70793160> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70793160> > > 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/dot2texczqws59h/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texczqws59h/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/dot2texczqws59h/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70793160> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex5a6lz853' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2tex5a6lz853 >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/dot2texczqws59h >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texczqws59h/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texczqws59h/dot2tex.tex >\documentclass{article} >% <<bbox>> >\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/dot2texczqws59h/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/dot2texczqws59h/dot2tex.log' >__________________ HeadAndTailLabelTest.test_tail_label_tikz ___________________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_tikz> > > def test_tail_label_tikz(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="tikz") > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_tikz> > >/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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70483280> > 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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > output_format = 'tikz' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e70780280> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70483280> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e704f83d0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e70780280> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e70700b20> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704f8bb0> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70483280> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e704f83d0>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e70825ac0>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e70700b20>} >/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/dot2texe8y55mrs/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704f8bb0> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704f8bb0> > > 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/dot2texe8y55mrs/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texe8y55mrs/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/dot2texe8y55mrs/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e704f8bb0> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texczqws59h' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texczqws59h >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/dot2texe8y55mrs >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texe8y55mrs/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texe8y55mrs/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/dot2texe8y55mrs/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/dot2texe8y55mrs/dot2tex.log' >_____________ HeadAndTailLabelTest.test_tail_label_tikz_duplicate ______________ > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_tikz_duplicate> > > def test_tail_label_tikz_duplicate(self): >> source = dot2tex.dot2tex(self.test_graph, autosize=True, format="tikz", duplicate=True) > >self = <test_dot2tex.HeadAndTailLabelTest testMethod=test_tail_label_tikz_duplicate> > >/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(format='tikz', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70435b80> > 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(format='tikz', texmode='verbatim', duplicate=True, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=False, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > output_format = 'tikz' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e70578d30> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70435b80> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e704694f0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e70578d30> > headlabel = 'HEADLABEL' > headlabel_name = 'ab0headlabel' > label = 'LABEL' > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e7080c8b0> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70469940> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e70435b80> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {'ab0': <dot2tex.dotparsing.DotEdge object at 0x7f8e704694f0>} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e70520d30>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e7080c8b0>} >/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/dot2texo32ela65/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70469940> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70469940> > > 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/dot2texo32ela65/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texo32ela65/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/dot2texo32ela65/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70469940> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texe8y55mrs' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texe8y55mrs >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/dot2texo32ela65 >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texo32ela65/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texo32ela65/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/dot2texo32ela65/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/dot2texo32ela65/dot2tex.log' >____________________ MultilineTests.test_multiline_autosize ____________________ > >self = <test_dot2tex.MultilineTests testMethod=test_multiline_autosize> > > 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_dot2tex.MultilineTests testMethod=test_multiline_autosize> >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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=True, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > parser = ArgumentParser(prog='dot2tex', usage=None, description='Convert dot files to PGF/TikZ graphics for inclusion in LaTeX.', formatter_class=<class 'argparse.HelpFormatter'>, 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 = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e708258b0> > 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(format='tikz', texmode='verbatim', duplicate=False, straightedges=False, templatefile=None, outputfile=None, force=False, encoding='utf8', printversion=False, switchdraworder=True, crop=False, margin='0pt', docpreamble=None, figpreamble=None, figpostamble=None, graphstyle=None, gvcols=False, figonly=False, codeonly=True, styleonly=False, debug=False, texpreproc=False, alignstr=None, valignmode='center', nominsize=False, usepdflatex=False, tikzedgelabels=False, nodeoptions=None, edgeoptions=None, runtests=False, prog='dot', progoptions='', autosize=True, cache=False, pgf118=False, pgf210=False, inputfile=None, flattengraph=True, rawdim=True) > output_format = 'tikz' > platform = <module 'platform' from '/usr/lib/python3.9/platform.py'> > 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 = <dot2tex.dotparsing.DotGraph object at 0x7f8e7040b280> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e708258b0> >/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 = <dot2tex.dotparsing.DotEdge object at 0x7f8e707025b0> > graph = <dot2tex.dotparsing.DotGraph object at 0x7f8e7040b280> > name = 'ab0' > node = <dot2tex.dotparsing.DotNode object at 0x7f8e70702fa0> > pp = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70455e20> > self = <dot2tex.dot2tex.Dot2TikZConv object at 0x7f8e708258b0> > 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' > '<<preproccode>>\n' > '%\n' > '%\n' > '\n' > '%\n' > '\\end{document}\n' > '%\n' > '\n' > '\n') > texlbl = 'b' > usededges = {} > usedgraphs = {} > usednodes = {'a': <dot2tex.dotparsing.DotNode object at 0x7f8e70707850>, > 'b': <dot2tex.dotparsing.DotNode object at 0x7f8e70702fa0>} >/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/dot2tex380lq951/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 = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70455e20> > shutil = <module 'shutil' from '/usr/lib/python3.9/shutil.py'> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70455e20> > > 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/dot2tex380lq951/dot2tex.log' > >command = ('latex -interaction=nonstopmode ' > '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex380lq951/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/dot2tex380lq951/dot2tex.log' >p = <Popen: returncode: 127 args: 'latex -interaction=nonstopmode /var/tmp/porta...> >self = <dot2tex.dot2tex.TeXDimProc object at 0x7f8e70455e20> >stderr = <_io.BufferedReader name=13> >stdout = <_io.BufferedReader name=11> >tmpdir = '/var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2texo32ela65' > >/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=9, micro=16, releaselevel='final', serial=0) > Platform: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.37 > Pyparsing: 3.0.9 >INFO dot2tex:dot2tex.py:2932 dot2tex called with: ['/usr/lib/python3.9/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', '-p', 'no:xvfb', '-p', 'no:tavern', '--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/dot2texo32ela65 >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/dot2tex380lq951 >DEBUG dot2tex:dot2tex.py:2634 Creating temporary file /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex380lq951/dot2tex.tex >DEBUG dot2tex:dot2tex.py:2644 Code written to /var/tmp/portage/dev-tex/dot2tex-2.11.3/temp/dot2tex380lq951/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/dot2tex380lq951/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/dot2tex380lq951/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['<<gvcols>>'] = "\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: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: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: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: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: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: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: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: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: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: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: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: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: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: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 4.48s =========== > * ERROR: dev-tex/dot2tex-2.11.3::gentoo failed (test phase): > * pytest failed with python3.9 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 3528: Called distutils-r1_src_test > * environment, line 1656: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 754: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3197: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2670: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2668: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1087: Called distutils-r1_run_phase 'python_test' > * environment, line 1579: Called python_test > * environment, line 3495: Called distutils-r1_python_test > * environment, line 1526: Called epytest > * environment, line 2175: 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:20230501-124254.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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 905415
: 861011