[Setup] Error on site migrated from Windows to Linux

Tom Lancaster tom at ngocentre.org.vn
Thu Nov 8 13:28:54 UTC 2007


Hi,

I'm kind of new to plone, but I'm trying to take a site that was written
for Windows using plone 2.1.1 and run it on Linux.

I've gotten and installed all the matching pieces ( zope 2.8.2, python
2.3.5 (including zlib 1.2.3)), and copied over the Products directory
and Data.fs to the appropriate places. I've even integrated the Windows
conf files into the new instance I created on Linux.

I can get the server to start, albeit with a few complaints:

------
2007-11-08T20:24:29 WARNING PortalTransforms Unable to find binary
"rtf-converter"
in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
------
2007-11-08T20:24:29 WARNING PortalTransforms Unable to find binary
"rtf2xml"
in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
------
2007-11-08T20:24:31 INFO IngeniWeb 
NOTICE   global_symbols.py:22:Thu Nov  8 20:24:31 2007:
'Starting /var/lib/zope2.8/instance/Products/GroupUserFolder at 4 debug
level' 

------
2007-11-08T20:24:32 WARNING OFS.Application Duplicate Product name
After loading Product 'BTreeFolder2' from
'/var/lib/zope2.8/instance/Products',
I skipped the one in '/opt/Zope-2.8/lib/python/Products'.

------
2007-11-08T20:24:32 INFO PlacelessTranslationService Applying patch
*** Patching ZPublisher.Publish with the get_request patch! ***
------
2007-11-08T20:24:32 WARNING Zope No such file or
directory: /var/lib/zope2.8/instance/Products/CMFCalendar/help
------



When I try to load the site, however, I get the following traceback:

Site Error
An error was encountered while publishing this resource. 

AttributeError

Sorry, a site error occurred.

Traceback (innermost last):

      * Module ZPublisher.Publish, line 187, in publish_module_standard
      * Module Products.PlacelessTranslationService.PatchStringIO, line
        51, in new_publish
      * Module ZPublisher.Publish, line 144, in publish
      * Module Zope2.App.startup, line 199, in zpublisher_exception_hook
      * Module ZPublisher.Publish, line 113, in publish
      * Module ZPublisher.mapply, line 88, in mapply
      * 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 104, in
        pt_render
        <FSPageTemplate at /Plone/document_view used for /Plone/sorry>
      * Module TAL.TALInterpreter, line 206, in __call__
      * Module TAL.TALInterpreter, line 250, in interpret
      * Module TAL.TALInterpreter, line 711, in do_useMacro
      * Module TAL.TALInterpreter, line 250, in interpret
      * Module TAL.TALInterpreter, line 426, in do_optTag_tal
      * Module TAL.TALInterpreter, line 411, in do_optTag
      * Module TAL.TALInterpreter, line 406, in no_tag
      * Module TAL.TALInterpreter, line 250, in interpret
      * Module TAL.TALInterpreter, line 711, in do_useMacro
      * Module TAL.TALInterpreter, line 250, in interpret
      * Module TAL.TALInterpreter, line 481, in do_setGlobal_tal
      * Module Products.PageTemplates.TALES, line 221, in evaluate
        URL: file:CMFPlone/skins/plone_templates/global_defines.pt
        Line 3, Column 0
        Expression: <PythonExpr putils.createTopLevelTabs(actions)>
        Names:
        {'container': <PloneSite at /Plone>,
         'context': <ATDocument at /Plone/sorry>,
         'default': <Products.PageTemplates.TALES.Default instance at 0xb75aef8c>,
         'here': <ATDocument at /Plone/sorry>,
         'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb60c7c8c>,
         'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb75bed2c>,
         'nothing': None,
         'options': {'args': ()},
         'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb60c7c8c>,
         'request': <HTTPRequest, URL=http://localhost:8080/sorry/document_view>,
         'root': <Application at >,
         'template': <FSPageTemplate at /Plone/document_view used for /Plone/sorry>,
         'traverse_subpath': [],
         'user': Anonymous User}
      * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
        __traceback_info__: putils.createTopLevelTabs(actions)
      * Module Python expression "putils.createTopLevelTabs(actions)",
        line 1, in <expression>
      * Module Products.CMFPlone.PloneTool, line 739, in
        createTopLevelTabs
      * Module Products.LinguaPlone.patches, line 117, in searchResults
      * Module Products.CMFPlone.CatalogTool, line 440, in searchResults
      * Module Products.ZCatalog.ZCatalog, line 689, in searchResults
      * Module Products.ZCatalog.Catalog, line 733, in searchResults
      * Module Products.ZCatalog.Catalog, line 539, in search
      * Module Products.ZCatalog.Catalog, line 566, in sortResults
      * Module Products.PluginIndexes.common.UnIndex, line 120, in
        __len__
AttributeError: _length (Also, an error occurred while attempting to
render the standard error message.)



... Not being a python guy this is fairly Greek to me. Is there an
obvious meaning to this that I'm missing?

Any assistance greatly appreciated.

Tom




More information about the Setup mailing list