{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/10120","labels_url":"https://api.github.com/repos/pydata/pandas/issues/10120/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/10120/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/10120/events","html_url":"https://github.com/pydata/pandas/issues/10120","id":75915306,"number":10120,"title":"ERROR: test_creating_and_reading_multiple_sheets (pandas.io.tests.test_excel.ExcelReaderTests)","user":{"login":"jlec","id":79732,"avatar_url":"https://avatars.githubusercontent.com/u/79732?v=3","gravatar_id":"","url":"https://api.github.com/users/jlec","html_url":"https://github.com/jlec","followers_url":"https://api.github.com/users/jlec/followers","following_url":"https://api.github.com/users/jlec/following{/other_user}","gists_url":"https://api.github.com/users/jlec/gists{/gist_id}","starred_url":"https://api.github.com/users/jlec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlec/subscriptions","organizations_url":"https://api.github.com/users/jlec/orgs","repos_url":"https://api.github.com/users/jlec/repos","events_url":"https://api.github.com/users/jlec/events{/privacy}","received_events_url":"https://api.github.com/users/jlec/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-13T09:26:03Z","updated_at":"2015-05-13T15:18:40Z","closed_at":"2015-05-13T12:33:25Z","body":"======================================================================\r\nERROR: test_creating_and_reading_multiple_sheets (pandas.io.tests.test_excel.ExcelReaderTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/var/tmp/portage/dev-python/pandas-0.16.1/work/pandas-0.16.1-python3_3/lib/pandas/io/tests/test_excel.py\", line 474, in test_creating_and_reading_multiple_sheets\r\n    for sheetname, df in dfs.iteritems():\r\nAttributeError: 'dict' object has no attribute 'iteritems'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/var/tmp/portage/dev-python/pandas-0.16.1/work/pandas-0.16.1-python3_3/lib/pandas/io/tests/test_excel.py\", line 475, in test_creating_and_reading_multiple_sheets\r\n    df.to_excel(ew,sheetname)\r\n  File \"/var/tmp/portage/dev-python/pandas-0.16.1/work/pandas-0.16.1-python3_3/lib/pandas/io/excel.py\", line 619, in __exit__\r\n    self.close()\r\n  File \"/var/tmp/portage/dev-python/pandas-0.16.1/work/pandas-0.16.1-python3_3/lib/pandas/io/excel.py\", line 623, in close\r\n    return self.save()\r\n  File \"/var/tmp/portage/dev-python/pandas-0.16.1/work/pandas-0.16.1-python3_3/lib/pandas/io/excel.py\", line 651, in save\r\n    return self.book.save(self.path)\r\n  File \"/usr/lib64/python3.3/site-packages/openpyxl/workbook/workbook.py\", line 280, in save\r\n    save_workbook(self, filename)\r\n  File \"/usr/lib64/python3.3/site-packages/openpyxl/writer/excel.py\", line 211, in save_workbook\r\n    writer.save(filename)\r\n  File \"/usr/lib64/python3.3/site-packages/openpyxl/writer/excel.py\", line 194, in save\r\n    self.write_data(archive)\r\n  File \"/usr/lib64/python3.3/site-packages/openpyxl/writer/excel.py\", line 88, in write_data\r\n    archive.writestr(ARC_WORKBOOK_RELS, write_workbook_rels(self.workbook))\r\n  File \"/usr/lib64/python3.3/site-packages/openpyxl/writer/workbook.py\", line 316, in write_workbook_rels\r\n    i += 1\r\nUnboundLocalError: local variable 'i' referenced before assignment\r\n"},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/101712694","html_url":"https://github.com/pydata/pandas/issues/10120#issuecomment-101712694","issue_url":"https://api.github.com/repos/pydata/pandas/issues/10120","id":101712694,"user":{"login":"Themanwithoutaplan","id":1080058,"avatar_url":"https://avatars.githubusercontent.com/u/1080058?v=3","gravatar_id":"","url":"https://api.github.com/users/Themanwithoutaplan","html_url":"https://github.com/Themanwithoutaplan","followers_url":"https://api.github.com/users/Themanwithoutaplan/followers","following_url":"https://api.github.com/users/Themanwithoutaplan/following{/other_user}","gists_url":"https://api.github.com/users/Themanwithoutaplan/gists{/gist_id}","starred_url":"https://api.github.com/users/Themanwithoutaplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Themanwithoutaplan/subscriptions","organizations_url":"https://api.github.com/users/Themanwithoutaplan/orgs","repos_url":"https://api.github.com/users/Themanwithoutaplan/repos","events_url":"https://api.github.com/users/Themanwithoutaplan/events{/privacy}","received_events_url":"https://api.github.com/users/Themanwithoutaplan/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T15:18:39Z","updated_at":"2015-05-13T15:18:39Z","body":"The issue you're hitting with openpyxl is precisely because you're not using the tarball from PyPI but a checkout."}}