[plumi-discuss] new install on gentoo failed
musicman
datakid at gmail.com
Wed Feb 4 03:55:52 EST 2009
On Tue, Feb 3, 2009 at 10:17 PM, Stefano Guglia
<stefano.guglia at eutelia.com> wrote:
> hi there!
>
> hope that somebody can help me. there are a lot of error log messages and I am
> a little confused...thanks!
>
> I'm trying to install plumi on a gentoo box:
>
> Zope 2.9.8-final
> python 2.4.4
>
> my installed products:
> Plone 2.5.5
> cachefu 1.0.3
> datagridfield 1.6
> ecassignmentbox 1.2pre1
> ecquiz 1.0
> externalfile 1.2.0
> plonechat 2.2.2
> zmysqlda 2.0.8
> grufspaces 1.0.0
>
> First of all, I noticed that the official installation procedure is far
> different from what I used to. So I made a first attempt using
> the "traditional" way that is, using the zprod-manager script under gentoo.
>
> I also tried to install imsvdex but a lot of download errors came up ("some
> packages may not be found") and, in addition, don't know how to apply to
> python 2.4 instead 2.5.
when installing on the command line, use
"easy_install-2.4 imsvdex"
this makes sure that python-2.4 is used and then imsvdex is in the right place
> All (but imsvdex) seems to be in the right place now, but when I restart zope
> and try to create a plone site, the following errors come up:
There's a lot of errors below, and I'm about to sleep, but try the
above. I've never used Gentoo, so I'm not sure if that will effect
anything, but I don't think that it would. Give easy_install-2.4 a try
:)
Good luck and let us know how you go.
cheers
L.
>
> Error Type: AttributeError
> Error Value: site_properties
>
> this is the log:
> Traceback (innermost last):
> Module ZPublisher.Publish, line 115, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 41, in call_object
> Module Products.CMFPlone.factory, line 52, in addPloneSite
> Module Products.GenericSetup.tool, line 252, in runAllImportSteps
> __traceback_info__: profile-CMFPlone:plone
> Module Products.GenericSetup.tool, line 766, in _runImportStepsFromContext
> Module Products.GenericSetup.tool, line 732, in _doRunImportStep
> __traceback_info__: plone_various
> Module Products.CMFPlone.setuphandlers, line 202, in importVarious
> Module Products.CMFPlone.setuphandlers, line 41, in installProducts
> Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 330, in
> installProduct
> __traceback_info__: ('ATContentTypes',)
> Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
> __traceback_info__: ((<PloneSite at /test>,), {'reinstall': False}, None)
>
> Module /var/lib/zope/zope-inst03/Products/ATContentTypes/Extensions/Install.py,
> line 90, in install
> Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 333, in
> installProduct
> __traceback_info__: ('ATReferenceBrowserWidget',)
> Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
> __traceback_info__: ((<PloneSite at /test>,), {}, None)
>
> Module /var/lib/zope/zope-inst03/Products/ATReferenceBrowserWidget/Extensions/Install.py,
> line 15, in install
>
>
>
> and zopectl debug output is:
>
>
>
> Starting debugger (the name "app" is bound to the top-level Zope object)
> /usr/lib/python2.4/site-packages/PIL/Image.py:53: RuntimeWarning: Python C API
> version mismatch for module _imaging: This Python has API version 1012,
> module _imaging has version 1013.
> import _imaging
> /var/lib/zope/zope-inst03/Products/Marshall/handlers/__init__.py:38:
> UserWarning: libxml2 not available. Unable to register libxml2 based
> marshallers
> warnings.warn('libxml2 not available. Unable to register libxml2 based ' \
> 2009-02-03 15:38:06 WARNING Init Class
> Products.CMFFormController.ControllerBase.ControllerBase has a security
> declaration for nonexistent method 'getPostRequired'
> /var/lib/zope/zope-inst03/Products/ATMediaFile/__init__.py:54:
> DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a
> deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use
> the new module instead.
> from Products.CMFCore import CMFCorePermissions
> /var/lib/zope/zope-inst03/Products/ATMediaFile/__init__.py:56:
> DeprecationWarning: PloneUtilities is deprecated and will be removed in Plone
> 3.0, please import from Products.CMFPlone.utils instead.
> from Products.CMFPlone.PloneUtilities import ToolInit
> 2009-02-03 15:38:06 ERROR Zope Could not import Products.ATVideo
> Traceback (most recent call last):
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/OFS/Application.py",
> line 708, in import_product
> File "/var/lib/zope/zope-inst03/Products/ATVideo/__init__.py", line 77, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/__init__.py",
> line 13, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/namedvocabulary.py",
> line 19, in ?
> from Products.ATVocabularyManager.types.tree.vocabulary import
> TreeVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/types/__init__.py",
> line 3, in ?
> from Products.ATVocabularyManager.types import vdex
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/types/vdex/__init__.py",
> line 1, in ?
> from Products.ATVocabularyManager.types.vdex.vocabularyxml import
> IMSVDEXVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/types/vdex/vocabularyxml.py",
> line 27, in ?
> from imsvdex.vdex import VDEXManager, VDEXError
> ImportError: No module named imsvdex.vdex
> 2009-02-03 15:38:06 ERROR Zope Could not import Products.ATVocabularyManager
> Traceback (most recent call last):
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/OFS/Application.py",
> line 708, in import_product
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/__init__.py",
> line 13, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/namedvocabulary.py",
> line 19, in ?
> from Products.ATVocabularyManager.types.tree.vocabulary import
> TreeVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/types/__init__.py",
> line 1, in ?
> from Products.ATVocabularyManager.types import simple
> ImportError: cannot import name simple
> /var/lib/zope/zope-inst03/Products/ECQuiz/InlineTextField.py:27:
> DeprecationWarning: Using OFS.content_types is deprecated (will be removed in
> Zope 2.11). Instead use zope.app.contenttypes.
> from OFS.content_types import guess_content_type
> 2009-02-03 15:38:06 WARNING SecurityInfo Conflicting security declarations
> for "getId"
> 2009-02-03 15:38:06 WARNING SecurityInfo Class "ECQMCAnswer" had conflicting
> security declarations
> /var/lib/zope/zope-inst03/Products/CMFPlone/FolderWorkflow.py:3:
> DeprecationWarning: FolderWorkflow is deprecated and will be removed in Plone
> 3.0. Please use a GenericSetup profile instead.
> 'Please use a GenericSetup profile instead.', DeprecationWarning)
> 2009-02-03 15:38:06 WARNING Zope OFS.Application: Duplicate Product name:After
> loading Product 'Five' from '/var/lib/zope/zope-inst03/Products',
> I skipped the one in '/usr/lib/zope-2.9.8/lib/python/Products'.
>
> registering new index for PlumiSkin
> --- Initializing product Portletification ---
> --- Initializing product Vaporisation ---
> /var/lib/zope/zope-inst03/Products/ZMySQLDA/DABase.py:92: DeprecationWarning:
> The ImageFile module will be removed in Zope 2.11. Use App.ImageFile instead.
> from ImageFile import ImageFile
> 2009-02-03 15:38:07 WARNING Init Class
> Products.ATCountryWidget.CountryTool.CountryUtils has a security declaration
> for nonexistent method 'manage_counties_addCountryToArea'
> 2009-02-03 15:38:07 WARNING Init Class
> Products.ATCountryWidget.CountryTool.CountryUtils has a security declaration
> for nonexistent method 'manage_counties_addCountryToArea'
> /var/lib/zope/zope-inst03/Products/ATCountryWidget/__init__.py:21:
> DeprecationWarning: The product_name parameter of ToolInit is deprecated and
> will be ignored in CMF 2.0: Country_Tool
> product_name='Country_Tool', icon='www/tool.gif')
> 2009-02-03 15:38:07 ERROR Zope Couldn't install ATVideo
> Traceback (most recent call last):
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/OFS/Application.py",
> line 755, in install_product
> File "/var/lib/zope/zope-inst03/Products/ATVideo/__init__.py", line 77, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/__init__.py",
> line 13, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/namedvocabulary.py",
> line 19, in ?
> from Products.ATVocabularyManager.types.tree.vocabulary import
> TreeVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/types/__init__.py",
> line 1, in ?
> from Products.ATVocabularyManager.types import simple
> ImportError: cannot import name simple
> 2009-02-03 15:38:07 ERROR Zope Couldn't install ATVocabularyManager
> Traceback (most recent call last):
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/OFS/Application.py",
> line 755, in install_product
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/__init__.py",
> line 13, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/namedvocabulary.py",
> line 19, in ?
> from Products.ATVocabularyManager.types.tree.vocabulary import
> TreeVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/types/__init__.py",
> line 1, in ?
> from Products.ATVocabularyManager.types import simple
> ImportError: cannot import name simple
> 2009-02-03 15:38:07 WARNING Plone Deprecation Warning
> CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please
> use GenericSetup extension profiles instead.
> 2009-02-03 15:38:07 WARNING Plone Deprecation Warning
> registerSetupWidget is deprecated and will be removed in Plone 3.0.
> 2009-02-03 15:38:07 WARNING Plone Deprecation Warning
> registerSetupWidget is deprecated and will be removed in Plone 3.0.
> 2009-02-03 15:38:07 WARNING Plone Deprecation Warning
> CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please
> use GenericSetup extension profiles instead.
> /var/lib/zope/zope-inst03/Products/ECAssignmentBox/__init__.py:76:
> DeprecationWarning: The product_name parameter of ToolInit is deprecated and
> will be ignored in CMF 2.0: ECAssignmentBox
> icon = TOOL_ICON
> /var/lib/zope/zope-inst03/Products/ECQuiz/__init__.py:132: DeprecationWarning:
> The product_name parameter of ToolInit is deprecated and will be ignored in
> CMF 2.0: ECQuiz
> icon = 'ECQTool.png',
> /usr/lib/zope-2.9.8/lib/python/OFS/Application.py:830: DeprecationWarning:
> __init__.py of Products.ExternalFile has a long deprecated 'methods'
> attribute. 'methods' support might be removed in Zope 2.11 or a later feature
> release. Please use the 'legacy' argument of registerClass instead if the
> methods are constructors. Or refactor the product using adapters.
> DeprecationWarning)
> 2009-02-03 15:38:08 ERROR Five Could not import Product Products.ATMediaFile
> Traceback (most recent call last):
> File "/var/lib/zope/zope-inst03/Products/Five/fiveconfigure.py", line 82, in
> loadProducts
> xmlconfig.include(_context, zcml, package=product)
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 494, in include
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 349, in processxmlfile
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
> xmlreader.IncrementalParser.parse(self, source)
> File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
> self.feed(buffer)
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
> self._parser.Parse(data, isFinal)
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in
> end_element_ns
> self._cont_handler.endElementNS(pair, None)
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 328, in endElementNS
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 544, in end
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 691, in finish
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 1383, in toargs
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/fields.py",
> line 139, in fromUnicode
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 184, in resolve
> File "/var/lib/zope/zope-inst03/Products/ATVideo/__init__.py", line 77, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/__init__.py",
> line 13, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/namedvocabulary.py",
> line 19, in ?
> from Products.ATVocabularyManager.types.tree.vocabulary import
> TreeVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/types/__init__.py",
> line 1, in ?
> from Products.ATVocabularyManager.types import simple
> ZopeXMLConfigurationError:
> File "/var/lib/zope/zope-inst03/Products/ATMediaFile/configure.zcml", line
> 6.2-6.69
> ImportError: cannot import name simple
> 2009-02-03 15:38:08 ERROR Five Could not import Product Products.PlumiSkin
> Traceback (most recent call last):
> File "/var/lib/zope/zope-inst03/Products/Five/fiveconfigure.py", line 82, in
> loadProducts
> xmlconfig.include(_context, zcml, package=product)
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 494, in include
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 349, in processxmlfile
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
> xmlreader.IncrementalParser.parse(self, source)
> File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
> self.feed(buffer)
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
> self._parser.Parse(data, isFinal)
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in
> end_element_ns
> self._cont_handler.endElementNS(pair, None)
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 328, in endElementNS
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 544, in end
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 692, in finish
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 494, in include
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 349, in processxmlfile
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
> xmlreader.IncrementalParser.parse(self, source)
> File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
> self.feed(buffer)
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
> self._parser.Parse(data, isFinal)
> File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in
> end_element_ns
> self._cont_handler.endElementNS(pair, None)
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 328, in endElementNS
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 544, in end
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 691, in finish
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 1383, in toargs
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/fields.py",
> line 139, in fromUnicode
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/config.py",
> line 184, in resolve
>
> File "/var/lib/zope/zope-inst03/Products/PlumiSkin/browser/featured_videos.py",
> line 7, in ?
> from taxonomy import CategoriesProvider
> File "/var/lib/zope/zope-inst03/Products/PlumiSkin/browser/taxonomy.py",
> line 5, in ?
> from Products.ATVideo.config import *
> File "/var/lib/zope/zope-inst03/Products/ATVideo/__init__.py", line 77, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/__init__.py",
> line 13, in ?
> from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/namedvocabulary.py",
> line 19, in ?
> from Products.ATVocabularyManager.types.tree.vocabulary import
> TreeVocabulary
>
> File "/var/lib/zope/zope-inst03/Products/ATVocabularyManager/types/__init__.py",
> line 1, in ?
> from Products.ATVocabularyManager.types import simple
> ZopeXMLConfigurationError:
> File "/var/lib/zope/zope-inst03/Products/PlumiSkin/configure.zcml", line
> 4.2-4.32
> ZopeXMLConfigurationError:
> File "/var/lib/zope/zope-inst03/Products/PlumiSkin/browser/configure.zcml",
> line 13.2-21.8
> ImportError: cannot import name simple
> /usr/lib/zope-2.9.8/lib/python/zope/configuration/fields.py:417: UserWarning:
> You did not specify an i18n translation domain for the 'title' field
> in /var/lib/zope/zope-inst03/Products/Portletification/configure.zcml
> warnings.warn(
> 2009-02-03 15:38:08 ERROR Zope Couldn't install Five
> Traceback (most recent call last):
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/OFS/Application.py",
> line 783, in install_product
> File "/var/lib/zope/zope-inst03/Products/Five/__init__.py", line 31, in
> initialize
> zcml.load_site()
> File "/var/lib/zope/zope-inst03/Products/Five/zcml.py", line 41, in
> load_site
> _context = xmlconfig.file(file)
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 558, in file
>
> File "/var/tmp/portage/net-zope/zope-2.9.8/image/usr/lib/zope-2.9.8/lib/python/zope/configuration/xmlconfig.py",
> line 496, in include
> AssertionError
> 2009-02-03 15:38:08 WARNING PlacelessTranslationService Message Catalog has
> errors
> /var/lib/zope/zope-inst03/Products/ATMediaFile/i18n/ATMediaFile-sp.po
> 2009-02-03 15:38:08 WARNING PlacelessTranslationService Message Catalog has
> errors
> /var/lib/zope/zope-inst03/Products/ATVideo/i18n/ATVideo-it.po
> /var/lib/zope/zope-inst03/Products/PloneChat/__init__.py:58:
> DeprecationWarning: The product_name parameter of ToolInit is deprecated and
> will be ignored in CMF 2.0: PloneChat
> icon='tool.gif')
> /usr/lib/zope-2.9.8/lib/python/OFS/Application.py:830: DeprecationWarning:
> __init__.py of Products.ZMySQLDA has a long deprecated 'methods'
> attribute. 'methods' support might be removed in Zope 2.11 or a later feature
> release. Please use the 'legacy' argument of registerClass instead if the
> methods are constructors. Or refactor the product using adapters.
> DeprecationWarning)
> /var/lib/zope/zope-inst03/Products/kupu/plone/__init__.py:32:
> DeprecationWarning: The product_name parameter of ToolInit is deprecated and
> will be ignored in CMF 2.0: kupu
> icon="kupu_icon.gif",
> /var/lib/zope/zope-inst03/Products/qPloneCaptchas/__init__.py:18:
> DeprecationWarning: The product_name parameter of ToolInit is deprecated and
> will be ignored in CMF 2.0: qPloneCaptchas
> icon=config.TOOL_ICON,).initialize(context)
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.plumi.org
> http://lists.plumi.org/listinfo/discuss
>
--
'A pea can be chopped up and reassembled into the Sun'
More information about the Discuss
mailing list