<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 &quot;/usr/local/bin/xcap-icon&quot;, line 25, in &lt;module&gt;<br>    from sipsimple.payloads.icon import Icon, Data<br>
  File &quot;/usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py&quot;, line 41, in &lt;module&gt;<br>    class Icon(XMLRootElement):<br>  File &quot;/usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py&quot;, line 418, in __init__<br>
    cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), &#39;r&#39;)))<br>  File &quot;xmlschema.pxi&quot;, 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: &quot;7b8d20bdec825e3f96662a77b9b969b8&quot;<br>content-type: application/xcap-caps+xml<br>content-length: 1209<br>&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;<br>&lt;xcap-caps xmlns=&quot;urn:ietf:params:xml:ns:xcap-caps&quot;&gt;<br>
  &lt;auids&gt;<br>    &lt;auid&gt;org.openxcap.watchers&lt;/auid&gt;<br>    &lt;auid&gt;org.openmobilealliance.pres-rules&lt;/auid&gt;<br>    &lt;auid&gt;rls-services&lt;/auid&gt;<br>    &lt;auid&gt;resource-lists&lt;/auid&gt;<br>
    &lt;auid&gt;xcap-caps&lt;/auid&gt;<br>    &lt;auid&gt;org.openxcap.dialog-rules&lt;/auid&gt;<br>    &lt;auid&gt;test-app&lt;/auid&gt;<br>    &lt;auid&gt;oma_status-icon&lt;/auid&gt;<br>    &lt;auid&gt;pidf-manipulation&lt;/auid&gt;<br>
    &lt;auid&gt;pres-rules&lt;/auid&gt;<br>    &lt;auid&gt;org.openmobilealliance.xcap-directory&lt;/auid&gt;<br>  &lt;/auids&gt;<br>  &lt;extensions/&gt;<br>  &lt;namespaces&gt;<br>    &lt;namespace&gt;<a href="http://openxcap.org/ns/watchers">http://openxcap.org/ns/watchers</a>&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:ietf:params:xml:ns:pres-rules&lt;/namespace&gt;<br>    &lt;namespace&gt;urn:ietf:params:xml:ns:rls-services&lt;/namespace&gt;<br>    &lt;namespace&gt;urn:ietf:params:xml:ns:resource-lists&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:ietf:params:xml:ns:xcap-caps&lt;/namespace&gt;<br>    &lt;namespace&gt;<a href="http://openxcap.org/ns/dialog-rules">http://openxcap.org/ns/dialog-rules</a>&lt;/namespace&gt;<br>    &lt;namespace&gt;test-app&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:oma:xml:prs:pres-content&lt;/namespace&gt;<br>    &lt;namespace&gt;urn:ietf:params:xml:ns:pidf&lt;/namespace&gt;<br>    &lt;namespace&gt;urn:ietf:params:xml:ns:pres-rules&lt;/namespace&gt;<br>    &lt;namespace&gt;urn:oma:xml:xdm:xcap-directory&lt;/namespace&gt;<br>
  &lt;/namespaces&gt;<br>&lt;/xcap-caps&gt;<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">&lt;<a href="mailto:saul@ag-projects.com">saul@ag-projects.com</a>&gt;</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>&gt; Hello,Adrian:<br>&gt; I have install sipsimpleclient following<br>&gt; <a href="http://sipsimpleclient.com/wiki/SipInstallation" target="_blank">http://sipsimpleclient.com/wiki/SipInstallation</a>  in my UBUNTU 9.10, and<br>
&gt; Debian 5. But when I input xcap-icon command,it all shows the same errors:<br>&gt; [hidden email]<br></div>&gt; &lt;<a href="http://opensips-open-sip-server.1449251.n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=5243783&amp;i=0" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=5243783&amp;i=0</a>&gt;:~#<br>

<div class="im">&gt; xcap-icon<br>&gt; Traceback (most recent call last):<br>&gt;    File &quot;/usr/bin/xcap-icon&quot;, line 25, in &lt;module&gt;<br>&gt;      from sipsimple.payloads.icon import Icon, Data<br>&gt;    File &quot;/usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py&quot;, line<br>
&gt; 41, in &lt;module&gt;<br>&gt;      class Icon(XMLRootElement):<br>&gt;    File &quot;/usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py&quot;,<br>&gt; line 418, in __init__<br>&gt;      cls._xml_schema =<br>
&gt; etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir,<br>&gt; cls._xml_schema_file), &#39;r&#39;)))<br>&gt;    File &quot;xmlschema.pxi&quot;, line 85, in lxml.etree.XMLSchema.__init__<br>&gt; (src/lxml/lxml.etree.c:101873)<br>
&gt; 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>