Menu

#12 ooo_cat not working on more than 1 input file

v1.0 (example)
wont-fix
nobody
None
5
2022-03-30
2014-08-08
steffen
No

I get an error using ooo_cat with more than one input file:

pqmbp:~ steffen$ ooo_cat -otest.odp 1.odp 2.odp
Traceback (most recent call last):
File "/usr/local/bin/ooo_cat", line 51, in <module>
, Transforms.get_meta (o.mimetype)
File "/Library/Python/2.7/site-packages/ooopy/Transforms.py", line 1221, in get_meta
a = OOo_Tag ('meta', attr, mimetype)
File "/Library/Python/2.7/site-packages/ooopy/Transformer.py", line 47, in OOo_Tag
return "{%s}%s" % (namespace_by_name [mimetype][namespace], name)
KeyError: 'application/vnd.oasis.opendocument.presentation'</module>

If I just use one input file the tool works but this of course somehow defeats the purpose

Discussion

  • Ralf Schlatterbeck

    On Fri, Aug 08, 2014 at 08:59:36AM +0000, steffen wrote:

    I get an error using ooo_cat with more than one input file:

    Can you provide cut-down versions (which don't contain private data so I
    can use them in my public regression tests) of the files you use that
    reproduce the problem?

    I'm not getting the errors you mention in my tests.

    Thanks
    Ralf

    --
    Ralf Schlatterbeck email: ralf@zoo.priv.at

     
  • steffen

    steffen - 2014-08-11

    I thought I attached the odp files - but somehow they got omitted. next try.

     
    • Ralf Schlatterbeck

      On Mon, Aug 11, 2014 at 09:08:49AM +0000, steffen wrote:

      I thought I attached the odp files - but somehow they got omitted. next try.

      Attachment worked this time.

      The concatenation is currently only implemented for Open Office Writer
      files, not presentations. I'll keep this open as a feature request.
      I have a similar request for OOo Calc files (which is harder because
      they're missing a dedicated page structure). Maybe this is quite easy
      for presentations, will look into this.

      Ralf

      Ralf Schlatterbeck email: ralf@zoo.priv.at

       
  • Ralf Schlatterbeck

    • status: open --> wont-fix
     
  • Ralf Schlatterbeck

    Closing, I will probably never implement this. Documented in the README.rst now.

     

Log in to post a comment.

MongoDB Logo MongoDB