Please login or register to participate.
Discussion
.
varunvjoshi Mar 24, 2010 09:33 AM
Why do i get error when I try to create a new blog entry in Trial version ?
Error reported is 1269415641.310.656704836667.
Replies (4)
dhiraj Mar 24, 2010 01:34 PM
Well that doesn't help us isolate the problem at all.

You need to be either logged in with siteadmin or admin to see the full error, or after it occurs you can login to ZMI with siteadmin user (http://<cyninsite>/manage) and go to error_log to pick up the full error stack trace and paste it here.
varunvjoshi Mar 24, 2010 02:00 PM
          
                                                                            
 Log Undo Ownership Interfaces Security
                
                

Site Error Log Site Error Log at /error_log
Exception traceback

Time 2010/03/24 04:58:01.979 GMT-7
User Name (User Id) admin (admin)
Request URL http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/atct_edit
Exception Type KupuError
Exception Value Unrecognised portal type for resource Blog Entry.relatedItems

Traceback (innermost last):

    * Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module Products.CMFPlone.FactoryTool, line 379, in __call__
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__
    * Module Products.CMFFormController.BaseControllerPageTemplate, line 31, in _call
    * Module Shared.DC.Scripts.Bindings, line 313, in __call__
    * Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 216, in _exec
    * Module Products.CacheSetup.patch_cmf, line 28, in FSPT_pt_render
    * Module Products.CacheSetup.patch_utils, line 9, in call_pattern
    * Module Products.CMFCore.FSPageTemplate, line 155, in pt_render
    * Module Products.CacheSetup.patch_cmf, line 74, in PT_pt_render
    * Module Products.CacheSetup.patch_utils, line 9, in call_pattern
    * Module Products.PageTemplates.PageTemplate, line 98, in pt_render
    * Module zope.pagetemplate.pagetemplate, line 117, in pt_render
      Warning: Macro expansion failed
      Warning: exceptions.KeyError: 'macro'
    * Module zope.tal.talinterpreter, line 271, in __call__
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 891, in do_useMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 891, in do_useMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 957, in do_defineSlot
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 855, in do_condition
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 957, in do_defineSlot
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 861, in do_defineMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 957, in do_defineSlot
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 534, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 949, in do_defineSlot
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 861, in do_defineMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 891, in do_useMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 855, in do_condition
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 957, in do_defineSlot
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 855, in do_condition
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 824, in do_loop_tal
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 525, in do_optTag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 824, in do_loop_tal
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 891, in do_useMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 891, in do_useMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 855, in do_condition
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 855, in do_condition
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 949, in do_defineSlot
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
    * Module zope.tales.tales, line 696, in evaluate
      URL: file:/home/cynin/buildout/eggs/Products.kupu-1.4.15-py2.4.egg/Products/kupu/plone/kupu_references/referencebrowser.pt
      Line 85, Column 8
      Expression: <PythonExpr kupu.getResourceType(resource_type)>
      Names:

      {'container': <PloneSite at /cynin>,
       'context': <ATNewsItem at /cynin/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580 used for /cynin/home>,
       'default': <object object at 0xb7d7b528>,
       'here': <ATNewsItem at /cynin/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580 used for /cynin/home>,
       'loop': {u'field': <Products.PageTemplates.Expressions.PathIterator object at 0x15a4450c>,
                u'fieldset': <Products.PageTemplates.Expressions.PathIterator object at 0x13a035ec>},
       'nothing': None,
       'options': {'args': (),
                   'state': <Products.CMFFormController.ControllerState.ControllerState object at 0x15a4e8ec>},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x10ee384c>,
       'request': <HTTPRequest, URL=http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/atct_edit>,
       'root': <Application at >,
       'template': <FSControllerPageTemplate at /cynin/atct_edit used for /cynin/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>}

    * Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
      __traceback_info__: kupu.getResourceType(resource_type)
    * Module PythonExpr, line 1, in <expression>
    * Module Products.kupu.plone.plonedrawers, line 540, in getResourceType
    * Module Products.kupu.plone.plonedrawers, line 86, in __init__
      __traceback_info__: ([u'Blog Entry', u'relatedItems'], u'Blog Entry', u'relatedItems')

KupuError: Unrecognised portal type for resource Blog Entry.relatedItems

Display traceback as text

REQUEST
form
-C ''
cookies
I18N_LANGUAGE 'en'
__ac 'NjE2NDZkNjk2ZTo3MzY1NjM3MjY1NzQ%3D'
maxwidth '100%25'
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>
other
VIRTUAL_URL_PARTS ('http://192.168.10.69', 'home/portal_factory/Blog%20Entry/blog_entry.2010-03-24.8808987580/edit')
VIRTUAL_URL 'http://192.168.10.69/[…]/edit'
__factory__info__ {'Blog Entry': <TempFolder at /cynin/home/portal_factory/Blog Entry>, 'stack': ['Blog Entry', 'blog_entry.2010-03-24.8808987580', 'atct_edit']}
URL5 'http://192.168.10.69'
URL4 'http://192.168.10.69/home'
__ac 'NjE2NDZkNjk2ZTo3MzY1NjM3MjY1NzQ%3D'
URL0 'http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/atct_edit'
URL3 'http://192.168.10.69/home/portal_factory'
URL2 'http://192.168.10.69/home/portal_factory/Blog Entry'
AUTHENTICATION_PATH 'cynin/virtual_hosting'
disable_border True
LANGUAGE 'en'
AUTHENTICATED_USER <PropertiedUser 'admin'>
SERVER_URL 'http://192.168.10.69'
ACTUAL_URL 'http://192.168.10.69/[…]/edit'
URL 'http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/atct_edit'
PUBLISHED <FactoryTool at /cynin/portal_factory used for /cynin/home>
controller_state <Products.CMFFormController.ControllerState.ControllerState object at 0x15a4e8ec>
TraversalRequestNameStack []
_ec_cache {135450200: <Products.PageTemplates.Expressions.ZopeContext object at 0x13a0092c>, 300163436: <Products.PageTemplates.Expressions.ZopeContext object at 0x15a530ec>}
_pts_is_rtl False
VirtualRootPhysicalPath ('', 'cynin')
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0x15a44dec>
BASE0 'http://192.168.10.69'
BASE1 'http://192.168.10.69/home'
BASE2 'http://192.168.10.69/home/portal_factory'
BASE3 'http://192.168.10.69/home/portal_factory/Blog Entry'
BASE4 'http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580'
BASE5 'http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/atct_edit'
URL1 'http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580'
URL0 http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/atct_edit
URL1 http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580
URL2 http://192.168.10.69/home/portal_factory/Blog Entry
URL3 http://192.168.10.69/home/portal_factory
URL4 http://192.168.10.69/home
URL5 http://192.168.10.69
BASE0 http://192.168.10.69
BASE1 http://192.168.10.69/home
BASE2 http://192.168.10.69/home/portal_factory
BASE3 http://192.168.10.69/home/portal_factory/Blog Entry
BASE4 http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580
BASE5 http://192.168.10.69/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/atct_edit
environ
HTTP_X_FORWARDED_SERVER 'cynin'
HTTP_REFERER 'http://192.168.10.69/'
HTTP_ACCEPT_LANGUAGE 'en-us,en;q=0.5'
SERVER_SOFTWARE 'Zope/(Zope 2.10.9-final, python 2.4.6, linux2) ZServer/1.1 Plone/3.3.2'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
PATH_INFO '/VirtualHostBase/http/192.168.10.69:80/cynin/VirtualHostRoot//home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/edit'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1269431880
CONNECTION_TYPE 'Keep-Alive'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8'
HTTP_COOKIE 'maxwidth=100%25; __ac="NjE2NDZkNjk2ZTo3MzY1NjM3MjY1NzQ%3D"; I18N_LANGUAGE="en"'
SERVER_NAME '0.0.0.0'
REMOTE_ADDR '127.0.0.1'
HTTP_VIA '1.1 cynin'
PATH_TRANSLATED '/VirtualHostBase/http/192.168.10.69:80/cynin/VirtualHostRoot/home/portal_factory/Blog Entry/blog_entry.2010-03-24.8808987580/edit'
SERVER_PORT '8080'
HTTP_HOST 'localhost:8080'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_X_FORWARDED_FOR '192.168.10.104'
HTTP_X_FORWARDED_HOST '192.168.10.69'
HTTP_ACCEPT_ENCODING 'gzip,deflate'

dhiraj Mar 24, 2010 02:47 PM
Hmm... there's something wrong with your particular installation, I think. Try re-installing ubify.policy from portal_quickinstaller (in ZMI) and see if the error goes away?

If this is a test setup, I would recommend starting from scratch - redo the whole setup if the above does not work. Something has possibly gone wrong with your particular setup, this error is not happening in all our tests.
vascopinheiro Nov 04, 2010 01:50 PM
Hi there,
i'm having this same error but myportal_quickinstaller doesn't work too, see jpspereira post: http://www.cynapse.com/comm[…]tall?searchterm=portal_quic
can anyone help me? i had created a new virtual machine and replace the Data.fs file, but the error came whit that too!
 
Loading