If you attempt to import encodings.idna, it seems as if the unicodedata module is the missing piece.&nbsp; The ever resourceful <span class="sg">Seo Sanghyeon comes to the rescue yet again &gt; <a href="http://lists.ironpython.com/pipermail/users-ironpython.com/2006-July/002819.html">
http://lists.ironpython.com/pipermail/users-ironpython.com/2006-July/002819.html</a> &lt;<br><br>Unfortunately &gt; AttributeError: 'module' object has no attribute 'unidata_version' &lt; seems to be standing in the way of any sort of success at present time.
<br><br>Seems to be standing in the way<br></span><br><div><span class="gmail_quote">On 7/18/06, <b class="gmail_sendername">peter lin</b> &lt;<a href="mailto:dingyi.lin@gmail.com">dingyi.lin@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>After reading the tutorial I think it's ok to use httplib, so I write a test code <br>to test it with ipy. 
<br>I just cannot let it run ok with ipy.<br>Is something wrong I have done? <br><br>My test code as follows<br><br>
import sys<br>sys.path.append(r&quot;c:\python24\lib&quot;)<br>import httplib<br>conn =&nbsp; httplib.HTTPConnection('<a href="http://www.pchome.com.tw" title="http://www.pchome.com.tw" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.pchome.com.tw</a>')<br>conn.request(&quot;GET&quot;, &quot;/index.html&quot;)
<br>r1 = conn.getresponse()<br>if r1.status==200:<br>&nbsp;&nbsp;&nbsp; print r1.read()<br><br>Here is the error I found when use ipy.exe<br><br>Traceback (most recent call last):<br>&nbsp; File c:\dev_tool\IronPython-1.0-Beta9\rsslibtest.py

, line 23, in Initialize<br>&nbsp; File c:\python24\lib\httplib.py, line 810, in request<br>&nbsp; File c:\python24\lib\httplib.py, line 821, in _send_request<br>&nbsp; File c:\python24\lib\httplib.py, line 752, in putrequest<br>&nbsp; File , line 0, in Encode##71
<br>LookupError: unknown encoding: idna<br><br>but it runs ok and gets the response when i use python.exe to run my test py code<br>(remove two lines<br>import sys<br>
sys.path.append(r&quot;c:\python24\lib&quot;)<br><br><br><br><br>

</div><br>_______________________________________________<br>users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:users@lists.ironpython.com">users@lists.ironpython.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>/M:D<br><br>M. David Peterson<br><a href="http://mdavid.name">http://mdavid.name</a> | <a href="http://www.oreillynet.com/pub/au/2354">
http://www.oreillynet.com/pub/au/2354</a>