Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EITI harvesters - error #280

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

iprunache
Copy link
Contributor

Why

EITI harvester does not finish its job because of an error.

What

  • Error from logs is investigated and fixed.

Notes

Jun 30 14:40:13 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00: myanmar 2018
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00: cannot concatenate 'str' and 'NoneType' objects
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00: Traceback (most recent call last):
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00:   File "./eiti.py", line 175, in <module>
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00:     main()
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00:   File "./eiti.py", line 162, in main
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00:     extract_summary.gatherCountry(summary)
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00:   File "/root/eiti_harvester/extract_summary.py", line 273, in gatherCountry
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00:     out_company.append(getLineForRevenue(d, revenue, 'company'))
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00:   File "/root/eiti_harvester/extract_summary.py", line 147, in getLineForRevenue
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00:     j = session.get(API_ENDPOINT + 'gfs_code/' + gid).json()
Jun 30 14:40:36 f319495d2790 ecs-eiti-harvester-master-task-15-eiti-harvester-master-container-84d183eeb0f5c5c53d00: TypeError: cannot concatenate 'str' and 'NoneType' objects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants