Gmane
Favicon
From: Morten W. Petersen <morten@...>
Subject: ConnectionStateError: Shouldn't load state for 0x04 when the connection is closed
Newsgroups: gmane.comp.web.zope.plone.user
Date: 2006-07-20 12:05:55 GMT (2 years, 19 weeks, 3 days, 7 hours and 4 minutes ago)
Hi,

I have a Plone 2.5 site which is running on Zope 2.9.2 with some custom
products and users are at times getting errors of the following kind;
anyone know what's going on?

 Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:CMFPlone/skins/plone_templates/global_contentmenu.pt
   - Line 82, Column 4
   - Expression: standard:'addContext/getAllowedTypes'
   - Names:
      {'container': <PloneSite at /protosh2o>,
       'context': <ATDocument at /protosh2o/welcome>,
       'default': <Products.PageTemplates.TALES.Default instance at
0xb716afec>,
       'here': <ATDocument at /protosh2o/welcome>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at
0xb2f2dfec>,
       'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0xb71c34ac>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0xb2f2dfec>,
       'request': <HTTPRequest,
URL=http://protosadmin.protos.be/welcome/document_view>,
       'root': <Application at >,
       'template': <FSPageTemplate at /protosh2o/document_view used for
/protosh2o/welcome>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'webmaster'>}
  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 180, in _eval
  Module Products.PageTemplates.Expressions, line 77, in render
  Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns
  Module Products.CMFCore.FSPythonScript, line 103, in
__render_with_namespace__
  Module Shared.DC.Scripts.Bindings, line 325, in __render_with_namespace__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 164, in _exec
  Module None, line 2, in getAllowedTypes
   - <FSPythonScript at /protosh2o/getAllowedTypes>
   - Line 2
  Module Products.CMFCore.PortalFolder, line 157, in allowedContentTypes
  Module Products.CMFCore.TypesTool, line 886, in listTypeInfo
  Module Products.CMFCore.TypesTool, line 555, in isConstructionAllowed
  Module Products.CMFCore.TypesTool, line 527, in _queryFactoryMethod
  Module App.FactoryDispatcher, line 26, in __getitem__
  Module Products.Five.pythonproducts, line 103, in __bobo_traverse__
  Module Products.Five.pythonproducts, line 73, in product_packages
  Module ZODB.Connection, line 729, in setstate
ConnectionStateError: Shouldn't load state for 0x04 when the connection
is closed

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV