<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>This is copied from the XML-SIG which doesn't seem to be too heavily followed...</div><div><br></div><div>I'm working on finishing up my pypi metadata mirror and have run into an apparent XML-RPC MultiCall issue.</div><div><br></div><div>This is using the MultiCall RPC interface on PyPi with my currently unversioned "pypimirror" user-agent (in case someone who as access could look in the PyPI logs for the bombing call).</div><div><br></div><div><div>Anyone used this interface on PyPI and/or have any ideas on this?</div><div><br></div></div><div>Thanks,</div><div><br></div><div>S</div><div><br></div></div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">"Dieter Maurer" &lt;<a href="mailto:dieter@handshake.de">dieter@handshake.de</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">January 21, 2010 8:42:09 AM EST<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">"ssteiner@idc" &lt;<a href="mailto:ssteiner@integrateddevcorp.com">ssteiner@integrateddevcorp.com</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Cc: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:xml-sig@python.org">xml-sig@python.org</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [XML-SIG] Something's definitely wrong...</b><br></span></div><br><div>ssteiner@idc wrote at 2010-1-20 08:43 -0500:<br><blockquote type="cite">I'm using the xmlrpc MultiCall class pretty heavily in an application and every time I've somehow caused an error in the xmlrpclib.py code, I get an exception trying to raise the exception.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here's the most recent example: <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">grouped = grouper(2, tuple(mc_result))<br></blockquote><blockquote type="cite">File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1001, in __getitem__<br></blockquote><blockquote type="cite">raise Fault(item['faultCode'], item['faultString'])<br></blockquote><blockquote type="cite">Fault: &lt;Fault 1: "&lt;type 'exceptions.TypeError'&gt;:'NoneType' object is unsubscriptable"&gt;<br></blockquote><br>You see here the client side code to report that an exception<br>has happened on the server side.<br><br>The "TypeError" was not raised at this place but on the server side.<br>Here, a "Fault" is (successfully) raised with "faultCode" 1 and "faultString"<br>"&lt;type 'exceptions.TypeError'&gt;:'NoneType' object is unsubscriptable"&gt;.<br><br>If you are lucky, the server side has logged information for<br>the raised exception. If not, you need to convince the server side<br>to do so.<br><br>-- <br>Dieter<br>_______________________________________________<br>XML-SIG maillist &nbsp;- &nbsp;<a href="mailto:XML-SIG@python.org">XML-SIG@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/xml-sig">http://mail.python.org/mailman/listinfo/xml-sig</a><br></div></blockquote></div><br>
<br></div></div></blockquote></div><br>
<br></body></html>