Forums / Install & configuration / OpenOffice2 extension import/export - empty files on export

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

eZ debug

Timing: Jan 18 2025 19:39:54
Script start
Timing: Jan 18 2025 19:39:54
Module start 'content'
Timing: Jan 18 2025 19:39:55
Module end 'content'
Timing: Jan 18 2025 19:39:55
Script end

Main resources:

Total runtime0.6014 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 587.9922180.7891
Module start 'content' 0.00500.4868 768.7813541.5078
Module end 'content' 0.49180.1096 1,310.2891333.0469
Script end 0.6013  1,643.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.6764210.0002
Check MTime0.00150.2496210.0001
Mysql Total
Database connection0.00060.106910.0006
Mysqli_queries0.537889.42691940.0028
Looping result0.00160.27101920.0000
Template Total0.578896.220.2894
Template load0.00210.349920.0011
Template processing0.576795.888820.2883
Template load and register function0.00020.038110.0002
states
state_id_array0.00080.126410.0008
state_identifier_array0.00070.116720.0004
Override
Cache load0.00170.2745280.0001
Sytem overhead
Fetch class attribute can translate value0.00090.153630.0003
Fetch class attribute name0.00130.219840.0003
XML
Image XML parsing0.00100.164130.0003
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00410.6813280.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs