Hand build OOo documents need repair function authorisation.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jodconverter-cli (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
My program takes an unpacked odt file and zips it adding a comment. I'm certian the comment is not the problem, the document needs to be repaired regardless. It's common practice for me to well comment all my zip files. To open the resulting document in OOo you must click "Yes", OOo should repair the file.
jodconverter has the following error:
Nov 3, 2010 2:36:41 PM com.artofsolvin
INFO: connected
Nov 3, 2010 2:36:41 PM com.artofsolvin
INFO: disconnected
Exception in thread "main" com.artofsolvin
at com.artofsolvin
at com.artofsolvin
at com.artofsolvin
at com.artofsolvin
at com.artofsolvin
at com.artofsolvin
at com.artofsolvin
Caused by: com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at $Proxy5.
at com.artofsolvin
at com.artofsolvin
... 6 more
Here is my program for referance:
#!/usr/bin/make -Bf
# Usage:
# make all
export MEID=$$Id: Makefile 196 2010-11-03 19:32:49Z mmestnik $$
# This file contains the commands for building the documentation
# odt files
#
# $Id: Makefile 196 2010-11-03 19:32:49Z mmestnik $
FINDPRUNE=-name .svn -prune -o -name \*\ \* -prune -o \
-name \*\$$\* -prune -o -name \*\"\* -prune -o \
-name \*\'\* -prune -o
all: $(addsuffix .odt, \
$(shell basename "$$(pwd)"))
clean:
@rm -f *.odt
.PHONY: clean all
.SECONDEXPANSION:
%.odt: content.xml $$(shell find data $(FINDPRUNE) -print)
@rm -f $@; { \
echo 'Created by: $(MEID).'; \
date; \
echo -n 'Hostname: '; hostname; \
echo -n 'User: '; whoami; \
svn info; \
svn st; \
svn diff; \
} | ( cd data; zip --temp-path ../.. -1 -r -q -z ../$@ .; )
@zip --temp-path .. -1 -q $@ content.xml
%.pdf: $(addsuffix .odt, \
$(shell basename "$$(pwd)"))
@soffice -headless -accept=
@jodconverter $< $@
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: jodconverter 2.2.2-4
ProcVersionSign
Uname: Linux 2.6.35-
Architecture: i386
Date: Wed Nov 3 14:39:31 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitec
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: jodconverter-cli
No movement on this? What's the point in having an XML/ZIP open format if one can't use XML and ZIP?