{"action":"closed","issue":{"url":"https://api.github.com/repos/gwu-libraries/orcid2vivo/issues/27","labels_url":"https://api.github.com/repos/gwu-libraries/orcid2vivo/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/gwu-libraries/orcid2vivo/issues/27/comments","events_url":"https://api.github.com/repos/gwu-libraries/orcid2vivo/issues/27/events","html_url":"https://github.com/gwu-libraries/orcid2vivo/issues/27","id":114163408,"number":27,"title":"fundings.py fails to parse `orcid_profile[\"orcid-profile\"][\"orcid-activities\"]`","user":{"login":"darrenleeweber","id":240623,"avatar_url":"https://avatars.githubusercontent.com/u/240623?v=3","gravatar_id":"","url":"https://api.github.com/users/darrenleeweber","html_url":"https://github.com/darrenleeweber","followers_url":"https://api.github.com/users/darrenleeweber/followers","following_url":"https://api.github.com/users/darrenleeweber/following{/other_user}","gists_url":"https://api.github.com/users/darrenleeweber/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenleeweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenleeweber/subscriptions","organizations_url":"https://api.github.com/users/darrenleeweber/orgs","repos_url":"https://api.github.com/users/darrenleeweber/repos","events_url":"https://api.github.com/users/darrenleeweber/events{/privacy}","received_events_url":"https://api.github.com/users/darrenleeweber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-29T22:48:18Z","updated_at":"2015-11-05T16:36:49Z","closed_at":"2015-11-05T16:36:49Z","body":"\r\n```\r\n$ python --version\r\nPython 2.7.9\r\n# Working of the master branch at fa9a90cb762497ca1d2398ce725fa83be16cce31\r\n# After running `pip install orcid2vivo` to get all the dependencies installed; it installed\r\n# orcid2vivo-0.9.0.tar.gz\r\n$ python orcid2vivo.py '0000-0002-7843-9422'\r\nTraceback (most recent call last):\r\n  File \"orcid2vivo.py\", line 164, in <module>\r\n    person_class=args.person_class, confirmed_orcid_id=args.confirmed)\r\n  File \"orcid2vivo.py\", line 129, in default_execute\r\n    confirmed_orcid_id=confirmed_orcid_id)\r\n  File \"orcid2vivo.py\", line 83, in crosswalk\r\n    self.funding_crosswalker.crosswalk(orcid_profile, person_uri, graph)\r\n  File \"/data/src/dlss/ld4l_data/cap/orcid2vivo/orcid2vivo_app/fundings.py\", line 12, in crosswalk\r\n    if \"funding-list\" in orcid_profile[\"orcid-profile\"][\"orcid-activities\"] \\\r\nTypeError: argument of type 'NoneType' is not iterable\r\n```\r\n\r\nThe same failure (with a similar backtrace) occurred while running the same orcid2vivo command after doing a site installation from the master branch, i.e. `sudo python setup.py install`.\r\n"}}