Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #32

Open
iambusybox opened this issue Aug 8, 2015 · 0 comments
Open

IndexError: list index out of range #32

iambusybox opened this issue Aug 8, 2015 · 0 comments

Comments

@iambusybox
Copy link

Doesn't parse .xlsx which is absolutely correct and opened in MS Excel.

This is the stack trace:

D:\Project>C:\Windows\system32\cmd.exe /s /c "python D:\Project\node_modules\excel-parser/convert.py -x "uploads\contacts.xlsx" -W"
Traceback (most recent call last):
File "D:\Project\node_modules\excel-parser/convert.py", line 496, in
convert2csv(args.inFile, sys.stdout, args.sheetFlag)
File "D:\Project\node_modules\excel-parser/convert.py", line 117, in convert2csv
convertXlsx(ziphandle, sheetFlag, sheetId, sheetName, writer)
File "D:\Project\node_modules\excel-parser/convert.py", line 125, in convertXlsx
workbook = parse(ziphandle, Workbook, "xl/workbook.xml")
File "D:\Project\node_modules\excel-parser/convert.py", line 198, in parse
instance.parse(ziphandle.read(filename))
File "D:\Project\node_modules\excel-parser/convert.py", line 217, in parse
sheets = workbookDoc.firstChild.getElementsByTagName("sheets")[0]
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant