[Setup] can't access css registry due to error

treid anthonyfreid at gmail.com
Mon Aug 18 15:55:22 UTC 2008


Hello 

I'm trying to access the css registry in the zmi and get the following
error:

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 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 120, 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 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 586, in do_setLocal_tal
Module zope.tales.tales, line 696, in evaluate
URL: manage_cssForm
Line 176, Column 6
Expression: <PythonExpr path('exists:portal/%s' % stylesheet.getId())>
Names:
{'container': <CSSRegistryTool at /instance01/portal_css>,
 'context': <CSSRegistryTool at /instance01/portal_css>,
 'default': ,
 'here': <CSSRegistryTool at /instance01/portal_css>,
 'loop': {'stylesheet': <Products.PageTemplates.Expressions.PathIterator
object at 0x998f44c>},
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0x116267ec>,
 'request': <HTTPRequest, URL=http://host/portal_css/manage_cssForm>,
 'root': <Application at >,
 'template': <PageTemplateFile at /instance01/portal_css/cssconfig>,
 'user': <MembraneUser 'name'>}
Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
__traceback_info__: path('exists:portal/%s' % stylesheet.getId())
Module PythonExpr, line 1, in <expression>
Module zope.tales.pythonexpr, line 77, in __call__
Module Products.PageTemplates.Expressions, line 137, in __init__
Module zope.tales.expressions, line 167, in __init__
Module zope.tales.tales, line 598, in compile
Module Products.PageTemplates.Expressions, line 137, in __init__
Module zope.tales.expressions, line 170, in __init__
Module zope.tales.expressions, line 56, in __init__
CompilerError: Path element may not be empty in 'portal/'

Any thoughts on how to fix this?

Thanks
-- 
View this message in context: http://n2.nabble.com/can%27t-access-css-registry-due-to-error-tp731063p731063.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list