[Setup] Error when strying to create a site
Paul Janecek
paul.janecek at gmail.com
Mon Nov 21 09:10:02 UTC 2005
I had the same problem with creating a new instance of a Plone site.
I followed Alan's suggestion to
> add
> import pdb; pdb.set_trace()
This is the error log from within Plone (before adding pdb):
-----
Traceback (innermost last):
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Products.CMFPlone.Portal, line 453, in manage_addSite
Module Products.CMFPlone.Portal, line 425, in create
Module Products.CMFPlone.Portal, line 382, in setupPlone
Module Products.CMFPlone.MigrationTool, line 265, in upgrade
Module Products.CMFPlone.MigrationTool, line 362, in _upgrade
Module Products.CMFPlone.migrations.v2_1.alphas, line 63, in
two05_alpha1
Module Products.CMFPlone.migrations.v2_1.alphas, line 271, in
installATContentTypes
Module Products.CMFPlone.migrations.migration_util, line 86, in
installOrReinstallProduct
Module Products.CMFQuickInstallerTool.QuickInstallerTool, line
308, in installProduct
- __traceback_info__: ('ATContentTypes',)
Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
- __traceback_info__: ((<PloneSite instance at 2fe9d40>,),
{'reinstall': False}, None)
Module /Applications/Plone2/Sites/Default/Products/ATContentTypes/
Extensions/Install.py, line 78, in install
AssertionError
---------------
This is the first time I've used the debug program, and I know very
little about the internals of Plone. In any case, using the debug
program I could verify that the program fails on this assertion (line
78):
assert not tool.isCMFdisabled()
The tool with CMF disabled is : ATCTTool at /Plone/portal_atct
And this is the error log from within Plone:
-------
REQUEST
form
description 'Web Site'
title 'Portal'
create_userfolder '1'
submit ' Add Plone Site '
id 'site1'
custom_policy 'Default Plone'
cookies
tree-s 'eJzT0MgpMOQKVneEAte8bFt1rgIjrsSSAmMuPQB9BwfS'
wgSession 'b1ivJy37fh254XmhBfMQXA'
lazy items
SESSION <bound method SessionDataManager.getSessionData of
<SessionDataManager instance at 2f6a1d0>>
other
SiteRootPATH '/'
create_userfolder '1'
URL0 'http://localhost:8200/manage_addProduct/CMFPlone/manage_addSite'
URL3 'http://localhost:8200'
URL2 'http://localhost:8200/manage_addProduct'
AUTHENTICATION_PATH 'Plone'
AUTHENTICATED_USER paul
SERVER_URL 'http://localhost:8200'
id 'site1'
ACTUAL_URL 'http://localhost:8200/manage_addProduct/CMFPlone/
manage_addSite'
custom_policy 'Default Plone'
description 'Web Site'
URL 'http://localhost:8200/manage_addProduct/CMFPlone/manage_addSite'
PUBLISHED <bound method __FactoryDispatcher__.manage_addSite of
<__FactoryDispatcher__ instance at 3282fd0>>
TraversalRequestNameStack []
title 'Portal'
VirtualRootPhysicalPath ('', 'Plone')
BASE0 'http://localhost:8200'
BASE1 'http://localhost:8200'
BASE2 'http://localhost:8200/manage_addProduct'
BASE3 'http://localhost:8200/manage_addProduct/CMFPlone'
BASE4 'http://localhost:8200/manage_addProduct/CMFPlone/manage_addSite'
URL1 'http://localhost:8200/manage_addProduct/CMFPlone'
URL0 http://localhost:8200/manage_addProduct/CMFPlone/manage_addSite
URL1 http://localhost:8200/manage_addProduct/CMFPlone
URL2 http://localhost:8200/manage_addProduct
URL3 http://localhost:8200
BASE0 http://localhost:8200
BASE1 http://localhost:8200
BASE2 http://localhost:8200/manage_addProduct
BASE3 http://localhost:8200/manage_addProduct/CMFPlone
BASE4 http://localhost:8200/manage_addProduct/CMFPlone/manage_addSite
environ
HTTP_COOKIE 'wgSession=b1ivJy37fh254XmhBfMQXA;
__ac="cGF1bDpwYXVsQCkpJQ%3D%3D"; tree-
s="eJzT0MgpMOQKVneEAte8bFt1rgIjrsSSAmMuPQB9BwfS"'
SERVER_SOFTWARE 'Zope/(Zope 2.7.8-final, python 2.3.5, darwin)
ZServer/1.1 Plone/Unknown'
SCRIPT_NAME ''
REQUEST_METHOD 'POST'
HTTP_KEEP_ALIVE '300'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1132560549
CONNECTION_TYPE 'keep-alive'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-
US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7'
HTTP_REFERER 'http://localhost:8200/manage_addProduct/CMFPlone/addSite'
SERVER_NAME '10.0.1.2'
REMOTE_ADDR '127.0.0.1'
PATH_TRANSLATED '/manage_addProduct/CMFPlone/manage_addSite'
SERVER_PORT '8200'
CONTENT_LENGTH '117'
HTTP_HOST 'localhost:8200'
HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'en-us,en;q=0.7,th;q=0.3'
CONTENT_TYPE 'application/x-www-form-urlencoded'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
PATH_INFO '/manage_addProduct/CMFPlone/manage_addSite'
Any ideas?
Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20051121/e5bcd2ca/attachment-0003.html>
More information about the Setup
mailing list