[OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1
CheeWii
quanwei87 at gmail.com
Tue Jul 6 04:10:56 CEST 2010
Hi Saúl,
Thank you ~ But it seems the problem is not here. My UBUNTU 9.10 is fresh.
root at shenhua-ims:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
root at shenhua-ims:~#
root at shenhua-ims:~# dpkg -l |grep lxml
ii python-lxml
2.1.5-1ubuntu2 pythonic binding for the libxml2
and libxslt
root at shenhua-ims:~#
root at shenhua-ims:~# dpkg -l |grep sipsimple
ii python-sipsimple
0.15.0karmic Python SIP SIMPLE client SDK
root at shenhua-ims:~#
root at shenhua-ims:~# xcap-icon
Traceback (most recent call last):
File "/usr/local/bin/xcap-icon", line 25, in <module>
from sipsimple.payloads.icon import Icon, Data
File "/usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py", line 41,
in <module>
class Icon(XMLRootElement):
File "/usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py", line
418, in __init__
cls._xml_schema =
etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir,
cls._xml_schema_file), 'r')))
File "xmlschema.pxi", line 85, in lxml.etree.XMLSchema.__init__
(src/lxml/lxml.etree.c:101873)
lxml.etree.XMLSchemaParseError: Operation in progress
root at shenhua-ims:~#
root at shenhua-ims:~# xcap-rls-services
Retrieving current RLS services from http://10.204.22.248/xcap-root
Managing service URI
sip:10001-buddies at 10.204.22.248<sip%3A10001-buddies at 10.204.22.248>
Buddies:
Press (a) to add or (r) to remove a buddy. (s) will show the RLS services
xml. (d) will delete the currently selected service.
root at shenhua-ims:~# xcapclient --app xcap-caps get
get http://202.204.22.248/xcap-root/xcap-caps/global/index
etag: "7b8d20bdec825e3f96662a77b9b969b8"
content-type: application/xcap-caps+xml
content-length: 1209
<?xml version='1.0' encoding='UTF-8'?>
<xcap-caps xmlns="urn:ietf:params:xml:ns:xcap-caps">
<auids>
<auid>org.openxcap.watchers</auid>
<auid>org.openmobilealliance.pres-rules</auid>
<auid>rls-services</auid>
<auid>resource-lists</auid>
<auid>xcap-caps</auid>
<auid>org.openxcap.dialog-rules</auid>
<auid>test-app</auid>
<auid>oma_status-icon</auid>
<auid>pidf-manipulation</auid>
<auid>pres-rules</auid>
<auid>org.openmobilealliance.xcap-directory</auid>
</auids>
<extensions/>
<namespaces>
<namespace>http://openxcap.org/ns/watchers</namespace>
<namespace>urn:ietf:params:xml:ns:pres-rules</namespace>
<namespace>urn:ietf:params:xml:ns:rls-services</namespace>
<namespace>urn:ietf:params:xml:ns:resource-lists</namespace>
<namespace>urn:ietf:params:xml:ns:xcap-caps</namespace>
<namespace>http://openxcap.org/ns/dialog-rules</namespace>
<namespace>test-app</namespace>
<namespace>urn:oma:xml:prs:pres-content</namespace>
<namespace>urn:ietf:params:xml:ns:pidf</namespace>
<namespace>urn:ietf:params:xml:ns:pres-rules</namespace>
<namespace>urn:oma:xml:xdm:xcap-directory</namespace>
</namespaces>
</xcap-caps>
root at shenhua-ims:~#
I will test to reinstall a UBUNTU 9.10 to check the problem.
CheeWii
2010/7/5 Saúl Ibarra Corretgé <saul at ag-projects.com>
> Hi,
>
> On 03/07/10 04:29, CheeWii wrote:
> > Hello,Adrian:
> > I have install sipsimpleclient following
> > http://sipsimpleclient.com/wiki/SipInstallation in my UBUNTU 9.10, and
> > Debian 5. But when I input xcap-icon command,it all shows the same
> errors:
> > [hidden email]
> > <
> http://opensips-open-sip-server.1449251.n2.nabble.com/user/SendEmail.jtp?type=node&node=5243783&i=0
> >:~#
> > xcap-icon
> > Traceback (most recent call last):
> > File "/usr/bin/xcap-icon", line 25, in <module>
> > from sipsimple.payloads.icon import Icon, Data
> > File "/usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py", line
> > 41, in <module>
> > class Icon(XMLRootElement):
> > File "/usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py",
> > line 418, in __init__
> > cls._xml_schema =
> > etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir,
> > cls._xml_schema_file), 'r')))
> > File "xmlschema.pxi", line 85, in lxml.etree.XMLSchema.__init__
> > (src/lxml/lxml.etree.c:101873)
> > lxml.etree.XMLSchemaParseError: Operation in progress
>
> I just tried myself in a fresh Ubuntu 9.10 with sipsimple installed from
> our debian repositories and got no trouble:
>
> saghul at ubuntu:~$ xcap-icon
> You need to specify the opperation: GET, PUT or DELETE
> saghul at ubuntu:~$ xcap-icon GET
> Icons:
>
>
> https://xcap.sipthor.net/xcap-root/oma_status-icon/users/sip:saghul@sip2sip.info/g7kDwG61IC3J9sp2ndeL.png
> saghul at ubuntu:~$ xcap-icon GET -f g7kDwG61IC3J9sp2ndeL.png
> Icons:
>
>
> https://xcap.sipthor.net/xcap-root/oma_status-icon/users/sip:saghul@sip2sip.info/g7kDwG61IC3J9sp2ndeL.png
> File saved to: icon_g7kDwG61IC3J9sp2ndeL.png
> saghul at ubuntu:~$ ls *.png
> icon_g7kDwG61IC3J9sp2ndeL.png
> saghul at ubuntu:~$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 9.10
> Release: 9.10
> Codename: karmic
> saghul at ubuntu:~$
>
> Which versions of lxml and python-sipsimple are you running? This are mine:
>
> saghul at ubuntu:~$ dpkg -l | grep lxml
> ii python-lxml 2.1.5-1ubuntu2
> pythonic binding for the libxml2 and libxslt
> saghul at ubuntu:~$ dpkg -l | grep sipsimple
> ii python-sipsimple 0.15.0karmic
> Python SIP SIMPLE client SDK
> saghul at ubuntu:~$
>
>
> Regards,
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100706/479af774/attachment-0001.htm
More information about the Users
mailing list