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

Try Keynote(14.0) and failed. #57

Open
daddygongon opened this issue Apr 11, 2024 · 2 comments
Open

Try Keynote(14.0) and failed. #57

daddygongon opened this issue Apr 11, 2024 · 2 comments

Comments

@daddygongon
Copy link

I just made a simple sample.key on Keynote(14.0), and unpack it but failed.

> keynote-parser unpack sample.key 
Traceback (most recent call last):
  File "/Users/bob/opt/anaconda3/bin/keynote-parser", line 5, in <module>
    from keynote_parser.command_line import main
  File "/Users/bob/opt/anaconda3/lib/python3.8/site-packages/keynote_parser/command_line.py", line 12, in <module>
    from .file_utils import process
  File "/Users/bob/opt/anaconda3/lib/python3.8/site-packages/keynote_parser/file_utils.py", line 22, in <module>
    from .codec import IWAFile
  File "/Users/bob/opt/anaconda3/lib/python3.8/site-packages/keynote_parser/codec.py", line 15, in <module>
    from .mapping import NAME_CLASS_MAP, ID_NAME_MAP
  File "/Users/bob/opt/anaconda3/lib/python3.8/site-packages/keynote_parser/mapping.py", line 5, in <module>
    from .generated import KNArchives_pb2 as KNArchives
  File "/Users/bob/opt/anaconda3/lib/python3.8/site-packages/keynote_parser/generated/KNArchives_pb2.py", line 15, in <module>
    from . import TSPMessages_pb2 as TSPMessages__pb2
  File "/Users/bob/opt/anaconda3/lib/python3.8/site-packages/keynote_parser/generated/TSPMessages_pb2.py", line 22, in <module>
    google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(field_options)
AttributeError: type object 'FieldOptions' has no attribute 'RegisterExtension'

Do you have some trick?

@masaccio
Copy link

Peter will need to regenerate the protobuf files for 14.0 to work. Sadly this is the way with how we extract data from iWork documents.

@psobot looks like the list of breakpoints in extract_mapping.py isn't sufficient for iWork 14.0 apps.

@masaccio
Copy link

Actually false alarm on that - my signing entitlements were breaking. Your dump script still works.

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

2 participants