OpenOffice2 extension import/export - empty files on export

Author Message

Terje J. Hanssen

Wednesday 07 December 2005 5:45:50 am

Trying to get the OOo2 extension v2 beta2 to work for a new site hosted at an eZ partner using eZ publish 3.7.2 on SLES9.

* I downloaded and extracted the ooo_extension_documentation from
http://ez.no/content/download/940...ffice_org_extension-2_0-beta2.tar.gz
* accessed the URL <mysite>/oo/import and imported the following example files to our site:
- general_document_example
- openoffice_org_article_import_document
- ooo_extension_documentation

Next using the corresponding URL <mysite>/oo/export to export the same files back to my OpenSuse Linux 10.0 PC, result in empty (0 B) OO2.odt files with no content.

As the previous empty file bug has been reported as fixed according to
http://ez.no/community/bugs/oo_export_generates_empty_files
I wonder if something can be missed in the setup at my eZ publish provider, e.g regarding the zip, or maybe other reasons?

Rgds,
Terje J. Hanssen

Bård Farstad

Wednesday 07 December 2005 5:49:49 am

This probably happens because you don't have the zip command line properly functioning.

Check the installation guide for details on how to set up the zip path's in oo.ini.

You can also test the svn version of the extension, it has added some additional tests so it should provide better information about what's going wrong.

--bård

Documentation: http://ez.no/doc

Terje J. Hanssen

Wednesday 07 December 2005 6:15:21 am

Hi Bård,

I use a remote eZ publish hosting provider.
Do you mean oo.ini on the eZ publish server or locally on my OpenOffice PC?

Terje

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:38:11
Script start
Timing: Jan 18 2025 22:38:11
Module start 'layout'
Timing: Jan 18 2025 22:38:11
Module start 'content'
Timing: Jan 18 2025 22:38:11
Module end 'content'
Timing: Jan 18 2025 22:38:11
Script end

Main resources:

Total runtime0.0152 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.4844152.6563
Module start 'layout' 0.00580.0033 742.140639.4922
Module start 'content' 0.00910.0041 781.632889.4297
Module end 'content' 0.01320.0020 871.062534.3047
Script end 0.0152  905.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.9118140.0002
Check MTime0.00117.2994140.0001
Mysql Total
Database connection0.00074.455710.0007
Mysqli_queries0.003422.153230.0011
Looping result0.00000.104910.0000
Template Total0.001711.210.0017
Template load0.00085.429110.0008
Template processing0.00095.710810.0009
Override
Cache load0.00063.629310.0006
General
dbfile0.00032.086280.0000
String conversion0.00010.550940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs