Skip to content

Instantly share code, notes, and snippets.

Created July 29, 2014 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d62e4418f416f512e758 to your computer and use it in GitHub Desktop.
Save anonymous/d62e4418f416f512e758 to your computer and use it in GitHub Desktop.
Site Error
An error was encountered while publishing this resource.
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 237, in publish_module_standard
Module ZPublisher.Publish, line 165, in publish
Module Zope2.App.startup, line 230, in __call__
Module Products.ZenUI3.browser, line 103, in __call__
Module Products.ZenWidgets.FileGzipper, line 82, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module zope.pagetemplate.pagetemplate, line 240, in __call__
Module zope.tal.talinterpreter, line 266, in __call__
Module zope.tal.talinterpreter, line 338, in interpret
Module zope.tal.talinterpreter, line 853, in do_defineMacro
Module zope.tal.talinterpreter, line 338, in interpret
Module zope.tal.talinterpreter, line 528, in do_optTag_tal
Module zope.tal.talinterpreter, line 513, in do_optTag
Module zope.tal.talinterpreter, line 508, in no_tag
Module zope.tal.talinterpreter, line 338, in interpret
Module zope.tal.talinterpreter, line 737, in do_insertStructure_tal
Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
Module zope.tales.tales, line 696, in evaluate
URL: /opt/zenoss/Products/ZenUI3/browser/error_message.pt
Line 14, Column 8
Expression: <PathExpr standard:u'view/headExtra'>
Names:
{'args': (),
'container': NotFound(' <h2>Site Error</h2>\n <p>An error was encountered while publishing this resource.\n </p>\n <p><strong>Resource not found</strong></p>\n\n Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> VirtualHostBase\nGET</p>\n <hr noshade="noshade"/>\n\n <p>Troubleshooting Suggestions</p>\n\n <ul>\n <li>The URL may be incorrect.</li>\n <li>The parameters passed to this resource may be incorrect.</li>\n <li>A resource that this resource relies on may be\n encountering an error.</li>\n </ul>\n\n <p>For more detailed information about the error, please\n refer to the error log.\n </p>\n\n <p>If the error persists please contact the site maintainer.\n Thank you for your patience.\n </p>',),
'context': NotFound(' <h2>Site Error</h2>\n <p>An error was encountered while publishing this resource.\n </p>\n <p><strong>Resource not found</strong></p>\n\n Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> VirtualHostBase\nGET</p>\n <hr noshade="noshade"/>\n\n <p>Troubleshooting Suggestions</p>\n\n <ul>\n <li>The URL may be incorrect.</li>\n <li>The parameters passed to this resource may be incorrect.</li>\n <li>A resource that this resource relies on may be\n encountering an error.</li>\n </ul>\n\n <p>For more detailed information about the error, please\n refer to the error log.\n </p>\n\n <p>If the error persists please contact the site maintainer.\n Thank you for your patience.\n </p>',),
'default': <object object at 0x7f757d8efae0>,
'here': NotFound(' <h2>Site Error</h2>\n <p>An error was encountered while publishing this resource.\n </p>\n <p><strong>Resource not found</strong></p>\n\n Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> VirtualHostBase\nGET</p>\n <hr noshade="noshade"/>\n\n <p>Troubleshooting Suggestions</p>\n\n <ul>\n <li>The URL may be incorrect.</li>\n <li>The parameters passed to this resource may be incorrect.</li>\n <li>A resource that this resource relies on may be\n encountering an error.</li>\n </ul>\n\n <p>For more detailed information about the error, please\n refer to the error log.\n </p>\n\n <p>If the error persists please contact the site maintainer.\n Thank you for your patience.\n </p>',),
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7f7557688260>,
'request': <HTTPRequest, URL=http://zenoss1-atl.prod.foo.com:8080/VirtualHostBase>,
'root': None,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7f7558332dd0>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>,
'view': <Products.Five.metaclass.ErrorMessage object at 0x7f7558332710>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7f7567ee6310>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 147, in _eval
Module zope.tales.expressions, line 124, in _eval
Module Products.PageTemplates.Expressions, line 97, in trustedBoboAwareZopeTraverse
Module zope.traversing.adapters, line 136, in traversePathElement
__traceback_info__: (<Products.Five.metaclass.ErrorMessage object at 0x7f7558332710>, 'headExtra')
Module zope.traversing.adapters, line 42, in traverse
__traceback_info__: (<Products.Five.metaclass.ErrorMessage object at 0x7f7558332710>, 'headExtra', [])
Module Products.ZenUI3.browser, line 65, in headExtra
Module Products.ZenUI3.browser, line 61, in _get_viewlets
Module zope.viewlet.manager, line 126, in render
Module zope.viewlet.viewlet, line 107, in render
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.ZenWidgets.FileGzipper, line 82, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module zope.pagetemplate.pagetemplate, line 240, in __call__
Module zope.tal.talinterpreter, line 266, in __call__
Module zope.tal.talinterpreter, line 338, in interpret
Module zope.tal.talinterpreter, line 371, in do_startEndTag
Module zope.tal.talinterpreter, line 400, in do_startTag
Module zope.tal.talinterpreter, line 477, in attrAction_tal
Module Products.PageTemplates.Expressions, line 225, in evaluateText
Module zope.tales.tales, line 696, in evaluate
URL: /opt/zenoss/lib/python/Products/Five/viewlet/css_viewlet.pt
Line 1, Column 0
Expression: <PathExpr standard:u'view/getURL'>
Names:
{'args': (),
'container': <DataRoot at /zport/dmd>,
'context': <DataRoot at /zport/dmd>,
'default': <object object at 0x7f757d8efae0>,
'here': <DataRoot at /zport/dmd>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7f75576886d8>,
'request': <HTTPRequest, URL=http://zenoss1-atl.prod.foo.com:8080/VirtualHostBase>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x4389a90>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>,
'view': <Products.Five.viewlet.metaconfigure.CSSViewlet object at 0x7f755db62e50>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7f755834fa10>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 155, in _eval
Module Products.PageTemplates.Expressions, line 117, in render
Module zope.viewlet.viewlet, line 104, in getURL
Module Products.Five.browser.resource, line 51, in __call__
Module zope.traversing.browser.absoluteurl, line 33, in absoluteURL
Module zope.traversing.browser.absoluteurl, line 81, in __call__
Module zope.browserresource.resource, line 59, in __str__
Module OFS.absoluteurl, line 45, in __str__
TypeError: There isn't enough context to get URL information. This is probably due to a bug in setting up location information.
Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the error log.
If the error persists please contact the site maintainer. Thank you for your patience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment