[Setup] Re: Installation fails - "executing commandsetupSite.pyfailed; AttributeError: 'module' object has no attribute 'configure'"

Marshall Schor schor at us.ibm.com
Wed Jul 5 17:03:46 UTC 2006


I tried setup-community-2.5.0-zope-2.9-5638.exe

It failed with the same kind of error in setup.  Here's the log:

07/05/06 12:58:56: 1964: ['C:\\apps\\Plone 2\\Zope\\bin\\mkzopeinstance.py', 
'-d', 'C:\\apps\\Plone 2\\Data', '-u', 'mischor:wdy94w0o9h3']
File not changed 'C:\\apps\\Plone 2\\Data\\.\\bin\\runzope.bat'
File not changed 'C:\\apps\\Plone 2\\Data\\.\\bin\\runzope'
Changed mode for C:\apps\Plone 2\Data\.\bin\runzope to 777
File not changed 'C:\\apps\\Plone 2\\Data\\.\\bin\\zopectl'
Changed mode for C:\apps\Plone 2\Data\.\bin\zopectl to 777
File not changed 'C:\\apps\\Plone 2\\Data\\.\\bin\\zopeservice.py'
Changed mode for C:\apps\Plone 2\Data\.\bin\zopeservice.py to 777
Not overwriting existing file 'C:\\apps\\Plone 2\\Data\\.\\etc\\plone.conf'
Not overwriting existing file 'C:\\apps\\Plone 2\\Data\\.\\etc\\zope.conf'
Not overwriting existing file 'C:\\apps\\Plone 
2\\Data\\.\\lib\\python\\README.txt'
07/05/06 12:58:57: 1964: finished
07/05/06 12:58:57: 5960: ['C:\\apps\\Plone 2\\Data\\bin\\zopeservice.py', 
'--startup', 'auto', 'install']
Installing service Zope_-1180303007
Changing service configuration
Service updated
07/05/06 12:58:58: 5960: finished
07/05/06 12:58:58: 3296: ['C:\\apps\\Plone 
2\\Data\\Products\\CMFPlone\\Extensions\\setupSite.py', 'mischor', 
'C:\\apps\\Plone 2\\Data', 'C:\\apps\\Plone 2\\Data']
2006-07-05 12:59:22 WARNING Init Class 
Products.ATContentTypes.content.base.ATCTFolderMixin has a security 
declaration for nonexistent method 'manage_copyObjects'
2006-07-05 12:59:27 WARNING Plone Deprecation Warning
The CMFPlone.MemberData class will be removed in Plone 3.0
C:\apps\Plone 2\Data\Products\CMFSquidTool\Permissions.py:19: 
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 ManagePortal
2006-07-05 12:59:33 WARNING Plone Deprecation Warning
CustomizationPolicies are deprecated and will be removed in Plone 3.0. 
Please use GenericSetup extension profiles instead.
2006-07-05 12:59:33 WARNING Plone Deprecation Warning
registerSetupWidget is deprecated and will be removed in Plone 3.0.
2006-07-05 12:59:33 WARNING Plone Deprecation Warning
registerSetupWidget is deprecated and will be removed in Plone 3.0.
2006-07-05 12:59:33 WARNING Plone Deprecation Warning
CustomizationPolicies are deprecated and will be removed in Plone 3.0. 
Please use GenericSetup extension profiles instead.
C:\apps\Plone 2\Data\Products\CMFSquidTool\__init__.py:38: 
DeprecationWarning: The product_name parameter of ToolInit is deprecated and 
will be ignored in CMF 2.0: CMFSquidTool
  icon="tool.gif",
C:\apps\Plone 2\Data\Products\CacheSetup\config.py:23: DeprecationWarning: 
The zLOG package is deprecated and will be removed in Zope 2.11. Use the 
Python logging module instead.
  LOG(PROJECT_NAME, INFO, msg)
C:\apps\Plone 2\Zope\lib\python\OFS\Application.py:835: DeprecationWarning: 
__init__.py of Products.ExternalEditor has a long deprecated 'methods' 
attribute. 'methods' will be ignored by install_product in Zope 2.10. Please 
use registerClass instead.
  DeprecationWarning)
C:\apps\Plone 2\Data\Products\MemcachedManager\__init__.py:8: 
DeprecationWarning: The zLOG package is deprecated and will be removed in 
Zope 2.11. Use the Python logging module instead.
  LOG('MemcachedManager', log_level, summary, text)
C:\apps\Plone 2\Data\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",
2006-07-05 12:59:46 WARNING Plone Deprecation Warning
correctFolderContentsAction is deprecated and will be removed in Plone 3.0
2006-07-05 12:59:46 WARNING Plone Deprecation Warning
CatalogTool._initIndexes is deprecated, please use a GenericSetup profile 
instead.
C:\apps\Plone 2\Zope\lib\python\OFS\subscribers.py:74: DeprecationWarning: 
Products.CMFPlone.QuickInstallerTool.QuickInstallerTool.manage_afterAdd is 
deprecated and will be removed in Zope 2.11, you should use event 
subscribers instead, and meanwhile mark the class with 
<five:deprecatedManageAddDelete/>
  DeprecationWarning)
2006-07-05 12:59:50 ERROR Zope.SiteErrorLog http://foo
Traceback (innermost last):
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 322, in 
installProduct
   - __traceback_info__: ('MimetypesRegistry',)
  Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
   - __traceback_info__: ((<PloneSite at /Plone>,), {}, None)
  Module C:\apps\Plone 
2\Data\Products\MimetypesRegistry\Extensions\Install.py, line 24, in install
  Module Products.CMFCore.utils, line 631, in manage_addTool
  Module Products.MimetypesRegistry.MimeTypesRegistry, line 102, in __init__
  Module Products.MimetypesRegistry.mime_types, line 13, in initialize
  Module Products.MimetypesRegistry.mime_types.py_mimetypes, line 50, in 
initialize
IndexError: string index out of range
2006-07-05 12:59:50 ERROR Zope.SiteErrorLog http://foo
Traceback (innermost last):
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 322, in 
installProduct
   - __traceback_info__: ('Archetypes',)
  Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
   - __traceback_info__: ((<PloneSite at /Plone>,), {}, (None, 1))
  Module C:\apps\Plone 2\Data\Products\Archetypes\Extensions\Install.py, 
line 15, in install
  Module Products.Archetypes.Extensions.utils, line 449, in setupArchetypes
  Module Products.Archetypes.Extensions.utils, line 51, in 
install_dependencies
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 322, in 
installProduct
   - __traceback_info__: ('MimetypesRegistry',)
  Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
   - __traceback_info__: ((<PloneSite at /Plone>,), {}, None)
  Module C:\apps\Plone 
2\Data\Products\MimetypesRegistry\Extensions\Install.py, line 24, in install
  Module Products.CMFCore.utils, line 631, in manage_addTool
  Module Products.MimetypesRegistry.MimeTypesRegistry, line 102, in __init__
  Module Products.MimetypesRegistry.mime_types, line 13, in initialize
  Module Products.MimetypesRegistry.mime_types.py_mimetypes, line 50, in 
initialize
IndexError: string index out of range
Traceback (most recent call last):
  File "C:\apps\Plone 2\Zope\pwi\inno_runner.py", line 30, in ?
    execfile(sys.argv[0])
  File "C:\apps\Plone 2\Data\Products\CMFPlone\Extensions\setupSite.py", 
line 60, in ?
    process(name, swhome, ihome)
  File "C:\apps\Plone 2\Data\Products\CMFPlone\Extensions\setupSite.py", 
line 37, in process
    out = create(app, admin_username)
  File "C:\apps\Plone 2\Data\Products\CMFPlone\PloneInitialize.py", line 59, 
in create
    factory.addPloneSite(pid, create_userfolder=1)
  File "C:\apps\Plone 2\Data\Products\CMFPlone\factory.py", line 44, in 
addPloneSite
    setup_tool.runAllImportSteps()
  File "C:\apps\Plone 2\Data\Products\GenericSetup\tool.py", line 251, in 
runAllImportSteps
    message = self._doRunImportStep(step, context)
  File "C:\apps\Plone 2\Data\Products\GenericSetup\tool.py", line 725, in 
_doRunImportStep
    return handler(context)
  File "C:\apps\Plone 2\Data\Products\CMFPlone\setuphandlers.py", line 196, 
in importVarious
    gen.installProducts(site)
  File "C:\apps\Plone 2\Data\Products\CMFPlone\setuphandlers.py", line 25, 
in installProducts
    qi.installProduct('Archetypes', locked=0)
  File "C:\apps\Plone 
2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 322, in 
installProduct
    res=install(portal)
  File "C:\apps\Plone 
2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225, in 
__call__
    try: return f(*args, **kw)
  File "C:\apps\Plone 2\Data\Products\Archetypes\Extensions\Install.py", 
line 15, in install
    setupArchetypes(self, out, require_dependencies=require_dependencies)
  File "C:\apps\Plone 2\Data\Products\Archetypes\Extensions\utils.py", line 
449, in setupArchetypes
    install_dependencies(self, out, require_dependencies)
  File "C:\apps\Plone 2\Data\Products\Archetypes\Extensions\utils.py", line 
51, in install_dependencies
    qi.installProduct('MimetypesRegistry')
  File "C:\apps\Plone 
2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 322, in 
installProduct
    res=install(portal)
  File "C:\apps\Plone 
2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225, in 
__call__
    try: return f(*args, **kw)
  File "C:\apps\Plone 
2\Data\Products\MimetypesRegistry\Extensions\Install.py", line 24, in 
install
    addTool('MimeTypes Registry')
  File "C:\apps\Plone 2\Data\Products\CMFCore\utils.py", line 631, in 
manage_addTool
    obj = tool()
  File "C:\apps\Plone 
2\Data\Products\MimetypesRegistry\MimeTypesRegistry.py", line 102, in 
__init__
    initialize(self)
  File "C:\apps\Plone 
2\Data\Products\MimetypesRegistry\mime_types\__init__.py", line 13, in 
initialize
    py_mimetypes.initialize(registry)
  File "C:\apps\Plone 
2\Data\Products\MimetypesRegistry\mime_types\py_mimetypes.py", line 50, in 
initialize
    if ext[0] == '.':
IndexError: string index out of range
07/05/06 12:59:58: 3296: finished



"Alan Runyan" <alan at enfoldsystems.com> wrote 
in message 
news:8EAFFDDE9BE27F4C8B1A3022FEAA63820DE380 at hal.enfoldsystems.local...
Please try a more recent nightly build.. And report back if you succeed.
http://www.enfoldsystems.com/downloads.html

Alan Runyan
Enfold Systems, Inc.
http://www.enfoldsystems.com/
phone +1.713.942.2377x111
fax: +1.832.201.8856


> -----Original Message-----
> From: setup-bounces at lists.plone.org
> [mailto:setup-bounces at lists.plone.org] On Behalf 
> Of Lior Rudnik
> Sent: Wednesday, July 05, 2006 7:29 AM
> To: setup at lists.plone.org
> Subject: RE: [Setup] Installation fails - "executing command
> setupSite.pyfailed; AttributeError: 'module' object has no
> attribute 'configure'"
>
> By the way here is the post install log:
> 07/05/06 11:29:30: 3328:
> ['C:\\Plone2\\Zope\\bin\\mkzopeinstance.py', '-d',
> 'C:\\Plone2\\Data', '-u', 'lior:formelight'] Wrote
> 'C:\\Plone2\\Data\\.\\bin\\runzope.bat'
> Wrote 'C:\\Plone2\\Data\\.\\bin\\runzope'
> Changed mode for C:\Plone2\Data\.\bin\runzope to 777 Wrote
> 'C:\\Plone2\\Data\\.\\bin\\zopectl'
> Changed mode for C:\Plone2\Data\.\bin\zopectl to 777 Wrote
> 'C:\\Plone2\\Data\\.\\bin\\zopeservice.py'
> Changed mode for C:\Plone2\Data\.\bin\zopeservice.py to 777
> Wrote 'C:\\Plone2\\Data\\.\\etc\\plone.conf'
> Wrote 'C:\\Plone2\\Data\\.\\etc\\zope.conf'
> Wrote 'C:\\Plone2\\Data\\.\\lib\\python\\README.txt'
> 07/05/06 11:29:32: 3328: finished
> 07/05/06 11:29:32: 4120:
> ['C:\\Plone2\\Data\\bin\\zopeservice.py', '--startup',
> 'auto', 'install'] Installing service Zope_-1634206445
> Service installed
> 07/05/06 11:29:33: 4120: finished
> 07/05/06 11:29:34: 5296:
> ['C:\\Plone2\\Data\\Products\\CMFPlone\\Extensions\\setupSite.
py', 'lior', 'C:\\Plone2\\Data', 'C:\\Plone2\\Data'] Traceback > (most
recent call last):
>   File "C:\Plone2\Zope\pwi\inno_runner.py", line 30, in ?
>     execfile(sys.argv[0])
>   File
> "C:\Plone2\Data\Products\CMFPlone\Extensions\setupSite.py",
> line 54, in ?
>     process(name, swhome, ihome)
>   File
> "C:\Plone2\Data\Products\CMFPlone\Extensions\setupSite.py",
> line 24, in process
>     Zope.configure(configfile)
> AttributeError: 'module' object has no attribute 'configure'
> 07/05/06 11:32:22: 5296: finished
>
>
>
>
> ________________________________
>
> From: setup-bounces at lists.plone.org
> [mailto:setup-bounces at lists.plone.org] On Behalf 
> Of Lior Rudnik
> Sent: Wednesday, July 05, 2006 2:18 PM
> To: setup at lists.plone.org
> Subject: [Setup] Installation fails - "executing command
> setupSite.py failed;AttributeError: 'module' object has no
> attribute 'configure'"
>
>
> Hi All
>
> Installed in c:\Plone2 (no spaces)
> Windows XP machine, SP2.
>
> I get this error (see image) :
>
>
> And when I press OK I get the installation successful screen.
>
> Obviously Plone doesnt work - what is the fix?
>
> Best regards,
> Lior Rudnik
> CTO, Logia.
> http://www.logiamobile.com <http://www.logiamobile.com>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.9/382 - Release
> Date: 7/4/2006
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.9/382 - Release
> Date: 7/4/2006
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.9/382 - Release
> Date: 7/4/2006
>
>
>



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


> 







More information about the Setup mailing list