Hi,

>> undefined symbol: PyUnicodeUCS4_FromEncodedObject
>> 
>> I don't really need CPSBlog at this point so I just deleted it.
>
> If you need it in the future, you'll just have to install lxml from
source 
> instead of using the binary egg. You'll need the devel packages for 
> libxml2 and libxslt for the compilation to succeed.

Thanks.

>> Next, I have exported the whole cps tree (with ZMI) and I am
importing 
>> it to the linux server. I get the following error:
>> 
>> **Error Type: MissingBinary**
>> **Error Value: Unable to find binary "xlhtml"**

> You should install xlhtml (and pptHtml), depending on your linux
distro 
> it might 
> just be an "sudo apt-get install xhtml" away. You'll also need wvHtml
and
> xpdf.

What I ended up doing was to place dummy (empty) scripts named xlhtml,
rtf-convert etc. into a dir (I have no root access). I also had to
modify Products/PortalTransforms/libtransforms/utils.py since the
bin_search path is hardcoded in utils.py.

I also installed CPSSkins. 

Now I can import the cps tree. When I try to view it (main page) using a
browser, this is what I get:

------------------------------------------------------------------------
--

Site Error

An error was encountered while publishing this resource.

AttributeError
Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 194, in publish_module_standard
    * Module Products.Localizer, line 60, in new_publish
    * Module ZPublisher.Publish, line 146, in publish
    * Module Products.CPSCompat.PatchPublisherConflictErrors, line 95,
in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 115, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 41, 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 195, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /cps/index_html>
    * Module TAL.TALInterpreter, line 238, in __call__
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 749, in do_useMacro
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 457, in do_optTag_tal
    * Module TAL.TALInterpreter, line 442, in do_optTag
    * Module TAL.TALInterpreter, line 437, in no_tag
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 749, in do_useMacro
    * Module TAL.TALInterpreter, line 281, in interpret
    * Module TAL.TALInterpreter, line 507, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:CPSSkins/skins/cpsskins_cps3/main_template.pt
      Line 2, Column 0
      Expression: standard:'here/portal_boxes'
      Names:

      {'container': <CPSDefaultSite at /cps>,
       'context': <CPSDefaultSite at /cps>,
       'default': <Products.PageTemplates.TALES.Default instance at
0x40ce878c>,
       'here': <CPSDefaultSite at /cps>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at
0x41d2880c>,
       'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x40d1138c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x41d2880c>,
       'request': <HTTPRequest,
URL=http://poplacsek:8080/cps/index_html>,
       'root': <Application at >,
       'template': <FSPageTemplate at /cps/index_html>,
       'traverse_subpath': [],
       'user': <CPSUser siteadmin>}

    * Module Products.PageTemplates.Expressions, line 185, in __call__
    * Module Products.PageTemplates.Expressions, line 173, in _eval
    * Module Products.PageTemplates.Expressions, line 127, in _eval
      __traceback_info__: here
    * Module Products.PageTemplates.Expressions, line 286, in
restrictedTraverse
      __traceback_info__: {'path': ['portal_boxes'],
'TraversalRequestNameStack': []}
    * Module Products.Five.traversable, line 115, in __bobo_traverse__

AttributeError: portal_boxes (Also, the following error occurred while
attempting to render the standard error message, please see the event
log for full details: portal_boxes)
------------------------------------------------------------------------
---

Any ideas are appreciated, I'm stuck at this point. This seems to be a
skins/themes issue, but I can't figure out what the exact problem is.

Thanks a lot,
Tivadar

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to