Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377207 - app-misc/anki-1.2.8: crash if updating dev-python/sqlalchemy to version 0.7.1
Summary: app-misc/anki-1.2.8: crash if updating dev-python/sqlalchemy to version 0.7.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-31 22:10 UTC by Xangel2Net
Modified: 2011-08-13 22:40 UTC (History)
3 users (show)

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


Attachments
Build log (build.log,14.73 KB, text/plain)
2011-07-31 22:11 UTC, Xangel2Net
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xangel2Net 2011-07-31 22:10:23 UTC
After updating dev-python/sqlalchemy from 0.6.8 to 0.7.1 anki, that using it, failed to start or install with that error:

File "/var/tmp/portage/app-misc/anki-1.2.8/work/anki-1.2.8/libanki/anki/db.py", line 33, in <module>
    from sqlalchemy.exceptions import DBAPIError, OperationalError
ImportError: No module named exceptions

Reproducible: Always

Steps to Reproduce:
1. Update (install) dev-python/sqlalchemy-0.7.1
2. Run (install) anki-1.2.8
Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/anki-2.7", line 27, in <module>
    ankiqt.run()
  File "/usr/lib64/python2.7/site-packages/ankiqt/__init__.py", line 78, in run
    import config
  File "/usr/lib64/python2.7/site-packages/ankiqt/config.py", line 10, in <module>
    from anki.utils import genID
  File "/usr/lib64/python2.7/site-packages/anki/__init__.py", line 58, in <module>
    from anki.deck import DeckStorage
  File "/usr/lib64/python2.7/site-packages/anki/deck.py", line 14, in <module>
    from anki.db import *
  File "/usr/lib64/python2.7/site-packages/anki/db.py", line 33, in <module>
    from sqlalchemy.exceptions import DBAPIError, OperationalError
ImportError: No module named exceptions

Expected Results:  
Started anki without error.

Portage 2.1.10.9 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r4, 3.0.0-gentoo x86_64)
=================================================================
System uname: Linux-3.0.0-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.3
Timestamp of tree: Sun, 31 Jul 2011 04:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo multimedia ubuntu
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 dlj-1.1 PUEL Nero-EULA-US"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Os -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fakeroot fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/multimedia /var/lib/layman/ubuntu"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext a52 aac acl acpi alsa amd64 bash-completion bzip2 cdda cli cracklib css cxx dbus dhcp dri drm dts dvd fbcon ffmpeg firefox flac fontconfig gallium gd gdbm gpm gzip hddtemp iconv lame libsamplerate mad matroska minimal mmx modules mp3 mp4 mpeg mudflap multilib nls nptl nptlonly nsplugin ntfs ogg opengl pcre perl policykit pppd python readline session sse sse2 ssl ssse3 symlink sysfs tcpd threads truetype udev unicode vaapi vdpau x264 xcomposite xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbcon nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Xangel2Net 2011-07-31 22:11:38 UTC
Created attachment 281665 [details]
Build log
Comment 2 Karl-Robert Ernst 2011-08-01 20:58:19 UTC
Happened for me too, but fixed by the 1.2.9 version of anki.
Maybe someone could update the version in portage, since the new version got released in June.
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2011-08-13 22:40:21 UTC
vicious! They did not announce the release on their homepage...

Thanks for reporting, fixed by bump:

+*anki-1.2.9 (13 Aug 2011)
+
+  13 Aug 2011; Thomas Kahle <tomka@gentoo.org> -anki-0.9.9.8.6-r1.ebuild,
+  -files/anki-0.9.9.8.6-sqlalchemy-0.6.patch, -anki-1.0.ebuild,
+  -anki-1.0.1.ebuild, -anki-1.2.2.ebuild, -anki-1.2.7.ebuild,
+  -anki-1.2.8.ebuild, +anki-1.2.9.ebuild:
+  Bump to 1.2.9 fixing bug 377207, remove old