[Zope-dev] Zope 2.12 webdav source browser doesn't appear to work

Chris Withers chris at simplistix.co.uk
Fri Apr 17 04:34:28 EDT 2009


Hi All,

I tried to connect up to Zope 2.12 by the webdav source port today and 
got the following in the event log::

2009-04-17 09:13:48 ERROR Zope.SiteErrorLog 1239956028.70.143658354715 
http://192.168.1.12:1980/@@home
Traceback (innermost last):
   Module ZPublisher.Publish, line 119, in publish
   Module ZPublisher.mapply, line 77, in mapply
   Module ZPublisher.Publish, line 42, in call_object
   Module zope.app.pagetemplate.simpleviewclass, line 44, in __call__
   Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in __call__
   Module Products.Five.browser.pagetemplatefile, line 53, in __call__
   Module zope.pagetemplate.pagetemplate, line 115, in pt_render
    - Warning: Macro expansion failed
    - Warning: <class 'zope.location.interfaces.LocationError'>: 
(<webdav.NullResource.NullResource object at 0x9f41a2c>, 'macros')
   Module zope.tal.talinterpreter, line 271, in __call__
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 867, in do_useMacro
   Module zope.tales.tales, line 696, in evaluate
    - URL: {myproject}/browser/html/home.html
    - Line 3, Column 0
    - Expression: <PathExpr 
standard:u'root/standard_template.pt/macros/main'>
    - Names:
       {'args': (),
        'container': <Application at >,
        'context': <Application at >,
        'default': <object object at 0xb7d5e548>,
        'here': <Application at >,
        'loop': {},
        'nothing': None,
        'options': {},
        'repeat': <Products.PageTemplates.Expressions.SafeMapping object 
at 0xa02720c>,
        'request': <HTTPRequest, URL=http://192.168.1.12:1980/@@home>,
        'root': <Application at >,
        'template': 
<Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 
0x9e8c2ec>,
        'traverse_subpath': [],
        'user': <SpecialUser 'Anonymous User'>,
        'view': <Products.Five.metaclass.SimpleViewClass from 
{myproject}/browser/html/home.html object at 0x96540cc>,
        'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper 
object at 0x9ffdb4c>}
   Module zope.tales.expressions, line 217, in __call__
   Module Products.PageTemplates.Expressions, line 123, in _eval
   Module zope.tales.expressions, line 124, in _eval
   Module Products.PageTemplates.Expressions, line 75, in 
boboAwareZopeTraverse
   Module zope.traversing.adapters, line 139, in traversePathElement
    - __traceback_info__: (<webdav.NullResource.NullResource object at 
0x9f417ac>, 'macros')
   Module zope.traversing.adapters, line 53, in traverse
    - __traceback_info__: (<webdav.NullResource.NullResource object at 
0x9f417ac>, 'macros', ['main'])
LocationError: (<webdav.NullResource.NullResource object at 0x9f417ac>, 
'macros')

I don't know what this means, does anyone here?

If it helps, I'm using WebDrive as the client, and it's own internal 
verbose logging gave:

04/17/09 09:13:55 7D8 [N:] Connecting to http://192.168.1.12:1980 ...
04/17/09 09:13:55 7D8 [N:] OPTIONS / HTTP/1.1
04/17/09 09:13:55 7D8 [N:] Host: 192.168.1.12:1980
04/17/09 09:13:55 7D8 [N:] User-Agent: WebDrive/6.07 NT DAV
04/17/09 09:13:55 7D8 [N:] Translate: f
04/17/09 09:13:55 7D8 [N:] Connection: close
04/17/09 09:14:06 7D8 [N:] HTTP/1.1 500 Internal Server Error
04/17/09 09:14:06 7D8 [N:] Server: Zope/(unreleased version, python 
2.5.1, linux2) ZServer/1.1
04/17/09 09:14:06 7D8 [N:] Date: Fri, 17 Apr 2009 08:13:59 GMT
04/17/09 09:14:06 7D8 [N:] Bobo-Exception-Line: 53
04/17/09 09:14:06 7D8 [N:] Content-Length: 3354
04/17/09 09:14:06 7D8 [N:] Bobo-Exception-Value: See the server error 
log for details
04/17/09 09:14:06 7D8 [N:] Content-Type: text/html; charset=utf-8
04/17/09 09:14:06 7D8 [N:] Bobo-Exception-Type: <class 
'zope.location.interfaces.LocationError'>
04/17/09 09:14:06 7D8 [N:] Connection: close
04/17/09 09:14:06 7D8 [N:] Bobo-Exception-File: adapters.py
04/17/09 09:14:06 7D8 [N:] 500 Internal Server Error
04/17/09 09:14:06 7D8 [N:] Can't connect to WebDAV server at 
http://192.168.1.12:1980, 500 Internal Server Error

Hope someone can help!

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list