[Zope] Tracebacks...Need Help

Javier Subervi javier_subervi at yahoo.com
Sun Oct 22 10:39:21 EDT 2006


Hi;
I have a number of tracebacks from products I'm trying to install in Zope/Plone. I'm on Zope 2.7.8/Plone 2.1.2. Thanks in advance for any help you can offer to get me started towards solutions to these problems.
TIA,
Javier

------
2006-10-21T20:36:30 ERROR(200) Zope Could not import Products.CMFManagedFile
Traceback (most recent call last):
  File "/usr/local/zope/278/lib/python/OFS/Application.py", line 673, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/zope/instance2/Products/CMFManagedFile/__init__.py", line 29, in ?
    from Products.CMFManagedFile import tool
  File "/usr/local/zope/instance2/Products/CMFManagedFile/tool.py", line 44, in ?
    from batch import manage_addBatch
  File "/usr/local/zope/instance2/Products/CMFManagedFile/batch.py", line 29, in ?
    from Products.CMFManagedFile.scripts.filename_verify import Translator
  File "/usr/local/zope/instance2/Products/CMFManagedFile/scripts/filename_verify.py", line 36, in ?
    from Products.normalizer.lang import normalize, registry, LangNormalizer
ImportError: No module named normalizer.lang
------
2006-10-21T20:36:31 ERROR(200) Zope Could not import Products.GenericSetup
Traceback (most recent call last):
  File "/usr/local/zope/278/lib/python/OFS/Application.py", line 673, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/zope/instance2/Products/GenericSetup/__init__.py", line 8, in ?
    from interfaces import BASE, EXTENSION
  File "/usr/local/zope/instance2/Products/GenericSetup/interfaces.py", line 19, in ?
    from zope.schema import Text
ImportError: No module named schema 
------
2006-10-21T20:36:33 ERROR(200) Zope Could not import Products.ZOpt
Traceback (most recent call last):
  File "/usr/local/zope/278/lib/python/OFS/Application.py", line 673, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/zope/instance2/Products/ZOpt/__init__.py", line 6, in ?
    import libxml2, libxslt
ImportError: No module named libxml2
NOTE: This s/w is installed and it functions!
------
2006-10-21T20:36:36 ERROR(200) Zope Could not import Products.filter
Traceback (most recent call last):
  File "/usr/local/zope/278/lib/python/OFS/Application.py", line 673, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/zope/instance2/Products/filter/__init__.py", line 9, in ?
    from Extensions import Install
  File "/usr/local/zope/instance2/Products/filter/Extensions/Install.py", line 2, in ?
    from Products.filter.example.smartlink import usingRBW
  File "/usr/local/zope/instance2/Products/filter/example/__init__.py", line 4, in ?
    from smartlink import Smartlink
  File "/usr/local/zope/instance2/Products/filter/example/smartlink.py", line 28, in ?
    from Products.filter import utils, field, config, api
  File "/usr/local/zope/instance2/Products/filter/field.py", line 19, in ?
    from zope.app import zapi
ImportError: No module named app 
NOTE: This apparently is a Z3 module. Is there any workaround for Z2?
------
2006-10-21T20:36:38 ERROR(200) Zope Couldn't install CompoundField
Traceback (most recent call last):
  File "/usr/local/zope/278/lib/python/OFS/Application.py", line 751, in install_product
    initmethod(context)
  File "/usr/local/zope/instance2/Products/CompoundField/__init__.py", line 84, in initialize
    import testClasses
  File "/usr/local/zope/instance2/Products/CompoundField/testClasses/__init__.py", line 29, in ?
    import CompoundFieldTest
  File "/usr/local/zope/instance2/Products/CompoundField/testClasses/CompoundFieldTest.py", line 34, in ?
    schema=Schema((IntegerField('x'),IntegerField('y')))
  File "/usr/local/zope/instance2/Products/CompoundField/CompoundField.py", line 190, in __init__
    schema=self.schema.copy()
  File "/usr/local/zope/instance2/Products/Archetypes/Schema/__init__.py", line 668, in copy
    c.addField(field.copy())
  File "/usr/local/zope/instance2/Products/Archetypes/Field.py", line 215, in copy
    properties = deepcopy(cdict)
  File "/usr/local/zope/py235/lib/python2.3/copy.py", line 192, in deepcopy
    y = copier(x, memo)
  File "/usr/local/zope/py235/lib/python2.3/copy.py", line 286, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/local/zope/py235/lib/python2.3/copy.py", line 222, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/local/zope/py235/lib/python2.3/copy.py", line 354, in _reconstruct
    y = callable(*args)
TypeError: ExtensionClass object argument after * must be a sequence
------
2006-10-21T20:36:56 ERROR(200) Zope Couldn't install ReviewStorageExample
Traceback (most recent call last):
  File "/usr/local/zope/278/lib/python/OFS/Application.py", line 751, in install_product
    initmethod(context)
  File "/usr/local/zope/instance2/Products/ReviewStorageExample/__init__.py", line 12, in initialize
    import ReviewArticle
  File "/usr/local/zope/instance2/Products/ReviewStorageExample/ReviewArticle.py", line 2, in ?
    from Products.ReviewStorage.ReviewStorage import ReviewStorage, ReviewSupport
  File "/usr/local/zope/instance2/Products/ReviewStorage/ReviewStorage.py", line 10, in ?
    from ireviewstorage import IReviewStorage
  File "/usr/local/zope/instance2/Products/ReviewStorage/ireviewstorage.py", line 1, in ?
    from Products.Archetypes.interfaces.interface import Interface
ImportError: No module named Interfaces
------
This problem with CSSManager:
this product has already been installed without Quickinstaller!failed:
Traceback (most recent call last):

File "/usr/local/zope/instance2/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 320, in installProduct
res=install(portal)

File "/usr/local/zope/278/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
try: return f(*args, **kw)

File "/usr/local/zope/instance2/Products/CSSManager/Extensions/Install.py", line 12, in install
self.manage_addProduct["CSSManager"].manage_addTool(type="css_tool")

File "/usr/local/zope/instance2/Products/CMFCore/utils.py", line 631, in manage_addTool
self._setObject(obj.getId(), obj)

File "/usr/local/zope/278/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)

File "/usr/local/zope/instance2/Products/CMFCore/Skinnable.py", line 222, in _checkId
return superCheckId(self, id, allow_dup)

File "/usr/local/zope/278/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (

BadRequest: The id "portal_css" is invalid - it is already in use.
------
This problem with Submissions:
Traceback (most recent call last):

File "/usr/local/zope/instance2/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 320, in installProduct
res=install(portal)

File "/usr/local/zope/278/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
try: return f(*args, **kw)

File "/usr/local/zope/instance2/Products/Submissions/Extensions/Install.py", line 18, in install
addTool = self.manage_addProduct[PROJECTNAME].manage_addTool

AttributeError: manage_addTool
NOTE: Could I simply substitute "Submissions" for "PROJECTNAME" since that's the value it's calling? What's the syntax for doing so?
------
This problem with developerconfig:
Traceback (most recent call last):

File "/usr/local/zope/instance2/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 320, in installProduct
res=install(portal)

File "/usr/local/zope/278/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
try: return f(*args, **kw)

File "/usr/local/zope/instance2/Products/developerconfig/Extensions/install.py", line 17, in install
setup_tool = getToolByName(portal, 'portal_setup')

File "/usr/local/zope/instance2/Products/CMFCore/utils.py", line 83, in getToolByName
raise AttributeError, name

AttributeError: portal_setup
NOTE: Does this error relate to something new in Plone 2.5?
------
This problem with plonetrackback:
Traceback (most recent call last):

File "/usr/local/zope/instance2/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 320, in installProduct
res=install(portal)

File "/usr/local/zope/278/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
try: return f(*args, **kw)

File "/usr/local/zope/instance2/Products/plonetrackback/Extensions/Install.py", line 45, in install
grantViewTrackbacksToAnon(self, out)

File "/usr/local/zope/instance2/Products/plonetrackback/Extensions/Install.py", line 11, in grantViewTrackbacksToAnon
roles = portal.rolesOfPermission(permission_name)

File "/usr/local/zope/278/lib/python/AccessControl/Role.py", line 256, in rolesOfPermission
raise ValueError, (

ValueError: The permission plonetrackback: View Trackbacks is invalid.
NOTE: How do I change the permission?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20061022/a4db0957/attachment.htm


More information about the Zope mailing list