thorstenb / odpdown

Generate OpenDocument Presentation (odp) files from markdown
Other
107 stars 18 forks source link

discreet-dark.odp: corrupted or not an OpenDocument #29

Closed koppor closed 9 years ago

koppor commented 9 years ago

I installed the recent version on Windows and the dependencies by pip install odpdown. When running python c:\Python27\Scripts\odpdown -s emacs demo-basics.md discreet-dark.odp test.odp in the demo directory, I get following output:

  File "c:\Python27\Scripts\odpdown", line 9, in <module>
    main()
  File "c:\Python27\Scripts\odpdown", line 6, in main
    odpdown.main()
  File "C:\Python27\lib\site-packages\odpdown.py", line 796, in main
    presentation = odf_get_document(odf_in)
  File "C:\Python27\lib\site-packages\lpod\document.py", line 770, in odf_get_document
    container = odf_get_container(path_or_file)
  File "C:\Python27\lib\site-packages\lpod\container.py", line 493, in odf_get_container
    return odf_container(path_or_file)
  File "C:\Python27\lib\site-packages\lpod\container.py", line 91, in __init__
    raise ValueError("corrupted or not an OpenDocument archive")
ValueError: corrupted or not an OpenDocument archive

Is my library too old? lpod isn't updated anymore, is it? Is ooopy the modern alternative?

thorstenb commented 9 years ago

Aww, sourceforge is down currently - but ooopy also looks pretty old.

At any rate, try the lpod fork in my github project, which has some additional fixes. I patched a number of linux packages, unfortunately I cannot do anything about pypi