[Setup] Re: Plone not installing on zope

Qass qassair at gmail.com
Thu Dec 15 17:58:49 UTC 2005


Kamal:

There is the output from runzope:

/home/sra/zope/Products/CMFPlone/PloneFolder.py:8: DeprecationWarning:
The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated
compatiblity alias for 'Products.CMFCore.permissions';  please use the
new module instead.
  from Products.CMFCore.CMFCorePermissions import View, ManageProperties, \
/home/blah/zope/Products/CMFCore/utils.py:629: DeprecationWarning:
format_stx() will be removed in CMF 1.6. Please use
StructuredText.StructuredText.HTML instead.
  DeprecationWarning)
/home/blah/zope/Products/kupu/__init__.py:23: DeprecationWarning: The
Zope package has been renamed to Zope2. Import of a package named
'Zope' is deprecated and will be disabled starting in Zope 2.11.
  import Zope
/home/blah/zope/Products/CMFFormController/__init__.py:25:
DeprecationWarning: The product_name parameter of ToolInit is
deprecated and will be ignored in CMF1.6: CMFFormController
  product_name='CMFFormController', icon='tool.gif',
/home/blah/zope/Products/GroupUserFolder/__init__.py:99:
DeprecationWarning: The product_name parameter of ToolInit is
deprecated and will be ignored in CMF1.6: GroupUserFolder
  , icon="tool.gif"
/home/blah/zope/Products/MimetypesRegistry/__init__.py:34:
DeprecationWarning: The product_name parameter of ToolInit is
deprecated and will be ignored in CMF1.6: MimetypesRegistry
  icon="tool.gif",
/home/blah/zope/Products/PloneLanguageTool/__init__.py:17:
DeprecationWarning: The product_name parameter of ToolInit is
deprecated and will be ignored in CMF1.6: PloneLanguageTool
  icon='tool.gif',
/home/blah/zope/Products/PortalTransforms/__init__.py:35:
DeprecationWarning: The product_name parameter of ToolInit is
deprecated and will be ignored in CMF1.6: PortalTransforms
  icon="tool.gif",
/home/blah/zope/Products/ResourceRegistries/__init__.py:20:
DeprecationWarning: The product_name parameter of ToolInit is
deprecated and will be ignored in CMF1.6: ResourceRegistries
  icon = 'tool.gif',
/home/blah/zope/Products/kupu/plone/__init__.py:31:
DeprecationWarning: The product_name parameter of ToolInit is
deprecated and will be ignored in CMF1.6: kupu
  icon="kupu_icon.gif",

zopectl fg gives the following errors:

Traceback (most recent call last):
  File "/opt/zope-2.8.4/lib/python/OFS/Application.py", line 695, in
import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/home/blah/zope/Products/ATContentTypes/__init__.py", line 41, in ?
    from Products.Archetypes.public import process_types
  File "/home/blah/zope/Products/Archetypes/__init__.py", line 55, in ?
    import Products.validation
  File "/home/blah/zope/Products/validation/__init__.py", line 1, in ?
    from config import validation
  File "/home/blah/zope/Products/validation/config.py", line 24, in ?
    initialize(validation)
  File "/home/blah/zope/Products/validation/validators/__init__.py",
line 22, in initialize
    service.register(validator)
  File "/home/blah/zope/Products/validation/service.py", line 35, in register
    if not IValidator.isImplementedBy(validator):
AttributeError: class IValidator has no attribute 'isImplementedBy'
Traceback (most recent call last):
  File "/opt/zope-2.8.4/lib/python/Zope2/Startup/run.py", line 56, in ?
    run()
  File "/opt/zope-2.8.4/lib/python/Zope2/Startup/run.py", line 21, in run
    starter.prepare()
  File "/opt/zope-2.8.4/lib/python/Zope2/Startup/__init__.py", line
98, in prepare
    self.startZope()
  File "/opt/zope-2.8.4/lib/python/Zope2/Startup/__init__.py", line
257, in startZope
    Zope2.startup()
  File "/opt/zope-2.8.4/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/opt/zope-2.8.4/lib/python/Zope2/App/startup.py", line 44, in startup
    OFS.Application.import_products()
  File "/opt/zope-2.8.4/lib/python/OFS/Application.py", line 672, in
import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
  File "/opt/zope-2.8.4/lib/python/OFS/Application.py", line 695, in
import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/home/blah/zope/Products/ATContentTypes/__init__.py", line 41, in ?
    from Products.Archetypes.public import process_types
  File "/home/blah/zope/Products/Archetypes/__init__.py", line 55, in ?
    import Products.validation
  File "/home/blah/zope/Products/validation/__init__.py", line 1, in ?
    from config import validation
  File "/home/blah/zope/Products/validation/config.py", line 24, in ?
    initialize(validation)
  File "/home/blah/zope/Products/validation/validators/__init__.py",
line 22, in initialize
    service.register(validator)
  File "/home/blah/zope/Products/validation/service.py", line 35, in register
    if not IValidator.isImplementedBy(validator):
AttributeError: class IValidator has no attribute 'isImplementedBy'

Thank you so much for trying to help me figure out whats going on.

Q


On 12/15/05, Kamal Gill <ksgill at mac.com> wrote:
> Hmm.  Try starting Zope with 'zopectl fg' or 'runzope' and paste the
> output here or at paste.plone.org .
>
>   - Kamal
>
> On Dec 15, 2005, at 8:43 AM, Qass wrote:
>
> > I'm sorry I didn't list CMFPlone in the list of items I copied to the
> > Products directory. I copied everything from the Plone 2.1.1 to the
> > Products. That didn't work.
> >
> > Q
> >
> > On 12/15/05, Nick Davis <nd51 at le.ac.uk> wrote:
> >> Looks like you forgot to copy the CMFPlone product!
> >>
> >> I suggest you just copy everything in the Plone 2.1.1 Products
> >> directory, to the Products directory of the Zope instance.
> >>
> >> Hope that helps,
> >> Nick
> >>
> >> _______________________________________________
> >> Setup mailing list
> >> Setup at lists.plone.org
> >> http://lists.plone.org/mailman/listinfo/setup
> >>
> > _______________________________________________
> > Setup mailing list
> > Setup at lists.plone.org
> > http://lists.plone.org/mailman/listinfo/setup
>
>



More information about the Setup mailing list