{"action":"reopened","issue":{"url":"https://api.github.com/repos/kennethreitz/tablib/issues/203","labels_url":"https://api.github.com/repos/kennethreitz/tablib/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/tablib/issues/203/comments","events_url":"https://api.github.com/repos/kennethreitz/tablib/issues/203/events","html_url":"https://github.com/kennethreitz/tablib/issues/203","id":109887395,"number":203,"title":"import_set not working under Python 3.4.10 with xlsx files","user":{"login":"unsignedzero","id":778125,"avatar_url":"https://avatars.githubusercontent.com/u/778125?v=3","gravatar_id":"","url":"https://api.github.com/users/unsignedzero","html_url":"https://github.com/unsignedzero","followers_url":"https://api.github.com/users/unsignedzero/followers","following_url":"https://api.github.com/users/unsignedzero/following{/other_user}","gists_url":"https://api.github.com/users/unsignedzero/gists{/gist_id}","starred_url":"https://api.github.com/users/unsignedzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unsignedzero/subscriptions","organizations_url":"https://api.github.com/users/unsignedzero/orgs","repos_url":"https://api.github.com/users/unsignedzero/repos","events_url":"https://api.github.com/users/unsignedzero/events{/privacy}","received_events_url":"https://api.github.com/users/unsignedzero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-05T21:12:48Z","updated_at":"2015-10-06T19:38:10Z","closed_at":null,"body":"I'm currently testing my code in a virtualenv using Python3. It works just fine when I run it under Python2 but when I open an xlsx using tablet.import_set using Pythong3, I get this stack error below. \r\n\r\n    python3\r\n    [unsignedzero 02:07:45]> import tablib\r\n    [unsignedzero 02:07:47]> tablib.import_set(\"temp_test_output.xlsx\")\r\n    Traceback (most recent call last):\r\n      File \"<stdin>\", line 1, in <module>\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/core.py\", line 1005, in import_set\r\n        (format, stream) = detect(stream)\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/core.py\", line 996, in detect\r\n        if fmt.detect(stream):\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/formats/_xlsx.py\", line 31, in detect\r\n        openpyxl.reader.excel.load_workbook(stream)\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/packages/openpyxl3/reader/excel.py\", line 85, in load_workbook\r\n        raise e\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/packages/openpyxl3/reader/excel.py\", line 81, in load_workbook\r\n        _load_workbook(wb, archive, filename, use_iterators)\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/packages/openpyxl3/reader/excel.py\", line 114, in _load_workbook\r\n        new_ws = read_worksheet(archive.read(worksheet_path), wb, sheet_name, string_table, style_table)\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/packages/openpyxl3/reader/worksheet.py\", line 116, in read_worksheet\r\n        fast_parse(ws, xml_source, string_table, style_table)\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/packages/openpyxl3/reader/worksheet.py\", line 81, in fast_parse\r\n        source = _get_xml_iter(xml_source)\r\n      File \"/home/unsignedzero/.local/py_env/lib/python3.4/site-packages/tablib/packages/openpyxl3/reader/worksheet.py\", line 43, in _get_xml_iter\r\n        return StringIO(xml_source)\r\n    TypeError: initial_value must be str or None, not bytes\r\n\r\nThis looks to be a bug using the xml reader?\r\n"}}