question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KeyError in `getSheetIdByName` (since 0.7.5)

See original GitHub issue

The naming in Xlsx2csv.workbook.sheets has changed from [{'name': 'foo', 'id': 42}] to [{'name': 'foo', 'index': 42}], but in Xlsx2csv.getSheetIdByName, id is still used instead of index. This causes a KeyError.

Also, this caused my code to break, since I didn’t expect any breaking changes from a minor release like this. Maybe change it back to id and switch to index in 0.8.0?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dilshodcommented, Mar 21, 2019

Done

0reactions
klamanncommented, Mar 22, 2019

Works like a charm, thanks for solving this 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found