Menu

Parse error in Apple Works presentation

Help
2020-08-23
2020-08-23
  • Parth Kapadia

    Parth Kapadia - 2020-08-23

    All presentation.cwk files give output as ERROR: Parse Exception!.
    Other files are working properly. Is something wrong with the files I created?
    I used Apple Works 6 to create the files.

    System: Ubuntu 19.10
    Version: mwaw2text 0.3.14

    Input:

    $ mwaw2text test_presentation1.cwk
    

    Output:
    ERROR: Parse Exception!

     
  • alonso laurent

    alonso laurent - 2020-08-23

    Hello,
    if some of these presentations do not contain confidential data, can you attach a presentation that does not work? ( so I can check what's going on )

     
  • Parth Kapadia

    Parth Kapadia - 2020-08-23

    Yes, these are just sample files that I created, I am attaching them here.

     
  • alonso laurent

    alonso laurent - 2020-08-23

    Thanks for these two files.

    Visibly, libmwaw does not recognize the main group as a slide group ; so, it ends up with a list of frames (and it's lost because it doesn't know what to get back). I'll try next week to see if I can fix it (i.e. get a code that works on these two files and on my few presentations) and I will post a message if I succeed...

     
  • Parth Kapadia

    Parth Kapadia - 2020-08-23

    Okay, Thanks for the help.

     
  • alonso laurent

    alonso laurent - 2020-08-23

    I just took a look, I assume these two files were created on Windows, no ? ( ie. this may explain that some bytes of the slide group are written in little endian which is not normal :-~ )

    I just made a little patch that should help to read these bytes correctly:
    https://sourceforge.net/p/libmwaw/libmwaw/ci/39c6be1bb5e1d2460d385d26258b1d17eda8ff79/
    at least, it allows to convert the two attached files.

     

Anonymous
Anonymous

Add attachments
Cancel