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