[OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1
CheeWii
quanwei87 at gmail.com
Wed Jul 7 10:36:15 CEST 2010
Hi Saúl,
Thanks for your reply ,but I'm afraid that http_proxy is not the root
of this problem.
Because I have do the same test:
root at shenhua-ims:~# unset http_proxy
root at shenhua-ims:~# unset HTTP_PROXY
root at shenhua-ims:~# echo $http_proxy
root at shenhua-ims:~# echo $HTTP_PROXY
root at shenhua-ims:~#
root at shenhua-ims:~# xcap-icon
Traceback (most recent call last):
File "/usr/local/bin/xcap-icon", line 25, in <module>
from sipsimple.payloads.icon import Icon, Data
File "/usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py", line 41,
in <module>
class Icon(XMLRootElement):
File "/usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py", line
418, in __init__
cls._xml_schema =
etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir,
cls._xml_schema_file), 'r')))
File "xmlschema.pxi", line 85, in lxml.etree.XMLSchema.__init__
(src/lxml/lxml.etree.c:101873)
lxml.etree.XMLSchemaParseError: Operation in progress
root at shenhua-ims:~#
So, I think whether it is related to my XCAP-ROOT, because xcap-icon cannot
connect to my xcap server. And I don't know how a http_proxy can impact
xcap-icon function.
This is my sipsimpleclient configuration, you can use it to have a test.
Accounts:
10000 at 202.204.22.248:
enabled = true
auth:
password = 10000
xcap:
xcap_root = "http://202.204.22.248/xcap-root"
CheeWii
2010/7/7 Saúl Ibarra Corretgé <saul at ag-projects.com>
> Hi,
>
> This is it. I just replicated your setup environment (with an HTTP
> proxy) and get the error:
>
> saghul at ubuntu:~$ xcap-icon
> Traceback (most recent call last):
> File "/usr/bin/xcap-icon", line 25, in <module>
> from sipsimple.payloads.icon import Icon, Data
> File "/usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py", line
> 41, in <module>
> class Icon(XMLRootElement):
> File "/usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py",
> line 418, in __init__
> cls._xml_schema =
> etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir,
> cls._xml_schema_file), 'r')))
> File "xmlschema.pxi", line 85, in lxml.etree.XMLSchema.__init__
> (src/lxml/lxml.etree.c:101873)
> lxml.etree.XMLSchemaParseError: failed to load HTTP resource
> saghul at ubuntu:~$ unset HTTP_PROXY
> saghul at ubuntu:~$
> saghul at ubuntu:~$
> saghul at ubuntu:~$
> saghul at ubuntu:~$ xcap-icon
> You need to specify the opperation: GET, PUT or DELETE
> saghul at ubuntu:~$
>
> _______________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100707/1f324609/attachment.htm
More information about the Users
mailing list