Dirk Meyer wrote:
> Duncan Webb wrote:
>> Dirk Meyer wrote:
>>> Duncan Webb wrote:
>>>> kaa.metadata.version and kaa.imlib2.version do not exist in the current
>>>> svn, how do I now get the version info?
>>> the version.py should be created on install.
>> It's there and installed but
>> import kaa.metadata.version
>> if kaa.metadata.version.VERSION < 0.6:
>> doesn't work.
>>
>> The problem is that sax is not installed and there are no checks for sax.
> 
> Why is sax not installed?
> phex-> equery belongs /usr/lib/python2.4/xml/sax/expatreader.py  
> [ Searching for file(s) /usr/lib/python2.4/xml/sax/expatreader.py in *... ]
> dev-lang/python-2.4.3-r4 (/usr/lib/python2.4/xml/sax/expatreader.py)
> 
> 
> It is part of the python distribution and should not depend on pyxml.

beats me, attached are the two listings.

Duncan
>>> import kaa.metadata.version
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/kaa/metadata/version.py", line 4, in ?
    from kaa.version import Version
  File "/usr/lib/python2.4/site-packages/kaa/version.py", line 1, in ?
    from distribution.version import Version
  File "/usr/lib/python2.4/site-packages/kaa/distribution/__init__.py", line 
36, in ?
    from core import *
  File "/usr/lib/python2.4/site-packages/kaa/distribution/core.py", line 45, in 
?
    from svn2log import svn2log
  File "/usr/lib/python2.4/site-packages/kaa/distribution/svn2log.py", line 42, 
in ?
    from kaa.xmlutils import SaxTreeHandler
  File "/usr/lib/python2.4/site-packages/kaa/xmlutils.py", line 34, in ?
    import xml.sax
ImportError: No module named sax
>>> import xml.sax
>>> dir(xml.sax)
['ContentHandler', 'ErrorHandler', 'InputSource', 'SAXException', 
'SAXNotRecognizedException', 'SAXNotSupportedException', 'SAXParseException', 
'SAXReaderNotAvailable', '__builtins__', '__doc__', '__file__', '__name__', 
'__path__', '_exceptions', 'handler', 'make_parser', 'parse', 'parseString', 
'sax2exts', 'saxexts', 'saxlib', 'xmlreader']
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to