-
Notifications
You must be signed in to change notification settings - Fork 253
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
Unable to parse Metadata Part #372
Comments
Monkey patched.
|
@seki Can you please attach a sample file with which you are experiencing this issue? |
Sorry, I can't show the sample file.
|
Try to parse another xlsx file, i have the same problem today and this resolve the issue |
Here is my monkeypatch for - I suppose - a Google Sheets document that has been exported as an Excel file: # Monkeypatch
module RubyXL
class SheetMetadata < GenericStorageObject
CONTENT_TYPE = 'application/vnd.ms-excel.sheetMetadata'
REL_TYPE = 'http://customschemas.google.com/relationships/workbookmetadata'
end
class Workbook
define_relationship(RubyXL::SheetMetadata)
end
end |
Can somebody give me a sample file that exhibits this behavior already? |
Try this file: test.xlsx |
When I try to parse a xlsm file containing an instance of metadata part I receive the following message:
Reference to metadata part (page 81).
The simplest example that produce the error is the following:
It's not possible to open the exported file in Excel.
I also tried the parse method using the file path, it results in the same warning message and the exported file is also not readable in Excel.
Am I doing something wrong, or is there any workaround I can apply to parse xlsm files with metadata part?
Unfortunately I can't provide the file as it contains sensitive data from a third party.
Anyway, thank you for this amazing gem.
The text was updated successfully, but these errors were encountered: