Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31962 - dev-python/xsv: missing dependancy on PyLTXML
Summary: dev-python/xsv: missing dependancy on PyLTXML
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-25 03:01 UTC by Sascha Silbe
Modified: 2003-11-10 07:35 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 Sascha Silbe 2003-10-25 03:01:10 UTC
The docs of XSV say it needs PyLTXML:

=== Begin ===
2.2.2.   Source distributions for the more adventurous

You can download the (Python) sources from the W3C public CVS repository, install Python 2.2, install PyLTXML (be sure to use the most
recent, currently PyLTXML-1.3, release 3, RPMs for a number of architectures now available) to get the necessary XML validating library and
do:

    > [set PYTHONPATH to whereever you installed XSV sources]
    > python .../XSV/commandLine.py ...
    

No, the above instructions aren't sufficiently detailed, but you probably don't want the sources unless you can figure out how to make it
work :-)
=== End ===

Sure enough, at least the command line interface (which I want to use) does not work without it:

=== Begin ===
sascha@cube:/usr/share/doc/xsv-2.5$ python /usr/lib/python2.2/site-packages/XSV/commandLine.py
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/XSV/commandLine.py", line 103, in ?
    parseAndRun(sys.argv[1:])
  File "/usr/lib/python2.2/site-packages/XSV/commandLine.py", line 79, in parseAndRun
    from XSV.driver import runitAndShow, SchemaValidationError
  File "/usr/lib/python2.2/site-packages/XSV/driver.py", line 18, in ?
    from PyLTXML import *
ImportError: No module named PyLTXML
=== End ===


As there's currently no ebuild for PyLTXML, I cannot use XSV.



Reproducible: Always
Steps to Reproduce:
1. python /usr/lib/python2.2/site-packages/XSV/commandLine.py

Actual Results:  
s.a.


Expected Results:  
Run the CLI of XSV.


Gentoo Base System version 1.4.3.10p1
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-cube-2)
=================================================================
System uname: 2.4.22-cube-2 i686 AMD Athlon(tm) processor
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/vice/etc /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/afs/modload /etc/make.globals /etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="x86 foomaticdb libg++ mad gtkhtml gdbm berkdb libwww gtk cdr -3dfx 3dnow -aalib acl afs -alsa apm -arts avi -bonobo crypt -cups dga -directfb doc dvd encode -esd -evo -fbcon -ggi gif -gnome -gnome-libs -gphoto2 -gpm guile hbci -icc -icc-pgo imap imlib ipv6 -java jpeg kde -kerberos krb4 lcms ldap -matrox maildir mbox mikmod mmx monitor -motif mozilla mpeg -mule mysql nas ncurses nls -odbc oggvorbis opengl oss pam -pcmcia -pda pdflib -perl png -pnp postgres python qt qtmt quicktime readline -ruby samba -sasl sdl skey -slang -slp -snmp socks5 spell ssl -static -svga -tcltk -tcpd tetex tiff truetype -voodoo3 X xml xml2 -xmms xv -zeo zlib linguas_en,de"
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2003-10-25 09:04:50 UTC
Thanks for the report, Sascha. It looks like you have to give your email
address on the website for LTXML/PyLTXML in order to download those libs.
I've mailed the author and asked if he could give us a direct link so
we can use it with portage.

Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2003-10-30 00:31:02 UTC
Thanks Sascha. I added dev-libs/ltxml and dev-python/pyltxml to portage
and fixed the dependencies in dev-python/xsv.
Comment 3 Sascha Silbe 2003-11-10 07:35:59 UTC
WFM now. Thanks!