Submitted by : simon at: 2008-04-27T11:56:03-07:00 (12 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

As of this morning, I can't start zope2 in normal background mode due to this error. Bizarre!

008-04-27T11:15:35 ERROR Zope.SiteErrorLog
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.ZWiki.ZWikiPage, line 230, in __call__
 Module Products.ZWiki.ZWikiPage, line 242, in render
 Module Products.ZWiki.pagetypes.stx, line 99, in render
 Module Products.ZWiki.Views, line 431, 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: zope.traversing.interfaces.TraversalError: ('No traversable adapter found', {'master': [('version', '1.6'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile',\
'maintemplate'), ..........

Maybe related --betabug, Tue, 29 Apr 2008 00:04:10 -0700 reply

See this stuff here, what I had to do to get functional tests working with Page Templates:

Note that I have no clue what all this stuff does, but if there is demand I can voice various levels of strong language about this behaviour.

working for now --simon, Wed, 30 Apr 2008 10:07:17 -0700 reply

Status: open => closed

Thanks Sascha, that looks very relevant. I will use it when it breaks again. As of today it's just working again. :/

working for now --simon, Wed, 30 Apr 2008 10:09:21 -0700 reply

Actually, as of this moment it's breaking only when started with supervisor.

solved --simon, Wed, 30 Apr 2008 10:36:50 -0700 reply

TextIndexNG3? creates a owner-only dir in /tmp, which stops you running zope as a different user. This somehow manifested as the above PT traversal error. To see the real error, run zope (a) in fg mode and (b) as the user affected.