[OpenSIPS-Users] upgrade to openxg 1.0.2 failed

Denis Bilenko denis at ag-projects.com
Mon Oct 6 17:15:00 CEST 2008


Hi Juha,

You have to install pyxml library (on Debian it is provided by python-xml package).

Juha Heinanen wrote:

> Date: Sun, 5 Oct 2008 18:01:11 +0300
> From: jh at tutpro.com (Juha Heinanen)
> Subject: [OpenSIPS-Users] upgrade to openxg 1.0.2 failed
> To: users at lists.opensips.org
>
> i was able to run openxcap 1.0.0 on ubuntu hardy without problems.
> after upgrade to 1.0.2, starting of openxcap fails like this:
>
> root at taimen:/etc/openxcap# openxcap --no-fork
> Starting OpenXCAP 1.0.2
> Traceback (most recent call last):
> File "/usr/bin/openxcap", line 54, in <module>
> from xcap.server import XCAPServer
> File "/usr/lib/python2.5/site-packages/xcap/server.py", line 17, in 
> <module>
> from xcap import authentication
> File "/usr/lib/python2.5/site-packages/xcap/authentication.py", line 
> 21, in <module>
> from xcap.appusage import getApplicationForURI, namespaces
> File "/usr/lib/python2.5/site-packages/xcap/appusage/__init__.py", 
> line 18, in <module>
> from xcap.element import XCAPElement, SelectorError
> File "/usr/lib/python2.5/site-packages/xcap/element.py", line 395, in 
> <module>
> XCAPElement.make_parser() # test parser creation
> File "/usr/lib/python2.5/site-packages/xcap/element.py", line 301, in 
> make_parser
> parser.setFeature(sax.handler.feature_namespace_prefixes, 1) # need 
> _xmlplus package
> File "/usr/lib/python2.5/xml/sax/expatreader.py", line 157, in setFeature
> "expat does not report namespace prefixes")
> xml.sax._exceptions.SAXNotSupportedException: expat does not report 
> namespace prefixes
>
> any ideas what might cause this?
>
> -- juha
>




More information about the Users mailing list