ooo_cat not working on more than 1 input file
Brought to you by:
schlatterbeck
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
On Fri, Aug 08, 2014 at 08:59:36AM +0000, steffen wrote:
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
I thought I attached the odp files - but somehow they got omitted. next try.
On Mon, Aug 11, 2014 at 09:08:49AM +0000, steffen wrote:
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
Closing, I will probably never implement this. Documented in the README.rst now.