{"action":"created","issue":{"url":"https://api.github.com/repos/dilshod/xlsx2csv/issues/65","labels_url":"https://api.github.com/repos/dilshod/xlsx2csv/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/dilshod/xlsx2csv/issues/65/comments","events_url":"https://api.github.com/repos/dilshod/xlsx2csv/issues/65/events","html_url":"https://github.com/dilshod/xlsx2csv/issues/65","id":57148761,"number":65,"title":"handleStartElement matching fails and leads to AttributeError","user":{"login":"fnl","id":109501,"avatar_url":"https://avatars.githubusercontent.com/u/109501?v=3","gravatar_id":"","url":"https://api.github.com/users/fnl","html_url":"https://github.com/fnl","followers_url":"https://api.github.com/users/fnl/followers","following_url":"https://api.github.com/users/fnl/following{/other_user}","gists_url":"https://api.github.com/users/fnl/gists{/gist_id}","starred_url":"https://api.github.com/users/fnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnl/subscriptions","organizations_url":"https://api.github.com/users/fnl/orgs","repos_url":"https://api.github.com/users/fnl/repos","events_url":"https://api.github.com/users/fnl/events{/privacy}","received_events_url":"https://api.github.com/users/fnl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-10T09:18:57Z","updated_at":"2015-02-10T09:29:29Z","closed_at":null,"body":"Getting \"null-pointer exceptions\" from xlsx2csv when parsing some files:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/xlsx2csv\", line 847, in <module>\r\n    xlsx2csv.convert(outfile, sheetid)\r\n  File \"/usr/local/bin/xlsx2csv\", line 178, in convert\r\n    self._convert(sheetid, outfile)\r\n  File \"/usr/local/bin/xlsx2csv\", line 247, in _convert\r\n    sheet.to_csv(writer)\r\n  File \"/usr/local/bin/xlsx2csv\", line 558, in to_csv\r\n    self.parser.ParseFile(self.filehandle)\r\n  File \"/usr/local/bin/xlsx2csv\", line 660, in handleStartElement\r\n    startCol = start.group(1)\r\nAttributeError: 'NoneType' object has no attribute 'group'\r\n```\r\n\r\nAn example where this problem occurs is [here](https://dl.dropboxusercontent.com/u/145049/test.xlsx).\r\n\r\nAccording to pip, my currently installed version is the latest, but `xlsx2csv -v` only outputs the script's name (`xslx2csv` - want me to open a separate ticket for that?). I see I do have the `--merge-cells` options available from the script.\r\n"},"comment":{"url":"https://api.github.com/repos/dilshod/xlsx2csv/issues/comments/73669000","html_url":"https://github.com/dilshod/xlsx2csv/issues/65#issuecomment-73669000","issue_url":"https://api.github.com/repos/dilshod/xlsx2csv/issues/65","id":73669000,"user":{"login":"fnl","id":109501,"avatar_url":"https://avatars.githubusercontent.com/u/109501?v=3","gravatar_id":"","url":"https://api.github.com/users/fnl","html_url":"https://github.com/fnl","followers_url":"https://api.github.com/users/fnl/followers","following_url":"https://api.github.com/users/fnl/following{/other_user}","gists_url":"https://api.github.com/users/fnl/gists{/gist_id}","starred_url":"https://api.github.com/users/fnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnl/subscriptions","organizations_url":"https://api.github.com/users/fnl/orgs","repos_url":"https://api.github.com/users/fnl/repos","events_url":"https://api.github.com/users/fnl/events{/privacy}","received_events_url":"https://api.github.com/users/fnl/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T09:29:29Z","updated_at":"2015-02-10T09:29:29Z","body":"Seems a possible fix is to replace the RE `^([A-Z]+)(\\d+)$` in line 658 (and that is repeated in the following line) with `^([A-Z]*)(\\d+)$` (note the Kleene star). Then the extraction of this file works fine, but I have no idea if this breaks stuff elsehwere...."}}