WebFaction
Community site: login faq

Hi,

After updating buildout to try to resolve an editor issue, I ran "bin/builout -v" instead of "bin/buildout -Nv", which then updated a lot of my site's Products (my mistake for not pinning the versions). After completion, I'm able to start the instance (bin/instance fg), but when trying to access the site, I get:

Site Error
An error was encountered while publishing this resource.

AttributeError

(Also, the following error occurred while attempting to render the
standard error message, please see the event log for full details:
'NoneType' object has no attribute 'get')Traceback (innermost last):
Module ZPublisher.Publish, line 202, in publish_module_standard Module
ZPublisher.Publish, line 150, in publish Module
plone.app.linkintegrity.monkey, line 21, in
zpublisher_exception_hook_wrapper Module Zope2.App.startup, line 221, in
zpublisher_exception_hook Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish,
line 42, in call_object Module Products.CMFCore.FSPythonScript, line 140,
in __call__ Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module
Products.CMFCore.FSPythonScript, line 196, in _exec Module None, line 10,
in require_login - - Line 10 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 51, in FSPT_pt_render Module
Products.CacheSetup.patch_cmf, line 126, in PT_pt_render Module
zope.tal.talinterpreter, line 271, in __call__ 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 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 745, in do_insertStructure_tal Module
Products.PageTemplates.Expressions, line 223, in evaluateStructure Module
zope.tales.tales, line 696, in evaluate - URL:
file:/home/astratech/webapps/zope/buildout/eggs/Plone-3.3.5-py2.4.egg/Products/CMFPlone/skins/plone_templates/main_template.pt
- Line 58, Column 4 - Expression: - Names: {'container': , 'context': ,
'default':, 'here': , 'loop': {}, 'nothing': None, 'options': {'args': (),
'state': }, 'repeat': , 'request': , 'root': , 'template': ,
'traverse_subpath': [], 'user': } Module
Products.Five.browser.providerexpression, line 37, in __call__ Module
plone.app.viewletmanager.manager, line 83, in render Module
Shared.DC.Scripts.Bindings, line 313, in __call__ Module
Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module
Products.PageTemplates.PageTemplateFile, line 129, in _exec Module
Products.CacheSetup.patch_cmf, line 161, in PT_pt_render Module
Products.CacheSetup.cmf_utils, line 26, in _setCacheHeaders Module
Products.CacheSetup.content.cache_tool, line 614, in getRuleAndHeaderSet
Module Products.CacheSetup.content.cache_tool, line 271, in getEnabled
AttributeError: (see above)

I've tried rebuilding the catalog and flushing the cache, but I'm not sure what else I can do to get this back up and running. I can get to the ZMI, but none of the TTW pages.

Any ideas? I've been looking through Google and the old WF forums, but can't find an answer.

Thanks,

// DL

Dave Lawson

asked 30 Mar '11, 19:27

dlawson
1313
accept rate: 0%

edited 30 Mar '11, 19:29

seanf
12.2k42136


You might be able to uninstall CacheSetup to work around the error, but it would be better if you got the site back into the state you intended it to be in.

If it's a version problem, then you should be able to pin whatever versions and re-run buildout to fix it.

If it's hopelessly messed up and that doesn't help, then open a support ticket and we can pull a backup for you.

Hope that helps!

permanent link

answered 30 Mar '11, 19:34

seanf
12.2k42136
accept rate: 37%

edited 30 Mar '11, 19:37

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×28
×23
×3

question asked: 30 Mar '11, 19:27

question was seen: 6,350 times

last updated: 30 Mar '11, 19:37

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM