Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106415 - Serpentine doesn't start (No module named xpath)
Summary: Serpentine doesn't start (No module named xpath)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
: 106695 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-18 15:12 UTC by Daniel Link
Modified: 2005-10-01 10:36 UTC (History)
2 users (show)

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


Attachments
Fixed dependencies (serpentine-0.6.3.ebuild,938 bytes, text/plain)
2005-09-19 08:38 UTC, Daniel Link
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Link 2005-09-18 15:12:43 UTC
Freshly emerge'd serpentine, doesn't work:

$ serpentine 
Traceback (most recent call last):
  File "/usr/bin/serpentine", line 51, in ?
    from serpentine import SerpentineApplication, SerpentineError, operations,
gtkutil, validate_music_list, HeadlessApplication
  File "/usr/lib/python2.4/site-packages/serpentine/__init__.py", line 42, in ?
    from mastering import AudioMastering, GtkMusicList, MusicListGateway
  File "/usr/lib/python2.4/site-packages/serpentine/mastering.py", line 31, in ?
    import xspf
  File "/usr/lib/python2.4/site-packages/serpentine/xspf.py", line 27, in ?
    from xml.xpath import Evaluate
ImportError: No module named xpath


emerge info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-love1 i686)
=================================================================
System uname: 2.6.12-love1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4-r3
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fforce-addr -fprefetch-loop-arrays
-fomit-frame-pointer -ffast-math "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fforce-addr -fprefetch-loop-arrays
-fomit-frame-pointer -ffast-math  -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mir.zyrianes.net/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts bonobo cdr crypt
cups curl eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome
gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg ldap
libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis
opengl pam pdflib perl pic png python qt quicktime readline ruby samba scanner
sdl slang spell sse sse2 ssl tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode vorbis xine xml xml2 xmms xv zlib linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, MAKEOPTS
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2005-09-18 16:26:17 UTC
i think theres a missing dependency... can you please emerge pyxml and try again ?
Comment 2 Daniel Link 2005-09-18 22:08:59 UTC
Still the same.
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2005-09-19 02:42:47 UTC
Ok so the problem is that you don't have 4suite. Please try again with this:
emerge 4suite
Comment 4 Daniel Link 2005-09-19 03:24:27 UTC
Nope, apparently it isn't.

But I couldn't install the stable version 1.0_alpha3 of 4suite, because there
were (guess what) errors. They were about illegal int conversions, as if
something about int conversions has changed from Python 2.3 to 2.4. Had to
install 1.0_beta1 (~x86). Is this worth a report?
Comment 5 pjm 2005-09-19 08:14:21 UTC
I just emerged dev-python/pyxml-0.8.4 which is still masked as ~x86.
Fixed it for me.
Comment 6 Daniel Link 2005-09-19 08:38:17 UTC
Created attachment 68810 [details]
Fixed dependencies

I can confirm that. Added 4suite and pyxml-0.8.4 as dependencies.

diff:
19a20,21
>	>=dev-python/pyxml-0.8.4
>	dev-python/4suite
Comment 7 Daniel Link 2005-09-19 08:39:47 UTC
Works with >=pyxml-0.8.4
Comment 8 Luis Medinas (RETIRED) gentoo-dev 2005-09-19 10:42:59 UTC
Please don't close the bugs until i fix the problem.

I don't think 4suite is really needed because i'm not using it atm. But i missed
pyxml and it's fixed in portage.

About 4suite i will talk to the upstream and add it if it's really needed.
Thanks for the report.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-09-20 09:44:43 UTC
*** Bug 106695 has been marked as a duplicate of this bug. ***
Comment 10 Luis Medinas (RETIRED) gentoo-dev 2005-10-01 10:36:56 UTC
4suite isn't necessary because xpath module is available on pyxml too. I've
talked to the upstream author about this.