Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

DBPedia annotation fails #10

Closed
ehud opened this Issue · 1 comment

2 participants

@ehud

Running DBPedia on a 20-file collection leads to the following:

DBpedia Annotation: SOL
The process log is displayed below. Refreshing status in 15 seconds.

INFO:root:command: C:\Udi\Zotero\papermachines\processors\dbpedia.pyw C:\Udi\Zotero\papermachines\args\13c0a7f5.json
INFO:root:beginning annotation
INFO:root:processing C:\Udi\Zotero\papermachines\C3\Ninio_and_Bruner_-1978-_The_Achievement_and_Antecedents_of_Lab.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Dore_-1974-_A_pragmatic_description_of_early_language_developm.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Deacon_-2010-_Colloquium_Paper_A_role_for_relaxed_selection_in.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Sterelny_-2007-_Social_intelligence_human_intelligence_and_nic.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Tomasello_and_Todd_-1983-_Joint_attention_and_lexical_acquisit.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Beller_-2009-_Deontic_reasoning_reviewed_psychological_questio.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\McAdams_-1997-_The_Origin_Development_and_Regulation_of_Norms.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Ratner_and_Bruner_-1978-_Games_Social_Exchange_and_the_Acquisi.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Cialdini_-2007-_Descriptive_Social_Norms_as_Underappreciated_S.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Mesoudi_and_Whiten_-2008-_The_multiple_roles_of_cultural_trans.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Goddard_et_al.-_1985-The_Semantic_Focus_of_Maternal_Speech_A.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Dore_-1975-_Holophrases_Speech_Acts_and_Language_Universals.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Whiten_-2011-_The_scope_of_culture_in_chimpanzees_humans_and_a.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Caldwell_and_Millen_-2008-_Studying_cumulative_cultural_evolut.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Wilson_and_OGorman_-2003-_Emotions_and_actions_associated_with.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Schmidt_et_al.-_2011-Young_children_attribute_normativity_to.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Tennie_et_al.-_2009-_Ratcheting_up_the_ratchet_on_the_evolutio.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Warneken_and_Tomasello_-2009-_The_roots_of_human_altruism.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Whiten_et_al.-_2009-_Emulation_imitation_over-imitation_and_th.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

INFO:root:processing C:\Udi\Zotero\papermachines\C3\Kenward_et_al.-_2011-_Over-imitation_is_better_explained_by_no.txt
ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 49, in process
annotation = self._get_annotated(f.read())
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 22, in _get_annotated
response = urllib2.urlopen(req)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:

ERROR:root:Traceback (most recent call last):
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 100, in
processor.process()
File "C:\Udi\Zotero\papermachines\processors\dbpedia.pyw", line 82, in process
min_weight = weights[max(-100, -len(weights))]
IndexError: list index out of range

@chrisjr
Owner

DBPedia Spotlight appears to be down at the moment -- they may be in the middle of restarting the server.

@chrisjr chrisjr closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.