[OpenSIPS-Users] PUt issue in openxcap

ASHWINI NAIDU ashwini.naidu at gmail.com
Sat Feb 21 12:39:21 CET 2009


hi,*
*
   When i try to put the pres-rules i get the following error

*debian:/usr/local/bin# xcapclient -a Ashwini -i
/root/softwares/xcap/python-xcaplib/examples/pres-rules.xml put
put
http://192.168.1.130/xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index
Traceback (most recent call last):
  File "/usr/local/bin/xcapclient", line 3, in <module>
    main()
  File "/usr/local/lib/python2.5/site-packages/xcaplib/xcapclient.py", line
530, in main
    result = client_request(client, action, options, node_selector)
  File "/usr/local/lib/python2.5/site-packages/xcaplib/xcapclient.py", line
496, in client_request
    return getattr(client, '_' + action)(options.app, options.input_data,
node_selector, **kwargs)
  File "/usr/local/lib/python2.5/site-packages/xcaplib/client.py", line 121,
in _put
    return self.con.request('PUT', path, headers, resource, etag=etag)
  File "/usr/local/lib/python2.5/site-packages/xcaplib/httpclient.py", line
72, in request
    return convert_urllib2_HTTPError(e)
  File "/usr/local/lib/python2.5/site-packages/xcaplib/httpclient.py", line
113, in convert_urllib2_HTTPError
    body = x.fp.read(len)
AttributeError: 'NoneType' object has no attribute 'read'
*



-- 
Thanking You,
Ashwini BR Naidu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090221/dfab53f4/attachment.htm 


More information about the Users mailing list