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.

`RPA.Excel.Files` investigate and fix `xml:space='preserve'` invalid format

See original GitHub issue

Sub-library openpyxl adds an xml:space='preserve' under the created core.xml during workbook saving and that invalidates the file.

References

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
blakewaudcommented, Jul 5, 2022

The document properties are not exposed from the underlying Workbook class so I am not sure how to proceed, @cmin764 you might need to consider if there’s anything you can think of to do here as a workaround.

1reaction
blakewaudcommented, Jul 5, 2022

Upstream issue on the openpyxl library: https://foss.heptapod.net/openpyxl/openpyxl/-/issues/1713

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel File Format or File Extension is Invalid
I can't open two of my Excel files. Message says "file format or file extension is invalid" Both are files I have been...
Read more >
Excel.Files — RPA Framework documentation
The Excel.Files library can be used to read and write Excel files without the need to start the actual Excel application.
Read more >
RPA.Excel.Files library | Robocorp documentation
Files library can be used to read and write Excel files without the need to start the actual Excel application. It supports both...
Read more >

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