Mar2zz/LazyLibrarian — Issue #14: Problem adding author
Author: erikafoort
Created: 2012-02-21 20:32:00+00:00
State: open

21-feb-2012 21:24:58 - INFO :: DBIMPORT : Searching for author with name: John Grisham
Exception in thread DBIMPORT:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 483, in run
File "/Users/ehe/Downloads/Mar2zz-LazyLibrarian-3513862/lazylibrarian/importer.py", line 103, in addAuthorToDB
author = GR.find_author_id()
File "/Users/ehe/Downloads/Mar2zz-LazyLibrarian-3513862/lazylibrarian/gr.py", line 21, in find_author_id
sourcexml = ElementTree.parse(urllib2.urlopen(URL, timeout=20))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1199, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1174, in do_open
raise URLError(err)
URLError:

Adding Stephen King as author works perfect.
OSX Lion