[CPS-devel] Cannot upload OpenOffice.org Document

Adi Setyono adi at bappenas.go.id
Wed Feb 22 10:02:23 CET 2006


Hi,

I got this error when upload OOo file (*.sxw)

Traceback (innermost last)

    * Module ZPublisher.Publish, line 40, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 188, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 102, in pt_render
      *<FSPageTemplate at /www/cpsdocument_edit_form used for
      /www/workspaces/temp/test-ooo>*
    * Module TAL.TALInterpreter, line 190, in __call__
    * Module TAL.TALInterpreter, line 234, in interpret
    * Module TAL.TALInterpreter, line 460, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate *URL:
      file:CPSDocument/skins/cps_document/cpsdocument_edit_form.pt*
      *Line 1, Column 0* *Expression: <PythonExpr
      here.editCPSDocument(REQUEST=request)>* *Names:*

      {'container': <Products.CPSDefault.Portal.CPSDefaultSite object at 0x41925eac>,
       'context': <ProxyDocument at /www/workspaces/temp/test-ooo>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x4096aeac>,
       'here': <ProxyDocument at /www/workspaces/temp/test-ooo>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x4283f78c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x409700ec>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x4283f78c>,
       'request': <HTTPRequest, URL=http://portal.ict4pr.org/workspaces/temp/test-ooo/cpsdocument_edit_form>,
       'root': <OFS.Application.Application object at 0x41925e2c>,
       'template': <FSPageTemplate at /www/cpsdocument_edit_form used for /www/workspaces/temp/test-ooo>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.editCPSDocument(REQUEST=request)
    * Module Python expression "here.editCPSDocument(REQUEST=request)",
      line 1, in <expression>
    * Module Products.CMFCore.FSPythonScript, line 108, in __call__
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPythonScript, line 163, in _exec
    * Module None, line 24, in editCPSDocument *<FSPythonScript at
      /www/editCPSDocument used for /www/workspaces/temp/test-ooo>*
      *Line 24*
    * Module Products.CPSDocument.CPSDocument, line 83, in
      renderEditDetailed
    * Module Products.CPSDocument.FlexibleTypeInformation, line 921, in
      renderEditObjectDetailed
    * Module Products.CPSDocument.FlexibleTypeInformation, line 689, in
      _validateLayoutStructures
    * Module Products.CPSSchemas.Layout, line 334, in
      validateLayoutStructure
    * Module Products.CPSSchemas.ExtendedWidgets, line 481, in validate
    * Module OFS.Uninstalled, line 46, in __getattr__

AttributeError: normalized

======================================

This error was happen when i create OpenOffice.org DocBook Document 
conten type. I also try to upload the files using File content type, all 
ended with the same error message. There's no problem with MsWord and 
PDF file, the file is upload successfully  and all the transformation is 
working well. The problem is only with OpenOffice.org files.
I'm using CPS 3.3.5 with zope 2.8.0 and python 2.4. PyXML and wvWare 
also build dan installed.

do i missing something here?

thanks in advance,

adi






More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.