[OpenSIPS-Users] upgrade to openxcap 1.0.2 failed
Juha Heinanen
jh at tutpro.com
Tue Oct 7 20:29:12 CEST 2008
Denis Bilenko writes:
> To do so you'd just have to replace line 18 in xcap/element.py:
> from xml import sax
> with
> from _xmlplus import sax
>
> and see if
> 1. openxcap starts properly and
no it doesn't because _xmlplus module is not found:
root at taimen:~# openxcap --no-fork
Starting OpenXCAP 1.0.3
Traceback (most recent call last):
File "/usr/bin/openxcap", line 55, 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 22, 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 19, in <module>
from _xmlplus import sax
ImportError: No module named _xmlplus
i guess the reason is that _xmlplus module in hardy is in directory:
/usr/lib/python2.5/site-packages/oldxml/_xmlplus
see this link:
http://blog.mypapit.net/2008/05/ubuntu-hardy-python-xml-error.html
it would be good if openxcap would not depend on this deprecated
package.
-- juha
More information about the Users
mailing list