[GeneralDiscussion] Site Error/ An error was encountered while publishing this resource.
[email protected] (johngrey) Wed, 20 Jan 2010 14:38:43 -0800
| Newsgroups | gmane.comp.web.zope.zwiki |
|---|---|
| Message-ID | <20100120143842-0800__28836.0778395601$1264027137$gmane$org@zwiki.org> |
Sorry to have to post what is probably something very basic but..
All the ZWikis on my Zope site have suddenly stopped working for no obvious reason (well to me at least)
I'm using:
(Zope 2.10.5-final, python 2.4.5, linux2)
Python Version 2.4.5 (#2, Jul 22 2009, 13:43:00) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
ZWiki (Installed product ZWiki (ZWiki-0-61-0))
All the ZWiki pages are accessible via the ZMI but attempting to display any of them gives the following Traceback. This traceback is the result of trying to display a ZWiki I have just added.
I'm at a loss to know how to approach this.
Any ideas?
thanks John ::
Site Error
An error was encountered while publishing this resource.
AttributeError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 202, in publish_module_standard
* Module ZPublisher.Publish, line 150, in publish
* 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.ZWiki.ZWikiPage, line 229, in __call__
* Module Products.ZWiki.ZWikiPage, line 241, in render
* Module Products.ZWiki.pagetypes.stx, line 96, in render
* Module Products.ZWiki.Views, line 668, in addSkinTo
* 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.PageTemplates.PageTemplate, line 89, in pt_render
* Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Warning: Macro expansion failed
Warning: exceptions.AttributeError: pt_macros
* 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 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 870, in do_useMacro
* Module zope.tales.tales, line 696, in evaluate
URL: wikipage
Line 7, Column 6
Expression: <PathExpr standard:'here/macros/pagesearchtags'>
Names:
{'container': <Folder at /test_wiki>,
'context': <ZWikiPage 'FrontPage' at 0x941f7cc>,
'default': <object object at 0xb7d6f528>,
'here': <ZWikiPage 'FrontPage' at 0x941f7cc>,
'loop': {},
'nothing': None,
'options': {'args': (<ZWikiPage 'FrontPage' at 0x941f7cc>,
<HTTPRequest, URL=http://red.sunderland.ac.uk:8080/test_wiki/FrontPage>),
'body': '<p><strong>Welcome!</strong> </p>\n<p>This is the front page of <a href="http://red.sunderland.ac.uk:8080/test_wiki/ZWiki">ZWiki</a>\'s "basic" wiki template, a small set of\nstarter pages for your wiki. <a href="FrontPage/editform">Edit</
[cut the rest of the default Frontpage]
>\n<p>Enjoy your wiki!</p>\n<p>\n</p>\n'},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x94347ec>,
'request': <HTTPRequest, URL=http://red.sunderland.ac.uk:8080/test_wiki/FrontPage>,
'root': <Application at >,
'template': <PageTemplateFile at /test_wiki/wikipage used for /test_wiki/FrontPage>,
'user': <User 'john'>}
* Module zope.tales.expressions, line 217, in __call__
* Module Products.PageTemplates.Expressions, line 153, in _eval
* Module zope.tales.expressions, line 124, in _eval
* Module Products.PageTemplates.Expressions, line 80, in boboAwareZopeTraverse
* Module OFS.Traversable, line 301, in restrictedTraverse
* Module OFS.Traversable, line 284, in unrestrictedTraverse
__traceback_info__: ([], 'macros')
AttributeError
Troubleshooting Suggestions
--
forwarded from http://zwiki.org/GeneralDiscussion#[email protected]