[Silva-general] webdav access fails

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Tue Mar 7 11:21:15 CET 2006


Having enabled a webdav port in Zope at port 1980, I can get a
typical Silva file and edit it locally. When I try to put it back, 
however, I get
a 500 error. The Zope event log is as below.

If its relevant, I got a clean Silva from Subversion yesterday;
before that the webdav didn't work at all.

Any suggestions?

2006-03-07T10:16:11 ERROR Zope.SiteErrorLog 
http://spqr.oucs.ox.ac.uk:1980/OUCS/barry/PUT
Traceback (most recent call last):
  File "/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 113, in 
publish
    request, bind=1)
  File "/usr/lib/zope2.8/lib/python/ZPublisher/mapply.py", line 88, in 
mapply
    if debug is not None: return debug(object,args,context)
  File "/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 40, in 
call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/usr/lib/zope2.8/lib/python/Products/SilvaDocument/Document.py", 
line 308, in PUT
    ret = self.transform_and_store(content_type, content)
  File "/usr/lib/zope2.8/lib/python/Products/SilvaDocument/Document.py", 
line 281, in transform_and_store
    self.get_editable().content.manage_edit(content)
AttributeError: 'NoneType' object has no attribute 'content'

--
Sebastian Rahtz



More information about the Silva-general mailing list