hi,<u><br></u><br>&nbsp;&nbsp; When i try to put the pres-rules i get the following error<br><br><b>debian:/usr/local/bin# xcapclient -a Ashwini -i /root/softwares/xcap/python-xcaplib/examples/pres-rules.xml put<br>put <a href="http://192.168.1.130/xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index">http://192.168.1.130/xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index</a><br>
Traceback (most recent call last):<br>&nbsp; File &quot;/usr/local/bin/xcapclient&quot;, line 3, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; main()<br>&nbsp; File &quot;/usr/local/lib/python2.5/site-packages/xcaplib/xcapclient.py&quot;, line 530, in main<br>
&nbsp;&nbsp;&nbsp; result = client_request(client, action, options, node_selector)<br>&nbsp; File &quot;/usr/local/lib/python2.5/site-packages/xcaplib/xcapclient.py&quot;, line 496, in client_request<br>&nbsp;&nbsp;&nbsp; return getattr(client, &#39;_&#39; + action)(options.app, options.input_data, node_selector, **kwargs)<br>
&nbsp; File &quot;/usr/local/lib/python2.5/site-packages/xcaplib/client.py&quot;, line 121, in _put<br>&nbsp;&nbsp;&nbsp; return self.con.request(&#39;PUT&#39;, path, headers, resource, etag=etag)<br>&nbsp; File &quot;/usr/local/lib/python2.5/site-packages/xcaplib/httpclient.py&quot;, line 72, in request<br>
&nbsp;&nbsp;&nbsp; return convert_urllib2_HTTPError(e)<br>&nbsp; File &quot;/usr/local/lib/python2.5/site-packages/xcaplib/httpclient.py&quot;, line 113, in convert_urllib2_HTTPError<br>&nbsp;&nbsp;&nbsp; body = x.fp.read(len)<br>AttributeError: &#39;NoneType&#39; object has no attribute &#39;read&#39;<br>
</b><br><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>