title: "local variable 'e' referenced before assignment" what does this error mean? How do I fix this error?
body: <p> I'm trying use <i> del.icio.us </i> API and following the examples from the book <b>Programming Collective Intelligence </b> </p>
  
  <p>When I use these commands in python 3.6.2:</p>
  
  <p>
  >>> from deliciousrec import *   </p>
  
  <p>                                                                                       >>> delusers=initializeUserDict('programming')  </p>
  
  <p>I get this error: </p>
  
  <pre><code>&lt;urlopen error [Errno 11001] getaddrinfo failed&gt;, 4 tries left.  
  &lt;urlopen error [Errno 11001] getaddrinfo failed&gt;, 3 tries left.  
  &lt;urlopen error [Errno 11001] getaddrinfo failed&gt;, 2 tries left. 
  &lt;urlopen error [Errno 11001] getaddrinfo failed&gt;, 1 tries left.  
  Traceback (most recent call last):               
     File "&lt;stdin&gt;", line 1, in &lt;module&gt; 
     File"C:\Users\user\AppData\Local\Programs\Python\Python36\deliciousrec.py", line 10, in initializeUserDict            
       for p1 in get_popular(tag=tag)[0:count]:   
     File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pydelicious-0.6-py3.6.egg\pydelicious\__init__.py", line 1042, in get_popular        
     File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pydelicious-0.6-py3.6.egg\pydelicious\__init__.py", line 1026, in getrss    
     File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pydelicious-0.6-py3.6.egg\pydelicious\__init__.py", line 455, in dlcs_rss_request      
     File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pydelicious-0.6-py3.6.egg\pydelicious\__init__.py", line 239, in http_request                    
     UnboundLocalError: local variable 'e' referenced before assignment   
  </code></pre>
  
  <p>I can not open pydelicious-0.6-py3.6.egg and access the init file that is asked to be modified here. 
  Has anyone seen this type of error before. How do I solve it?</p>