[OpenSIPS-Devel] common-policy.xsd not found after openxcap upgrade

Juha Heinanen jh at tutpro.com
Tue Feb 17 06:19:10 CET 2009


i upgraded openxcap on debian lenny from version 1.0.6 to 1.0.7 using
.deb package.  after upgrade, openxcap server does not start, because
common-policy.xsd file is not found:

Starting OpenXCAP 1.0.6
Supported Root URIs: http://xcap.tutpro.com/xcap-root
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>
  File "/usr/lib/python2.5/site-packages/xcap/authentication.py", line 22, in <module>
  File "/usr/lib/python2.5/site-packages/xcap/appusage/__init__.py", line 523, in <module>
  File "/usr/lib/python2.5/site-packages/xcap/appusage/__init__.py", line 68, in __init__
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.5/site-packages/xcap/appusage/../xml-schemas/common-policy.xsd'

the link is there, but it points to wrong location:

/usr/lib/python2.5/site-packages/xcap/xml-schemas# ls -ls
total 0
0 lrwxrwxrwx 1 root root 54 2008-09-09 17:18 common-policy.xsd -> /usr/share/pyshared/xcap/xml-schemas/common-policy.xsd

openxcap package installs the file in 

# dpkg -L openxcap | egrep common-policy.xsd
/usr/share/python-support/openxcap/xcap/xml-schemas/common-policy.xsd

-- juha



More information about the Devel mailing list