{"action":"closed","issue":{"url":"https://api.github.com/repos/philipmat/discogs-xml2db/issues/42","labels_url":"https://api.github.com/repos/philipmat/discogs-xml2db/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/philipmat/discogs-xml2db/issues/42/comments","events_url":"https://api.github.com/repos/philipmat/discogs-xml2db/issues/42/events","html_url":"https://github.com/philipmat/discogs-xml2db/issues/42","id":40442762,"number":42,"title":"Release.artist is missing from some datasets","user":{"login":"kenanM","id":1042689,"avatar_url":"https://avatars.githubusercontent.com/u/1042689?v=3","gravatar_id":"","url":"https://api.github.com/users/kenanM","html_url":"https://github.com/kenanM","followers_url":"https://api.github.com/users/kenanM/followers","following_url":"https://api.github.com/users/kenanM/following{/other_user}","gists_url":"https://api.github.com/users/kenanM/gists{/gist_id}","starred_url":"https://api.github.com/users/kenanM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenanM/subscriptions","organizations_url":"https://api.github.com/users/kenanM/orgs","repos_url":"https://api.github.com/users/kenanM/repos","events_url":"https://api.github.com/users/kenanM/events{/privacy}","received_events_url":"https://api.github.com/users/kenanM/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-08-17T20:33:37Z","updated_at":"2015-03-06T11:54:22Z","closed_at":"2015-03-06T11:54:22Z","body":"When exporting the 20131201_releases.xml file I've found that some entries don't have the artist attribute.\r\n\r\nI'm not sure if this issue is unique to this 20131201_releases.xml file and so should be considered a bug with the data or code.\r\n\r\n## Stacktrace\r\n```\r\nNamespace(data_quality=None, date='20131201', file=[], ignore_unknown_tags=True, n=None, output='mongo', params='file://output')\r\nTraceback (most recent call last):\r\n  File \"discogsparser.py\", line 223, in <module>\r\n    main(sys.argv[1:])\r\n  File \"discogsparser.py\", line 217, in main\r\n    parseReleases(parser, exporter)\r\n  File \"discogsparser.py\", line 128, in parseReleases\r\n    parser.parse(release_file)\r\n  File \"/usr/lib/python2.7/xml/sax/expatreader.py\", line 107, in parse\r\n    xmlreader.IncrementalParser.parse(self, source)\r\n  File \"/usr/lib/python2.7/xml/sax/xmlreader.py\", line 123, in parse\r\n    self.feed(buffer)\r\n  File \"/usr/lib/python2.7/xml/sax/expatreader.py\", line 207, in feed\r\n    self._parser.Parse(data, isFinal)\r\n  File \"/usr/lib/python2.7/xml/sax/expatreader.py\", line 304, in end_element\r\n    self._cont_handler.endElement(name)\r\n  File \"/home/kenan/workspace/discogs-xml2db/discogsreleaseparser.py\", line 309, in endElement\r\n    self.exporter.storeRelease(self.release)\r\n  File \"/home/kenan/workspace/discogs-xml2db/mongodbexporter.py\", line 243, in storeRelease\r\n    if release.artist:\r\nAttributeError: Release instance has no attribute 'artist'\r\n```"}}