ambalytics/amba-analysis-worker-pubfinder

Crossref parse error

xlrx opened this issue · 0 comments

xlrx commented
worker-pubfinder      | 2021-09-03 15:06:22,846.846 Thread-4:MongoDB, not found event
worker-pubfinder      | 2021-09-03 15:06:22,854.854 Thread-9:SourceCrossref work on item 10.15366/tp2021.38
worker-pubfinder      | Exception in thread Thread-9:
worker-pubfinder      | Traceback (most recent call last):
worker-pubfinder      |   File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
worker-pubfinder      |     self.run()
worker-pubfinder      |   File "/usr/local/lib/python3.6/threading.py", line 864, in run
worker-pubfinder      |     self._target(*self._args, **self._kwargs)
worker-pubfinder      |   File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 103, in worker
worker-pubfinder      |     initializer(*initargs)
worker-pubfinder      |   File "/src/src/crossref_source.py", line 110, in worker
worker-pubfinder      |     publication_temp = self.add_data_to_publication(publication)
worker-pubfinder      |   File "/src/src/crossref_source.py", line 129, in add_data_to_publication
worker-pubfinder      |     return self.map(response, publication)
worker-pubfinder      |   File "/src/src/crossref_source.py", line 156, in map
worker-pubfinder      |     publication['title'] = response_data['title'][0]
worker-pubfinder      | IndexError: list index out of range
worker-pubfinder      | 
worker-pubfinder      | 2021-09-03 15:06:24,934.934 Thr