Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255553 - app-misc/anki-0.9.9.5 fails to start, missing module
Summary: app-misc/anki-0.9.9.5 fails to start, missing module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Heath Caldwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-19 20:47 UTC by Stelian Ionescu
Modified: 2009-04-06 21:15 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 Stelian Ionescu 2009-01-19 20:47:14 UTC
~ $ anki
Traceback (most recent call last):
  File "/usr/bin/anki", line 18, in <module>
    import ankiqt
  File "/usr/lib/python2.5/site-packages/ankiqt/__init__.py", line 29, in <module>
    import config
  File "/usr/lib/python2.5/site-packages/ankiqt/config.py", line 10, in <module>
    from anki.utils import genID
  File "//usr/lib/python2.5/site-packages/anki/__init__.py", line 58, in <module>
    from anki.deck import DeckStorage
  File "//usr/lib/python2.5/site-packages/anki/deck.py", line 23, in <module>
    import anki.features
ImportError: No module named features


Portage 2.2_rc23 (default/linux/x86/2008.0/developer, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-tuxonice i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-glibc2.0
Timestamp of tree: Mon, 19 Jan 2009 19:15:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -g -march=pentium-m -funit-at-a-time -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev /etc/udev/rules.d /lib/modules"
CXXFLAGS="-O2 -g -march=pentium-m -funit-at-a-time -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps n"
FEATURES="candy collision-protect cvs digest distlocks fixpackages multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox severe sfperms sign splitdebug strict stricter unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="		http://mirror.switch.ch/ftp/mirror/gentoo 		http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo 		http://gentoo.osuosl.org"
INSTALL_MASK="/usr/lib/debug/*"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="en ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --progress"
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/mm/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/layman/emacs /usr/local/overlays/layman/enlightenment /usr/local/overlays/layman/sunrise /usr/local/overlays/layman/jokey /usr/local/overlays/gnome /home/hechee/lisp/gentoo-lisp-overlay /usr/local/overlays/ste"
SYNC="rsync://rsync3.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns afs alsa apache2 automount bash-completion berkdb bluetooth bzip2 cairo caps cdparanoia cdr cjk cli cracklib crypt cups curl dbus dga djvu dri dts dv dvb dvd dvdr dvdread dvi eds emacs emboss encode evo exif expat fam fbcon ffmpeg fftw flac fortran ftp fuse gd gdbm gif gmp gnome gnome-keyring gphoto2 gpm gps graphviz gs gtk gtkhtml guile hal iconv idn ieee1394 imagemagick imap imlib ipv6 irc isdnlog javascript jpeg jpeg2k kdeenablefinal kdehiddenvisibility latex lcms libffi libnotify live mad mailwrapper midi mmap mmx mng mp3 mp4 mpeg mudflap mysql nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin offensive ogg openexr opengl openmp paludis_hooks_eselect pam pcmcia pcre pdf perl pic png postgres ppds pppd pulseaudio python qdbm qt3 qt3support qt4 quicktime readline reflection ruby samba sasl scanner sdl session slang sndfile snmp socks5 speex spell spl sqlite sse sse2 ssl startup-notification svg sysfs syslog tetex theora threads tiff truetype udev unicode urandom usb v4l v4l2 vcd vhosts vim-syntax vorbis webkit win32codecs wmf x86 xft xine xml xorg xpm xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="asis proxy proxy_balancer proxy_connect proxy_http" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Heath Caldwell (RETIRED) gentoo-dev 2009-01-21 21:33:12 UTC
What does 'ls /usr/lib/python2.5/site-packages/anki/features' give?

Also, I just put a new version in the tree (app-misc/anki-0.9.9.6) try installing that and let me know if you have the same problem.
Comment 2 Stelian Ionescu 2009-01-21 23:49:26 UTC
/usr/lib/python2.5/site-packages/anki/features does not exist here.

Trying to install 0.9.9.6 dies like this:

>>> Install anki-0.9.9.6 into /var/mm/tmp/portage/app-misc/anki-0.9.9.6/image/ category app-misc
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    import anki
  File "/var/mm/tmp/app-misc-anki-0.9.9.6/work/anki-0.9.9.6/libanki/anki/__init__.py", line 58, in <module>
    from anki.deck import DeckStorage
SystemError: Parent module 'anki' not loaded
 *
 * ERROR: app-misc/anki-0.9.9.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2346:  Called die
 * The specific snippet of code:
 *       python setup.py install --root="${D}" || die;

I get the same failure with portage and paludis.
Comment 3 Heath Caldwell (RETIRED) gentoo-dev 2009-04-02 17:25:40 UTC
Does the same error occur when installing 0.9.9.7.1?
Comment 4 Stelian Ionescu 2009-04-04 09:53:38 UTC
No, 0.9.9.7.1 installs and runs fine.
Comment 5 Heath Caldwell (RETIRED) gentoo-dev 2009-04-06 21:15:38 UTC
Excellent.  Resolving fixed.