Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836267 - [guru] =net-misc/giara-9999 crash on startup with =dev-python/mistune-2.0.2
Summary: [guru] =net-misc/giara-9999 crash on startup with =dev-python/mistune-2.0.2
Status: RESOLVED WORKSFORME
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anna Vyalkova
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-27 11:01 UTC by sunsetsergal
Modified: 2022-12-12 19:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sunsetsergal 2022-03-27 11:01:08 UTC
Hi! I installed net-misc/giara from Guru and it crashed on startup with a Python traceback/error. Apparently it's not compatible with =dev-python/mistune-2.0.2 but works with =dev-python/mistune-0.8.4-r1.

Reproducible: Always

Steps to Reproduce:
1. Enable Guru overlay and install net-misc/giara. This will also install mitsune 2.0.2 as a dependency if you don't have other packages forcing the older version.
2. Launch Giara, see crash.
3. Downgrade mistune.
4. Launch Giara again, see that it's working.
Actual Results:  
Giara doesn't launch with the following error:

Traceback (most recent call last):
  File "/usr/bin/giara", line 67, in <module>
    from giara import __main__
  File "/usr/lib/python3.9/site-packages/giara/__main__.py", line 9, in <module>
    from giara.app_window import AppWindow
  File "/usr/lib/python3.9/site-packages/giara/app_window.py", line 3, in <module>
    from giara.main_ui import MainUI
  File "/usr/lib/python3.9/site-packages/giara/main_ui.py", line 4, in <module>
    from giara.main_deck import MainDeck
  File "/usr/lib/python3.9/site-packages/giara/main_deck.py", line 2, in <module>
    from giara.left_stack import LeftStack
  File "/usr/lib/python3.9/site-packages/giara/left_stack.py", line 3, in <module>
    from giara.sections import PostListSection
  File "/usr/lib/python3.9/site-packages/giara/sections.py", line 3, in <module>
    from giara.markdown_view import MarkdownView
  File "/usr/lib/python3.9/site-packages/giara/markdown_view.py", line 21, in <module>
    class PangoRenderer(mistune.Renderer):
AttributeError: module 'mistune' has no attribute 'Renderer'

Expected Results:  
Giara should launch and run as expected.

I opened a bug upstream: https://gitlab.gnome.org/World/giara/-/issues/122

In the meantime the app works with the old version, so maybe the dependency could be changed.
Comment 1 sunsetsergal 2022-03-27 11:06:25 UTC
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop, gcc-11.2.1, glibc-2.34-r10, 5.16.17-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.16.17-gentoo-dist-x86_64-AMD_Ryzen_7_5800X_8-Core_Processor-with-glibc2.34
KiB Mem:    32849664 total,  23361548 free
KiB Swap:   22001652 total,  22001652 free
Timestamp of repository gentoo: Sat, 26 Mar 2022 15:30:01 +0000
Head commit of repository gentoo: 55586f41b746affb461a6854260ca00495de2984
Timestamp of repository 4nykey: Fri, 25 Mar 2022 20:09:37 +0000
Head commit of repository 4nykey: 608aa762cde10faacef648e0eeab120089798ec4

Timestamp of repository brother-overlay: Fri, 25 Mar 2022 20:09:34 +0000
Head commit of repository brother-overlay: e2822c7aa88c66883b1c36d965d7f86ba6c7f590

Timestamp of repository ceamac: Fri, 25 Mar 2022 20:09:49 +0000
Head commit of repository ceamac: 5463d948e53d93baebe64c6f71fd38779a61ce3c

Timestamp of repository guru: Sat, 26 Mar 2022 14:49:35 +0000
Head commit of repository guru: e1c6556873620c9bd44e8374b9fd004e010569b7

Head commit of repository librewolf: 4dd8df7b0767c888ba22ae70c980625c72a2f95e

Timestamp of repository pf4public: Sat, 26 Mar 2022 11:34:20 +0000
Head commit of repository pf4public: 568152b576f2ad8c869ef709b4cda61e0e225560

Timestamp of repository ppfeufer-gentoo-overlay: Sat, 26 Mar 2022 14:19:18 +0000
Head commit of repository ppfeufer-gentoo-overlay: 43a766a268e084910c908e84e09e18bd4af3eb60

Timestamp of repository steam-overlay: Fri, 25 Mar 2022 20:09:27 +0000
Head commit of repository steam-overlay: 56ef3833617c6ee33bd01a07a704a1167cf9a27e

Head commit of repository trinity-official: 4649aa4f7c41066aaab807f1961589aa1e3b66d1

Timestamp of repository vifino-overlay: Fri, 25 Mar 2022 20:09:37 +0000
Head commit of repository vifino-overlay: 402fbc44a07b81424e671a3e51c4206f9d27a758

Head commit of repository wsdd: 5ff23bd513f2074ada36cb0599f05e7375adcc8b

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p3) 2.38
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1::gentoo
dev-lang/python:           3.9.12::gentoo
dev-lang/rust:             1.59.0::gentoo
dev-util/cmake:            3.22.3::gentoo
dev-util/meson:            0.61.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r1::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.0-r1::gentoo
sys-devel/gcc:             10.3.1_p20211126::gentoo, 11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://sunset-router1.localnet/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo

ceamac
    location: /var/db/repos/ceamac
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ceamac.git
    masters: gentoo

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git
    masters: gentoo

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo

ppfeufer-gentoo-overlay
    location: /var/db/repos/ppfeufer-gentoo-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ppfeufer-gentoo-overlay.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

sunset-repo
    location: /home/anony/Documents/sunset-repo
    masters: gentoo

trinity-official
    location: /var/db/repos/trinity-official
    sync-type: git
    sync-uri: https://scm.trinitydesktop.org/gitea/TDE/tde-packaging-gentoo
    masters: gentoo

vifino-overlay
    location: /var/db/repos/vifino-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/vifino-overlay.git
    masters: gentoo

wsdd
    location: /var/db/repos/wsdd
    sync-type: git
    sync-uri: https://github.com/christgau/wsdd-gentoo.git
    masters: gentoo

Installed sets: @esteam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe -w"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=znver3 -O2 -pipe -w"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --keep-going --buildpkg-exclude "virtual/* sys-kernel/*-sources""
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=znver3 -O2 -pipe -w"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe -w"
GENTOO_MIRRORS="http://sunset-router1.localnet/ ftp://mirrors.rit.edu/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
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"
RUSTFLAGS="-C target-cpu=znver3"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dist-kernel dri dts dvd dvdr elogind encode exif ffmpeg flac fortran gdbm gif gpm gtk gui ibus iconv icu ipv6 jack jpeg lcms libglvnd libnotify libsamplerate libtirpc mad mng mp3 mp4 mpeg multicall multilib ncurses nls nptl ogg opencl opengl openmp opus pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vaapi vdpau verify-sig vorbis vulkan webp wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics wacom evdev" KERNEL="linux" L10N="en en-US en-GB es es-AR es-ES es-MX fr fr-FR fr-CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm avr i386 m68k ppc ppc64 riscv32 riscv64" QEMU_USER_TARGETS="x86_64 aarch64 arm avr i386 m68k ppc ppc64 riscv32 riscv64 aarch64_be armeb ppc64abi32 ppc64le" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nouveau amdgpu radeon radeonsi vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Anna Vyalkova 2022-12-12 19:28:35 UTC
Dropped 9999, tagged version doesn't crash