Package: qa.debian.org Severity: important A query which needs to return unicode data isn't handled properly on the SOAP server and returns a fault. E.g., trying to show the maintainer for drawterm, MartÃn Ferrari:
_________________________________ Sun Aug 9 11:38:06 2009 REQUEST: <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ZSI="http://www.zolera.com/schemas/ZSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><maintainer><source id="ob7e68ce0" xsi:type="xsd:string">drawterm</source></maintainer></SOAP-ENV:Body></SOAP-ENV:Envelope> _________________________________ Sun Aug 9 11:38:06 2009 RESPONSE: 500 Internal Server Error ------- Date: Sun, 09 Aug 2009 15:38:06 GMT Server: Apache Content-Length: 939 Connection: close Content-Type: text/xml; charset="utf-8" <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ZSI="http://www.zolera.com/schemas/ZSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Processing Failure</faultstring><detail><ZSI:FaultDetail><ZSI:string> 'ascii' codec can't encode character u'\xed' in position 4: ordinal not in range(128)</ZSI:string><ZSI:trace>/var/lib/python-support/python2.5/ZSI/dispatch.py:140:_Dispatch /org/packages.qa.debian.org/www/cgi-bin/soap-alpha.cgi:118:maintainer /org/packages.qa.debian.org/www/cgi-bin/soap-alpha.cgi:89:maintainer_name /srv/packages.qa.debian.org/www/bin/soap_lib.py:44:to_string</ZSI:trace></ZSI:FaultDetail></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope> Traceback (most recent call last): File "./bin/soap_query.py", line 46, in <module> print zsi_query(url, method, **args) File "./bin/soap_query.py", line 19, in zsi_query return getattr(ws, method)(**kwargs) File "/usr/lib/pymodules/python2.5/ZSI/client.py", line 78, in __call__ **kw) File "/usr/lib/pymodules/python2.5/ZSI/client.py", line 191, in RPC return self.Receive(replytype, **kw) File "/usr/lib/pymodules/python2.5/ZSI/client.py", line 536, in Receive return _Binding.Receive(self, replytype, **kw) File "/usr/lib/pymodules/python2.5/ZSI/client.py", line 455, in Receive raise FaultException(msg) ZSI.FaultException: Processing Failure 'ascii' codec can't encode character u'\xed' in position 4: ordinal not in range(128) [trace: /var/lib/python-support/python2.5/ZSI/dispatch.py:140:_Dispatch /org/packages.qa.debian.org/www/cgi-bin/soap-alpha.cgi:118:maintainer /org/packages.qa.debian.org/www/cgi-bin/soap-alpha.cgi:89:maintainer_name /srv/packages.qa.debian.org/www/bin/soap_lib.py:44:to_string] -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (100, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org