We will see how we can address this. Adrian
On Jul 10, 2010, at 5:53 AM, CheeWii wrote: > Hi Adrian, > > What you said is really the existing problem. Because without http_proxy, > I cannot connect to W3C.org. > > This morning,I move my PC to another place, where it can connet to w3c > directly ,need not any http_proxy. Then SIPSIMPLEClient and OpenXCAP > interoperate successfully! > > Thank you all~ :) > > CheeWii > > > 2010/7/7 Adrian Georgescu <[email protected]> > The http client needs to fetch the schema to check the document against from > w3c. Maybe this fails though is not obvious. > > Adrian > > > On Jul 7, 2010, at 10:36 AM, CheeWii wrote: > >> 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: >> >> r...@shenhua-ims:~# unset http_proxy >> r...@shenhua-ims:~# unset HTTP_PROXY >> r...@shenhua-ims:~# echo $http_proxy >> >> r...@shenhua-ims:~# echo $HTTP_PROXY >> >> r...@shenhua-ims:~# >> >> r...@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 >> r...@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: >> [email protected]: >> enabled = true >> auth: >> password = 10000 >> xcap: >> xcap_root = "http://202.204.22.248/xcap-root" >> >> >> CheeWii >> >> >> >> 2010/7/7 Saúl Ibarra Corretgé <[email protected]> >> Hi, >> >> This is it. I just replicated your setup environment (with an HTTP >> proxy) and get the error: >> >> sag...@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 >> sag...@ubuntu:~$ unset HTTP_PROXY >> sag...@ubuntu:~$ >> sag...@ubuntu:~$ >> sag...@ubuntu:~$ >> sag...@ubuntu:~$ xcap-icon >> You need to specify the opperation: GET, PUT or DELETE >> sag...@ubuntu:~$ >> >> _______________________________________________ >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
