hi,<u><br></u><br> 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> File "/usr/local/bin/xcapclient", line 3, in <module><br> main()<br> File "/usr/local/lib/python2.5/site-packages/xcaplib/xcapclient.py", line 530, in main<br>
result = client_request(client, action, options, node_selector)<br> File "/usr/local/lib/python2.5/site-packages/xcaplib/xcapclient.py", line 496, in client_request<br> return getattr(client, '_' + action)(options.app, options.input_data, node_selector, **kwargs)<br>
File "/usr/local/lib/python2.5/site-packages/xcaplib/client.py", line 121, in _put<br> return self.con.request('PUT', path, headers, resource, etag=etag)<br> File "/usr/local/lib/python2.5/site-packages/xcaplib/httpclient.py", line 72, in request<br>
return convert_urllib2_HTTPError(e)<br> File "/usr/local/lib/python2.5/site-packages/xcaplib/httpclient.py", line 113, in convert_urllib2_HTTPError<br> body = x.fp.read(len)<br>AttributeError: 'NoneType' object has no attribute 'read'<br>
</b><br><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>