-
Notifications
You must be signed in to change notification settings - Fork 182
KeyError throwing when opening workbook #58
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
Comments
are you getting this error on other workbooks, or just this one in particular? |
I wrote a script to run through 73 workbooks I happened to have downloaded:
@RussTheAerialist and I are chatting about it on hipchat, suspect it's another xml lookup issue of some sort |
Part of these failures are because the file version is 8.0. Not all of them, so this is still a bug that needs to be tracked down, but we need to decide on what are support will be for older versions of the file format. Also, nitpick, it's 31.5068...%, not 0.315068...% |
ah okay, I see what's going on. There is an unnamed field in this workbook. It's that feature that allows you to create temporary calculated fields on the shelves (in this case it's an LOD calc). So, when we are creating the mapping between fields and the sheets they are used in, we are processing the I'm not sure the best way to handle this situation. We do not currently have a way of surfacing those types of fields with this version of the library. My thought is to add a if the field is in the data source, do the normal thing. If it doesn't skip it for now. I'll open an additional issue to expose the sheet specific fields once we create the sheet object. |
That makes sense for now, the sheet-specific calcs can be handled in a later release |
#59 fixes this. |
Uh oh!
There was an error while loading. Please reload this page.
Happens in the latest commit on the development branch
Sending workbook via email since it's internal and I can't just toss it to GH :)
The text was updated successfully, but these errors were encountered: